| 数据搜索系统,热门电子元器件搜索 |
|
MMA5206WR2 数据表(PDF) 51 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MMA5206WR2 数据表(HTML) 51 Page - Freescale Semiconductor, Inc |
|
51 / 61 page ![]() Sensors Freescale Semiconductor 51 MMA52xxWR Preliminary 5.3.2.1 Short Frame Command and Response Format Short frames are the simplest type of command message. No data is transmitted in a short frame command. Only specific instructions are performed in response to short frame commands. The Short Frame format is shown in Figure 43. Short Frame commands and responses are defined in Section 5.3.6, Table 18. Figure 43. Programming Mode Via PSI5 Short Command and Response Format 5.3.2.2 Long Frame Command and Response Format Long frames allow for the transmission of data nibbles for register writes. The device can provide register data in response to a read or write request. The Long Frame format is shown in Figure 44. Long Frame commands and responses are defined in Section 5.3.6. Figure 44. Programming Mode Via PSI5 Long Command and Response Format 5.3.3 Command Message CRC Programming mode command error checking is accomplished by a 3-bit CRC. The 3-bit CRC is calculated using all message bits except start bits and sync bits. The CRC verification uses a generator polynomial of g(x) = X3+X+1, with a seed value = ‘111’. The data is provided to the CRC calculator in the order received (LSB first, SAdr, FC, RAdr, Data), and then augmented with three ‘0’s. Table 8 shows some example CRC calculation values for 10-bit data transmissions. The calculated CRC is then compared against the received 3-bit CRC (received MSB first). If a CRC mismatch is detected, the device responds with a CRC Error response as defined in Section 5.3.7. 5.3.4 Command Sync Pulse Blanking Time In Programming Mode and Programming Mode Entry, the device employs a fixed Sync Pulse blanking time of tSYNC_OFF_500 regardless of the state of the BLANKTIME bit. 5.3.5 Command Timeout In the event that the device does not detect a sync pulse within a 4-bit window time (missing sync bit), the command reception will be terminated and the device will respond to the next sync pulse with a Short Frame Framing Error response as defined in Section 5.3.7. Start Bits Sensor Address Function Code CRC Response S2 S1 S0 Sy SA0 SA1 SA2 Sy FC0 FC1 FC2 Sy C2 C1 C0 RC RD1 01 0 11 0 0 10 0 1 1 0 0 0 $1E2 $3FF Start Bits Sensor Address Function Code Register Address Data CRC Response S2 S1 S0 Sy SA0 SA1 SA2 Sy FC0 FC1 FC2 Sy RA0 RA1 RA2 Sy RA3 RA4 RA5 Sy D0 D1 D2 Sy D3 C2 C1 Sy C0 RC RD1 RD0 010 1 100 10 1 0 1 000 10 0 0 1111 1100 1 0 $1E2 $3FF $3FF |
|
链接网址 |
| 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 |