
26
ZR38650
Table 13 shows some representative values for both SPBS and
AUDM/AUDD for different output sample frequencies (f
S
) and
master clock multiples of the sample frequency. They are for the
common choice of a system clock frequency of 24.576 MHz.
Serial Port Formats
Many choices are possible for the bit-serial port formats and
word sizes. The five most commonly used formats are summa-
rized in Table 15 along with the selectable word sizes.
Waveforms for each are illustrated in Figures 7-11. Note the
various frame durations indicated. Clocking for both master and
slave operation is shown. The transitions marked are the edges
where data changes when the ZR38650 is a master or where the
data is sampled when it is a slave. Settings for the appropriate
fields in the CFG command are also summarized.
Word select (WS) or frame synchronization (FS) is chosen with
the WFA and WFB fields. The polarity of the WS signal is chosen
with the ISP and OSP fields. Either polarity is acceptable on any
of the word select formats. Through the FMA field the frameless
input operation of Format 3 can be chosen. The input then is
sampled every SCKA and an interrupt generated after 16 bits
has been received. Note that when a master the FS signal
shown is, in fact, generated and if FS is asserted when a slave
it will re-synchronize the data as shown. This format may not be
accepted by some function operating modes.
Table 12: Serial Ports A & B Clocking Summary In The CFG And PLLCFG Commands
Function
Input Port Group A
Output Port Group B
Audio PLL source from S/PDIF or System Clock
F1
Audio Clock source from Audio PLL or System Clock
F2
External master clock input SCKIN pin (f
SCKIN
)
Internal master clock (f
PSB
= f
AUDIO
) and Master external clock output pin
Master or slave clocking mode
None
CB field = 0
None
CB field = 1
MA field
MB field
Internal 12-bit master clock scalers for SCKA and SCKB. LS 8-bit fields.
SPAS field (f
A
= f
PS A
/ [2SPAS])
f
A
= f
PSA
if SPAS=1
CPA = 0
SPBS field (f
B
= f
PSB
/ [2SPBS])
f
B
= f
PSB
if SPBS=1
CPB = 0
Bypass of clock scalers
Data latched/sent out on rising/falling edge of clock
Data latched/sent out on falling/rising edge of clock
CPA = 1
CPB = 1
Table 13: Example SPBS And AUDM/AUDD Settings With A 24.576 MHz System Clock f
XTI
f
s
f
AUDIO
256 f
s
384 f
s
512 f
s
256 f
s
f
AUDIO
(SCKIN Output)
12.288 MHz
AUDM/AUDD
SPBS
SCKB Output (64 f
s
)
3.07 MHz
48 kHz
1/2
2
48 kHz
18.432 MHz
3/4
3
48 kHz
24.576 MHz
1/1
4
96 kHz
24.576 MHz
1/1
2
6.144 MHz