Post Go back to editing

ADSP21573 - SPI Slave Implementation

Hi,

     I'm trying to implement SPI on ADSP21573 as slave, And checking it with AARDVARK tool to confirm the Data transfer. But I'm not getting Data on the Tool. If any one having the working code of SPI as a master or slave in ADSP21573 please share it with me. Or Explain give me step by step instruction to implement the SPI. I had tried with some examples but there is no result. So please kindly Help me, I'm attaching the example code which i was worked given below.

SPI_API_Core1.rar
  • Hello,

    I have an attached an example code for ADSP-SC589 processor, you may refer this and develop code for ADSP-SC57x. This code intends to test data transfer between the two SPI modules in auto-buffered DMA mode. The SPI is configured in a half-duplex configuration with one SPI as the master transmitter and the other SPI as the slave receiver. This code can be directly run on ADSP-SC589 Ez-kit.  You can understand the working of the code from the comments embedded within.

    Please note that you have to made the external connection based on the TX and RX choice. For example, if SPI0 is configured as the master transmitter and SPI1 is configured as the slave receiver. The connection should be made as shown below.

    For more information please refer the below link,
    https://ez.analog.com/docs/DOC-16201

    Best Regards,

    Jithul

  • This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin