SPDIF receiver interface (SPDIFRX) RM0390
898/1328 RM0390 Rev 4
Figure 338. SPDIFRX block diagram
1. ‘n’ is fixed to 4.
27.3.1 S/PDIF protocol (IEC-60958)
S/PDIF block
A S/PDIF frame is composed of two sub-frames (see Figure 340). Each sub-frame contains
32 bits (or time slots):
• Bits 0 to 3 carry one of the synchronization preambles
• Bits 4 to 27 carry the audio sample word in linear 2's complement representation. The
most significant bit (MSB) is carried by bit 27. When a 20-bit coding range is used, bits
8 to 27 carry the audio sample word with the LSB in bit 8.
• Bit 28 (validity bit “V”) indicates if the data is valid (for converting it to analog for
example)
• Bit 29 (user data bit “U”) carries the user data information like the number of tracks of a
Compact Disk.
• Bit 30 (channel status bit “C”) carries the channel status information like sample rate
and protection against copy.
• Bit 31 (parity bit “P”) carries a parity bit such that bits 4 to 31 inclusive carry an even
number of ones and an even number of zeroes (even parity).
Figure 339. S/PDIF Sub-Frame Format
63',)5;B'5
63',)5;B&65
63',)5;B&5
63',)5;B,05
63',)5;B)(
5HV\QF(GJHGHWHFWLRQ
'0$B,)
,54B,)
5(*B,)
63',)5;B'&
63',)5;B&/.FORFNGRPDLQ
3&/.FORFNGRPDLQ
63',)5;
63',)5;B,1>@
63',)5;B&/.
3&/.
ELW$3%EXV
'0$B63',)5;B'7
63',)5;B,54
5;B%8)
ELWV
63',)5;B6(4
63',)GDWDSDFNLQJDQGVHTXHQFHU
63',)5;B'(&
%LSKDVHDQGWUDQVLWLRQGHFRGHU
FWUOFK
GDWD
6<1&
63',)5;B65
VSGLIU[BIUDPHBV\QF
'0$B63',)5;B&6
63',)5;B,)&5
63',)5;B,1>@
63',)5;B,1>Q@
63',)5;B',5
06Y9
'6\QF3UHDPEOH ' ' ' '' ' 3&9 8
/6E 06E
6\QFKURQL]DWLRQ
W\SH%0RU:
$XGLRVDPSOHXSWRELWV 6WDWXVELWV
LQIRUPDWLRQELWV
06Y9