2021-08-31 11:50 AM
Hi!
I’m using the LSM6DSLTR, and really just need to trigger an interrupt whenever the device rotates at a speed greater or equal to a given threshold.
Do I need to set up any FIFO data, or is there a way to only generate an interrupt based on a rotation threshold?
I’ve set the gyro to a full scale selection of +/- 500 dps assuming this would be the threshold setting? (CTRL2_G register)
Curious if anyone else has used this chip to detect a threshold event in a rotation axis?
Solved! Go to Solution.
2021-09-03 05:08 AM
Hi, what if you use the significant motion feature in p53 of the lsm6dsl app note (https://www.st.com/resource/en/application_note/an5040-lsm6dsl-alwayson-3d-accelerometer-and-3d-gyroscope-stmicroelectronics.pdf)? You can configure the SM_THS register with the threshold you want (on 8 bit value from the FS).
2021-09-03 05:08 AM
Hi, what if you use the significant motion feature in p53 of the lsm6dsl app note (https://www.st.com/resource/en/application_note/an5040-lsm6dsl-alwayson-3d-accelerometer-and-3d-gyroscope-stmicroelectronics.pdf)? You can configure the SM_THS register with the threshold you want (on 8 bit value from the FS).
2021-09-15 07:35 PM
Ahh! Thanks for the heads up! It looks like the SM_THS register is used on the accelerometer only. I will comb the app note for a similar function in the gyro end. The app note itself is something I missed when downloading docs for this sensor! So thanks for sharing! :)