AnsweredAssumed Answered

MMA8652 interrupt orientation

Question asked by Tuurbo 46 on Jun 20, 2016
Latest reply on Jun 22, 2016 by Tomas Vaverka



I have the MMA8652 working but I have a problem at what angle the motion interrupt fires.


So currently with the sensor on a flat table solder side down, the interrupt will fire when moved in X, Y or Z directions, and when motion is stopped, the interrupt will stop firing.  This only works correctly when the chips is solder side down.


However, if I turn the senor from solder side down, to standing on its side, the interrupt will constantly fire. 


I would like to use the sensor, so that when turned on and initialized at any position, all interrupts are zero, and when moved in any X, Y, or Z direction the interrupt fires, and reset to zero when motion is stopped.


Is motion detect not suitable for this application and that is why it constantly fires on its side, or am I configuring the sensor incorrectly?


Would it be best to use acceleration g interrupts for this application?


Thanks in advance.