NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
195
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
6.7 PDMA Controller (PDMA)
6.7.1 Overview
The NuMicro
®
NUC029LEE/NUC029SEE DMA contains nine-channel peripheral direct memory
access (PDMA) controller and a cyclic redundancy check (CRC) generator.
The PDMA that transfers data to and from memory or transfer data to and from APB devices. For
PDMA channel (PDMA CH0~CH8), there is one-word buffer as transfer buffer between the
Peripherals APB devices and Memory. Software can stop the PDMA operation by disable PDMA
PDMACEN (PDMA_CSRx[0]). The CPU can recognize the completion of a PDMA operation by
software polling or when it receives an internal PDMA interrupt. The PDMA controller can
increase source or destination address or fixed them as well.
The DMA controller contains a cyclic redundancy check (CRC) generator that can perform CRC
calculation with programmable polynomial settings. The CRC engine supports CPU PIO mode
and DMA transfer mode.
6.7.2 Features
Supports nine PDMA channels and one CRC channel. Each PDMA channel can
support a unidirectional transfer
AMBA AHB master/slave interface compatible, for data transfer and register
read/write
Hardware round robin priority scheme. DMA channel 0 has the highest priority and
channel 8 has the lowest priority
PDMA operation
-
Peripheral-to-memory, memory-to-peripheral, and memory-to-memory transfer
-
Supports word/half-word/byte transfer data width from/to peripheral
-
Supports address direction: increment, fixed.
Cyclic Redundancy Check (CRC)
-
Supports four common polynomials CRC-CCITT, CRC-8, CRC-16, and CRC-32
CRC-CCITT: X
16
+ X
12
+ X
5
+ 1
CRC-8: X
8
+ X
2
+ X + 1
CRC-16: X
16
+ X
15
+ X
2
+ 1
CRC-32: X
32
+ X
26
+ X
23
+ X
22
+ X
16
+ X
12
+ X
11
+ X
10
+ X
8
+ X
7
+ X
5
+ X
4
+
X
2
+ X + 1
-
Supports programmable CRC seed value.
-
Supports programmable order reverse setting for input data and CRC
checksum.
-
Supports programmable 1’s complement setting for input data and CRC
checksum.
-
Supports CPU PIO mode or DMA transfer mode.