GD32W51x User Manual
330
data in the FIFO for a peripheral transfer, DMA starts a peripheral transfers to fetch the
FIFO data and write to the peripheral.
Memory-to-memory mode: Only the multi-data mode is supported. When the channel is
enabled, DMA starts several peripheral transfers to fill up the FIFO. During the
transmission, the peripheral transfer is initiated once when there is enough space for it
in the FIFO.
12.4.9.
Transfer finish
The DMA transfer is finished automatically and the FTFIFx bit in the DMA_INTF0 or
DMA_INTF1 register is set when one of the following situations occurs:
Transfer completion
Software clear
Error detection
Transfer completion
When enabled, the DMA begins to transfer data between peripheral and memory. After the
pre-programmed number of data items has been transferred successfully, the DMA transfer
is completed and the CHEN bit is automatically cleared in the DMA_CHxCTL register.
Peripheral-to-memory mode: If DMA is the transfer flow controller, when the CNT bits
reach to zero and the contents of the FIFO have been entirely transferred into the
memory, an end of transfer is generated. If peripheral is the transfer flow controller, the
DMA transfer is completed when the last peripheral request has been responded and
the contents of the FIFO have been entirely transferred into the memory.
Memory-to-peripheral mode: If DMA is the transfer flow controller, when the CNT bits in
the DMA_CHxCNT register reach to zero, an end of transfer is achieved. If peripheral is
the transfer flow controller, the DMA transfer is completed when the last peripheral
request has been responded.
Memory-to-memory: only DMA can be the transfer flow controller. When the CNT bits
reach to zero and the contents of the FIFO have been entirely transferred into the
memory, an end of transfer is generated.
Software clear
The DMA transfer can be stopped by clearing the CHEN bit in the DMA_CHxCTL register by
software. After the software cleared operation, the CHEN bit is still read as 1 to indicate that
there are memory or peripheral transfers still active or the remaining data in the FIFO need
to be transferred.
Peripheral-to-memory: After the software cleared operation, the peripheral transfer is
stopped when the current single or burst transfer is completed. To ensure that the data
had been read from peripheral can be entirely transferred into the memory, the memory
transfer continues to be active until the FIFO is empty. If the remaining byte number in
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...