ΣSigmaStudio Ask AI Русский Log in

ADSP-SC58XX SPDIF Configuration

Processors & DSP matt.olson Nov 18, 2020 00:00 1 replies Original on forum ↗
Subscribe
matt.olson Question
Nov 18, 2020 00:00

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

pastedimage1605658598191v1.png
pastedimage1605658598191v1.png
pastedimage1605658971910v2.png
pastedimage1605658971910v2.png
pastedimage1605659035689v3.png
pastedimage1605659035689v3.png
Anand Selvaraj Reply
Dec 11, 2020 00:00

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-code

Also, 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.pdf

Regards,
Anand Selvaraj.