MMA5224WR2 Freescale Semiconductor, MMA5224WR2 Datasheet - Page 54
![IC ACCELER 240G X-AXIS 16QFN](/photos/38/65/386548/qfn-16_sml.jpg)
MMA5224WR2
Manufacturer Part Number
MMA5224WR2
Description
IC ACCELER 240G X-AXIS 16QFN
Manufacturer
Freescale Semiconductor
Datasheet
1.MMA5206WR2.pdf
(63 pages)
Specifications of MMA5224WR2
Sensing Axis
X
Acceleration
240 g
Sensitivity
0.5 g/LSB
Package / Case
QFN-16
Supply Voltage (max)
25 V
Supply Current
4 mA to 8 mA
Maximum Operating Temperature
+ 125 C
Minimum Operating Temperature
- 40 C
Mounting Style
SMD/SMT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Table 18. Programming Mode Via PSI5 Response Code Definitions
Table 19. Error Response Summary
54
5.3.6
Note: When reading the last address in the data array, RData+1 will always return 0x00.
5.3.7
* ErrN is transmitted in the 4 LSBs of RD1. All other bits in the response data field are set to ‘0’.
MMA52xxWR
Table 17. Programming Mode Via PSI5 Commands and Responses
XLW XLong
XLR XLong
LW
S0
S1
S2
S3
LR
#
Response Code
ErrN*
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
RC = Error
RData + 1
RC = OK
Short
Short
Short
Short
Long
Long
WData
CMD
Type
RData
Programming Mode Via PSI5 Command and Response Summary
Programming Mode Via PSI5 Error Response Summary
SAdr
Write Protect
001
Data Range
Mnemonic
Reserved
Reserved
Framing
Address
General
CRC
FC
100
101
110
111
010
011
000
001
FC
Byte Contents of Register located at Byte address in which nibble address RA5:RA0 +2 falls in.
Byte Contents of Register located at Byte address in which nibble address RA5:RA0 falls in.
in after write operation. (Example: For RA5:RA0 = $04 - RData = Data at Byte Address $02)
Write nibble to register RA5:RA0
Read nibble located at address
Execute Programming of NVM
Byte Contents of Register located at Byte address in which nibble address RA5:RA0 falls
Enter Programming Mode
Destination Address is Write protected (Locked)
Invalid Command
Invalid Command
Invalid Command
Invalid Command
(Example: For RA5:RA0 = $04 - RData + 1= Data at Byte Address $03)
CRC Error on Received Message
(Example: For RA5:RA0 = $04 - RData = Data at Byte Address $02)
Command
RA5:RA0
Sensor Address Not Supported
Unsupported Register Address
Function Code Not Supported
Framing Error
Error during transmission of Command Message
General Error
Description
Reserved
Reserved
Command Message Received Properly
Address
Varies
Varies
Regis-
Any
Any
N/A
N/A
N/A
N/A
ter
Definition
Varies
Varies
Field
Data
N/A
N/A
N/A
N/A
Any
Any
OK
OK
OK
OK
RC
Response (OK)
No Response
No Response
No Response
No Response
WData
0x2AA
0x0CA
RData
RD1
No (Invalid Address is ignored)
Supported By MMA52xx
RA5:RA0 Error
RData+1 Error
RD0
N/A
N/A
No (N/A)
Yes
Yes
Yes
Yes
No
No
No
Freescale Semiconductor
Error
RC
Response (Error)
No Response
No Response
No Response
No Response
No Response
ErrN
ErrN
ErrN
RD1
0x1E1
0x1E2
Varies
Varies
Varies
Value
Sensors
0x000
0x000
RD0
N/A