BL602/604 Reference Manual
2. Set the value of the DMA_C0Config [DSTPH] bit to 10, that is, set the Destination peripheral to SPI_RX
ADC0/1 uses DMA to transfer data
The configuration is as follows:
1. Set the value of the DMA_C0Config [SRCPH] bit to 22/23, that is, set the Source peripheral to GPADC0 / GPADC1
6.3.4 Linked List Mode
DMA supports linked list operation mode. When performing a DMA read or write operation, you can fill the data in the
next linked list. After completing the data transfer of the current linked list, read the DMA_C0LLI register to obtain the
start address of the next linked list, and directly transfer the data in the next linked list.
Ensure continuous and uninterrupted work during DMA transfer, and improve the efficiency of CPU and DMA.
Source Address
Dest Address
Next LLI
DMA Control
Source Address
Dest Address
Next LLI
DMA Control
Source Address
Dest Address
Next LLI
DMA Control
Source Address
Dest Address
Next LLI
DMA Control
IDLE
channel enable
IntTCEnable=
0
IntTCEnable=
0
IntTCEnable=
0
IntTCEnable=
1
Figure 6.2: LLI architecture
BL602/604 Reference Manual
74/ 195
@2020 Bouffalo Lab