JAJSEU6A February 2018 – June 2018 OPT3101
PRODUCTION DATA.
The temperature sensor address can be configured through internal registers (TSENS_SLAVE0, TSENS_SLAVE1, TSENS_SLAVE2) . This sensor can be used for calibrating the system parameters with temperature changes. An external temperature sensor is required if an external illumination driver is used. Typically the on-die temperature sensor is sufficient if the internal illumination driver is used. The temperature readings are refreshed every frame. The device supports up to three temperature sensors to associate with three illumination channels. A single- or two-byte read operation is performed on each of the temperature sensors to read the corresponding temperature. TI's TMP102 device, 12-bit temperature sensor is suggested if accurate temperature correction with smaller jumps at the temperature code changes is required. The TMP103 8-bit temperature sensor can be used if the temperature-correction accuracy requirement is less. For temperature calibration of phase, the value read from the temperature sensor is assumed to be linear with the actual temperature. Register settings to configure the external temperature sensor read using the I2C host are listed in Table 26.
PARAMETER | VALUE for TMP102 | VALUE for TMP103A | DESCRIPTION |
---|---|---|---|
TSENS_SLAVE0 | 0x48 | 0x70 | I2C slave address of the external temperature sensor |
EN_TILLUM_READ | 1 | 1 | Enable reading of the external temperature sensor using the I2C master |
TEMP_AVG_ILLUM | 0 | 2 | 0: no averaging for TMP102, this is already 12-bit data. Further averaging not required.
2: 4 averages for TMP103A |
I2C_HOST_EN | 1 | 1 | Enable I2C master |
I2C_NUM_TRAN | 0 | 0 | One read transaction |
I2C_RW | 1 | 1 | Read transaction |
I2C_NUM_BYTES_TRAN1 | 1 | 0 | 1: Two-byte read for the TMP102 device
0: One-byte read for the TMP103A device |
FRAME_VD_TRIG | 1 | 1 | Trigger temperature read for every frame |
CONFIG_TILLUM_MSB | 8 | 0 | Mode to select the correct 12 bits from the read 16 bits in a two-byte read for the TMP102 device |
EN_TILLUM_12B | 1 | 0 | Enable the 12-bit mode to read 12-bit temperature sensor data from an external temperature sensor. |