I am working on the SPORT interface and i am using SC587 processor, i want to know if ADI is maintaining driver and test code for SPORT interface.
If yes, then can you please share it with me.
Thanks and Regards,
Hello Nikesh,Please find the attached SPORT loop back example code which transfers data in DMA mode using adi_sport_EnableLoopBack() API. Also you can find the adc_dac_playback example code which demonstrates the usage of the ADAU1979 ADC and ADAU1962a DAC using SPORT 4A and SPORT 4B in the below path after installing ADSP-SC5XX BSP:C:\Analog Devices\ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2\ADSP-SC5xx_EZ-KIT\Examples\drivers\adc\adau1979\adc_dac_playbackYou can download ADSP-SC5XX BSP from the below link:download.analog.com/.../ADI_ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2.exeIf you are facing any issues with the emulator, please share us the screenshot of the error message you are facing. Best Regards,Santha kumari.K
Thanks for reply, i installed EZ-KIT_Lite and added Sport_loopback code to it but i cant see a provision to build the code. Can you please let me know how to build this code?
SPORT loop back example project is an independent project. So there is no need to add it in BSP path.
We are able to run this example project successfully.
Please import this project from the downloaded path, import into your workspace and build it.
If you are still facing problem, please explain the issue with screenshot and how you are importing the project into workspace.
This information will be helpful for us to assist you better
Best Regards,Santha kumari.K
I am able to build the code, can you let me know the steps i need to follow to test it.
Please follow the below steps after build your project for debugging the application
1.From Run > Select Debug Configurations and then select "Application with crosscore debugger"2.The Session Wizard should start up, select SC587 as your processor and then select Next.3.Choose 'Emulator' as connection type and then select Next4.Select the emulator type(ICE-1000/2000) that you are using and then Finish.5.Choose the DXE to load and then select Apply and Debug.
In the SPORT loop back code, we are transmitting 256bytes from SPORT0A to SPORT0B using DMA mode. After running the code, you can see the received data in nBufferRx0 buffer.
You can find the detailed description of these APIs from the below path
CrossCore® Embedded Studio 2.9.1 > System Run-Time Documentation > System Services and Device Drivers > ADSP-SC58x (SHARC+ Core) API Reference > Modules
Please try and let us know if you need further assistance