| 数据搜索系统,热门电子元器件搜索 |
|
H8SX/1663 数据表(PDF) 799 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8SX/1663 数据表(HTML) 799 Page - Renesas Technology Corp |
|
799 / 1158 page ![]() Section 15 Serial Communication Interface (SCI, IrDA, CRC) Rev.1.00 Jun. 07, 2006 Page 747 of 1102 REJ09B0294-0100 15.11.3 CRC Operation Circuit Operation The CRC operation circuit generates a CRC code for LSB-first/MSB-first communications. An example in which a CRC code for hexadecimal data H'F0 is generated using the X 16 + X12 + X5 + 1 polynomial with the G1 and G0 bits in CRCCR set to B'11 is shown below. CRCCR CRCDORH CRCDORL CRCDOR clearing 1. Write H'83 to CRCCR 1 7 0 0 0 00 0 7 0 7 0 7 0 1 1 0 0 0 0 0 00 0 0 0 0 0 0 00 0 CRCDIR CRCDORH CRCDORL CRC code generation 2. Write H'F0 to CRCDIR 1 1 1 1 0 00 0 1 1 1 1 0 11 1 1 0 0 0 1 11 1 CRC code = H'F78F CRC code Output Data 3. Read from CRCDOR 7 7 7 FF F 0 8 7 00 0 4. Serial transmission (LSB first) 1 1 1 1 0 1 1 1 1 0 0 0 1 11 1 1 1 1 1 0 00 0 Figure 15.44 LSB-First Data Transmission CRCCR CRCDORH CRCDORL CRCDOR clearing 1. Write H'87 to CRCCR 1 7 0 0 0 01 0 7 0 7 0 7 0 1 1 0 0 0 0 0 00 0 0 0 0 0 0 00 0 CRCDIR CRCDORH CRCDORL CRC code generation 2. Write H'F0 to CRCDIR 1 1 1 1 0 00 0 1 1 1 0 1 11 1 0 0 0 1 1 11 1 CRC code = H'EF1F CRC code Output Data 3. Read from CRCDOR 7 7 0 FF 1 F E 7 00 0 4. Serial transmission (MSB first) 1 1 1 1 0 0 0 0 1 1 1 0 1 11 1 0 0 0 1 1 11 1 Figure 15.45 MSB-First Data Transmission |
|
链接网址 |
| 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 |