CS493002-CL Cirrus Logic, CS493002-CL Datasheet - Page 70
![no-image](/images/no-image-200.jpg)
CS493002-CL
Manufacturer Part Number
CS493002-CL
Description
Multi-Standard Audio Decoder Family
Manufacturer
Cirrus Logic
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
During delivery of a block of data the FIFO
threshold should not be checked. In other words the
FIFO indicators are level sensitive and indicate that
a block can be delivered when they are low. They
may return high during the data delivery. When this
happens there is still room for the remaining bytes
of the block.
The PCM data input register (PCMDAT) receives
bytes of data when the host interface writes to
address 10b (A1 high, A0 low). The MFC bit in the
Host Control Register is an indicator of the PCM
FIFO level. The MFC bit remains low until the
FIFO threshold has been reached.
The PCMRST bit of the CONTROL register
provides
synchronization by initializing the input channel to
uniquely recognize the first write to the byte-wide
PCMDATA port. Toggling PCMRST high and low
informs the DSP that the next sample read from the
PCMDATA port is the first sample of the left
channel. In this fashion, the CS493XX can
translate successive byte writes into a variable
number of channels with a variable PCM sample
size. In the most simple case, the CS493XX can
receive stereo 8-bit PCM one byte at a time with the
internal DSP assigning the first 8-bit write (after
PCMRST) to the left channel and the second 8-bit
write to the right channel. For 24-bit PCM, it
assigns the first three 8-bit writes (after PCMRST)
to the left channel and the next three writes to the
right channel. Before starting PCM transfer, or to
initiate a new PCM transfer, the PCMRST bit must
be toggled as described above to insure data
integrity.
Data must be delivered to the CS493XX in blocks
of data. The block size is set through a hardware
configuration message. Before each block is
delivered, the host should check the MFC bit. If the
MFC bit is low, then the host can deliver a block of
data one byte at a time. If the MFC bit is high, no
more data should be sent to the CS493XX. Once
70
absolute
software/hardware
the MFC bit has gone low again, the host may send
another block of PCM audio data. The MFC bit is
FIFO level sensitive. In other words, it may change
during the transfer of a block. The host should
complete the block transfer and ignore the MFC bit
until the block transfer is complete.
10.4.2.Parallel Delivery with Serial Control
When using I
of
SCLKN2(CMPCLK) and GPIO[8:0]. In this mode
the bytewide parallel data is clocked into the part
on the transition of CMPCLK.
In this mode CMPREQ can be used as the FIFO
threshold indicator. When CMPREQ is low it
means that the CS493XX can receive another block
of data.
10.5. Digital Audio Output Port
The Digital Audio Output port, or DAO, is the port
used for digital output from the DSP.
shows the signals associated with the DAO. As
with the input ports the clocks and data are fully
configurable via hardware configuration.
MCLK is the master clock and is firmware
configurable to be either an input or an output. If
MCLK is to be used as an output, the internal PLL
must be used. As an output MCLK can be
AUDATA3,
XMT958
AUDATA2
AUDATA1
AUDATA0
LRCLK
SCLK
MCLK
Pin Name
data
Table 15. Digital Audio Output Port
can
2
IEC60958 Transmitter
C or SPI control, bytewide delivery
Pin Description
Serial Data Out
Serial Data Out
Serial Data Out
Serial Data Out
Serial Bit Clock
CS49300 Family DSP
Master Clock
Frame Clock
still
be
achieved
Pin Number
DS339PP4
Table 15
39
40
41
42
43
44
3
using