cancel
Showing results for 
Search instead for 
Did you mean: 

On the LSM330DLC, what are the units/conversion for the register INT1_THS_A used for acceleration interrupts?

JDren
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

​Hi Jamey, INT1_THS_A enables you to set a threshold on 7 bits. The LSB of the threshold (regardless the operating mode, or the DATAOUT format) is FS/(2^7-1), that is 16mg for a FS = +-2g. You can select the sign and the axis of the threshold in the register INT1_CFG_A.

View solution in original post

3 REPLIES 3
Eleon BORLINI
ST Employee

​Hi Jamey, INT1_THS_A enables you to set a threshold on 7 bits. The LSB of the threshold (regardless the operating mode, or the DATAOUT format) is FS/(2^7-1), that is 16mg for a FS = +-2g. You can select the sign and the axis of the threshold in the register INT1_CFG_A.

Thanks for the quick reply. Just for clarification, when you say you can set the sign in the INT1_CFG_A register, Is a "high" event always positive and "low" event negative? Thanks again!

​you're right: the acceleration interrupt rises when the output data go above the High threshold (positive) if you select "axisH" bit (ZH, YH, XH), and when they go below the Low threshold (negative) if you select "axisL" bit (ZL, YL, XL) in INT1_CFG_A reg.