Skip to main content
Visitor II
July 11, 2024
Question

LSM6DSO tilt function no working.

  • July 11, 2024
  • 1 reply
  • 713 views

Hi, i'm trying to enable the tilt feature in an LSM6DSO on INT1 or INT2 but isn´t been possible until now. I´ve read the datasheet and used the example as template but for some reason the interrupt is not working. Looks like the embedded functions are not being activated correctly.  These are the registers that I'm using to configure it. First hex is the register direction and the second one is the value to write. 

 

 
ConfigRegisters(IMU,0x01,0x80);
ConfigRegisters(IMU,0x04,0x10);
ConfigRegisters(IMU,0x0A,0x10);
ConfigRegisters(IMU,0x17,0x80); //RW register
ConfigRegisters(IMU,0x01,0x00);
ConfigRegisters(IMU,0x5E,0x02);
 
Am i missing some register to configure? 
 
Thanks,
    This topic has been closed for replies.

    1 reply

    Technical Moderator
    July 22, 2024

    Hi @Juandgarcia ,

    Welcome to ST Community!

    Have you already looked at our official example on Github?