JAJSEU6A February 2018 – June 2018 OPT3101
PRODUCTION DATA.
Phase and amplitude information is stored in registers which can be read out using the I2C interface. The device gives data ready after computation of the depth information on the general purpose I/O (GP1 or GP2) which can be used trigger the host to read the data from the device. Distance can be calculated from the phase using Equation 8. A single code of PHASE_OUT is 228.7µm.
where
Along with phase and amplitude of the signal, ambient ADC output and temperature sensor output are also stored in the registers. All the output data is stored in contiguous registers 8, 9, and 10.
REGISTER | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
REG 8 | FRAME_COUNT0 | AMB_OVL_FLAG | MOD_FREQ | FRAME_STATUS | TX_CHANNEL | HDR_MODE | PHASE_OVER_FLOW | PHASE_OUT [15:8] | PHASE_OUT [7:0] | |||||||||||||||
REG 9 | DEALIAS_BIN[3:0] | PHASE _OVER FLOW_ F2 | SIG_O VL_FL AG | FRAME_COUNT 1 | AMP_OUT[15:8] | AMP_OUT[7:0] | ||||||||||||||||||
REG 10 | TMAIN[11:4] | TMAIN[3:0] | AMB_DATA[9:6] | AMB_DATA[5:0] | FRAME_COUNT2 |
FIELD | BIT | DESCRIPTION |
---|---|---|
PHASE_OUT | 08h[15:0] | Final calibrated phase. |
PHASE_OVERFLOW | 08h[16] | Phase overflow during frequency correction. |
AMP_OUT | 09h[15:0] | Amplitude of the signal. |
SIG_OVL_FLAG | 09h[18] | Overload flag to indicate signal saturation |
AMB_OVL_FLAG | 08h[22] | Overload flag to indicate ambient saturation |
HDR_MODE | 08h[17] | Indicates the illumination driver DAC current used. 0: ILLUM_DAC_L | 1: ILLUM_DAC_H |
TX_CHANNEL | 08h[19:18] | Indicates which Illumination channel of TX0/TX1/TX2 is used. |
FRAME_STATUS | 08h[20] | 0 = Invalid frame | 1= Valid frame. Frame can be invalid during crosstalk measurement. |
MOD_FREQ | 08h[21] | Indicates the frequency used. 0: 10 MHz | 1: De-alias frequency (10 MHz × 6 / 7 or 10 MHz × 6 / 5) |
FRAME_COUNT0 | 08h[23] | Frame counter LSB bit [0] |
FRAME_COUNT1 | 09h[17:16] | Frame counter bits [2:1] |
FRAME_COUNT2 | 0Ah[1:0] | Frame counter bits [4:3]. Frame counter = FRAME_COUNT2 × 8 + FRAME_COUNT1 × 2 + FRAME_COUNT0 |
DEALIAS_BIN | 09h[23:20] | Distance bin in de-alias mode |
PHASE_OVER_FLOW_F2 | 09h[19] | Phase overflow of second modulation frequency during frequency correction. |
AMB_DATA | 0Ah[11:2] | Ambient ADC output. Indicates the ambient light. In no ambient light condition AMB_DATA is 64 typically. |
TMAIN | 0Ah[23:12] | Temperature sensor output
Temperature (°C) = (TMAIN / 8) – 256 |