| 전자부품 데이터시트 검색엔진 |
|
MCP2517FD 데이터시트(PDF) 70 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP2517FD 데이터시트(HTML) 70 Page - Microchip Technology |
|
70 / 98 page ![]() MCP2517FD DS20005688B-page 70 2017-2018 Microchip Technology Inc. 4.3 SPI Commands with CRC In order to detect or avoid bit errors during SPI commu- nication, SPI commands with CRC are available. 4.3.1 CRC CALCULATION In parallel with the SPI shift register, the CRC is calcu- lated, 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 mis- match, CRC.CRCERRIF is set. The MCP2517FD uses the following generator polyno- mial: CRC-16/USB (0x8005). CRC-16 detects all sin- gle 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 |
|
링크 URL |
| 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 |