cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L5CX Examples (9 & 11) using interrupt

BBald.1
Associate II

I'm using a X-NUCLEO-53L5A1dev board that I have wired up to a Raspberry Pi. I have also wired the interrupt line from dev board (cn-8 pin 3) to the Raspberry Pi GPIO1 (pin 28 on the 40 pin header). In the examples 9 and 11 there is a dummy function called WaitForL5Interrupt that the user is supposed to populate. I have populated the function with code that sits and waits for the GPIO1 line to change from low to high. What I'm experiencing is that the interrupt line from the dev board is always high. Is there a step that is needed to be done to enable the interrupt line?

1 REPLY 1
BBald.1
Associate II

I've discovered that the interrupt is actually low going. Looking at the documentation for the X-NUCLEO-53L5A1 I don't see any indication that is is low going. Maybe I'm just missing it. Also when it goes low it is only low for 100 microseconds.