Hi,
my main goal is to use the link port to pass audio data between 2 SHARC devices.
I have successfully modified the Demo program to bring in/out TDM channel from Dante boards but will need to connect 2 SHARC devices together via the link ports.
I was looking at testing the loopback mechanism by inserting a link port loopback in the path of when in the callback 'SPORTIn_CB' where it takes all the data from SPORTs buffers and passes it on.
I'm a bit confused on what the 'adi_ss_hal_sport_Process2DBuffer' does. Is this an MDMA call from one core to another as i cannot follow where the data is sent too and received.
This was getting very complex so to get a better understanding i've gone to something simpler. Is there a walk through for the Demo code please ?
In order to better understand the workings of the SHARC cores i am now using the project 'MDMA-Based Dual-SHARC+ Parallel Pipeline Audio Talkthrough in SC573' as very kindly created
in the following link.
How to realize MDMA-Based Dual-SHARC+ Parallel Pipeline Audio Talkthrough in SC573? - Q&A - CrossCore Embedded Studio and Add-ins - EngineerZone (analog.com)
ez.analog.com/.../356979
I can get the playback project to work (once i modified the L2 memory start as described in the source post) and i am know trying to incorporate the link port loopback.
I've been trying for days trying to get something to work. Any suggestions on how to incorporate a link port into the playback project.
I can get the link port lookback test to work in core 1 before any of the playback operations are started but if try sending/receving test data to a link port while the playback is running breaks the playback.
I was also trying to find other listed examples eg. Linkport Descriptor Array DMA Example, Linkport Descriptor List DMA Example to try and get a better understanding.
Many thanks for any help, even if its telling me i'm going about it all wrong.
