2019-01-22 02:18 PM
2019-01-23 05:55 AM
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.
2019-01-23 05:55 AM
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.
2019-01-23 07:04 AM
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!
2019-01-23 07:58 AM
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.