cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt status on VL6180X in interleaved mode

Rafael Dias
Associate II
Posted on September 14, 2017 at 21:46

Hi guys,

I'm developing a application that uses a XNUCLEO-6180XA1. The development board is a PSoC-4 enabled board with arduino headers (

http://www.cypress.com/documentation/development-kitsboards/cy8ckit-042-psoc-4-pioneer-kit

 ).

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

#interrupt-issue #vl6180x
1 REPLY 1
Rafael Dias
Associate II
Posted on September 26, 2017 at 22:00

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6tM&d=%2Fa%2F0X0000000bxS%2FuZrVCrBl4oQt6R9OYfsFzcZgkdp6IHy55ZSRN0rCumQ&asPdf=false