2023-09-15 04:46 AM - edited 2023-09-15 04: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.
2023-09-18 01: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
2023-09-18 01: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