cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DE12 query related to #INT pins.

NItin Kanani
Associate II
Posted on December 23, 2017 at 05:47

Hello,

I am using LIS2DE12 Accelerometer in my device interfaced with 32 bit STM32L4 sereis.

Looking into the datasheet LIS2DE12 having two INT pins.

My question is do i need to interface both pins with micro controller or single pin will work keeping other pin open.

Application is Fleet Management System.

#mems #accelerometer #lis2de12 #gyro
4 REPLIES 4
Nick Rasmussen
Associate
Posted on December 23, 2017 at 07:18

Yes, you can leave either or both interrupt pins open.

Miroslav BATEK
ST Employee
Posted on December 25, 2017 at 09:35

You have to decide which feature of the accelerometer you will use. Then you will know how many interrupt pins need to be connected to microcontroler. None of the interrupt pins have to be connected to microcontroler, it is not mandatory. But in example if you want to use data ready interrupt on INT1 and threshold interrupt on INT2 you have to connect both of them to the microcontroller.

Posted on January 04, 2018 at 11:41

Hi Miroslav

Thanks your reply

How 

threshold interrupt is work?

 and how to use?

please give me suggestion for that.

Thanks 

Posted on January 04, 2018 at 14:49

Please read chapter 6 in

http://www.st.com/content/ccc/resource/technical/document/application_note/77/ed/e7/e1/28/5a/45/d6/CD00290365.pdf/files/CD00290365.pdf/jcr:content/translations/en.CD00290365.pdf

 it describes the interrupts. The application note is for LIS3DH but the functionality of the threshold interrupts is basically the same.