cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DSO tilt function no working.

Juandgarcia
Associate

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,
1 REPLY 1
Federica Bossi
ST Employee

Hi @Juandgarcia ,

Welcome to ST Community!

Have you already looked at our official example on Github?

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.