Question: How to configure SPORT to work in DMA mode Answer: Following steps needs to be done to enable DMA mode in SPORT: 1. Enable the DMA mode using API adi_sport_EnableDMAMode (ADI_SPORT_HANDLE hDevice, bool bEnableDMAmode) 2. Enable the SPORT peripheral to generate secure transactions using SPU(System Protection Unit) services. When it is enabled the given peripheral generates secure bus transactions when disabled the peripheral generates non-secure bus transactions. When non-secure bus transactions are generated writes to the secure slaves will be blocked. For example when L1 memory is made as secure, the peripheral cannot write into the memory with non-secure bus transactions. For detailed information, We recommend to refer "Peripheral Register Write Protection" & "ADSP-SC5xx Write-Protect, Secure Peripheral and Secure Core Registers" in the SC58x HRM manual: https://www.analog.com/media/en/dsp-documentation/processor-manuals/SC58x-2158x-hrm.pdf
Also, refer the attached example which transfers data in SPORT DMA mode . Sport_Loopback.zip