I am having troubles configuring the SPDIF interface on the ADSP-SC58XX.
I have used the SPDIF example code provided for the EZ-LITE kit as a starting point.
Here is the configuration which I am using and the configuration registers:
Can anyone take a look at this configuration and see anything that I may be doing incorrectly, or not doing.
I have connected the TX output to the RX input externally and do see data being received. The data looks kind of correct, however there appears to be some issues. I used an incrementing counter (+1000) on the TX side and the RX side does have a corresponding count, however it is not a consistent count. Additionally, it appears as if the data is shifted to the right by 1-bit. The following images show the data that the debugger is displaying.
Thank You
Hi,Can you please refer the below FAQ, which contains the sample code for loopback of SPDIF TX and SPDIF RX of ADSP-SC58x processors. Hope this helps.You can find the FAQ from below mentioned link,ez.analog.com/.../adsp-sc58x-2158x-spdif-example-codeAlso, please refer the Sony/Philips Digital Interface (S/PDIF) Section (PageNo:2814/3973) in the HRM of the ADSP-SC58x.www.analog.com/.../SC58x-2158x-hrm.pdfRegards,Anand Selvaraj.