2022-08-16 01:21 AM
Hello,
I'm currently using ToF sensor with Particle Tracker SoM board. I took the driver from VL53L1CB_BareDriver bare driver and ported it to the Tracker SoM. I have followed the same APIs as the example code but the sensor doesn't complete measurement (or generate interrupt) but the same software works fine on STM32 Nucleo board. I tried debugging with logic analyzer and I found during "VL53L1_DataInit(Dev_st)" the sensor I2C response is different compared to the STM32. Any help would be really valued.
Thank you
2022-08-16 06:38 AM
Hi,
I would run the sensor in polling mode instead of interrupt mode to see if it works.
Are you expecting a falling edge interrupt or rising edge interrupt? I remember that the interrupt polarity is low (interrupt on falling edge).
Julien