DMA
1. Basic API Flow
Initialization → configuration → start → wait for interrupt → stop.
2. Repeat Mode: FIFO → SRAM
Audio FIFOs are connected to GDMA, so FIFO or destination addresses can be programmed directly. See components/bk_cli/cli_aud.c.
Repeat-mode configuration
Stopping repeat mode
Note
Audio FIFOs connect directly to GDMA, so they can be used without extra glue logic. For other peripherals check dma_reg.h to confirm FIFO connectivity.
3. Single Mode: SRAM → SRAM
See cli_dma.c (dma_chnl_primenumber_copy). API usage diagram:
Single-shot memory copy