cancel
Showing results for 
Search instead for 
Did you mean: 

LSM303C Accelerometer Activity/Inactivity Interrupt

SLokh
Associate

Hi,

This question was asked by someone 4 years ago and hasn't been answered yet. Hope it gets answered this time around.

I have been trying to experiment with the interrupt functionality of LSM303C with no success.

So far I have followed all the steps included on page 21 from the LSM303C datasheet. My steps are as follows:

Wrote 0x43 to CTRL_REG1_A

Wrote 0x10 / 0x00 to CTRL_REG5_A (active low / active high )

Wrote 0x00 to ACT_THS_A

Wrote 0x02 to ACT_DUR_A

Now with active low setting on ctrl-reg5, the INT1 pin is always high and with active high setting on ctrl-reg5, INT1 pin is always low.

I am having a hard time to get this working. Please let me know how can I detect activity / inactivity on LSM303C.

--Sanket

0 REPLIES 0