ΣSigmaStudio Ask AI Русский Log in

DMA taking longer to read 64 bytes of data in stop mode from SFLASH(QUAD-SPI) which is creating distortion in output audio

Processors & DSP DMA_ufes Feb 10, 2022 00:00 1 replies Original on forum ↗
Subscribe
DMA_ufes Question
Feb 10, 2022 00:00

Using ADSP -21569 custom board for audio processing SPI2 DMA SFLASH communication , where I have to read 64 bytes of data per frame from SFLASH and copy that data to model buffer which will be passed to the speakers and we have maximum of 15 channels to be read in single frame so calculation (64 Bytes x 15 channels = 960 Bytes) am just lopping it for 15 channels, using Quad SPI as OSPI is not sup[ported by SFLASH

--> Problem - When I read data up to 8 channels am not seeing any distortion going beyond 8 channels causing a distorted audio output .

-> Observation - DMA taking 6.636 micro second to read 64 bytes of data for single channel , when I try to read data for 9 channel actually DMA will create a delay of 6.636us x 9 = 59.724us while copying the data to model buffer which is causing the distorted output.

Could you please suggest a way to reduce the DMA read time ? or any solution

Anand Selvaraj Reply
Apr 28, 2022 00:00

Hi,

Apologies for the delay.

Can you please refer the application note(EE-412) which talks about "ADSP-2156x SHARC+ Processor System Optimization Techniques".
www.analog.com/.../ee412v02.pdf

The associated file can be available in the below mentioned link.
www.analog.com/.../ee412v02.zip

Regards,
Anand Selvaraj