![](http://datasheet.mmic.net.cn/310000/ADV7173KST_datasheet_16243907/ADV7173KST_28.png)
ADV7172/ADV7173
–28–
REV. A
MODE REGISTER 2 MR2 (MR27–MR20)
(Address (SR4–SR0) = 02H)
Mode Register 2 is an 8-bit-wide register.
Figure 46 shows the various operations under the control of
Mode Register 2.
MR2 BIT DESCRIPTION
RGB/YUV Control (MR20)
This bit enables the output from the small or large DACs to be
set to YUV or RGB output video standard.
Large DACs Control (MR21)
This bit controls the output from DACs A, B and C. When this
bit is set to “1,” composite, luma and chroma signals are output
from DACs A, B and C (respectively). When this bit is set to
“0,” RGB or YUV may be output from these DACs.
DAC Switching Control (MR22)
This bit is used to switch the DAC outputs from SCART to a
EuroSCART configuration. A complete table of all DAC output
configurations is shown in Table III.
Pedestal Control (MR23)
This bit specifies whether a pedestal is to be generated on the
NTSC composite video signal. This bit is invalid if the ADV7172/
ADV7173 is configured in PAL mode.
Square Pixel Mode Control (MR24)
This bit is used to set up square pixel mode. This is available in
slave mode only. For NTSC, a 24.54 MHz clock must be
supplied. For PAL, a 29.5 MHz clock must be supplied.
Standard I
2
C Control (MR25)
This bit controls the video standard used by the ADV7172/
ADV7173. When this bit is set to “1,” the video standard bits
programmed in Mode Register 0, Bits 0–1, indicate the video
standard. When this bit is set to “0,” the ADV7172/ADV7173
is forced into the standard selected by the NTSC_PAL pin.
Pixel Data Valid Control (MR26)
After reset, this bit has the value “0” and the pixel data input to
the encoder is blanked such that a black screen is output from
the DACs. The ADV7172/ADV7173 will be set to master mode
timing. When this bit is set to “1” by the user (via the I
2
C),
pixel data passes to the pins and the encoder reverts to the
timing mode defined by Timing Mode Register 0.
Sleep Mode Enable Bit (MR27)
When this bit is set (“1”), sleep mode is enabled. With this
mode enabled the ADV7172/ADV7173 power consumption is
reduced to less than 20
μ
A. The I
2
C registers can be written to
and read from when the ADV7172/ADV7173 is in sleep mode.
If “0” is written to MR27 when the device is in sleep mode, the
ADV7172/ADV7173 will come out of sleep mode and resume
normal operation. Also, if the reset signal is applied during
sleep mode, the ADV7172/ADV7173 will come out of sleep
mode and resume normal operation. This mode will only oper-
ate when MR60 is set to a Logic “1,” otherwise sleep mode is
controlled by the PAL_NTSC and SCRESET/RTC pin.
MR21
MR27
MR22
MR23
MR26
MR25
MR24
MR20
SLEEP MODE
CONTROL
MR27
0
1
DISABLE
ENABLE
STANDARD I
2
C
CONTROL
MR25
0
1
DISABLE
ENABLE
PIXEL DATA VALID
CONTROL
MR26
0
1
DISABLE
ENABLE
SQUARE PIXEL
CONTROL
MR24
0
1
DISABLE
ENABLE
SCART ENABLE
CONTROL
MR22
0
1
DISABLE
ENABLE
RGB/YUV
CONTROL
0
1
RGB OUTPUT
YUV OUTPUT
MR20
PEDESTAL
CONTROL
0
1
PEDESTAL ON
PEDESTAL OFF
MR23
LARGE DACs
CONTROL
0
1
RGB/YUV/COMP
COMP/LUMA/CHROMA
MR21
Figure 46. Mode Register 2 (MR2)
Table III. DAC Output Configuration Matrix
MR22
MR21
MR20
DAC A
DAC B
DAC C
DAC D
DAC E
DAC F
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
G
Y
CVBS
CVBS
CVBS
CVBS
CVBS
CVBS
B
U
LUMA
LUMA
B
U
LUMA
LUMA
R
V
CHROMA
CHROMA
R
V
CHROMA
CHROMA
CVBS
CVBS
G
Y
G
Y
G
Y
LUMA
LUMA
B
U
LUMA
LUMA
B
U
CHROMA
CHROMA
R
V
CHROMA
CHROMA
R
V