Sensors
22 NXP Semiconductors
MMA8452Q
0x0B: SYSMOD system mode register
The system mode register indicates the current device operating mode. Applications using the auto-sleep/wake mechanism
should use this register to synchronize the application with the device operating mode transitions.
0x0C: INT_SOURCE system interrupt status register
In the interrupt source register the status of the various embedded features can be determined. The bits that are set (logic ‘1’)
indicate which function has asserted an interrupt and conversely the bits that are cleared (logic ‘0’) indicate which function has
not asserted or has deasserted an interrupt. The bits are set by a low to high transition and are cleared by reading the
appropriate interrupt source register. The SRC_DRDY bit is cleared by reading the X, Y and Z data. It is not cleared by simply
reading the status register (0x00).
0x0B: SYSMOD: system mode register (read only)
Bit
7
Bit
6
Bit
5
Bit
4
Bit
3
Bit
2
Bit
1
Bit
0
0 0 0 0 0 0 SYSMOD1 SYSMOD0
Table 13. SYSMOD description
Field Description
SYSMOD[1:0]
System mode. Default value: 00.
00: Standby mode
01: Wake mode
10: Sleep mode
0x0C: INT_SOURCE: system interrupt status register (read only)
Bit
7
Bit
6
Bit
5
Bit
4
Bit
3
Bit
2
Bit
1
Bit
0
SRC_ASLP 0 SRC_TRANS SRC_LNDPRT SRC_PULSE SRC_FF_MT 0 SRC_DRDY
Table 14.
INT_SOURCE description
Field Description
SRC_ASLP
Auto-sleep/wake interrupt status bit. Default value: 0.
Logic ‘1’ indicates that an interrupt event that can cause a wake to sleep or sleep to wake system mode transition has
occurred.
Logic ‘0’ indicates that no wake to sleep or sleep to wake system mode transition interrupt event has occurred.
wake to sleep transition occurs when no interrupt occurs for a time period that exceeds the user specified limit
(ASLP_COUNT). This causes the system to transition to a user specified low ODR setting.
sleep to wake transition occurs when the user specified interrupt event has woken the system; thus causing the system
to transition to a user specified high ODR setting.
Reading the SYSMOD register clears the SRC_ASLP bit.
SRC_TRANS
Transient interrupt status bit. Default value: 0.
Logic ‘1’ indicates that an acceleration transient value greater than user specified
threshold
has
occurred. Logic ‘0’
indicates that no transient event has occurred.
This bit is asserted whenever
EA bit in the TRANS_SRC is asserted and
the
interrupt
has been enabled. This bit is
cleared by reading the TRANS_SRC register.
SRC_LNDPRT
Landscape/portrait orientation interrupt status bit. Default value: 0.
Logic ‘1’ indicates that an interrupt was generated due to a change in the device orientation status. Logic ‘0’ indicates
that no change in orientation status was detected.
This bit is asserted whenever NEWLP bit in the PL_STATUS is asserted and the
interrupt
has
been enabled.
This bit is cleared by reading the PL_STATUS register.
SRC_PULSE
Pulse interrupt status bit. Default value: 0.
Logic ‘1’ indicates that an interrupt was generated due to single and/or double pulse event. Logic ‘0’ indicates that no
pulse event was detected.
This bit is asserted whenever EA bit in the PULSE_SRC is asserted and the interrupt has been enabled.
This bit is cleared by reading the PULSE_SRC register.
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
Sensors
24 NXP Semiconductors
MMA8452Q
0x0F: HP_FILTER_CUTOFF high-pass filter register
This register sets the high-pass filter cutoff frequency for removal of the offset and slower changing acceleration data. The output
of this filter is indicated by the data registers (0x01-0x06) when bit 4 (HPF_OUT) of register 0x0E is set. The filter cutoff options
change based on the data rate selected as shown in Table 18. For details of implementation on the high-pass filter, refer to NXP
application note AN4071.
0x0F: HP_FILTER_CUTOFF: high-pass filter register (read/write)
Bit
7
Bit
6
Bit
5
Bit
4
Bit
3
Bit
2
Bit
1
Bit
0
0 0 Pulse_HPF_BYP Pulse_LPF_EN 0 0 SEL1 SEL0
Table 17. High-pass filter cutoff register descriptions
Field Description
Pulse_HPF_BYP
Bypass high-pass filter for pulse processing function.
0: HPF enabled for pulse processing, 1: HPF bypassed for pulse processing
Default value: 0.
Pulse_LPF_EN
Enable low-pass filter for pulse processing function.
0: LPF disabled for pulse processing, 1: LPF enabled for pulse processing
Default value: 0.
SEL[1:0]
HPF cutoff frequency selection.
Default value: 00 (see
Table 18).
Table 18. High-pass filter cutoff options
SEL1 SEL0 800 Hz 400 Hz 200 Hz 100 Hz 50 Hz 12.5 Hz 6.25 Hz 1.56 Hz
Oversampling mode = normal
0 0 16 Hz 16 Hz 8 Hz 4 Hz 2 Hz 2 Hz 2 Hz 2 Hz
0 1 8 Hz 8 Hz 4 Hz 2 Hz 1 Hz 1 Hz 1 Hz 1 Hz
1 0 4 Hz 4 Hz 2 Hz 1 Hz 0.5 Hz 0.5 Hz 0.5 Hz 0.5 Hz
1 1 2 Hz 2 Hz 1 Hz 0.5 Hz 0.25 Hz 0.25 Hz 0.25 Hz 0.25 Hz
Oversampling mode = low noise low power
0 0 16 Hz 16 Hz 8 Hz 4 Hz 2 Hz 0.5 Hz 0.5 Hz 0.5 Hz
0 1 8 Hz 8 Hz 4 Hz 2 Hz 1 Hz 0.25 Hz 0.25 Hz 0.25 Hz
1 0 4 Hz 4 Hz 2 Hz 1 Hz 0.5 Hz 0.125 Hz 0.125 Hz 0.125 Hz
1 1 2 Hz 2 Hz 1 Hz 0.5 Hz 0.25 Hz 0.063 Hz 0.063 Hz 0.063 Hz
Oversampling mode = high resolution
0 0 16 Hz 16 Hz 16 Hz 16 Hz 16 Hz 16 Hz 16 Hz 16 Hz
0 1 8Hz 8Hz 8Hz 8Hz 8Hz 8Hz 8Hz 8Hz
1 0 4Hz 4Hz 4Hz 4Hz 4Hz 4Hz 4Hz 4Hz
1 1 2 Hz 2 Hz 2 Hz 2 Hz 2 Hz 2 Hz 2 Hz 2 Hz
Oversampling mode = low power
0 0 16 Hz 8 Hz 4 Hz 2 Hz 1 Hz 0.25 Hz 0.25 Hz 0.25 Hz
0 1 8 Hz 4 Hz 2 Hz 1 Hz 0.5 Hz 0.125 Hz 0.125 Hz 0.125 Hz
1 0 4 Hz 2 Hz 1 Hz 0.5 Hz 0.25 Hz 0.063 Hz 0.063 Hz 0.063 Hz
1 1 2 Hz 1 Hz 0.5 Hz 0.25 Hz 0.125 Hz 0.031 Hz 0.031 Hz 0.031 Hz

101990016

Mfr. #:
Manufacturer:
Seeed Studio
Description:
Acceleration Sensor Development Tools TESSEL ACCELEROMETER MODULE
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet