ADSP-21565
Production
Reaching speeds of up to 1 GHz, the ADSP-2156x processors are members of the SHARC® family of products. The ADSP-2156x processor is based on the SHARC...
Datasheet
ADSP-21565 on Analog.com
Hi,
In my project, a SPI SRAM is connected to SPI1, I need to read and write the SRAM while 21565 is running.
I don't want to use CPU to process the read and write operation, so I need DMA mode in SPI1.
The read operation is like below.
instruction >> address >> dummy clocks >> read data
We need first write instruction and address bytes, and wait several dummy clocks, then datas can be read out.
The SRAM is work in QSPI mode, so we need to change the direction of 4 data lines after dummy clocks.
I wonder if this operation can be done by DMA.
In the 2156x BSP DMA example, there's only read or write operation at one direction.
Can DMA change the direction which achieve write, wait and read operation?
Please give me an example so that I can start my work.
Thanks!