Skip to main content
BBHAT.1
Visitor II
August 16, 2022
Question

ToF sensor full driver VL53L1CB_BareDriver doesn't generate interrupt.

  • August 16, 2022
  • 1 reply
  • 677 views

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

This topic has been closed for replies.

1 reply

Julien NGUYEN
ST Employee
August 16, 2022

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