Skip to main content
Visitor II
May 24, 2014
Question

LIS2DH Free-Fall Detection

  • May 24, 2014
  • 1 reply
  • 622 views
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
    This topic has been closed for replies.

    1 reply

    Visitor II
    June 2, 2014
    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