AD9381
AUDIO PLL SETUP
Data contained in the audio infoframes, among other registers,
define for the AD9381 HDMI receiver not only the type of
audio, but the sampling frequency (f
S
). The audio infoframe also
contains information about the N and CTS values used to
recreate the clock. With this information it is possible to
regenerate the audio sampling frequency. The audio clock is
regenerated by dividing the 20-bit CTS value into the TMDS
clock, then multiplying by the 20-bit N value. This yields a
multiple of the f
s
(sampling frequency) of either 128 脳 f
s
or
256 脳 f
s
. It is possible for this to be specified up to 1024 脳 f
s
.
SOURCE DEVICE
DIVIDE
BY
N
CYCLE
TIME
COUNTER
CTS
1
SINK DEVICE
In order to provide the most flexibility in configuring the audio
sampling clock, an additional PLL is employed. The PLL
characteristics are determined by the loop filter design, the PLL
charge pump current, and the VCO range setting. The loop
filter design is shown in Figure 8.
C
P
8nF
R
Z
1.5k惟
05689-010
C
Z
80nF
PV
D
FILT
Figure 8. PLL Loop Filter Detail
128 脳
f
S
VIDEO
CLOCK
N
1
N
TMDS
CLOCK
N
1
DIVIDE
BY
CTS
MULTIPLY 128 脳
f
S
BY
N
To fully support all audio modes for all video resolutions up to
1080p, it is necessary to adjust certain audio-related registers
from their power-on default values. Table 9 describes these
registers and gives their recommended settings.
REGISTER
N
AND CTS VALUES ARE TRANSMITTED USING THE
AUDIO CLOCK REGENERATION PACKET. VIDEO
CLOCK IS TRANSMITTED ON TMDS CLOCK CHANNEL.
Figure 7. N and CTS for Audio Clock
Table 9. AD9398 Audio Register Settings
Register
0x01
0x02
0x03
Bits
7:0
7:4
7:6
5:3
2
4
7
6:4
Recommended
Setting
0x00
0x40
01
010
1
0
1
011
Function
PLL Divisor (MSBs)
PLL Divisor (Lab鈥檚)
VCO Range
Charge Pump Current
PLL Enable
Audio Frequency Mode Override
PLL Enable
MCLK PLL Divisor
Comments
The analog video PLL is also used for the audio clock
circuit when in HDMI mode. This is done automatically.
05689-007
0x34
0x58
3
2:0
0
0**
N/CTS Disable
MCLK Sampling Frequency
In HDMI mode, this bit enables a lower frequency to be
used for audio MCLK generation.
Allows the chip to determine the low frequency mode
of the audio PLL.
This enables the analog PLL to be used for audio MCLK
generation.
When the analog PLL is enabled for MCLK generation,
another frequency divider is provided. These bits set
the divisor to 4.
The N and CTS values should always be enabled.
000 = 128 脳 f
S
001 = 256 脳 f
S
010 = 384 脳 f
S
011 = 512 脳 f
S
Rev. 0 | Page 12 of 44