You can refer SPORT code in C available in VDSP installation folder:
~\Analog Devices\Visual DSP++ 5.0\Blackfin\Examples\ADSP-BF548 EZ-KIT Lite\Power_On_Self_Test\test_FPGA\FPGA_sports_test.c
If you still want any simple code, let me know.
i would appriciate if you can send me some code snippets...
Please find it attached. Let me know, if you have any questions.
Yes...but you have to manage that in software.
If it is just for acknowledgement or handshake you can use a Programmable Flag assertion.
I've used usb_bulk_adi example code. Now I'm going to add SPORT communication. Which interrupts and timers were used by initializing system services like dma/interrupt manager in USB example and is there anything i should have been aware of?
Thx in advance;-)
full source code is available for the System Service Init functions, in "...\Blackfin\lib\src\services\". You can consult these to determine exactly what is initialized for each function call. For the most part, System Services "_Init()" functions allocate memory for the service, with the actual configuration of things like DMA streams for the DMA Manager to handle, or Interrupts for the Interrupt Manager being configured within the project itself.
Retrieving data ...