How to setting S/PDIF on DSP5672x??

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to setting S/PDIF on DSP5672x??

1,431 Views
AlexTsai
Contributor I
I test to output S/PDIF on DSP5672x
configure as follows...
SCR = $000414
STC = $000405
SIE = $000002
HCKT3 = 16.9344MHz

Every (1/44.1K) occur interrupts one time, and put one sample L/R audio data to STL&STR.
The SPDIFOUT1 have to transmit signal, BUT my D/A converter can't output audio.
I don't konw where makes a mistake
Who can help me...

Message Edited by AlexTsai on 2009-02-05 06:12 PM
0 Kudos
3 Replies

532 Views
jbrandonnelson
Contributor I

I'm not sure if you are having the same issue that I was having, but I'll offer what helped me to get the S/PDIF transmitter working.  In my situation, the S/PDIF bitstream being transmitted by the DSP looked valid and the receiving devices receive clock would lock with it, but I could not hear any audio output.  I set SCR = $000434 which changes the validity control bit.  After setting this bit, the S/PDIF output can be heard through the receiving device.  I hope this helps.

0 Kudos

532 Views
AlexTsai
Contributor I

YES!! I can hear audio output after set SCR=$060434.

Thank very much!!

0 Kudos

532 Views
jbrandonnelson
Contributor I

I'm glad that it works for you!  I had to read through that part of the documentation carefully to figure it out.  I was clearing ValCtrl thinking that it would clear the validity bit (per the S/PDIF specification), but after careful reading found that you clear ValCtrl to set the validity bit and set ValCtrl to clear the validity bit which was a little confusing.

0 Kudos