ADV7180
I2C PROGRAMMING EXAMPLES
ADV7180 LQFP-64
Mode 1 CVBS Input (Composite Video on AIN2)
All standards are supported through autodetect, 8-bit, 4:2:2, ITU-R BT.656 output on P15 to P8.
Table 105. Mode 1 CVBS Input
Register Address (Hex)
Register Value (Hex) Notes
00
04
17
31
3D
3E
3F
0E
55
0E
01
57
41
02
A2
6A
A0
80
81
00
INSEL = CVBS in on AIN2
Enable SFL
Select SH1
Clear NEWAV_MODE, SAV/EAV to suit ADV video encoders
MWE enable manual window, color kill threshold to 2
BLM optimization
BGB optimization
Hidden space
ADC configuration
User space
Mode 2 S-Video Input (Y on AIN3 and C on AIN6)
All standards are supported through autodetect, 8-bit, ITU-R BT.656 output on P15 to P8.
Table 106. Mode 2 S-Video Input
Register Address (Hex)
Register Value (Hex) Notes
00
04
31
3D
3E
3F
58
0E
55
0E
08
57
02
A2
6A
A0
04
80
81
00
Insel = Y/C, Y = AIN3, C = AIN6
Enable SFL
Clear NEWAV_MODE, SAV/EAV to suit ADV video encoders
MWE enable manual window, color kill threshold to 2
BLM optimization
BGB optimization
Mandatory write. This must be performed for correct operation.
Hidden space
ADC configuration
User space
Mode 3 525i/625i YPrPb Input (Y on AIN1, Pr on AIN4, and Pb on AIN5)
All standards are supported through autodetect, 8-bit, ITU-R BT.656 output on P15 to P8.
Table 107. Mode 3 YPrPb Input
Register Address (Hex)
Register Value (Hex) Notes
00
31
3D
3E
3F
0E
55
0E
09
02
A2
6A
A0
80
81
00
INSEL = YPrPb, Y = AIN1, Pr = AIN4, Pb = AIN5
Clear NEWAV_MODE, SAV/EAV to suit ADV video encoders
MWE enable manual window
BLM optimization
ADI recommended
Hidden space
ADC configuration
User space
Rev. A | Page 106 of 112