Skip to main content
KAgga.1
Associate III
September 15, 2023
Solved

Use VL6180 Interrupt functionality without clearing interrupt bits

  • September 15, 2023
  • 1 reply
  • 1100 views

Hello There,
I'm successfully able to run VL6180 with interrupt functionality. But have some functionality queries.
The application is intended to generate interrupt when reading a distance below specific threshold. I found that we need to Clear Interrupt bits every time after interrupt is generated. Actually, I don't want to do that as per the application requirement. With that GPIO1 I would be driving external hardware (mosfet to be more precise) directly without involving MCU.

So, how is it possible to make the sensor generating interrupts continuously without clearing interrupt bits?

Regards,
Keshav Aggarwal

This topic has been closed for replies.
Best answer by Zhiyuan.Han

Hi Keshav Aggarwal

Thanks for your question and I understand you request well, unfortunately our sensor always need to clear interrupt bit once interrupt generated, we need to clear the interrupt to start new range measurement.

 

Br

Zhiyuan.Han

1 reply

Zhiyuan.Han
Zhiyuan.HanBest answer
Technical Moderator
September 18, 2023

Hi Keshav Aggarwal

Thanks for your question and I understand you request well, unfortunately our sensor always need to clear interrupt bit once interrupt generated, we need to clear the interrupt to start new range measurement.

 

Br

Zhiyuan.Han

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.