VL53L4CX not NewDataReady
- October 25, 2023
- 2 replies
- 1779 views
Hello, i've been using a couple of VL53L4CX tof for a month with no problem so far, but recently i bought a few more and none of these work. (These new ones are the same model that the ones that worked).
Analyzing with a digital osciloscope the I2C commands i saw a difference between this two.
Apparently the two tofs seems to be sending without a problem the init commands, but when it tries to access this register (VL53LX_GPIO__TIO_HV_STATUS 0x0031), the one that works answers with a 0x02, meanwhile the bad one responds with a 0x03 (I attached both screenshots).
This happens in the driver's function VL53LX_GetMeasurementDataReady, when it calls VL53LX_is_new_data_ready in vl53lx_wait.c (I attached also a screenshot of this function)
Does anyone know why is this happening? Could it be solved by software? Or it's a hardware issue?
