how to configure ADSP-21479 SHARC processor in SPI slave mode


   I am using 21479 ez-board,I want to configure it to SPI slave mode.Can anyone support me an example code, which in C code and the transmitter or receiver in DMA mode.

it must be best if this code include testing code in ez-board. 

 Best regards!

  • 0
    •  Analog Employees 
    on Dec 27, 2019 11:27 AM 10 months ago


    Apologies for the delay in response.

    Please find the attached SPI example code in DMA mode. Also please find the screenshots(Connection diagram.PNG, Buffer.PNG) for your reference. This code can be directly run on ADSP-21479 Ez-kit. You can refer the HRM manual for better understanding about the SPI registers. Please use this as a reference and modify as per your requirement.
    Anand Selvaraj