Skip to main content
Jhern.1
Associate III
January 18, 2022
Question

VL6180 - Interrupt triggered wihoout object ranged

  • January 18, 2022
  • 1 reply
  • 593 views

Hello,

I am testing the interrupt modes and I have an issue when CONFIG_GPIO_INTERRUPT_LEVEL_HIGH is set to raise the interrut when far objects are detected, but the interrupt is triggered as soon as the continuos mode is started (whit no object in front of the sensor).

Is this the normal behaviour?

Regards, Ramon.

This topic has been closed for replies.

1 reply

John E KVAM
ST Employee
January 18, 2022

I have heard of getting one un-intended interrupt just after the start. It should only be 1 thought.

simply clearing it and moving on with your routine should work.

Do you get more than 1 interrupt that was unexpected?

  • john