Skip to main content
Geoffrey Raynal
Visitor II
Jun 9, 2017 2:37 PM UTC
Question

data ready interrupt lsm6dsl

Posted on June 09, 2017 at 16:37

Hello everyone,

I Would like read the lsm6dsl data by interrupt using the pin int1 on the sensor.

I configured the accelerometer ODR to 104 Hz

And i set up registers as follow :

 - Control_3C (0x12) =  64 (Data updated only when register has been readed / Interrupt level High / interrupt pin in push pull)

- Int1_CTRL (0x0d) = 1 (INT1_DRDY_XL enabled)

I get the first rising edge on int1 pin, this edge is detected by my MCU, I read status register and accelerometer datas but the int1 pin of the lsm6dsl stay in high level. How may I clear this interruption for the next set of data ?

Datasheet v : 

DocID028475 Rev 6

Thanks

Geoffrey

This topic has been closed for replies.

2 replies

ST Employee
Jun 12, 2017 8:37 AM UTC
Posted on June 12, 2017 at 10:37

The interrupt is reset when the higher part of one of the enabled channels is read (29h, 2Bh, 2Dh for the accelerometer).

Visitor II
Apr 9, 2025 3:39 PM UTC

Is this indicated in the datasheet ?