| 数据搜索系统,热门电子元器件搜索 |
|
MMA5206WR2 数据表(PDF) 52 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MMA5206WR2 数据表(HTML) 52 Page - Freescale Semiconductor, Inc |
|
52 / 61 page ![]() Sensors 52 Freescale Semiconductor MMA52xxWR Preliminary 5.3.6 Programming Mode Via PSI5 Command and Response Summary Note: When reading the last address in the data array, RData+1 will always return 0x00. 5.3.7 Programming Mode Via PSI5 Error Response Summary * ErrN is transmitted in the 4 LSBs of RD1. All other bits in the response data field are set to ‘0’. Table 17. Programming Mode Via PSI5 Commands and Responses # CMD Type SAdr FC Command Regis- ter Address Data Field Response (OK) Response (Error) RC RD1 RD0 RC RD1 RD0 S0 Short 001 100 Execute Programming of NVM N/A N/A OK 0x2AA N/A Error ErrN N/A S1 Short 101 Invalid Command N/A N/A No Response No Response S2 Short 110 Invalid Command N/A N/A No Response No Response S3 Short 111 Enter Programming Mode N/A N/A OK 0x0CA N/A No Response LR Long 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 000 Invalid Command Any Any No Response No Response XLW XLong 001 Invalid Command Any Any No Response No Response Table 18. Programming Mode Via PSI5 Response Code Definitions Response Code Definition Value RC = OK Command Message Received Properly 0x1E1 RC = Error Error during transmission of Command Message 0x1E2 RData 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) Varies RData + 1 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) Varies WData 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) Varies Table 19. Error Response Summary ErrN* Mnemonic Description Supported By MMA52xx 0000 General General Error No 0001 Framing Framing Error Yes 0010 CRC CRC Error on Received Message Yes 0011 Address Sensor Address Not Supported No (Invalid Address is ignored) 0100 FC Function Code Not Supported No (N/A) 0101 Data Range Unsupported Register Address Yes 0110 Write Protect Destination Address is Write protected (Locked) Yes 0111 Reserved Reserved No 1000 Reserved Reserved No 1001 1010 1011 1100 1101 1110 1111 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |