2024-12-04 10:12 PM
Dear,
I'm testing the lsm6ds3tr-c free fall function, but it's hard to tuning the threshold, i attach the current registor settings, I want to dectect the 1m free fall, can you give some guide? thanks a lot.
2024-12-04 10:23 PM
2024-12-12 12:14 AM
Hi @Jali ,
Have you already tried to implement the simple example on the AN?
1. Write 60h to CTRL1_XL // Turn on the accelerometer
// ODR_XL = 416 Hz, FS_XL = ±2 g
2. Write 81h to TAP_CFG // Enable interrupts and latch interrupt
3. Write 00h to WAKE_UP_DUR // Set event duration (FF_DUR5 bit)
4. Write 33h to FREE_FALL // Set FF threshold (FF_THS[2:0] = 011b)
// Set six samples event duration (FF_DUR[5:0] = 000110b)
5. Write 10h to MD1_CFG // FF interrupt driven to INT1 pin
The INT1_INACT_STATE is needed for activity/inactivity detection.