| 数据搜索系统,热门电子元器件搜索 |
|
MCP2518FD 数据表(PDF) 70 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP2518FD 数据表(HTML) 70 Page - Microchip Technology |
|
70 / 96 page ![]() MCP2518FD DS20000000A-page 70 2019 Microchip Technology Inc. 4.3 SPI Commands with CRC In order to detect or avoid bit errors during SPI communication, SPI commands with CRC are available. 4.3.1 CRC CALCULATION The CRC is calculated in parallel with the SPI shift register (see Figure 4-7). When nCS is asserted, the CRC calculator is reset to 0xFFFF. The result of the CRC calculation is available after the Data section of a CRC command. The result of the CRC calculation is written to the CRC register in case a CRC mismatch is detected. In case of a CRC mismatch, CRC.CRCERRIF is set. The MCP2518FD device uses the following generator polynomial: CRC-16/USB (0x8005). CRC-16 detects all single and double-bit errors, all errors with an odd number of bits, all burst errors of length 16 or less, and most errors for longer bursts. This allows an excellent detection of SPI communication errors that can hap- pen in the system, and heavily reduces the risk of miscommunication, even under noisy environments. The maximum number of data bits is used while read- ing and writing TX or RX Message Objects. A RX Mes- sage Object with 64 Bytes of data + 12 Bytes ID and Time Stamp contains 76 Bytes or 608 bits. In compari- son, USB data packets contain up to 1024 bits. CRC-16 has a Hamming Distance of 4 up to 1024 bits. FIGURE 4-7: CRC CALCULATION SPI Shift Register CRC Calculator SCK SDI CRC Result nCS SDO SDI SDO Reset Safe CRC command: End of Data section |
|
链接网址 |
| 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 |