Other Parts Discussed in Thread: TMS320F28335
Hello,
The Example_2833xMcBSP_DLB_DMA example comments that the DMA should be intialized before the peripheral (McBSP) (see code below). Why is this necessary?
Why can't I just initialize the McBSP at power-up and then init and start the DMA when I need to perform a DMA task. The reason I ask this question is that I'll be reusing DMA channels for different task during runtime.
Stephen
" init_dma(); // 1. When using DMA, initialize DMA with peripheral interrupts first.
}
start_dma();
mcbsp_init_dlb(); // 2. Then initialize and release peripheral (McBSP) from Reset."