EasyManua.ls Logo

Bouffalo Lab BL602 - DMA Register Reference

Bouffalo Lab BL602
195 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BL602/604 Reference Manual
peripheral mode
4. Set the value of the corresponding bit in the DMA_C0Control register: set the DI and SI bits to 1 to enable the
automatic address accumulation mode, the DTW and STW bits set the transmission width of the source and
destination, and the DBS and SBS bits set the burst type of the source and destination
5. Select the appropriate channel, enable DMA, and complete the data transfer
6.4.3 Peripheral to memory
In this working mode, when the source peripheral request is triggered, the source configuration is burst to the buffer
until the set number of moves reaches the stop. On the other hand, when the internal cache is enough for the target
burst number once, the DMA will automatically move the cached content to the target address until it reaches the set
number of moves and automatically returns to the idle state, waiting for the next startup
The specific configuration process is as follows:
1. Set the value of the register DMA_C0SrcAddr to the source peripheral address
2. Set the value of the register DMA_C0DstAddr to the target memory address
3. Select the transfer mode and set the value of the DMA_C0Config [FLOWCTRL] bit to 2 to select the Peripheral-
to-memory mode
4. Set the value of the corresponding bit in the DMA_C0Control register: set the DI and SI bits to 1 to enable the
automatic address accumulation mode, the DTW and STW bits set the transmission width of the source and
destination respectively, and the DBS and SBS bits set the burst type of the source and destination respectively
5. Select the appropriate channel, enable DMA, and complete the data transfer
6.5 Register description
Name
Description
DMA_IntStatus Interrupt status
DMA_IntTCStatus Interrupt terminal count request status
DMA_IntTCClear Terminal count request clear
DMA_IntErrorStatus Interrupt error status
DMA_IntErrClr Interrupt error clear
DMA_RawIntTCStatus Status of the terminal count interrupt prior to masking
DMA_RawIntErrorStatus Status of the error interrupt prior to masking
DMA_EnbldChns Channel enable status
DMA_SoftBReq Software burst request
BL602/604 Reference Manual 76/ 195
@2020 Bouffalo Lab

Table of Contents