Datasheet

Sensors
NXP Semiconductors 19
MMA8452Q
6 Register Descriptions
Table 11. Register address map
Name Type
Register
address
Auto-increment address
Default
Hex
value
Comment
F_READ = 0 F_READ = 1
STATUS
(1)(2)
R 0x00 0x01 00000000 0x00
Real time status
OUT_X_MSB
(1)(2)
R 0x01 0x02 0x03 Output
[7:0] are 8 MSBs of 12-bit sample.
OUT_X_LSB
(1)(2)
R 0x02 0x03 0x00 Output
[7:4] are 4 LSBs of 12-bit sample.
OUT_Y_MSB
(1)(2)
R 0x03 0x04 0x05 Output
[7:0] are 8 MSBs of 12-bit sample.
OUT_Y_LSB
(1)(2)
R 0x04 0x05 0x00 Output
[7:4] are 4 LSBs of 12-bit sample.
OUT_Z_MSB
(1)(2)
R 0x05 0x06 0x00 Output
[7:0] are 8 MSBs of 12-bit sample.
OUT_Z_LSB
(1)(2)
R 0x06 0x00 Output
[7:4] are 4 LSBs of 12-bit sample.
Reserved R 0x07
Reserved. Read return 0x00.
Reserved R 0x08
Reserved. Read return 0x00.
SYSMOD R 0x0B 0x0C 00000000 0x00
Current System mode
INT_SOURCE
(1)(2)
R 0x0C 0x0D 00000000 0x00
Interrupt status
WHO_AM_I R 0x0D 0x0E 00101010 0x2A
Device ID (0x2A)
XYZ_DATA_CFG
(3)(4)
R/W 0x0E 0x0F 00000000 0x00
HPF data out and dynamic range settings
HP_FILTER_CUTOFF
(3)(4)
R/W 0x0F 0x10 00000000 0x00
Cutoff frequency is set to 16 Hz @ 800 Hz
PL_STATUS
(1)(2)
R 0x10 0x11 00000000 0x00
Landscape/portrait orientation status
PL_CFG
(3)(4)
R/W 0x11 0x12 10000000 0x80
Landscape/portrait configuration.
PL_COUNT
(3)(4)
R 0x12 0x13 00000000 0x00
Landscape/portrait debounce counter
PL_BF_ZCOMP
(3)(4)
R 0x13 0x14 01000100 0x44
Back/front, Z-lock trip threshold
P_L_THS_REG
(3)(4)
R 0x14 0x15 10000100 0x84
Portrait to landscape trip angle is 29°
FF_MT_CFG
(3)(4)
R/W 0x15 0x16 00000000 0x00
Freefall/motion functional block configuration
FF_MT_SRC
(1)(2)
R 0x16 0x17 00000000 0x00
Freefall/motion event source register
FF_MT_THS
(3)(4)
R/W 0x17 0x18 00000000 0x00
Freefall/motion threshold register
FF_MT_COUNT
(3)(4)
R/W 0x18 0x19 00000000 0x00
Freefall/motion debounce counter
Reserved R
0x19 -
0x1C
——
Reserved. Read return 0x00.
TRANSIENT_CFG R/W 0x1D 0x1E 00000000 0x00
Transient functional block configuration
TRANSIENT_SRC
(1)(2)
R 0x1E 0x1F 00000000 0x00
Transient event status register
TRANSIENT_THS
(3)(4)
R/W 0x1F 0x20 00000000 0x00
Transient event threshold
TRANSIENT_COUNT
(3)(4)
R/W 0x20 0x21 00000000 0x00
Transient debounce counter
PULSE_CFG
(3)(4)
R/W 0x21 0x22 00000000 0x00
ELE, Double_XYZ or Single_XYZ
PULSE_SRC
(1)(2)
R 0x22 0x23 00000000 0x00
EA, Double_XYZ or Single_XYZ
PULSE_THSX
(3)(4)
R/W 0x23 0x24 00000000 0x00
X pulse threshold
PULSE_THSY
(3)(4)
R/W 0x24 0x25 00000000 0x00
Y pulse threshold
PULSE_THSZ
(3)(4)
R/W 0x25 0x26 00000000 0x00
Z pulse threshold
PULSE_TMLT
(3)(4)
R/W 0x26 0x27 00000000 0x00
Time limit for pulse
PULSE_LTCY
(3)(4)
R/W 0x27 0x28 00000000 0x00
Latency time for 2
nd
pulse
PULSE_WIND
(3)(4)
R/W 0x28 0x29 00000000 0x00
Window time for 2nd pulse
ASLP_COUNT
(3)(4)
R/W 0x29 0x2A 00000000 0x00
Counter setting for auto-sleep
CTRL_REG1
(3)(4)
R/W 0x2A 0x2B 00000000 0x00
Data rate, active mode
CTRL_REG2
(3)(4)
R/W 0x2B 0x2C 00000000 0x00
Sleep enable, OS modes, RST, ST
CTRL_REG3
(3)(4)
R/W 0x2C 0x2D 00000000 0x00
Wake from sleep, IPOL, PP_OD