Unable to get a reading from a VL53L3CX sensor on Zephyr rtos
Hello STM Community team:
I'm working with a vl53l3cx sensor on a custom board with zephyr rtos but i am not able to get a reading.
To use the sensor I just modified the zephyr driver for the vl53l1x, on the .c file inside the driver I made the following changes:
1) added a VL53LX_MultiRangingData_t member in "struct vl53l3cx_data".
2) in function "_read_sensor" changed the "GetRangingMeasurementData" for GetMultiRangingData, using the new MultiRangingData_t member as argument.
3) in function "_channel_get", changed to get NumberOfObjectsFound instead of RangeMilliMeter.
4) Replace the VL53L1X API functions for the VL53L3CX API functions, as indicated on the UM2778.
the result is that the number of object found is always 0, this is independent of the distance mode . What I am doing wrong? Any suggestion to get the sensor made a reading.
Let me know if I can clarify anything, and thanks in advance for any help.
