VL53L1X sensor address getting reset to 0x29 abrupty
Hi,
I'm using the VL53L1X sensor with my raspberry Pi3.
Using the python code to read from the two sensors. On starting changing the address using the XSHUT pin.
The Pi3 is powered from a battery via regulator. The setup also has an option of being charged via external circuitry.
From the past month I'm observing an issue where sometimes the sensor address are being reset when the charging starts. The issue happens very random.
I could identify that whatever code (C, python) I use i observe this.
I could verify that during the initiation of charging the Pi3 is not getting any error but the sensors are only reset, rest everything is working fine.
Also When I searched the Pi forums I saw a post where a guy was claiming that the sensor powers off when an EM interference happens. I think in my case also there could be an EM interference when the charging starts.
https://forums.raspberrypi.com/viewtopic.php?p=1828654&hilit=vl53l1x#p1828654
Could you please help me on what could cause this issue?
Thanks in advance.
