Data Sheet

MMA8452Q
Sensors
18 Freescale Semiconductor, Inc.
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