5.3.6
Programming Mode Via PSI5 Command and Response Summary
Table 17. Programming Mode Via PSI5 Commands and Responses
#
CMD
Type
SAdr
FC
Command
Regis-
ter
Address
Data
Field
RC
Response (OK)
RD1
RD0
RC
Response (Error)
RD1 RD0
S0
Short
100
Execute Programming of NVM
N/A
N/A
OK
0x2AA
N/A
Error
ErrN
N/A
S1
S2
Short
Short
101
110
Invalid Command
Invalid Command
N/A
N/A
N/A
N/A
No Response
No Response
No Response
No Response
S3
Short
111
Enter Programming Mode
N/A
N/A
OK
0x0CA
N/A
No Response
LR
Long
001
010
Read nibble located at address
RA5:RA0
Varies
Varies
OK
RData
RData+1
Error
ErrN
0x000
LW
Long
011
Write nibble to register RA5:RA0
Varies
Varies
OK
WData
RA5:RA0 Error
ErrN
0x000
XLR XLong
XLW XLong
000
001
Invalid Command
Invalid Command
Any
Any
Any
Any
No Response
No Response
No Response
No Response
Note: When reading the last address in the data array, RData+1 will always return 0x00.
Table 18. Programming Mode Via PSI5 Response Code Definitions
Response Code
RC = OK
RC = Error
RData
RData + 1
WData
Definition
Command Message Received Properly
Error during transmission of Command Message
Byte Contents of Register located at Byte address in which nibble address RA5:RA0 falls in.
(Example: For RA5:RA0 = $04 - RData = Data at Byte Address $02)
Byte Contents of Register located at Byte address in which nibble address RA5:RA0 +2 falls in.
(Example: For RA5:RA0 = $04 - RData + 1= Data at Byte Address $03)
Byte Contents of Register located at Byte address in which nibble address RA5:RA0 falls
in after write operation. (Example: For RA5:RA0 = $04 - RData = Data at Byte Address $02)
Value
0x1E1
0x1E2
Varies
Varies
Varies
5.3.7
Programming Mode Via PSI5 Error Response Summary
Table 19. Error Response Summary
ErrN*
0000
0001
0010
0011
0100
0101
0110
0111
Mnemonic
General
Framing
CRC
Address
FC
Data Range
Write Protect
Reserved
Description
General Error
Framing Error
CRC Error on Received Message
Sensor Address Not Supported
Function Code Not Supported
Unsupported Register Address
Destination Address is Write protected (Locked)
Reserved
Supported By MMA52xx
No
Yes
Yes
No (Invalid Address is ignored)
No (N/A)
Yes
Yes
No
1000
1001
1010
1011
Reserved
Reserved
No
1100
1101
1110
1111
* ErrN is transmitted in the 4 LSBs of RD1. All other bits in the response data field are set to ‘0’.
MMA52xxKW
Sensors
52
Freescale Semiconductor, Inc.
相关PDF资料
MMA6331LT SENSORS ACCELEROMETER 14LGA
MMA6341LT IC ACCELER 3G/8G XY-AXIS 14LGA
MMA6361LT IC ACCELER 1.5G XY-AXIS 14LGA
MMA6527KW IC ACCELEROMETER XY AXIS 16QFN
MMA6556KW IC ACCELEROMETER X AXIS 16QFN
MMA6826AKW IC ACCELEROMETER XY AXIS 16QFN
MMA6854KW IC ACCELEROMETER X AXIS 16QFN
MMA7331LR2 ACCELEROMETER 4G XYZ ENH 14-LGA
相关代理商/技术参数
MMA52XXAKW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Xtrinsic MMA52xxAKW PSI5 Inertial Sensor
MMA52XXKW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:PSI5 Inertial Sensor
MMA52XXWR2 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:PSI5 Inertial Sensor
MMA621010AEG 功能描述:加速计 - 板上安装 100/100G XY ANALOG RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA621010AEGR2 功能描述:加速计 - 板上安装 100/100G XY ANALOG RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA621010AKEG 功能描述:加速计 - 板上安装 100/100G XY ANALOG RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA621010AKEGR2 功能描述:加速计 - 板上安装 100/100G XY ANALOG RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA621010EG 功能描述:加速计 - 板上安装 100 /100 XY DIGITAL RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C