CS49300 Family DSP
During delivery of a block of data the FIFO the MFC bit has gone low again, the host may send
threshold should not be checked. In other words the
another block of PCM audio data. The MFC bit is
FIFO indicators are level sensitive and indicate that FIFO level sensitive. In other words, it may change
a block can be delivered when they are low. They during the transfer of a block. The host should
may return high during the data delivery. When this
complete the block transfer and ignore the MFC bit
happens there is still room for the remaining bytes until the block transfer is complete.
of the block.
10.4.2.Parallel Delivery with Serial Control
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.
2
When using I C or SPI control, bytewide delivery
of data can still be achieved using
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.
The PCMRST bit of the CONTROL register
provides
absolute
software/hardware
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.
10.5. Digital Audio Output Port
The Digital Audio Output port, or DAO, is the port
used for digital output from the DSP. Table 15
shows the signals associated with the DAO. As
with the input ports the clocks and data are fully
configurable via hardware configuration.
Pin Name
Pin Description
Pin Number
AUDATA3,
XMT958
Serial Data Out
IEC60958 Transmitter
3
AUDATA2
AUDATA1
AUDATA0
LRCLK
Serial Data Out
Serial Data Out
Serial Data Out
Frame Clock
39
40
41
42
43
44
SCLK
Serial Bit Clock
Master Clock
MCLK
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
Table 15. Digital Audio Output Port
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
70
DS339PP4