we have chosen vl53l0x for our product. Before that we bought x nuculeo expansion board and tested(without cover glass),everything is working fine.But after placing cover glass , the sensor first gave measurement as 0mm always.
Then we tried to do calibration steps as per datasheet, but the offset we are getting is -25000(we placed the white object at 100mm) and cross talk is 0.
SOC : nrf52840
RTOS : Zephyr
GITHUB link for driver : https://github.com/zephyrproject-rtos/hal_st
My doubt is on driver where it is doing calibration for offset and cross talk
Line number 141 in this file, https://github.com/zephyrproject-rtos/hal_st/blob/master/sensor/vl53l0x/api/core/src/vl53l0x_api_calibration.c ,xTalkCalDistanceAsInt will become 0 because
it is shifted by 16 places.If this is the problem then so many places it is happening.
Can anyone help me solve this problem.Thanks in advance.
