| Electronic Components Datasheet Search |
|
MFS2401AVBA0ES Datasheet(PDF) 79 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
MFS2401AVBA0ES Datasheet(HTML) 79 Page - NXP Semiconductors |
|
79 / 151 page ![]() NXP Semiconductors FS2400 Fail-safe system basis chip with SMPS and LDO, CAN FD transceiver 20.1.1 Cyclic redundant check An 8-bit CRC is required for each write and read SPI command. Computation of a cyclic-redundancy check is derived from the mathematics of polynomial division, modulo two. The CRC polynomial used is x^8+x^4+x^3+x^2+1 (identified by 0x1D) with a seed value of hexadecimal '0xFF'. Figure 47 is an example of CRC encoding HW implementation: aaa-046864 T T T T T T T T C0 1*1 0*X 1*X2 1*X3 1*X4 0*X5 0*X6 0*X7 1*X8 C1 C2 C3 C4 C5 C6 C7 Input Data + + + + Figure 47. CRC encoder example The effect of CRC encoding procedure is shown in Table 53. The seed value is appended into the most significant bits of the shift register. Seed Register address Read/Write Data_MSB Data_LSB 0xFF Bits[31:25] Bit[24] Bits[23:16] Bits[15:8] Table 53. Data preparation for CRC encoding Seed … … padded with the message to encode … padded with 8 zeros Table 54. Data preparation for CRC encoding 1. Using a serial CRC calculation method, the transmitter rotates the seed and data into the least significant bits of the shift register. 2. During the serial CRC calculation, the seed and the data bits are XOR compared with the polynomial data bits. When the MSB is logic 1, the comparison result is loaded in the register, otherwise the data bits are simply shifted. Note: The 32-bits message to be processed must have the bits corresponding to the CRC byte all equal to zero (00000000). 3. Once the CRC is calculated, it replaces the CRC byte initially set to all zeros and is transmitted. Use the following steps for CRC decoding: Procedure for CRC decoding 1. The seed value is loaded into the most significant bits of the receive register. 2. Using a serial CRC calculation method, the receiver rotates the received message and CRC into the least significant bits of the shift register in the order received (MSB first). 3. When the calculation on the last bit of the CRC is rotated into the shift register, the shift register contains the CRC check result. • If the shift register contains all zeros, the CRC is correct. • If the shift register contains a value other than zero, the CRC is incorrect. FS2400 All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved. Product data sheet Rev. 4 — 23 October 2024 Document feedback 79 / 151 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |