cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DH Free-Fall Detection

mizhis
Associate
Posted on May 24, 2014 at 09:21

Hello There,

i'm trying to configure the LIS2DH for the free-fall detection. On the Free-Fall LIS should trigger an interrupt on INT1. My configuration looks like that:

CTRL_REG1 = 0b00100111;

CTRL_REG2 = 0b00000001;

CTRL_REG3 = 0b01000000; 

CTRL_REG4 = 0b10001000;

CTRL_REG5 = 0b00000000;

CTRL_REG6 = 0b00000000;

INT1_CFG = 0b10010101;

INT1_SRC = 0b00000000; // Read Only?!

INT1_TSH = 0b00011000;

INT1_DUR = 0b00110010;

it doesn't seem to work propperly ...

can anyone help me?

#lis2dh #free-fall
1 REPLY 1
thomas2399
Associate
Posted on June 02, 2014 at 14:16

Hi,

I try to do the same without success ( juste a threshold) . I don't understand why int1 pin is never asserted...

My config :

CTRL_REG1  0x77

CTRL_REG2  0x01

CTRL_REG3  0x40

INT1_CFG  0x2A

INT1_THS 0xC8  for example