AnsweredAssumed Answered

MMA8451 Z axis interruption

Question asked by John Doe on May 13, 2016

Hello,

 

 

I'm trying to create an interruption by motion with MMA8451 from a X, Y or Z motion but it doesn't work.

 

My configuration is:

 

REG_XYZ_DATA_CFG = 0x0

REG_CTRL_REG2  =  0x06

REG_MOTION_CFG =  0x38 (Z or X or Y)

REG_THRESHOLD = 0x83

REG_CTRL_REG3 = 0x08

REG_ASLP_COUNT = 10 

REG_CTRL_REG4 = 0x04

REG_CTRL_REG5 = 0x04

REG_PL_CFG = 0x00

 

Strangely with REG_MOTION_CFG =  0x58 (X and Y) the accelerometer triggers the motion interruption.

 

Maybe I'm missing something with the low/high pass filters when Z axis is involved?

 

Thanks,

Jay

Outcomes