Skip to main content
BBald.1
Associate II
September 22, 2021
Question

VL53L5CX Examples (9 & 11) using interrupt

  • September 22, 2021
  • 1 reply
  • 829 views

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?

This topic has been closed for replies.

1 reply

BBald.1
BBald.1Author
Associate II
September 27, 2021

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.