
0x15: FF_MT_CFG Freefall/Motion Configuration Register
This is the Freefall/Motion configuration register for setting up the conditions of the freefall or motion function.
0x15: FF_MT_CFG Register (Read/Write)
Bit 7
ELE
Bit 6
OAE
Bit 5
ZEFE
Bit 4
YEFE
Bit 3
XEFE
Bit 2
0
Bit 1
0
Bit 0
0
Table 26. FF_MT_CFG Description
Event Latch Enable: Event flags are latched into FF_MT_SRC register. Reading of the FF_MT_SRC register clears the event
ELE
OAE
ZEFE
YEFE
XEFE
flag EA and all FF_MT_SRC bits. Default value: 0.
0: Event flag latch disabled; 1: event flag latch enabled
Motion detect / Freefall detect flag selection. Default value: 0. (Freefall Flag)
0: Freefall Flag (Logical AND combination)
1: Motion Flag (Logical OR combination)
Event flag enable on Z Default value: 0.
0: event detection disabled; 1: raise event flag on measured acceleration value beyond preset threshold
Event flag enable on Y event. Default value: 0.
0: Event detection disabled; 1: raise event flag on measured acceleration value beyond preset threshold
Event flag enable on X event. Default value: 0.
0: event detection disabled; 1: raise event flag on measured acceleration value beyond preset threshold
OAE bit allows the selection between Motion (logical OR combination) and Freefall (logical AND combination) detection.
ELE denotes whether the enabled event flag will to be latched in the FF_MT_SRC register or the event flag status in the
FF_MT_SRC will indicate the real-time status of the event. If ELE bit is set to a logic ‘1’, then the event flags are frozen when the
EA bit gets set, and are cleared by reading the FF_MT_SRC source register.
ZHFE, YEFE, XEFE enable the detection of a motion or freefall event when the measured acceleration data on X, Y, Z channel
is beyond the threshold set in FF_MT_THS register. If the ELE bit is set to logic ‘1’ in the FF_MT_CFG register new event flags
are blocked from updating the FF_MT_SRC register.
FF_MT_THS is the threshold register used to detect freefall motion events. The unsigned 7-bit FF_MT_THS threshold register
holds the threshold for the freefall detection where the magnitude of the X and Y and Z acceleration values is lower or equal than
the threshold value. Conversely, the FF_MT_THS also holds the threshold for the motion detection where the magnitude of the
X or Y or Z acceleration value is higher than the threshold value.
+8g
X, Y, Z High-g Region
High-g + Threshold (Motion)
Positive
Acceleration
X, Y, Z Low-g Region
Low-g Threshold (Freefall)
High-g - Threshold (Motion)
Negative
Acceleration
X, Y, Z High-g Region
-8g
Figure 12. FF_MT_CFG High- and Low-g Level
0x16: FF_MT_SRC Freefall/Motion Source Register
0x16: FF_MT_SRC Freefall and Motion Source Register (Read Only)
Bit 7
EA
Bit 6
0
Bit 5
ZHE
Bit 4
ZHP
Bit 3
YHE
Bit 2
YHP
Bit 1
XHE
Bit 0
XHP
MMA8452Q
Sensors
26
Freescale Semiconductor, Inc.