Troubleshooting

sen0626 with raspberry pi4

userHead hugo.daigonnay 2025-11-05 21:20:01 22 Views4 Replies

sen0626 is connected to raspberry pi4B with I2C bus. It works, because led lights in accordance with right detections (face and gestures). I2C adress is correct (072). But the reading register give 65535 for all register.

I precised, the power supply is 3,3v.

Can you help me

Thank you

2025-11-06 02:47:00

Hello

In fact it work with the serial port (usart), and it work very fine. The I2C bus  remains a mystery to me

userHeadPic hugo.daigonnay
2025-11-06 00:12:46

Thanks for your answer.

VID and PID register returns 0xFFFF, so I don't know where is the problem. My supply is 3,3v and not 5V, can it be the problem . I am using smbus2 

Thanks

userHeadPic hugo.daigonnay
2025-11-05 23:21:28

The SEN0626 uses I²C and a Modbus-style register map (default I²C address 0x72). The vendor docs show that 0xFFFF is used as a "no-data" / no-face indicator for some registers (e.g. X/Y coords) — so seeing 0xFFFF for face coordinates can be normal when no face is present. But if every register (including VID/PID) returns 0xFFFF, that suggests the read method/pointer or protocol is wrong.

userHeadPic ahsrab.rifat
hugo.daigonnay wrote:

Thanks for your answer.

VID and PID register returns 0xFFFF, so I don't know where is the problem. My supply is 3,3v and not 5V, can it be the problem . I am using smbus2 

Thanks

2025-11-06 00:13:43
1 Replies