cs8413-cs Cirrus Logic, Inc., cs8413-cs Datasheet - Page 12

no-image

cs8413-cs

Manufacturer Part Number
cs8413-cs
Description
96 Khz Digital Audio Receivers
Manufacturer
Cirrus Logic, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CS8413-CS
Manufacturer:
CRYSTAL
Quantity:
293
Part Number:
cs8413-csEP
Manufacturer:
CIRRUS
Quantity:
20 000
Part Number:
cs8413-csZ
Manufacturer:
CIRRUS
Quantity:
20 000
system-wide reset. After the user sets RST high, the
CS8413 comes fully out of reset when the block
boundary is found. The serial port, in master mode,
will begin to operate as soon as RST goes high. B0
and B1 select one of three buffer modes listed in
Table and illustrated in Figure 5. In all modes four
bytes of user data are stored. In mode 0, one entire
block of channel status is stored. In mode 1 eight
bytes of channel status and sixteen bytes of auxilia-
ry data are stored. In mode 2, eight bytes of channel
status from each sub-frame are stored. The buffer
modes are discussed in more detail in the Buffer
Memory section. The next bit, CS2/CS1, selects the
particular sub-frame of channel status to buffer in
modes 0 and 1, and has no effect in mode 2. When
CS2/CS1 is low, sub-frame 1 is buffered, and when
CS2/CS1 is high, sub-frame 2 is buffered. IER/SR
selects which set of registers, either IEnable or sta-
tus, occupy addresses 0 and 1. When IER/SR is
low, the status registers occupy the first two ad-
dresses, and when IER/SR is high, the IEnable reg-
isters occupy those addresses. FCEN enables the
internal frequency counter. A 6.144 MHz clock
must be connected to the FCK pin as a reference.
The value of the FREQ bits in SR2 are not valid un-
til two thirds of a block of data is received. Since
FCK and A4, the most significant address bit, oc-
cupy the same pin, A4 is internally set to zero when
FCEN is high. Since A4 is forced to zero, the upper
half of the buffer is not accessible while using the
frequency compare feature. FPLL determines how
FSYNC is derived. When FPLL is low, FSYNC is
derived from the incoming data, and when FPLL is
high, it is derived from the internal phase-locked
loop.
Control Register 2 configures the serial port which
consists of three pins: SCK, SDATA, and FSYNC.
SDATA is always an output, but SCK and FSYNC
can be configured as inputs or outputs. FSYNC and
SDATA can have a variety of relationships to each
other, and the polarity of SCK can be controlled.
The large variety of audio data formats provides an
12
easy interface to most DSPs and other audio pro-
cessors. SDATA is normally just audio data, but
special modes are provided that output received bi-
phase data, or received NRZ data with zeros substi-
tuted for preamble. Another special mode allows an
asynchronous SCK input to read audio data from
the serial port without slipping samples. In this
mode FSYNC and SDATA are outputs synchro-
nized to the SCK input. Since SCK is asynchronous
to the received clock, the number of SCK cycles
between FSYNC edges will vary.
ROER, when set, causes the last audio sample to be
reread if the error pin, ERF, is active. When out of
lock, the CS8413 will output zeros if ROER is set
CR1:
CR2:
CR1.
CR2.
X:02
X:03
B1
0
0
1
1
FPLL:
FCEN:
IER/SR:
CS2/CS1: ch. status to buffer; 0 - sub-frame 1, 1 - sub-frame 2.
B1:
B0:
RST:
ROER:
SDF2:
SDF1:
SDF0:
FSF1:
FSF0:
MSTR:
SCED:
ROER
FPLL
7
7
B0
0
1
0
1
Table 2. Buffer Memory Modes
FCEN
SDF2
Figure 8. Control Register 1
Figure 9. Control Register 2
0 - FSYNC from RXP/RXN, 1 - FSYNC from PLL
enables freq. comparator (FCK must be 6.144 MHz).
[X:00,01] 0 - status, 1 - interrupt enable registers.
with B0, selects the buffer memory mode.
with B1, selects the buffer memory mode.
Resets internal counters. Set to “1” for normal operation.
Repeat previous value on error (audio data)
with SDF0 & SDF1, select serial data format.
with SDF0 & SDF2, select serial data format.
with SDF1 & SDF2, select serial data format.
with FSF0, select FSYNC format.
with FSF1, select FSYNC format.
When set, SCK and FSYNC are output
When set, falling edge of SCK outputs data.
When clear, rising edge of SCK outputs data.
6
6
Mode
IER/SR
SDF1
0
1
2
3
5
5
SDF0
Independent Channel Status
Buffer Memory Contents
CS2/CS1
4
CS8413 CS8414
4
FSF1
Channel Status
Auxiliary Data
3
Reserved
B1
3
FSF0
2
B0
2
MSTR
1
DS240F1
1
SCED
RST
0
0

Related parts for cs8413-cs