Skip to main content
JDren
Associate
January 22, 2019
Solved

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

  • January 22, 2019
  • 3 replies
  • 908 views

..

This topic has been closed for replies.
Best answer by Eleon BORLINI

​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.

3 replies

Eleon BORLINI
Eleon BORLINIBest answer
ST Employee
January 23, 2019

​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.

JDren
JDrenAuthor
Associate
January 23, 2019

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!

Eleon BORLINI
ST Employee
January 23, 2019

​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.