cancel
Showing results for 
Search instead for 
Did you mean: 

How to read lis2hh12 Activity/Inactivity status over registers?

CZorg.1
Associate II

I set ACT_THS and ACT_DUR registers, so now the chip enters on low data rate mode (10 Hz) when no movement is detected. everything is fine to that point.

I don't have access to INT1 and INT2 pins physically so I need to read activity/inactiviy status by registers.

1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

HI @CZorg.1​ ,

You might poll the IA bit of this general interrupt status register (see datasheet, p.39):

0693W00000NsiGrQAJ.pngYou'll clear the interrupt by reading this reg. This is a general purpose register, so you'll see here all the status of the interrupt you have set.

-Eleon

View solution in original post

1 REPLY 1
Eleon BORLINI
ST Employee

HI @CZorg.1​ ,

You might poll the IA bit of this general interrupt status register (see datasheet, p.39):

0693W00000NsiGrQAJ.pngYou'll clear the interrupt by reading this reg. This is a general purpose register, so you'll see here all the status of the interrupt you have set.

-Eleon