Skip to main content
Visitor II
November 23, 2020
Question

H3LIS200DL doesn't generate an interrupt

  • November 23, 2020
  • 1 reply
  • 776 views

I am trying to get an interrupt when exceeds the limit (for test, 1g), but couldn't see any changes on INT1 line.

I have configured H3LIS200DL INT1 (INT1_THS is 0x01, INT1_DURATION is 0x03, INT1_CFG is 0x63). I am getting OUT_X, OUT_Y, OUT_Z between -2 and 0.

The sensor datasheet describes 7 bit threshold, so I think 1 LSB is 100/127g.

I am not sure what I am missing. Any help would be appreciated.

    This topic has been closed for replies.

    1 reply

    honestechAuthor
    Visitor II
    November 23, 2020

    I have tried with LIRx of CTRL_REG3. When LIR1 sets to 1, reading INT1_SRC generates interrupt even if doesn't reach threshold (tested with 100g). But without reading INT1_SRC, I couldn't see any interrupt pulse on INT1 line. The interrupt interval is same to reading interval.

    What I might be wrong or have to set anything?

    Does anyone can explain this?