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

SPI DMA example on ADSP-21569 is not working.

Processors & DSP Likhitha11 Aug 1, 2022 00:00 2 replies Original on forum ↗
Subscribe
Likhitha11 Question
Aug 1, 2022 00:00

Hi,

We are trying to build and run the example code given for SPI communication in DMA mode, present at:

"<installation Path>:\Analog Devices\ADSP-2156x_EZ-KIT-Rel1.0.1\ADSP-2156x_EZ-KIT\Examples\drivers\spi\SPIDMAMode"

But, on running the code, the Tx and Rx are configured, but there's no communication from Tx to Rx.

The callback doesn't invoke the Rx event, i.e., RxCount remains '0', while TxCount = 4, as shown:

The connections on the EI3 interface (J2) are as shown(connected as mentioned in the attached ReadMe guide/ EZ-Kit Schematic).

Is there anything that I'm missing? Any help on this will be appreciated.

Thanks in advance,

Likhitha.

ADSP-21569

Audio Signal Processors

software

spi

CrossCore Embedded Studio 2.10.0

SHARC Audio Processors/SoCs

Show More

pastedimage1659355135425v1.png
pastedimage1659355135425v1.png
pastedimage1659355390460v2.png
pastedimage1659355390460v2.png
Santhakumari Reply
Aug 2, 2022 00:00

Hi Likhitha,

We have tested the SPIDMAMODE example project from BSP installation path in ADSP-21569 EZ-KIT. It is working fine to us. Please refer the attached image for your reference

From your screenshot, it looks like you wrongly connected EI3 interface in P9 port of ADSP-21569. As per the ReadMe guide/Ez-Kit schematics, you should connect it in P7 port. We suspect it might be the cause of issue the issue.

Hope this helps

Regards,
Santhakumari.K

SPI_DMA.PNG
SPI_DMA.PNG
Likhitha11 Reply
Aug 2, 2022 00:00

Hi Santha,

Yes, my connections were the issue. Thank you for looking into it.

Regards,

Likhitha.