2017-06-09 07:37 AM
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
2017-06-12 01:37 AM
The interrupt is reset when the higher part of one of the enabled channels is read (29h, 2Bh, 2Dh for the accelerometer).