Use VL6180 Interrupt functionality without clearing interrupt bits
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-15 4:46 AM - edited ‎2023-09-15 4:48 AM
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
Solved! Go to Solution.
- Labels:
-
Time of flight
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-18 1:10 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-18 1:10 AM
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.
