Datasheet

Sensors
NXP Semiconductors 23
MMA8452Q
0x0D: WHO_AM_I device ID register
The device identification register identifies the part. The default value is 0x2A. This value is factory programmed. Consult the
factory for custom alternate values.
0x0E: XYZ_DATA_CFG register
The XYZ_DATA_CFG register sets the dynamic range and sets the high-pass filter for the output data. When the HPF_OUT bit
is set. The data registers 0x01 to 0x06 will contain high-pass filtered data when this bit is set.
The default full-scale value range is 2 g and the high-pass filter is disabled.
SRC_FF_MT
Freefall/motion interrupt status bit. Default value: 0.
Logic ‘1’ indicates that the freefall/motion function interrupt is active. Logic ‘0’ indicates that no freefall or motion event
was detected.
This bit is asserted whenever EA bit in the FF_MT_SRC register is asserted and the FF_MT interrupt has been enabled.
This bit is cleared by reading the FF_MT_SRC register.
SRC_DRDY
Data-ready interrupt bit status. Default value: 0.
Logic ‘1’ indicates that the X, Y, Z data-ready interrupt is active indicating the presence of new data and/or data overrun.
Otherwise if it is a logic ‘0’ the X, Y, Z interrupt is not active.
This bit is asserted when the ZYXOW and/or ZYXDR is set and the interrupt has been enabled.
This bit is cleared by reading the X, Y, and Z data.
0x0D: WHO_AM_I device ID register (read only)
Bit
7
Bit
6
Bit
5
Bit
4
Bit
3
Bit
2
Bit
1
Bit
0
00101 0 1 0
0x0E: XYZ_DATA_CFG (read/write)
Bit
7
Bit
6
Bit
5
Bit
4
Bit
3
Bit
2
Bit
1
Bit
0
000HPF_OUT0 0 FS1FS0
Table 15. XYZ data configuration descriptions
Field Description
HPF_OUT
Enable high-pass output data 1 = output data high-pass filtered. Default value: 0
FS[1:0]
Output buffer data format full scale. Default value: 00 (2 g).
Table 16. Full-scale range
FS1 FS0 Full-scale range
00 2
01 4
10 8
11 Reserved
Table 14. INT_SOURCE description (continued)
Field Description