![Maxim Integrated MAX32660 Скачать руководство пользователя страница 72](http://html1.mh-extra.com/html/maxim-integrated/max32660/max32660_user-manual_1744484072.webp)
MAX32660 User Guide
Maxim Integrated
Page 72 of 195
In addition, each channel has a set of reload registers, shown in
, that are used to chain DMA buffers when a
count-to-zero (CTZ) condition occurs.
Table 7-2: Channel Reload Registers
Register
Description
Destination reload register
Source reload register
Count reload register
Using these eight registers provides each channel with the following features:
•
Full 32-bit source and destination addresses with 24-bit (16 Mbytes) address increment capability
•
Up to 16 Mbytes for each DMA buffer
•
Programmable burst size
•
Programmable priority
•
Interrupt upon CTZ
•
Abort on error
7.2
DMA Channel Arbitration and DMA Bursts
DMAC contains an internal arbiter that allows enabled channels to access the AHB and move data. A DMA channel is
enabled using the
.chen
bit.
When disabling a channel, poll the
.ch_st
bit to determine if the channel is truly disabled. In general,
.ch_st
.chen
bit. However, the
.ch_st
bit is automatically
cleared under the following conditions:
•
Bus error (cleared immediately)
•
rlden
= 0 (cleared at the end of the AHB R/W burst)
•
chen
bit transitions to 0 (cleared at the end of the AHB R/W burst)
Whenever the
.ch_st
bit transitions from 1 to 0, the corresponding
.chen
bit is also cleared. During
an AHB read/write burst, attempting to disable an active channel is delayed until burst completion.
Once a channel is programmed and enabled, it generates a request to the arbiter immediately (for
memory-to-memory DMA) or whenever its associated peripheral requests DMA (for memory-to-peripheral or peripheral-
to-memory DMA).
The arbiter grants requests to a single channel at a time. Granting is done based on priority
—
a higher priority request is
always granted. Within a given priority level, requests are granted on a round-robin basis.
Wh n a chann l’s r qu st is grant , it runs a transf r. nc th transf r c mpl t s, th chann l r linquish s its
grant.
Only an error condition can interrupt an ongoing data transfer.
.reqsel
determines which request is used to initiate a DMA burst. In the case of a memory-to-memory transfer,
the channel is treated as always requesting DMA access. The
.priority
field determines the DMA channel priority.
Содержание MAX32660
Страница 4: ...MAX32660 User Guide Maxim Integrated Page 4 of 195 8 UART 84 9 Real Time Clock RTC 96 10 Timers 105...
Страница 7: ...MAX32660 User Guide Maxim Integrated Page 7 of 195 15 Trademarks 195 16 Revision History 195...
Страница 14: ...MAX32660 User Guide Maxim Integrated Page 14 of 195 Figure 2 1 MAX32660 High Level Block Diagram...