cancel
Showing results for 
Search instead for 
Did you mean: 

data ready interrupt lsm6dsl

Geoffrey Raynal
Associate
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

1 REPLY 1
Miroslav BATEK
ST Employee
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).