is there any example or application note available on the SCDF mode for SPDIF Rx/Tx?
Exactly, you would refer the "SPDIF to Analog TalkThru with SRC (C)" example in the VDSP++ installation directory.
Path: <VDSP++ installation directory>Analog Devices\VisualDSP 5.1.2\214xx\Examples\ADSP-21479 EZ-Board
P.S.: the application is as follows
DSP1 sends 1 channel over SPDIF Tx to DSP2 using SCDF.
DSP2 receives via SPDIF Rx but needs to convert the sample rate to analog circuits (DAC)
As far as I can see, this is not possible, since the SRC can not be put in SCDF mode. It always processes at least 2 channels.
Please, correct me if I am wrong.
As far as my understanding is concerned, you will get the data sent by the DSP1 SPDIF Tx (in SCDF mode) in DSP2 by the SPDIF Rx (in SCDF mode). This data can be send to SRC via the SPORT configured in I2S mode. The serial input format of the SRC also can be configured in I2S mode. Does it make sense?
thanks for your response.
Correct me, if I'm wrong: then, I'd have to receive the data with one SPORT into RAM, then use another SPORT to send it via I2S to the SRC?
ok, thanks, I get it.
It would be a waste of SPORTs, then. Also, it would introduce latency. In my program, audio data is processed in 16 sample blocks. I'd have to use a ping pong buffer, then, only to transfer samples from the SPDIFRx to the SRC.
The original purpose was to reduce the signal frequency on the external connection between two DSPs by sending them at half the original sample rate.
There might be other projects where this is useful, though.
Retrieving data ...