SNVSCV4 September 2024 LM3645
PRODUCTION DATA
Figure 7-2 highlights how to control LED1 and LED2 in flash mode, with LED3 set to IR Mode and LED 4 set to external Torch Mode.
I2C Address | Data | Comments |
---|---|---|
0x02 | 0x9F | Sets LED1 and LED2 to Flash Mode, LED3 to IR Mode and LED4 to Torch |
0x03 | 0x43 | Sets LED 1 and 2 to Strobe1, sets LED3 to strobe2 and does not assign LED4 to strobe |
0x04 | 0x0A | Sets Flash timeout to 150 ms with STR1 configured to a Level Strobe |
0x05 | 0x20 | Sets LED1 Flash Current to 500 mA |
0x06 | 0x20 | Sets LED2 Flash Current to 500 mA |
0x07 | 0x80 | Sets LED3 Flash Current to 1A |
0x0C | 0x20 | Sets LED4 Torch Current to 50 mA |
0x01 | 0xFF | Enables LED1/2/3/4 and Enables Strobe1, Strobe2 and Torch Pins, waiting for external control |
Because an output is assigned to IR Mode (LED3), the OUT pin voltage increases to approximately VIN until current is delivered to the outputs. If Strobe1 goes high, LED1 and LED2 enable in Flash. If Strobe2 goes high, LED3 operates in IR Mode. If TOR/TX goes high LED4 enable in Torch Mode.