2018-02-23 12:28 PM
The INT1_THS register value does not seem to change the threshold at which an event is triggered. I can read and write the INT1_THS(0x32) so I know my writes are working. I poll the INT1_SRC register and watch the bits change so the position enable ints are working it is just that the threshold seems fixed not adjustable.
INT1_CFG = 0xCF to enable X & Y position triggering
INT1_THS = 0x20 = 0.5g or 30 degrees. (actual int flags trip around 0.94g/66 degrees)
Thanks in advance for any help.
Note: this post was migrated and contained many threaded conversations, some content may be missing.2018-04-13 04:49 AM
Solved! For those who follow this thread in the future. In order to get a position threshold below 45 degrees or 0.7g to work, one of the axis must be disabled in the REG1_CFG so disabling in INT1_CFG is not enough, but the whole axis must be disabled in REG1_CFG