VL53L4CX long series of bad measures
Hi, I'm testing some VL53L4CX for about 10 months with nrf52832 using I2C. It's used in very dark conditions and within 3m and I take 15 measures 24 times a day.
Between periods of measures I completely power off the sensor with an LDO.
It works fine for long period (1 month or more) and sometimes it starts a long period of consecutive bad measures.
(15 measures with status <> 0). It can last more than one week and it comes back to normal for several weeks...
I used the example of SimpleRanging code in app_tof.c only adapted for nrf52:
- power on + I2C_Init + MX_TOF_Init + MX_TOF_Process + MX_TOF_DeInit + I2C_DeInit + power off
More than once, I just put the device in ambient light and it resumed the correct measurements...
Questions:
- How is it possible that it seems to stay in bad configuration despite of powering off the sensor?
- Is it a way to reset to factory values when I have bad measurement?
Thanks for your answers.
