cancel
Showing results for 
Search instead for 
Did you mean: 

cannot get the lis3dh to generate interrupts for new data ready

Herb
Associate

We switched from a Bosch BMA456 to the LIS3DH, and cannot get the device to generate an interrupt, we have followed the DS and app note, nothing. This solution worked with the previous device.

We need assistance, this should work, the name reads correctly and we write then read back the config registers, but no interrupt starts generating. here is the init code and the defines that go with them, is there some procedure not spelled out to get this thing generating interrupts, does it need a pull up or down on the interrupt line?

H

*note the tool would not allow me to post in the code, here is a scope shot a a forced data transfer, not sure why the registers are reading the same exact values.

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @Herb​ ,

I can share you some online example for implementing interrupt requests on LIS3DH in C on Github repository --> for example, lis3dh_wake_up.c

They are developed on the basis of the indications of the application note AN3308.

Please have a look at them and compare it with your code.

Then let me know if these indications can help you.

-Eleon