欢迎访问ic37.com |
会员登录 免费注册
发布采购

SI1034-A-GM 参数 Datasheet PDF下载

SI1034-A-GM图片预览
型号: SI1034-A-GM
PDF下载: 下载PDF文件 查看货源
内容描述: 超低功耗128K , LCD MCU系列 [Ultra Low Power 128K, LCD MCU Family]
分类和应用:
文件页数/大小: 538 页 / 4351 K
品牌: SILABS [ SILICON LABORATORIES ]
 浏览型号SI1034-A-GM的Datasheet PDF文件第157页浏览型号SI1034-A-GM的Datasheet PDF文件第158页浏览型号SI1034-A-GM的Datasheet PDF文件第159页浏览型号SI1034-A-GM的Datasheet PDF文件第160页浏览型号SI1034-A-GM的Datasheet PDF文件第162页浏览型号SI1034-A-GM的Datasheet PDF文件第163页浏览型号SI1034-A-GM的Datasheet PDF文件第164页浏览型号SI1034-A-GM的Datasheet PDF文件第165页  
Si102x/3x
12. Cyclic Redundancy Check Unit (CRC0)
Si102x/3x devices include a cyclic redundancy check unit (CRC0) that can perform a CRC using a 16-bit or
32-bit polynomial. CRC0 accepts a stream of 8-bit data written to the CRC0IN register. CRC0 posts the 16-
bit or 32-bit result to an internal register. The internal result register may be accessed indirectly using the
CRC0PNT bits and CRC0DAT register, as shown in Figure 12.1. CRC0 also has a bit reverse register for
quick data manipulation.
CRC0IN
8
8
Automatic CRC
Controller
Flash
Memory
CRC0CN
CRC0SEL
CRC0INIT
CRC0VAL
CRC0PNT1
CRC0PNT0
CRC0FLIP
Write
CRC0AUTO
CRC Engine
32
RESULT
8
8
8
4 to 1 MUX
8
8
CRC0CNT
CRC0DAT
CRC0FLIP
Read
Figure 12.1. CRC0 Block Diagram
12.1. 16-bit CRC Algorithm
The CRC0 unit calculates the 16-bit CRC MSB-first, using a polynomial of 0x1021.
describes the 16-bit CRC algorithm performed by the hardware:
The following
1. XOR the most-significant byte of the current CRC result with the input byte. If this is the first iteration
of the CRC unit, the current CRC result will be the set initial value (0x0000 or 0xFFFF).
a. If the MSB of the CRC result is set, left-shift the CRC result, and then XOR the CRC result with
the polynomial (0x1021).
b. If the MSB of the CRC result is not set, left-shift the CRC result.
2. Repeat at Step 2a for the number of input bits (8).
Rev. 0.3
161