
ADV7188
Address
0x2C
Rev. 0 | Page 82 of 112
Register
AGC Mode Control
Bit Description
CAGC[1:0]. Chroma automatic gain control
selects the basic mode of operation for the
AGC in the chroma path.
Bit
Notes
Use CMG[11:0]
Based on color burst
Use LMG[11:0]
Blank level to sync tip
Blank level to sync tip
CAGC[1:0] settings decide in which
mode CMG[11:0] operates
7 6 5 4 3 2 1 0 Comments
1 1
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
1
0 1 0 0
0 0 Manual fixed gain
0 1 Use luma gain for chroma
1 0 Automatic gain
1 1 Freeze chroma gain
Set to 1
Manual fixed gain
AGC Peak white algorithm off
AGC Peak white algorithm on
Reserved
Reserved
Reserved
Reserved
Freeze gain
Set to 1
Reserved.
LAGC[2:0]. Luma automatic gain control
selects the mode of operation for the gain
control in the luma path.
Reserved.
CMG[11:8]. Chroma manual gain can be used
to program a desired manual chroma gain.
Reading back from this register in AGC mode
gives the current gain.
Reserved.
CAGT[1:0]. Chroma automatic gain timing
allows adjustment of the chroma AGC
tracking speed.
0 0
0 1
1 0
1 1
0 0 0 0 0 0 0 0 CMG[11:0] = 750d; gain is 1 in
NTSC
CMG[11:0] = 741d; gain is 1 in PAL
x x x x LAGC[1:0] settings decide in which
mode LMG[11:0] operates
1 1
Set to 1
Slow (TC = 2 s)
Medium (TC = 1 s)
Fast (TC = 0.2 s)
Adaptive
Has an effect only if CAGC[1:0] is set to
auto gain (10)
0x2D
Chroma Gain
Control 1
0x2E
Chroma Gain
Control 2
CMG[7:0]. Chroma manual gain lower 8 bits.
See CMG[11:8] for description.
Min value is 0d (G = –60 dB)
Max value is 3750 (G = 5)
LMG[11:8]. Luma manual gain can be used to
program a desired manual chroma gain, or to
read back the actual gain value used.
Reserved.
LAGT[1:0]. Luma automatic gain timing
allows adjustment of the luma AGC tracking
speed.
0 0
0 1
1 0
1 1
x
x
1 1
x
x x x x x LMG[11:0] = 1128 dec; gain is 1 in
NTSC LMG[11:0] = 1222d; gain is 1
in PAL
Set to 1
Slow (TC = 2 s)
Medium (TC = 1 s)
Fast (TC = 0.2 s)
Adaptive
Only has an effect if LAGC[1:0] is set to
auto gain (001, 010, 011,or 100)
0x2F
Luma Gain Control 1
0x30
Luma Gain Control 2 LMG[7:0]. Luma manual gain can be used to
program a desired manual chroma gain or
read back the actual used gain value.
Min value NTSC 1024 (G = 0.90) PAL (G
= 0.84)
Max value NTSC 4095 (G = 3.63),
PAL = 4095 (G = 3.35)
HSE = HSYNC end
HSB = HSYNC begin
Reserved.
HVSTIM. Selects where within a line of video
the VS signal is asserted.
0
0
1
0 1 0 Set to default
Start of line relative to HSE
Start of line relative to HSB
EAV/SAV codes generated to suit
ADI encoders
Manual VS/Field position
controlled by Registers 0x32, 0x33,
and 0xE5–0xEA
Set to default
0 0 0 0 0 1 Set to default
0
VS goes high in the middle of the
line (even field)
1
VS changes state at the start of the
line (even field)
0
VS goes high in the middle of the
line (odd field)
1
VS changes state at the start of the
line (odd field)
0 0 0 1 0 0 Set to default
0
VS goes low in the middle of the
line (even field)
1
VS changes state at the start of the
line (even field)
0
VS goes low in the middle of the
line (odd field)
1
VS changes state at the start of the
line odd field
NEWAVMODE. Sets the EAV/SAV mode.
1
0x31
VS and FIELD
Control 1
Reserved.
Reserved.
0 0 0
NEWAVMODE bit must be set high.
VSBHE
0x32
VSYNC Field Control
2
VSBHO
Reserved.
VSEHE
NEWAVMODE bit must be set high.
0x33
VSYNC Field Control
3
VSEHO