cancel
Showing results for 
Search instead for 
Did you mean: 

ToF sensor full driver VL53L1CB_BareDriver doesn't generate interrupt.

BBHAT.1
Associate

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

1 REPLY 1
Julien NGUYEN
ST Employee

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.