| 数据搜索系统,热门电子元器件搜索 |
|
MMA5206WR2 数据表(PDF) 35 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MMA5206WR2 数据表(HTML) 35 Page - Freescale Semiconductor, Inc |
|
35 / 61 page ![]() Sensors Freescale Semiconductor 35 MMA52xxWR Preliminary 4.3.2 Data Transmission Transmission frames are composed of two start bits, an 8-Bit or 10-bit data word, and error detection bit(s). Data words are transmitted least-significant bit (LSB) first. A typical Manchester-encoded transmission frame is illustrated in Figure 30. Figure 30. Example Manchester Encoded Data Transfer - PSI5-x10P 4.3.3 Error Detection Error detection of the transmitted data is accomplished via either a parity bit, or a 3-Bit CRC. The type of error detection used is selected by the P_CRC bit in the DEVCFG register. 4.3.4 Parity Error Detection When parity error detection is selected, even parity is employed. The number of logic ‘1’ bits in the transmitted message must be an even number. 4.3.5 3-Bit CRC Error Detection When CRC error detection is selected, a 3-bit CRC is appended to each response message. The 3-bit CRC uses a generator polynomial of g(x) = X3+X+1, with a seed value = ‘111’. Data from the transmitted message is read into the CRC calculator LSB first, and the data is augmented with three ‘0’s. Start bits are not used in the CRC calculation.Table 7 shows some example CRC calculation values for 10-bit data transmissions. Table 7. PSI5 3-Bit CRC Calculation Examples Data Transmitted CRC HEX D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 C2 C1 C0 0x000 0 0 0 0 0 0 0 0 0 0 1 1 0 0x0CC 0 0 1 1 0 0 1 1 0 0 0 1 1 0x151 0 1 0 1 0 1 0 0 0 1 0 0 0 0x1E0 0 1 1 1 1 0 0 0 0 0 0 1 1 0x1F4 0 1 1 1 1 1 0 1 0 0 0 1 0 0x220 1 0 0 0 1 0 0 0 0 0 1 0 0 0x275 1 0 0 1 1 1 0 1 0 1 1 1 1 0x333 1 1 0 0 1 1 0 0 1 1 0 0 1 0x3FF 1 1 1 1 1 1 1 1 1 1 1 0 0 SB1 SB0 D0 D1 D2 D3 D4 D5 D8 D9 PAR ‘0’ ‘0’ ‘1’ ‘1’ ‘1’ ‘0’ ‘0’ ‘1’ ‘1’ ‘0’ ‘1’ Data Bit Bit Value D6 D7 ‘1’ ‘1’ tFRAME tBIT tTRAN = tBIT * (2+DATASIZE+(P_CRC?3:1)) IMOD SB1 |
|
链接网址 |
| 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 |