CRC with PDMA. Holtek HT32F5828

Add to My manuals
637 Pages

advertisement

CRC with PDMA. Holtek HT32F5828 | Manualzz

32-Bit Arm ®

HT32F5828

Cortex ® -M0+ MCU

CRC with PDMA

A PDMA channel with software trigger may be used to transfer data into the CRC unit. If a huge block data needs to be calculated, the recommended PDMA model is to use the PDMA to transfer all available words of data and use software writes to transfer the other remaining bytes. To write data into the CRC unit, the PDMA should use word access method to transfer data from the source location of memory to the CRC data register (CRCDR) in fixed address mode. Then software can write any remaining bytes to the CRC data register (CRCDR) and read the CRC calculation result value from the CRC checksum register (CRCCSR).

Register Map

The following table shows the CRC registers and reset values.

Table 73. CRC Register Map

Register Offset

CRCCR 0x000

Description

CRC Control Register

CRCSDR

CRCCSR

CRCDR

0x004

0x008

0x00C

CRC Seed Register

CRC Checksum Register

CRC Data Register

Reset Value

0x0000_0000

0x0000_0000

0x0000_0000

0x0000_0000

Register Descriptions

CRC Control Register – CRCCR

This register specifies the corresponding CRC function enable control.

Offset: 0x000

Reset value: 0x0000_0000

31 30 29 28 27

Reserved

26 25 24

Type/Reset

23 22 21 20 19

Reserved

18 17 16

Type/Reset

15 14 13 12 11

Reserved

10 9 8

Type/Reset

7 6 5 4 3 2

SUMCMPL SUMBYRV SUMBIRV DATCMPL DATBYRV DATBIRV

1 0

POLY

Type/Reset RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0 RW 0

Bits

[7]

[6]

Field Descriptions

SUMCMPL 1’s Complement operation on Checksum Output

0: Disable

1: Enable

SUMBYRV Byte Reverse operation on Checksum Output

0: Disable

1: Enable

Rev. 1.00 574 of 637 December 28, 2020

advertisement

Related manuals

advertisement

Table of contents