The attached code can be used as a reference to test SPORT connections on newly designed board with ADSP SC58x/ ADSP-2158x processors.
The code does the following:
How to modify the code for customized system requirements:
How to test that the code works?
The below screenshot shows how the SPORT signals should look like
I found some changes to be done in the current version of sruSC589.h included in CCES 2.2.0. I did some edits to fix that and have notified the relevant team to update the header file. The update is scheduled for next release of CCES. Until then, this file can be used.
Nice code example you have written!
I noticed tast your included file : sruSC589.h is an old modified version (by Ramdas) from 2013
I am using the latest version scrSC589.h, included with CCES 2.2.0 from 2016,
and this is quite different from the 2013 version!
I am having some problems with using the "SRU(..,..)-macro" together with the new version of sruSC589.h
Is there any reason why you use an old version ?