AD9398
Rev. 0 | Page 12 of 44
AUDIO PLL SETUP
Data contained in the audio infoframes, among other registers,
define for the AD9398 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 sampling frequency of either 128 × f
S
or 256 × f
S
.
It is possible for this to be specified up to 1024 × f
S
.
05678-007
SINK DEVICESOURCE DEVICE
1
N AND CTS VALUES ARE TRANSMITTED USING THE
AUDIO CLOCK REGENERATION PACKET. VIDE
CLOCK IS TRANSMITTED ON TMDS CLOCK CHANNEL.
128 × f
S
N
VIDEO
CLOCK
128 × f
S
TMDS
CLOCK
N
1
CTS
1
DIVIDE
BY
N
CYCLE
TIME
COUNTER
REGISTER
N
DIVIDE
BY
CTS
MULTIPLY
BY
N
Figure 7. N and CTS for Audio Clock
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
nF
C
Z
80nF
R
Z
1.5kΩ
FILT
PV
D
05678-010
Figure 8. PLL Loop Filter Detail
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 the recommended
settings.
Table 9. AD9398 Audio Register Settings
Register Bits
Recommended
Setting
Function Comments
0x01 7:0 0x00 PLL Divisor (MSBs)
0x02 7:4 0x40 PLL Divisor (LSBs)
7:6 01 VCO Range
5:3 010 Charge Pump Current
The analog video PLL is also used for the audio clock circuit when in
HDMI mode. This is done automatically.
0x03
2 1 PLL Enable
In HDMI mode, this bit enables a lower frequency to be used for
audio MCLK generation.
0x34 4 0
Audio Frequency Mode
Override
Allows the chip to determine the low frequency mode of the audio
PLL.
7 1 PLL Enable This enables the analog PLL to be used for audio MCLK generation.
6:4 011 MCLK PLL Divisor
When the analog PLL is enabled for MCLK generation, another
frequency divider is provided. These bits set the divisor to 4.
3 0 N/CTS Disable The N and CTS values should always be enabled.
0x58
2:0 0** MCLK Sampling Frequency 000 = 128 × f
S
001 = 256 × f
S
010 = 384 × f
S
011 = 512 × f
S