MMA8452QR1 Freescale Semiconductor, MMA8452QR1 Datasheet
MMA8452QR1
Specifications of MMA8452QR1
Available stocks
Related parts for MMA8452QR1
MMA8452QR1 Summary of contents
Page 1
... Shock and vibration monitoring (mechatronic compensation, shipping and warranty usage logging) • User interface (menu scrolling by orientation change, tap detection for button replacement) Part Number Temperature Range MMA8452QT MMA8452QR1 © Freescale Semiconductor, Inc., 2010, 2011. All rights reserved. ORDERING INFORMATION Package Description -40°C to +85°C QFN-16 -40° ...
Page 2
... Portrait/ Landscape Embedded Function Registers ................................................................................................. 24 6.3 Motion and Freefall Embedded Function Registers .................................................................................................. 26 6.4 Transient (HPF) Acceleration Detection ................................................................................................................... 31 6.5 Single, Double and Directional Tap Detection Registers .......................................................................................... 33 6.6 Auto-WAKE/SLEEP Detection .................................................................................................................................. 37 6.7 Control Registers ...................................................................................................................................................... 38 6.8 User Offset Correction Registers .............................................................................................................................. 41 MMA8452Q 2 Sensors Freescale Semiconductor ...
Page 3
... Low Power ACTIVE Mode Low Noise + Power High Resolution Normal (TOP VIEW) DIRECTION OF THE DETECTABLE ACCELERATIONS Figure 2. Direction of the Detectable Accelerations Sensors Freescale Semiconductor Internal Clock OSC GEN 12-bit ADC Converter Transient Shake Detection Orientation with Detection Set Hysteresis and Z-lockout ...
Page 4
... Figure 3. Landscape/Portrait Orientation VDDIO 2 BYP 0.1μ 0.1μF MMA8452Q 4 SCL 5 GND 6 Figure 4. Application Diagram Side View BACK Xout @ 0g Yout @ 0g Zout @ -1g FRONT Xout @ 0g Yout @ 0g Zout @ 1g 1.95V - 3.6V VDD 4.7μ GND 12 INT1 11 10 GND 9 INT2 7 8 INT1 INT2 SA0 Freescale Semiconductor Sensors ...
Page 5
... C connections are open drain and therefore require a pullup resistor as shown in the application diagram in Figure 4. 1.1 Soldering Information The QFN package is compliant with the RoHS standard. Please refer to AN4077. Sensors Freescale Semiconductor Description 2 C Serial Clock 2 C Serial Data Least Significant Bit of the Device I ...
Page 6
... Min Typ Max Unit ±2 FS ±4 ±8 1024 So 512 counts/g 256 Soa ±2.5 TCSo ±0.008 %/°C TyOff ±20 mg ±30 mg TCOff ±0.15 mg/°C +45 Vst LSB +64 +420 ±2 BW ODR/3 ODR/2 Noise 126 µg/√Hz Noise 99 µg/√Hz Top -40 +85 Sensors Freescale Semiconductor °C ...
Page 7
... Turn-on time (STANDBY to ACTIVE) Turn-on time (Power Down to ACTIVE Mode) Operating Temperature Range 1. There is no requirement for power supply sequencing. The VDDIO input voltage can be higher than the VDD input voltage. Sensors Freescale Semiconductor Test Conditions Symbol VDD VDDIO ODR = 1.56 Hz ODR = 6 ...
Page 8
... Standard mode I r SU;DAT Fast Mode Unit Max 0 2.250 MHz 0 100 kHz 0 Nonfunctional — 0 4.50 MHz 0 750 kHz μs μs μs μs μs (3) μs (3) 0.9 (3) μs 0.9 (6) ns μs μs 4 1000 ns 300 VD;DAT VD;ACK specified at 250 ns. f Sensors Freescale Semiconductor ...
Page 9
... Latchup Current 85°C This device is sensitive to mechanical shock. Improper handling can cause permanent damage of the part or cause the part to otherwise fail. This device is sensitive to ESD, improper handling can cause permanent damage to the part. Sensors Freescale Semiconductor 2 Figure Slave Timing Diagram Symbol ...
Page 10
... VDD = High ACTIVE bit is set ACTIVE WAKE Function Description The device is powered off. All analog and digital blocks 2 are shutdown bus inhibited. Only digital blocks are enabled. Analog subsystem is disabled. Internal clocks disabled. All blocks are enabled (digital, analog). Freescale Semiconductor Sensors ...
Page 11
... For more information on the data manipulation between data formats and modes, refer to Freescale application note, AN4076. There is a device driver available that can be used with the Sensor T oolbox demo board (LFSTBEB8451, 2, 3Q) with this application note. Sensors Freescale Semiconductor 2 C interface and embedded logic used to MMA8452Q ...
Page 12
... There is also directional data available in the source register to detect the direction of the motion. This is useful for applications such as directional shake or flick, which assists with the algorithm for various gesture detections. MMA8452Q 12 Sensors Freescale Semiconductor ...
Page 13
... Landscape to Portrait and then also from Portrait to Landscape. Top View Pin 1 LL Xout @ 0g Yout @ -1g Zout @ 0g Xout @ -1g Yout @ 0g Zout @ 0g Xout @ 0g Yout @ 1g Zout @ 0g Sensors Freescale Semiconductor PU Earth Gravity LR PD Xout @ 1g Yout @ 0g Zout @ 0g Figure 7. Landscape/Portrait Orientation Side View BACK Xout @ 0g Yout @ 0g Zout @ -1g FRONT ...
Page 14
... Figure 10. Illustration of Z-Tilt Angle Lockout Transition MMA8452Q 14 PORTRAIT 90° 0° Landscape Figure 9. Illustration of Portrait to Landscape Transition UPRIGHT 90° NORMAL DETECTION Z-LOCK = 29° REGION LOCKOUT REGION 0° FLAT Portrait to Landscape Trip Angle = 30° 0° Landscape Sensors Freescale Semiconductor ...
Page 15
... External pullup resistors connected to VDDIO are expected for SDA and SCL. When the bus is free both the lines are high. The I 2 and Normal mode (100 kHz standards Sensors Freescale Semiconductor INTERRUPT CONTROLLER 6 INT ENABLE 2 ...
Page 16
... Master transmits a stop condition (SP) to the data transfer. The data sent to the MMA8452Q is now stored in the appropriate register. MMA8452Q 16 Slave Address (SA0 = 1) 0011101 (0x1D) Figure 12 shows the timing diagram for the accelerometer 8-bit I Table 9. Comment Factory Default 2 C Sensors Freescale Semiconductor ...
Page 17
... Single Byte Write > ST Device Address[6:0] W Master Slave < Multiple Byte Write > ST Device Address[6:0] W Master Slave Legend ST: Start Condition SP: Stop Condition SR: Repeated Start Condition AK: Acknowledge Sensors Freescale Semiconductor [0] [6:0] SA0 Device Address 0 0x1C 0 0x1C 1 0x1D 1 0x1D Register Address[7: Register Address[7:0] ...
Page 18
... Transient functional block 00000000 0x00 configuration 00000000 0x00 Transient event status register 00000000 0x00 Transient event threshold 00000000 0x00 Transient debounce counter 00000000 0x00 ELE, Double_XYZ or Single_XYZ 00000000 0x00 EA, Double_XYZ or Single_XYZ 00000000 0x00 X pulse threshold 00000000 0x00 Y pulse threshold Sensors Freescale Semiconductor ...
Page 19
... The following are the data registers for the MMA8452Q. For more information on data manipulation of the MMA8452Q, refer to application note, AN4076. 0x00 STATUS: Data Status Register (Read Only) Bit 7 Bit 6 Bit 5 ZYXOW ZOW YOW Sensors Freescale Semiconductor 0x26 00000000 0x27 00000000 0x28 00000000 0x29 00000000 0x2A ...
Page 20
... ZDR is set whenever a new acceleration sample related to the Z-axis is generated. ZDR is cleared anytime OUT_Z_MSB register is read. YDR is set whenever a new acceleration sample related to the Y-axis is generated. YDR is cleared anytime OUT_Y_MSB register is read. XDR is set whenever a new acceleration sample related to the X-axis is generated. XDR is cleared anytime OUT_X_MSB register is read. MMA8452Q 20 Sensors Freescale Semiconductor ...
Page 21
... SYSMOD: System Mode Register (Read Only) Bit 7 Bit 6 Bit Table 13. SYSMOD Description System Mode. Default value: 00. 00: STANDBY mode SYSMOD[1:0] 01: WAKE mode 10: SLEEP mode Sensors Freescale Semiconductor Bit 4 Bit 3 XD8 XD7 Bit 4 Bit 3 XD0 0 Bit 4 Bit 3 YD8 YD7 Bit 4 ...
Page 22
... Otherwise logic ‘0’ the 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. MMA8452Q 22 Bit 4 Bit 3 Bit 2 SRC_LNDPRT SRC_PULSE SRC_FF_MT Description Bit 1 Bit 0 0 SRC_DRDY Sensors Freescale Semiconductor ...
Page 23
... Default value: 0. Enable Low Pass Filter for Pulse Processing Function. Pulse_LPF_EN 0: LPF disabled for Pulse Processing, 1: LPF Enabled for Pulse Processing Default value: 0. HPF Cut-off frequency selection. SEL[1:0] Default value: 00 (see Sensors Freescale Semiconductor Bit 4 Bit Bit 4 Bit 3 HPF_OUT 0 Table 16. Full Scale Range ...
Page 24
... Hz 0 0.25 Hz 0.25 Hz 0.5 Hz 0.125 Hz 0.125 Hz 0.125 Hz 0.25 Hz 0.063 Hz 0.063 Hz 0.063 0.25 Hz 0.25 Hz 0.5 Hz 0.125 Hz 0.125 Hz 0.125 Hz 0.25 Hz 0.063 Hz 0.063 Hz 0.063 Hz 0.125 Hz 0.031 Hz 0.031 Hz 0.031 Hz Bit 2 Bit 1 LAPO[1] LAPO[0] Freescale Semiconductor 1. 0.5 Hz 0.25 Hz 0 0.25 Hz Bit 0 BAFRO Sensors ...
Page 25
... BKFR[0] Table 23. PL_BF_ZCOMP Description BKFR[7:6] Back Front Trip Angle Fixed Threshold = 01 which is ZLOCK[2:0] Z-Lock Angle Fixed Threshold = 100 which is 29°. Note: All angles are accurate to ±2°. Sensors Freescale Semiconductor Bit 5 Bit 4 Bit Table 22 explains the time step value for all sample rates and all Oversampling ...
Page 26
... ZEFE, YEFE, and/or XEFE are set. When the EA bit is set, these bits keep their current value until the FF_MT_SRC register is read. MMA8452Q 26 Bit 4 Bit 3 P_L_THS[1] P_L_THS[0] Hysteresis Landscape to Portrait ± Angle Range Trip Angle ±14 59° Bit 2 Bit 1 Bit 0 HYS[2] HYS[1] HYS[0] Portrait to Landscape Trip Angle 31° Sensors Freescale Semiconductor ...
Page 27
... High g Region 0x16 FF_MT_SRC Freefall/Motion Source Register 0x16: FF_MT_SRC Freefall and Motion Source Register (Read Only) Bit 7 Bit 6 Bit ZHE Sensors Freescale Semiconductor Bit 4 Bit 3 YEFE XEFE +8g High g + Threshold (Motion) Low g Threshold (Freefall) High g - Threshold (Motion) -8g Figure 13. FF_MT_CFG High and Low g Level ...
Page 28
... Decrementing the debounce counter acts as a median enabling the system to filter out irregular spurious events which might impede the detection of inertial events. MMA8452Q 28 Bit 4 Bit 3 THS4 THS3 (Figure 14, (c)) until the debounce counter reaches 0 or the inertial event of interest Bit 2 Bit 1 Bit 0 THS2 THS1 THS0 Sensors Freescale Semiconductor ...
Page 29
... Sensors Freescale Semiconductor Bit 4 Bit Table 30. HighRes LP Normal 0.319 0.319 1.25 0.638 0.638 2.5 0.638 1.28 5 0.638 2.55 10 0.638 5 ...
Page 30
... Detect) Count Threshold FF Counter Value FFEA High g Event on all 3-axis (Motion Detect) Count Threshold Debounce Counter Value EA High g Event on all 3-axis (Motion Detect) Count Threshold Debounce Counter Value EA MMA8452Q 30 Figure 14. DBCNTM Bit Function (a) DBCNTM = 1 (b) DBCNTM = 0 (c) Sensors Freescale Semiconductor ...
Page 31
... Polarity of X Transient Event that triggered interrupt. Default value: 0. X_Trans_Pol 0: X event was Positive event was Negative g When the EA bit gets set while ELE = 1, all other status bits get frozen at their current state. By reading the TRANSIENT_SRC register, all bits get cleared. Sensors Freescale Semiconductor Bit 4 Bit 3 0 ELE ZTEFE ...
Page 32
... Bit 2 Bit 1 Bit 0 THS2 THS1 THS0 Bit 2 Bit 1 Bit Time Step (ms) LPLN HighRes LP 1.25 1.25 1.25 2.5 2.5 2 2.5 160 80 2.5 160 Sensors Freescale Semiconductor ...
Page 33
... When the EA bit gets set while ELE = 1, all status bits (AxZ, AxY, AxZ, DPE, and PolX, PolY, PolZ) are frozen. Reading the PULSE_SRC register clears all bits. Reading the source register will clear the interrupt. Sensors Freescale Semiconductor Bit 4 Bit 3 ZSPEFE ...
Page 34
... Bit 1 Bit 0 THSX1 THSX0 Bit 1 Bit 0 THSY1 THSY0 Bit 1 Bit 0 THSZ1 THSZ0 Bit 1 Bit 0 TMLT1 TMLT0 Time Step (ms) HighRes LP 1.25 1.25 1.25 2.5 2.5 2 2.5 160 80 2.5 160 Sensors Freescale Semiconductor ...
Page 35
... Sensors Freescale Semiconductor HighRes LP Normal LPLN 0.159 0.159 0.625 0.625 0.159 0.319 0.625 0.625 0.159 0.638 1.25 0.159 1.28 2.5 0.159 2. ...
Page 36
... Bit 2 Bit 1 Bit 0 WIND1 WIND0 Time Step (ms) LPLN HighRes LP 2.5 2.5 2 160 5 160 160 5 320 160 5 320 Time Step (ms) LPLN HighRes LP 1.25 1.25 1.25 1.25 1.25 2.5 2 1.25 80 Sensors Freescale Semiconductor ...
Page 37
... See Register 0x2C for the WAKE from SLEEP bits. If the Auto-SLEEP bit is disabled, then the device can only toggle between STANDBY and WAKE mode. If Auto-SLEEP interrupt is enabled, transitioning from ACTIVE mode to Auto-SLEEP mode and vice versa generates an interrupt. Sensors Freescale Semiconductor Bit 4 Bit 3 D5 ...
Page 38
... ASLP_RATE0 Frequency (Hz DR1 DR0 Table 56. Full Scale Selection Active Mode 0 STANDBY 1 ACTIVE Bit 2 Bit 1 LNOISE F_READ ACTIVE 50 12.5 6.25 1.56 ODR Period 800 Hz 1.25 ms 400 Hz 2.5 ms 200 100 12 6.25 Hz 160 ms 1.56 Hz 640 ms Freescale Semiconductor Bit 0 Sensors ...
Page 39
... OS Ratio 1. 128 6. 12 100 200 400 Hz 165 4 800 Hz 165 2 Sensors Freescale Semiconductor Bit 4 Bit 3 0 SMODS1 SMODS0 (S)MODS0 Power Mode Low Noise Low Power 1 0 High Resolution 1 1 Low Power Low Noise Low Power (01) High Resolution (10) μ Current A OS Ratio Current ...
Page 40
... The interrupt controller routes the enabled functional block interrupt to the INT1 or INT2 pin. MMA8452Q 40 Bit 5 Bit 4 Bit 3 WAKE_PULSE WAKE_FF_MT Bit 4 Bit 3 INT_EN_LNDPRT INT_EN_PULSE Description Bit 2 Bit 1 Bit 0 0 IPOL PP_OD Bit 2 Bit 1 Bit 0 INT_EN_FF_MT 0 INT_EN_DRDY Sensors Freescale Semiconductor ...
Page 41
... OFF_Z Offset Correction Z Register 0x31 OFF_Z Register (Read/Write) Bit 7 Bit 6 Bit Table 65. OFF_Z Description D[7:0] Z-axis offset value. Default value: 0000_0000. Sensors Freescale Semiconductor Bit 4 Bit 3 Description Figure 11 uses the corresponding bit field in the CTRL_REG5 register to determine Bit 4 Bit Bit 4 ...
Page 42
... LTCY3 LTCY2 LTCY1 LTCY0 WIND3 WIND2 WIND1 WIND0 DR0 LNOISE F_READ ACTIVE SMODS0 SLPE MODS1 MODS0 WAKE_FF_MT 0 IPOL PP_OD INT_EN_PULSE INT_EN_FF_MT 0 INT_EN_DRDY INT_CFG_PULSE INT_CFG_FF_MT 0 INT_CFG_DRDY Sensors Freescale Semiconductor Bit 0 XDR XD2 0 YD2 0 ZD2 0 0 FS0 SEL0 0 0 XHP THS0 D0 THS0 D0 Pol_X ...
Page 43
... Data 0111 1111 0111 1110 … 0000 0001 0000 0000 1111 1111 … 1000 0001 1000 0000 Sensors Freescale Semiconductor Range ±2g (1 mg) Range ±4g (2 mg) 1.999g +3.998g 1.998g +3.996g … … 0.001g +0.002g 0.0000g 0.0000g -0 ...
Page 44
... MMA8452Q 44 PACKAGE DIMENSIONS CASE 2077-01 ISSUE O 16-LEAD QFN Sensors Freescale Semiconductor ...
Page 45
... Sensors Freescale Semiconductor PACKAGE DIMENSIONS CASE 2077-01 ISSUE O 16-LEAD Q MMA8452Q 45 ...
Page 46
... MMA8452Q 46 PACKAGE DIMENSIONS CASE 2077-01 ISSUE O 16-LEAD Q Sensors Freescale Semiconductor ...
Page 47
... Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “ ...