Solved
lsm6ds3trc free fall detect
- December 5, 2024
- 1 reply
- 894 views
Hi
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.