I cannot find DMA interrupts initialization in steps, or, better, an example for BF70x processors.
It seems me, that it is more complicated than in BF5xx case.
Please find the attached SPORT code for ADSP-BF706 processor. This code can be directly run on the ADSP-BF706 EZ-Kit MINI evaluation board. You can understand the working of the code from the comments embedded within.
For more information we suggest you to refer the Data Transfers and Interrupts section in SPORT chapter (PageNo:1583 / 2223) in the ADSP-BF70x Blackfin+ Processor Hardware Reference Manual. You can find the HRM here.
Thank You Jithul !
You missed attachement.
maybe the attached program is useful for you.
It demonstrates the use of DMA and interrupts
for audio processing.
Bug fix. The following lines are missing in the SPORT0_RX_interrupt_handler:
if (*pREG_DMA1_STAT & ENUM_DMA_STAT_IRQDONE) *pREG_DMA1_STAT = ENUM_DMA_STAT_IRQDONE;
The attached version BF706_Audio_Filter_v2 should be correct.