Datasheet
MMA8652FC
Sensors
Freescale Semiconductor, Inc. 21
6 Register Descriptions
6.1 Register address map
Table 12. MMA8652FC register address map
Name Type
Register
Address
Auto-Increment Address
Default
Hex
Value
Comment
FMODE = 0
F_READ = 0
FMODE > 0
F_READ = 0
FMODE = 0
F_READ = 1
FMODE > 0
F_READ = 1
STATUS/
F_STATUS
(1)(2)
R 0x00 0x01 00000000 0x00
FMODE = 0, real time status
FMODE > 0, FIFO status
OUT_X_MSB
(1)(2)
R 0x01 0x02 0x01 0x03 0x01 Output —
[7:0] are 8 MSBs
of 12-bit sample.
Root pointer to
XYZ FIFO data.
OUT_X_LSB
(1)(2)
R 0x02 0x03 0x00 Output —
[7:4] are 4 LSBs of 12-bit real-time
sample
OUT_Y_MSB
(1)(2)
R 0x03 0x04 0x05 0x00 Output —
[7:0] are 8 MSBs of 12-bit real-time
sample
OUT_Y_LSB
(1)(2)
R 0x04 0x05 0x00 Output —
[7:4] are 4 LSBs of 12-bit real-time
sample
OUT_Z_MSB
(1)(2)
R 0x05 0x06 0x00 Output —
[7:0] are 8 MSBs of 12-bit real-time
sample
OUT_Z_LSB
(1)(2)
R 0x06 0x00 Output —
[7:4] are 4 LSBs of 12-bit real-time
sample
Reserved
R
0x07
0x08
— — — — — — Reserved. Read return 0x00.
F_SETUP
(1)(3)
R/W 0x09 0x0A 00000000 0x00 FIFO setup
TRIG_CFG
(1)(4)
R/W 0x0A 0x0B 00000000 0x00 Map of FIFO data capture events
SYSMOD
(1)(2)
R 0x0B 0x0C 00000000 0x00 Current System mode
INT_SOURCE
(1)(2)
R 0x0C 0x0D 00000000 0x00 Interrupt status
WHO_AM_I
(1)
R 0x0D 0x0E 01001010 0x4A Device ID (0x4A)
XYZ_DATA_CFG
(1)(4)
R/W 0x0E 0x0F 00000000 0x00 Dynamic Range Settings
HP_FILTER_CUTOFF
(1
)(4)
R/W 0x0F 0x10 00000000 0x00 High-Pass Filter Selection
PL_STATUS
(1)(2)
R 0x10 0x11 00000000 0x00
Landscape/Portrait orientation
status
PL_CFG
(1)(4)
R/W 0x11 0x12 10000000 0x80 Landscape/Portrait configuration.
PL_COUNT
(1)(3)
R/W 0x12 0x13 00000000 0x00
Landscape/Portrait debounce
counter
PL_BF_ZCOMP
(1)(4)
R/W 0x13 0x14 01000100 0x44 Back/Front, Z-Lock Trip threshold
P_L_THS_REG
(1)(4)
R/W 0x14 0x15 10000100 0x84
Portrait/Landscape Threshold and
Hysteresis
FF_MT_CFG
(1)(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
(1)(3)
R/W 0x17 0x18 00000000 0x00 Freefall/Motion threshold register
FF_MT_COUNT
(1)(3)
R/W 0x18 0x19 00000000 0x00 Freefall/Motion debounce counter
Reserved
R
0x19
0x1A
0x1B
0x1C
— — — — — — Reserved. Read return 0x00.