SBAS883A February 2018 – June 2018 OPT3101
PRODUCTION DATA.
The on-chip sequencer can be used to extend the dynamic range using four illumination currents. Figure 25 shows the state diagram of the super-HDR mode implemented using the sequencer. For this example, the illumination driver currents should be programmed in the following order: IILLUM_H_TX1 > IILLUM_L_TX1 > IILLUM_H_TX0 > IILLUM_L_TX0.Table 23 lists the register settings to operate the device in super HDR mode using the sequencer. HDR_THR_LOW should be determined by the minimum of the two adaptive HDR settings listed below.
PARAMETER | VALUE | DESCRIPTION |
---|---|---|
Sequencer Interrupt Signal | ||
TG_SEQ_INT_START | 9850 | Set the sequencer interrupt at the end of the last averaged sub-frame after data ready is available |
TG_SEQ_INT_END | 9858 | |
TG_SEQ_INT_MASK_START | NUM_AVG_SUB_FRAMES | |
TG_SEQ_INT_MASK_END | NUM_AVG_SUB_FRAMES | |
Sequencer Commands | ||
COMMAND0 | 0x108 | Set illumination to channel TX1 |
COMMAND1 | 0xB02 | COMP1 command.
If COMP_IN > COMPARE_REG1, move to COMMAND2. |
COMMAND2 | 0x100 | Set illumination to channel TX0 |
COMMAND3 | 0xC00 | COMP1_INV command.
If COMP_IN < COMPARE_REG2, move to COMMAND0. |
Comparison Settings | ||
COMP_IN_SEL | 0 | Select amplitude AMP_OUT for COMP_IN |
COMPARE_REG1 | HDR_THR_HIGH + 500 | Should be greater than the hdr High threshold: HDR_THR_HIGH |
COMPARE_REG2 | HDR_THR_LOW - 500 | Should be less than the hdr low threshold HDR_THR_LOW. |
Sequencer Enable | ||
EN_SEQUENCER | 1 | Enable the sequencer.
Sequencer enable should be only be changed while TG_EN = 0. Before changing this register, disable TG (TG_EN = 0), modify this register, and then enable TG (TG_EN = 1). |
EN_PROCESSOR_VALUES | 1 | Enable processor values to control the STATUS_OUT register bits. |