cancel
Showing results for 
Search instead for 
Did you mean: 

lsm6ds3trc free fall detect

Jali
Associate

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.

2 REPLIES 2
Jali
Associate

if I need enable the INT1_INACT_ STATE of MD1_CFG(5Eh)?

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.

 

 

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.