We use Si1152 for gesture detection and found that LED2 has no output. LED3 is floating on my schematic diagram. Is it caused by this? Or other reasons?
As shown in the figure, it is my schematic diagram and initialization code.
There's an issue with Si1152 that LED2 pin internally is actually connected to LED3. Unfortunately, you'll have to use LED3 to drive the LED (IR2) instead of LED2. And also, change the initialization code to:
retval += Si115xParamSet( si115x_handle, PARAM_LED3_A, 0x3f);
retval += Si115xParamSet( si115x_handle, PARAM_MEASCONFIG1, 0x62);
Can you provide a schematic diagram of the internal connection of Si1152?
I tested today and found that only LED1 and LED3 have driving signals. How to deal with the LED2 pin? Can you provide me with a schematic diagram? thanks.
Just treat LED3 as LED2 pin on Si1152. Connect LED2 pin to VDD.