ADSP21569 SPI DMA slave transmit
Hi ADI Expert
I use ADSP21569 SPI1 to communicate with the host microcontroller, and I set SPI1 as the slave DMA mode. ADSP21569 can correctly receive the data sent by the microcontroller, but the ADSP21569 SPI1 sends data abnormally. No signal changes can be detected on the pin PA_11/TWI0_SDA/SPI1_MISO/HADC0_EOC_OUT/SMC0_D11/TM0_ACI4, but the SPI1_TFIFO register data change can be observed. The figure below is the initial configuration of SPI1. My hardware test environment is ADSP-21569 EZ-KIT. How can I solve this problem?
ADSP-21569
cces
Audio Signal Processors
sharc
dma
spi
SHARC Audio Processors/SoCs
Show More
Hi,
To transfer the data from Slave to master, you have to enable master-in-slave-out (MISO) mode in adi_spi_config_2156x.h file. Please set macro "ADI_SPI1_CFG_ENABLE_MISO" as 0x1ul.
Regards,
Anand Selvaraj.
Please log in to reply.
