ToF sensor full driver VL53L1CB_BareDriver doesn't generate interrupt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-08-16 1: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
- Labels:
-
Time of flight
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-08-16 6: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
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
