AnsweredAssumed Answered

Interrupt status on VL6180X in interleaved mode

Question asked by Rafael Dias on Sep 14, 2017
Latest reply on Sep 26, 2017 by Rafael Dias

Hi guys,

 

I'm developing a application that uses a XNUCLEO-6180XA1. The development board is a PSoC-4 enabled board with arduino headers (CY8CKIT-042 PSoC® 4 Pioneer Kit | Cypress Semiconductor ).

 

I'm using the library provided by ST and I wrote the HAL functions to provide access to the VL6180x module.

 

At this moment, I can access the registers of VL6180. I have to work in a Low Power environment and, because this, I would like to enable the interleaved mode. I read some documents, like http://www.st.com/resource/en/design_tip/dm00113044.pdf and anothers from ST.

 

I configured the interleaved mode following the steps provided at DT0017 Design Note. After this configuration, I started a ALS acquire and after some miliseconds I receive a GPIO1 signalization.  

My recent problem is that I receive a first interrupt signalization by the GPIO1 pin, but when I read the ALS signal by the API VL6180x_AlsGetMeasurement. After that , I perform the clean of all interrupt status, but the pin GPIO1 interrupt status does not change the value and the ISR never occur again.

 

Are someone experimented the same behavior?

 

Best regards,

Rafael Dias

Outcomes