CS8405A
15. APPENDIX B: CHANNEL STATUS AND
USER DATA BUFFER MANAGEMENT
The CS8405A has a comprehensive channel sta-
tus (C) and user (U) data buffering scheme which
allows the user to manage the C and U data
through the control port.
15.1 AES3 Channel Status(C) Bit
Management
The CS8405A contains sufficient RAM to store a
full block of C data for both A and B channels
(192x2 = 384 bits), and also 384 bits of U informa-
tion. The user may read from or write to these RAM
buffers through the control port.
The CS8405A manages the flow of channel status
data at the block level, meaning that entire blocks
of channel status information are buffered at the in-
put, synchronized to the output timebase, and then
transmitted. The buffering scheme involves a cas-
cade of 2 block-sized buffers, named E and F, as
shown in Figure 14. The MSB of each byte repre-
sents the first bit in the serial C data stream. For
example, the MSB of byte 0 (which is at control port
address 20h) is the consumer/professional bit for
channel status block A.
The E buffer is accessible from the control port, al-
lowing read and writing of the C data. The F buffer
is used as the source of C data for the AES3 trans-
mitter. The F buffer accepts block transfers from
the E buffer.
A
B
8-bits 8-bits
E
24
words
F
Transm it
Data
Buffer
To
AES3
Transm itter
15.1.1 Accessing the E buffer
The user can monitor the data being transferred by
reading the E buffer, which is mapped into the reg-
ister space of the CS8405A, through the control
port. The user can modify the data to be transmit-
ted by writing to the E buffer.
The user can configure the interrupt enable regis-
ter to cause interrupts to occur whenever “E to F”
buffer transfers occur. This allows determination of
the allowable time periods to interact with the E
buffer.
Also provided is an “E to F” inhibit bit. The “E to F”
buffer transfer is disabled whenever the user sets
this bit. This may be used whenever “long” control
port interactions are occurring.
A flowchart for reading and writing to the E buffer
is shown in Figure 15. For writing, the sequence
starts after a E to F transfer, which is based on the
output timebase.
If the channel status block to transmit indicates
PRO mode, then the CRCC byte is automatically
calculated by the CS8405A, and does not have to
be written into the last byte of the block by the host
microcontroller. This is also true if the channel sta-
tus data is entered serially through the COPY/C pin
when the part is in hardware mode.
E to F interrupt occurs
Optionally set E to F inhibit
Write E data
If set, clear E to F inhibit
Control Port
Figure 14. Channel Status Data Buffer Structure
Wait for E to F transfer
Return
Figure 15. Flowchart for Writing the E Buffer
DS469F2
35