The tof chip anomaly after a long period of non-use
- June 12, 2025
- 5 replies
- 2073 views
I discovered a strange phenomenon:
After I powered on the VL53L4CD, I called the interfaces:
The interfaces such as VL53L4CD_SensorInit, VL53L4CD_SetRangeTiming, VL53L4CD_SetDetectionThresholds, and VL53L4CD_SetSignalThreshold complete the initialization operation.
Then call the VL53L4CD_ClearInterrupt and VL53L4CD_StartRanging interfaces to start the measurement. At this time, interrupts can be received normally, and the interrupt pin can rise and fall normally.
At this point, I call the VL53L4CD_StopRanging interface to stop the measurement. At this time, tthe interrupt pin is at a high level.
At this point, I put the device aside without operating it for about two or three days.
I recalled VL53L4CD_ClearInterrupt and VL53L4CD_StartRanging, and immediately received an interrupt. At this time, I called the VL53L4CD_GetResult and VL53L4CD_ClearInterrupt interface to read the result and found that the value of range_status was 2.
Subsequently, the interrupt pin remained at a low level. I kept calling VL53L4CD_ClearInterrupt, VL53L4CD_StartRanging, and VL53L4CD_StopRanging, but the interrupt pin would not be raised again. Only after setting the xshut pin to low level, turn off the VL53L4CD chip, the interrupt pin will be a high level.
This phenomenon is not certain to occur, but there is a probability of it happening. Could you help me figure out the reason for this? I confirm that the execution mode of the VL53L4CD_StopRanging interface is VL53L4CD_WrByte(dev, VL53L4CD_SYSTEM_START, 0x80).
I repeatedly called to start ranging and stop ranging, and the interrupt pin was normal. So, could it be that there was a problem with the chip's own state after being placed for a long time?
These are the register values read under normal and abnormal conditions, in the attachment.
Could you help me check what the problem is.
