adav803ast-reel7 Analog Devices, Inc., adav803ast-reel7 Datasheet - Page 26

no-image

adav803ast-reel7

Manufacturer Part Number
adav803ast-reel7
Description
Audio Codec For Recordable Dvd
Manufacturer
Analog Devices, Inc.
Datasheet
ADAV803
The size of the user bit buffer can be set by programming the
RxBCONF0 bit in the receiver buffer configuration register, as
shown in Table 11.
Table 11. RxBCONF3 Functionality
RxBCONF0
0
1
The updating of the user bit buffer is controlled by Bits
RxBCONF[2:1] and Bit 7 to Bit 4 of the channel status register,
as shown in Table 12 and Table 13.
Table 12. RxBCONF[2:1] Functionality
Bit 2
0
0
1
Table 13. Automatic User Bit Configuration
7
0
0
1
1
When the user bit buffer has been filled, the RxUBINT
interrupt bit in the interrupt status register is set, provided that
the RxUBINT mask bit is set, to indicate that the buffer has new
information and can be read.
For the special case when the user data is formatted according
to the IEC 60958-3 standard into messages made of information
units, called IUs, the zeros stuffed between each IU and each
message are removed and only the IUs are stored. Once the end
of the message is sensed by more that eight zeros between IUs,
the user bit buffer is updated with the complete message and
the first buffer begins looking for the start of the next message.
Each IU is stored as a byte consisting of 1, Q, R, S, T, U, V, and
W bits (see the IEC 60958-3 specification for more
information). When 96 IUs are received, the Q subcode of the
IUs is stored in the Q subcode buffer, consisting of 10 bytes. The
Q subcode is the Q bits taken from each of the 96 IUs. The first
10 bytes (80 bits) of the Q subcode contain information sent by
CD, MD, and DAT systems. The last 16 bits of the Q subcode
are used to perform a CRC check of the Q subcode. If an error
occurs in the CRC check of the Q subcode, the QCRCERROR
RxBCONF
6
0
1
0
1
Bits
Bit 1
0
1
0
5
0
0
0
0
4
0
0
0
0
Receiver User Bit Buffer Size
384 bits with Preamble Z as the start of the block.
768 bits with Preamble Z as the start of the block.
Receiver User Bit Buffer Configuration
User bits are ignored.
Update second buffer when first buffer is full.
Format according to Byte 1, Bit 4 to Bit 7, if
PRO bit is set. Format according to IEC60958-3,
if PRO bit is clear.
Automatic Receiver User Bit Buffer
Configuration
User bits are ignored.
AES-18 format: the user bit buffer is treated in
the same way as when RxBCONF[2:1] = 0b01.
User bit buffer is updated in the same way as
when RxBCONF[2:1] = 0b01 and RxBCONF0 =
0b00.
User-defined format: the user bit buffer is
treated in the same way as when
RxBCONF[2:1] = 0b01.
Rev. A | Page 26 of 60
bit is set. This is a sticky bit that remains high until the register
is read.
Transmitter Operation
The S/PDIF transmitter has a similar buffer structure to the
receive section. The transmitter channel status buffer occupies
24 bytes of the register map. This buffer is long enough to store
the 192 bits required for one channel of channel status informa-
tion. Setting the TxCSSWITCH bit determines if the data
loaded to the transmitter channel status buffer is intended for
Channel A or Channel B. In most cases, the channel status bits
for Channel A and Channel B are the same, in which case
setting the Tx_A/B_Same bit reads the data from the trans-
mitter channel status buffer and transmits it on both channels.
Because the channel status information is rarely changed during
transmission, the information contained in the buffer is
transmitted repeatedly. The Disable_Tx_Copy bit can be used
to prevent the channel status bits from being copied from the
transmitter CS buffer into the S/PDIF transmitter buffer until
the user has finished loading the buffers. This feature is
typically used, if the Channel A data and Channel B data are
different. Setting the bit prevents the data from being copied.
Clearing the bit allows the data to be copied and then
transmitted. Figure 48 shows how the buffers are organized.
As with the receiver section, the transmitted user bits are also
double-buffered. This is required because, unlike the channel
status bits, the user bits do not necessarily repeat themselves.
The user bits can be buffered in various configurations, as listed
in Table 14. Transmission of the user bits is determined by the
state of the BCONF3 bit. If the bit is 0, the user bits begin
transmitting right away without alignment to the Z preamble. If
this bit is 1, the user bits do not start transmitting until a
Z preamble occurs when the TxBCONF[2:1] bits are 01.
Table 14. Transmitter User Bit Buffer Configurations
Bit 2
0
0
1
1
TxBCONF2-1
Bit 1
0
1
0
1
(0x38 TO 0x4F)
CS BUFFER
TxCSSWITCH
TRANSMIT
Figure 48. Transmitter Channel Status Buffer
Transmitter User Bit Buffer Configuration
Zeros are transmitted for the user bits.
Host writes user bits to the buffer until it is full.
Writes the user bits to the buffer in IUs
specified by IEC60958-3 and transmits them
according to the standard.
First 10 bytes of the user-bit buffer are
configured to store a Q subcode.
(24 × 8 BITS)
(24 × 8 BITS)
CHANNEL
STATUS A
CHANNEL
STATUS B
TRANSMIT
BUFFER
DITOUT
S/PDIF

Related parts for adav803ast-reel7