SWCU195A December 2024 – May 2025 CC2744R7-Q1 , CC2745P10-Q1 , CC2745R10-Q1 , CC2745R7-Q1 , CC2755R10
The DMA operates on blocks of memory. Each input and output DMA memory block contains the input and output sample words, respectively, for AIFDMACFG.END_FRAME_IDX + 1 frames.
Writing a nonzero value to AIFDMACFG.END_FRAME_IDX initializes the DMA and prepares it to be started. Writing zero to AIFDMACFG.END_FRAME_IDX disables the DMA and resets the serial audio interface.
If input ADx pins are used, the software must write memory block start addresses for input DMA to AIFINPTRNEXT. The current input DMA memory location can be observed in AIFINPTR.
If output ADx pins are used, the software must write memory block start addresses for output DMA to AIFOUTPTRNEXT. The current output DMA memory location can be observed in AIFOUTPTR.
This writing operation or DMA operation enables the software to implement sample block ring buffers in memory with an arbitrary number of blocks for input and output samples.