| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
SH32F2601P/032PR bảng dữ liệu(PDF) 82 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH32F2601P/032PR bảng dữ liệu(HTML) 82 Page - SINOWEALTH Electronic Ltd |
|
82 / 370 page ![]() SH32F2601 82 12. CRC Calculation Unit 12.1 Introduction The CRC (cyclic redundancy check) calculation unit is used to get a CRC code from an 8/16/32-bit data and configured polynomial. Among other applications, CRC-based techniques are used to verify data transmitting or storage integrity. In the scope of the EN/IEC 60335-1 standard, they offer a means of verifying the Flash memory integrity. The CRC calculation unit helps compute a software signature during runtime, to be compared with a reference signature generated at link-time and stored at a given memory location. 12.2 Main Features Supports various CRC polynomial (1) CRC-32: ( 0x04C11DB7) Polynomial: 1 2 4 5 7 8 10 11 12 16 22 23 26 32 + + + + + + + + + + + + + + x x x x x x x x x x x x x x (2) CRC-16: (0x8005) Polynomial: 1 2 15 16 + + + x x x (3) CRC-CCITT: (0x1021) Polynomial: 1 5 12 16 + + + x x x (4) CRC-8: (0x7): Polynomial: 1 2 8 + + + x x x Provides CRC_INIT register to define first data in data register. When calculating CRC-16, the lower 16 bits of CRC_INIT are valid. When calculating CRC-8, the lower 8 bits of CRC_INIT are valid. Configurable input/output data conversion, includes byte reversal, bit reversal in byte, and 1’s complement (bitwise NOT). Supports 8/16/32-bit data input. If intput data is 8-bit then 8-bit data will be calculated. If intput data is 16-bit then 16-bit data will be calculated. If intput data is 32-bit then 32-bit data will be calculated. The bits of intput data is independent of the CRC format. The atom unit for calculating data is 8-bit, so if multi-byte data inputted, low byte in order will be calculated first. CRC-8 computation done in 1 clock cycle, CRC-16 computation done in 2 clock cycles, CRC-32 computation done in 4 clock cycles . 12.3 Function Description When calculating CRC, CRC_CR is firstly set according to the actual application. Then polynomial and CRC initial values required are set. After setting, RELOAD@CRC_CR needs to be written to ‘1’ to load the initial value into the CRC_DR register. Then register CRC_DR can be written to calculation and be read to get the result When writing, 8-bit, 16-bit and 32-bit data are allowed, but word alignment is required when writing/reading (4-byte alignment, which means it must be the address of CRC_DR), otherwise the result is unpredictable. Each write operation into the data register creates a combination of the previous CRC value and the new one. Therefore, when the input conversion is set to all 0s (which means no conversion is performed before written to data register), the CRC results obtained by writing 0x12345678 once and continuously writing 0x78, 0x56, 0x34, 0x12 are the same. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |