AD ADV7202 Simultaneous sampling video rate codec Datasheet

a
Simultaneous Sampling
Video Rate Codec
ADV7202
FEATURES
Four 10-Bit Video DACs (4:2:2, YCrCb, RGB I/P
Supported)
10-Bit Video Rate Digitization at up to 54 MHz
AGC Control (ⴞ6 dB)
Front End 3-Channel Clamp Control
Up to Five CVBS Input Channels, Two Component YUV,
Three S-Video, or a Combination of the Above. Simultaneous Digitization of Two CVBS Input Channels
Aux 8-Bit SAR ADC @ 843 kHz Sampling Giving up to
Eight General-Purpose Inputs
I2C Compatible Interface with I2C Filter
RGB Inputs for Picture-on-Picture of the RGB DACs
Optional Internal Reference
Power Save Mode
APPLICATIONS
Picture-on-Picture Video Systems
Simultaneous Video Rate Processing
Hybrid Set-Top Box TV Systems
Direct Digital Synthesis/I-Q Demodulation
Image Processing
GENERAL DESCRIPTION
The ADV7202 is a video rate sampling codec.
It has the capability of sampling up to five NTSC/PAL/SECAM
video I/P signals. The resolution on the front end digitizer is
12 bits; 2 bits (12 dB) are used for gain and offset adjustment.
The digitizer has a conversion rate of up to 54 MHz.
The ADV7202 can have up to eight auxiliary inputs that can be
sampled by an 843 kHz SAR ADC for system monitoring.
The back end consists of four 10-bit DACs that run at up to
200 MHz and can be used to output CVBS, S-Video, Component
YCrCb, and RGB.
This codec also supports Picture-on-Picture.
The ADV7202 can operate at 3.3 V or 5 V. Its monolithic CMOS
construction ensures greater functionality with lower power
dissipation.
The ADV7202 is packaged in a small 64-lead LQFP package.
FUNCTIONAL BLOCK DIAGRAM
XTAL
AIN1P
AIN1M
SHA AND
CLAMP
AIN2P
AIN2M
AIN3P
AIN3M
AIN4P
AIN4M
AIN5P
AIN5M
AIN6P
AIN6M
DOUT DAC_DATA
[9:0]
[9:0]
10-BIT
ADC BLOCK
D/A
12-BIT
12-BIT
SHA AND
CLAMP
I/P
I/P
MUX
MUX
OSD I/P “S”
DAC0
A/D
A/D
10-BIT
SHA AND
CLAMP
D/A
ADC
LOGIC
DAC1
DAC
LOGIC
10-BIT
8-BIT 843kHz
A/D
A/D
D/A
DAC2
10-BIT
D/A
DAC3
ADV7202
I2C
REV. 0
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties that
may result from its use. No license is granted by implication or otherwise
under any patent or patent rights of Analog Devices.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781/329-4700
www.analog.com
Fax: 781/326-8703
© Analog Devices, Inc., 2002
ADV7202* PRODUCT PAGE QUICK LINKS
Last Content Update: 11/29/2017
COMPARABLE PARTS
DISCUSSIONS
View a parametric search of comparable parts.
View all ADV7202 EngineerZone Discussions.
DOCUMENTATION
SAMPLE AND BUY
Application Notes
Visit the product page to see pricing options.
• AN-205: Video Formats and Required Load Terminations
• Low Cost, Two-Chip, Voltage -Controlled Amplifier and
Video Switch
TECHNICAL SUPPORT
Data Sheet
Submit a technical question or find your regional support
number.
• ADV7202: Simultaneous Sampling Video Rate CODEC
Data Sheet
DOCUMENT FEEDBACK
Submit feedback for this data sheet.
DESIGN RESOURCES
• ADV7202 Material Declaration
• PCN-PDN Information
• Quality And Reliability
• Symbols and Footprints
This page is dynamically generated by Analog Devices, Inc., and inserted into this data sheet. A dynamic change to the content on this page will not
trigger a change to either the revision number or the content of the product data sheet. This dynamic page may be frequently modified.
ADV7202–SPECIFICATIONS
5 V SPECIFICATIONS (AVDD/DVDD = 5 V ⴞ 5%, V
REF = 1.235 V, RSET = 1.2 k⍀,
Parameter
STATIC PERFORMANCE_DAC
Resolution (Each DAC)
Accuracy (Each DAC)
Integral Nonlinearity
Differential Nonlinearity
Min
Typ
–1.5
10
10
± 0.6
–0.6/0.1
VIDEO ADC
Resolution
Accuracy
Integral Nonlinearity
Differential Nonlinearity
Input Voltage Range2
SNR
AUX ADC
Resolution
Differential Nonlinearity
Integral Nonlinearity
Input Voltage Range
DIGITAL INPUTS
Input High Voltage, VINH
Input Low Voltage, VINL
Input Leakage Current, IIN
Input Capacitance, CIN
DIGITAL OUTPUTS
Output High Voltage, VOH
Output Low Voltage, VOL
Three-State Leakage Current
Output Capacitance
Digital Output Access Time, t14
Digital Output Hold Time, t15
ANALOG OUTPUTS
Output Current Range
DAC-to-DAC Matching
Output Compliance, VOC
Output Impedance, ROUT
Output Capacitance, COUT
Analog Output Delay3
DAC Output Skew
VOLTAGE REFERENCE
Reference Range, VREFDAC
Reference Range, VREFADC
Reference Range, VREFADC
Max
Unit
Test Conditions
+0.5
Bits
Bits
LSB
LSB
10-Bit Operation
10-Bit Operation
12
Bits
12
± 2.5
± 0.7
Bits
LSB
LSB
12 Bit
12 Bit
62
57
dB
dB
27 MHz Clock
54 MHz Clock
8
± 0.4
± 0.4
Bits
LSB
LSB
V
–VREFADC
2 VREFADC
2
0.8
±2
6
2.4
0.4
10
10
6
5
4.33
3
0
4.6
1.4
50
30
5.5
0.06
1.17
2.1
(Including 2 Bits for Gain Ranging)
2.2 V Ref.
+VREFADC
0
4.10
all specifications TMIN to TMAX1, unless otherwise noted.)
1.235
2.2
1.1
1.30
2.30
Guaranteed No Missing Codes
V
V
µA
pF
V
V
µA
pF
ns
ns
ISOURCE = 400 µA
ISINK = 1.6 mA
mA
%
V
kΩ
pF
ns
ns
RSET = 1.2 kΩ, RL = 300 Ω
V
V
V
See Figure 13
IOUT = 0 mA
Programmable 1.1 V or 2.2 V
NOTES
1
0°C to 70°C.
2
SHA gain = 1, half range for SHA gain = 2, see Table II.
3
Output delay measured from 50% of the rising edge of the clock to the 50% point of full-scale transition.
Specifications subject to change without notice.
–2–
REV. 0
ADV7202
5 V SPECIFICATIONS
(AVDD/DVDD = 5 V ⴞ 5%, VREF = 1.235 V, RSET = 1.2 k⍀, all specifications TMIN to TMAX, unless otherwise noted.)
Parameter
Min
Typ
Max
Unit
4.75
5
5.25
V
22
12
115
mA
mA
mA
mA
µA
ms
Test Conditions
1
POWER REQUIREMENTS
AVDD/DVDD
Normal Power Mode
IDAC2
IDSC3
IADC4
IADC4
Sleep Mode Current5
Power-Up Time
MPU PORT6—I2C
SCLOCK Frequency
SCLOCK High Pulsewidth, t1
SCLOCK Low Pulsewidth, t2
Hold Time (Start Condition), t3
Setup Time (Start Condition), t4
Data Setup Time, t5
SDATA, SCLOCK Rise Time, t6
SDATA, SCLOCK Fall Time, t7
Setup Time (Stop Condition), t8
95
65
400
4
0
0.6
1.3
0.6
400
0.6
100
300
300
0.6
NOTES
1
All DACs and ADCs on.
2
IDAC is the DAC supply current.
3
IDSC is the digital core supply current.
4
IADC is the ADC supply current.
5
This includes I ADC, IDAC, and IDSC.
6
Guaranteed by characterization.
Specifications subject to change without notice.
REV. 0
–3–
kHz
µs
µs
µs
µs
ns
ns
ns
µs
RSET = 1.2 kΩ, RL = 300 Ω
Inputs at Supply
Max Power YUV Mode
CVBS Input Mode
Internal Reference
After this period the first clock is
generated.
Relevant for Repeated Start Condition
ADV7202–SPECIFICATIONS
5 V SPECIFICATIONS (AVDD/DVDD = 4.75 V – 5.25 V, V
1
REF = 1.235 V, RSET = 1.2 k⍀, all specifications TMIN to TMAX , unless otherwise noted.)
Parameter
Min
PROGRAMMABLE GAIN
AMPLIFIER
Video ADC Gain
Typ
–6
Max
Unit
Condition2
+6
dB
Setup Conditions
3
CLAMP CIRCUITRY
Clamp Fine Source/Sink Current
Clamp Coarse Source/Sink Current
CLOCK CONTROL4
DACCLK0/DACCLK1
DACCLK15, 6, 7
DACCLK1
Data Setup Time, t127
Data Hold Time, t137
Min Clock High Time, t107
Min Clock Low Time, t117
Pipeline Delay8
Video ADC
RESET CONTROL
RESET Low Time
µA
mA
4.0
0.8
27
1.5
1.5
MHz
MHz
MHz
ns
ns
ns
ns
4
Clock Cycles
10
ns
200
27
1.5
1.5
Dual CLK Dual Edge Mode
Single Edge Single Clock Mode
4:2:2 Mode
All Input Modes
NOTES
1
Temperature range T MIN to TMAX: 0oC to 70oC.
2
The max/min specifications are guaranteed over this range. The max/min values are typical over 4.75 V to 5.25 V range.
3
External clamp capacitor = 0.1 µF.
4
TTL input values are 0 V to 3 V, with input rise/fall times ≤3 ns, measured between the 10% and 90% points. Timing reference points at 50% for inputs and outputs.
Analog output load ≤10 pF.
5
Maximum clock speed determined by setup and hold conditions.
6
Single DAC only.
7
Guaranteed by characterization.
8
Output delay measured from the 50% point of the rising edge of CLOCK to the 50% point of full-scale transition.
Specifications subject to change without notice.
–4–
REV. 0
ADV7202
3.3 V SPECIFICATIONS
(AVDD/DVDD = 3.3 V ⴞ 5%, VREF = 1.235 V, RSET = 1.2 k⍀, all specifications TMIN to TMAX1, unless otherwise noted.)
Parameter
Min
Typ
Max
Unit
Test Conditions
10-Bit Operation
10-Bit Operation
STATIC PERFORMANCE_DAC
Resolution (Each DAC)
Accuracy (Each DAC)
Integral Nonlinearity
Differential Nonlinearity
10
10
±1
–0.8/0.1
Bits
Bits
LSB
LSB
VIDEO ADC
Resolution
12
Bits
12
±4
±1
Bits
LSB
LSB
Accuracy
Integral Nonlinearity
Differential Nonlinearity
Differential Input Voltage Range2
SNR
AUX ADC
Resolution
Differential Nonlinearity
Integral Nonlinearity
Input Voltage Range
DIGITAL INPUTS
Input High Voltage, VINH
Input Low Voltage, VINL
Input Current, IIN
Input Capacitance, CIN
DIGITAL OUTPUTS
Output High Voltage, VOH
Output Low Voltage, VOL
Three-State Leakage Current
Output Capacitance
Digital Output Access Time, t14
Digital Output Hold Time, t15
ANALOG OUTPUTS
Output Current
DAC-to-DAC Matching
Output Compliance, VOC
Output Impedance, ROUT
Output Capacitance, COUT
Analog Output Delay3
DAC Output Skew
VOLTAGE REFERENCE
Reference Range, VREFADC
Reference Range, VREFDAC
–VREFADC
+VREFADC
60
55
dB
dB
8
± 0.5
± 0.5
Bits
LSB
LSB
V
0
2 VREFADC
2
0.8
±1
10
12 Bit
12 Bit
See Table II
27 MHz Clock, fIN = 100 kHz
54 MHz Clock
V
V
µA
pF
V
V
µA
pF
ns
ns
ISOURCE = 400 µA
ISINK = 1.6 mA
RSET = 1.2 kΩ, RL = 300 Ω
DAC 0, 1, and 2
50
30
5.5
0.06
mA
%
V
kΩ
pF
ns
ns
1.100
1.235
V
V
2.4
0.4
10
10
6
5
4.33
4
0
1.4
NOTES
1
0°C to 70°C.
2
SHA gain = 1, half range for SHA gain = 2, see Table II.
3
Output delay measured from 50% of the rising edge of the clock to the 50% point of full-scale transition.
Specifications subject to change without notice.
REV. 0
(Including 2 Bits for Gain Ranging)
2.2 V Ref.
–5–
See Figure 13
IOUT = 0 mA
ADV7202–SPECIFICATIONS
3.3 V SPECIFICATIONS
(AVDD/DVDD = 3.3 V ⴞ 5%, VREF = 1.235 V, RSET = 1.2 k⍀, all specifications TMIN to TMAX, unless otherwise noted.)
Parameter
Min
Typ
Max
Unit
3.14
3.3
3.46
V
Test Conditions
1
POWER REQUIREMENTS
AVDD/DVDD
Normal Power Mode
IDAC2
IDSC3
IADC4
Sleep Mode Current5
Power-Up Time
MPU PORT6—I2C
SCLOCK Frequency
SCLOCK High Pulsewidth, t1
SCLOCK Low Pulsewidth, t2
Hold Time (Start Condition), t3
Setup Time (Start Condition), t4
Data Setup Time, t5
SDATA, SCLOCK Rise Time, t6
SDATA, SCLOCK Fall Time, t7
Setup Time (Stop Condition), t8
18
8
80
350
4
0
0.6
1.3
0.6
mA
mA
mA
µA
ms
400
0.6
100
300
300
0.6
kHz
µs
µs
µs
µs
ns
ns
ns
µs
Inputs at Supply
Internal Reference
After this period, the first clock is
generated.
Relevant for Repeated Start Condition
NOTES
1
All DACs and ADCs on.
2
IDAC is the DAC supply current.
3
IDSC is the digital core supply current.
4
IADC is the ADC supply current.
5
This includes IADC, IDAC, and IDSC.
6
Guaranteed by characterization.
Specifications subject to change without notice.
–6–
REV. 0
ADV7202
3.3 V SPECIFICATIONS (AVDD/DVDD = 3.3 V ⴞ 5%, V
1
REF = 1.235 V, RSET = 1.2 k⍀, all specifications TMIN to TMAX , unless otherwise noted.)
Parameter
Min
PROGRAMMABLE GAIN
AMPLIFIER
Video ADC Gain
Typ
–6
Max
Unit
+6
dB
Condition2
3
CLAMP CIRCUITRY
Clamp Fine Source/Sink Current
Clamp Coarse Source/Sink Current
CLOCK CONTROL4
DACCLK0/DACCLK1
DACCLK15, 6, 7
DACCLK17
Data Setup Time, t12
Data Hold Time, t13
Min Clock High Time, t107
Min Clock Low Time, t117
Pipeline Delay8
Video ADC
RESET CONTROL
RESET Low Time
4
0.8
µA
mA
Up/Down
Up/Down
27
180
27
2
2
3
3
MHz
MHz
MHz
ns
ns
ns
ns
Dual CLK Dual Edge Mode
Single Edge Single Clock Mode
4:2:2 Mode
All Input Modes
4
Clock Cycles
10
ns
NOTES
1
Temperature range T MIN to TMAX: 0oC to 70oC.
2
The max/min specifications are guaranteed over this range. The max/min values are typical over 4.75 V to 5.25 V range.
3
External clamp capacitor = 0.1 µF.
4
TTL input values are 0 V to 3 V, with input rise/fall times ≤3 ns, measured between the 10% and 90% points. Timing reference points at 50% for inputs and outputs.
Analog output load ≤10 pF.
5
Maximum clock speed determined by setup and hold conditions.
6
Single DAC only.
7
Guaranteed by characterization.
8
Output delay measured from the 50% point of the rising edge of CLOCK to the 50% point of full-scale transition.
Specifications subject to change without notice.
REV. 0
–7–
ADV7202
ABSOLUTE MAXIMUM RATINGS 1
AVDD to AVSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 V
DVDD to DVSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 V
Ambient Operating Temperature (TA) . . . . . . . . 0°C to 70°C
Storage Temperature (TS) . . . . . . . . . . . . . . –65°C to +150°C
Junction Temperature (TJ) . . . . . . . . . . . . . . . . . . . . . . 150°C
Lead Temperature (Soldering, 10 secs) . . . . . . . . . . . . . 300°C
Vapor Phase Soldering (1 minute) . . . . . . . . . . . . . . . . . 220°C
IOUT to GND2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0 V to VAA
NOTES
1
Stresses above those listed under Absolute Maximum Ratings may cause permanen t
damage to the device. This is a stress rating only; functional operation of the device
at these or any other conditions above those listed in the operational sections of this
specification is not implied. Exposure to absolute maximum rating conditions for
extended periods may affect device reliability.
2
Analog output short circuit to any power supply or common can be of an indefinite
duration.
ORDERING INFORMATION
Model
Temperature Range
Package Description
Package Option
ADV7202
0°C to 70°C
64-Lead Plastic Quad Flatpack (LQFP)
ST-64
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection. Although
the ADV7202 features proprietary ESD protection circuitry, permanent damage may occur on
devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are
recommended to avoid performance degradation or loss of functionality.
WARNING!
ESD SENSITIVE DEVICE
DAC_DATA8
DAC_DATA9
DAC_DATA7
DAC_DATA5
DVDD
DVSS
DAC_DATA6
DAC_DATA4
DACCLK0
DACCLK1
DAC_DATA2
DAC_DATA3
DAC_DATA1
SDA
SYNC_OUT
DAC_DATA0
PIN CONFIGURATION
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
SYNC_IN 1
SCL 2
ALSB 3
48 RESET
PIN 1
IDENTIFIER
47 RSET
46 VREFDAC
XTAL0 4
45 COMP
XTAL1 5
AVDD_ADC 6
44 DAC0_OUT
43 DAC1_OUT
AVSS_ADC 7
AIN1P 8
42 AVDD_DAC
ADV7202
41 AVSS_DAC
TOP VIEW
(Not to Scale)
AIN1M 9
AIN2P 10
AIN2M 11
40 DAC2_OUT
39 DAC3_OUT
38 OSDIN0
AIN3P 12
AIN3M 13
37 OSDIN1
AIN4P 14
AIN4M 15
AIN5P 16
35 DOUT0
36 OSDIN2
34 DOUT1
33 DOUT2
–8–
DOUT5
DOUT4
DOUT3
DOUT7
DOUT6
DOUT8
CAP1
OSDEN
DOUT9
CML
CAP2
DVSS
REFADC
AIN6P
AIN6M
AIN5M
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
REV. 0
ADV7202
PIN FUNCTION DESCRIPTIONS
Pin No.
Mnemonic
Input/
Output
1
SYNC_IN
I
2
3
SCL
ALSB
I
I
4
XTAL0
I
5
XTAL1
O
6
7
8–19
20
21
22
AVDD_ADC
AVSS_ADC
AIN1–AIN6
DVSS
REFADC
CML
P
G
I
G
I/O
O
23, 24
CAP2, CAP1
I
25
OSDEN
I
26–35
36
37
38
39
40
41
42
43
44
45
DOUT[9:0]
OSDIN2
OSDIN1
OSDIN0
DAC3_OUT
DAC2_OUT
AVSS_DAC
AVDD_DAC
DAC1_OUT
DAC0_OUT
COMP
O
I
I
I
O
O
G
P
O
O
O
46
VREFDAC
I/O
47
RSET
I
48
49–52, 55, 56,
59–62
53
54
57, 58
63
RESET
DAC_DATA[9:0]
I
I
DVSS
DVDD
DACCLK[1:0]
SYNC_OUT
G
P
I
O
64
SDA
I/O
REV. 0
Function
This signal can be used to synchronize the updating of clamps. Polarity is programmable via I2C.
MPU Port Serial Interface Clock Input
This signal sets up the LSB of the MPU address. MPU address = 2cH, ALSB = 0,
MPU address = 2eH, ALSB = 1. When this pin is tied high, the I2C filter is activated,
which reduces noise on the I2C interface. When this pin is tied low, the input
bandwidth on the I2C lines is increased.
Input terminal for crystal oscillator or connection for external oscillator with
CMOS-compatible square wave clock signal.
Second Terminal for Crystal Oscillator. Not connected if external clock source
is used.
ADC Supply Voltage (5 V or 3.3 V)
Ground for ADC Supply
Analog Signal Inputs. Can be configured differentially or single-ended.
Ground for Digital Core Supply
Voltage Reference Input or Programmable Reference Out.
Common-Mode Level for ADCs. Connect a 0.1 µF capacitor from CML pin to
AVSS_ADC.
ADC Capacitor Network. Connect a 0.1 µF capacitor from each CAP pin to
AVSS_ADC and a 10 µF capacitor across the two CAP pins.
Enable data from OSDIN0–OSDIN2 to be switched to the outputs when set to a logic
high.
ADC Data Output
Third Input Channel for On-Screen Display
Second Input Channel for On-Screen Display
First Input Channel for On-Screen Display
General-Purpose Analog Output
Analog Output. Can be used to output CVBS, R, or U.
Ground for DAC Supply
DAC Supply Voltage (5 V or 3.3 V)
Analog Output. Can be used to output CVBS, Y, G, or Luma.
Analog Output. Can be used to output CVBS, V, B, or Chroma.
Compensation pin for DACs. Connect 0.1 µF capacitor from COMP pin to
AVDD_DAC.
DAC Voltage Reference Output Pin, Nominally 1.235 V. Can be driven by an
external voltage reference.
Used to control the amplitude of the DAC output current, 1200 Ω resistor gives an
I max of 4.33 mA.
Master Reset (Asynchronous)
DAC Input Data for Four Video Rate DACs
Ground for Digital Core Supply
Supply Voltage for Digital Core (5 V or 3.3 V)
DAC Clocks
Output Sync Signal, which goes to a high state while Cr data sample from a
YCrCb data stream or C data from a Y/C data stream is output on DOUT[9:0].
MPU Port Serial Data Input/Output
–9–
ADV7202
FUNCTIONAL DESCRIPTION
Analog Inputs
Table II. Analog Input Signal Range
The ADV7202 has the capability of sampling up to five CVBS
video input signals, two component YUV, or three S-Video
inputs. Eight auxiliary general-purpose inputs are also available.
Table I shows the analog signal input options available and programmable by I2C. When configured for auxiliary input mode,
the CVBS inputs are single-ended with the second differential
input internally set to VREFADC. The resolution on the front
end digitizer is 12 bits; 2 bits (12 dB) are used for gain and offset
adjustment. The digitizer has a conversion rate of up to 54 MHz.
The eight auxiliary inputs can be used for system monitoring, etc.
and are sampled by an 843 kHz* SAR ADC. The analog input
signal range will be dependent on the value of VREFADC and
the SHA gain see (Table II). Three on-screen display inputs
OSDIN[2:0] mux to the DAC outputs to enable support for
Picture-on-Picture applications.
Table I. Analog Input Signal Data
Register
Setting
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
Description
CVBS in on AIN1
CVBS in on AIN2
CVBS in on AIN3
Reserved
CVBS in on AIN5
CVBS in on AIN6
Y/C, Y on AIN1, C on AIN4
Y/C, Y on AIN2, C on AIN3
YUV, Y on AIN2, U on AIN3,
V on AIN6
CVBS on AIN1 and 8 AUX.
I/Ps AIN3–AIN6*.
CVBS on AIN2 and 8 AUX.
I/Ps AIN3–AIN6*.
SHA
Used
Sync_Out
I/P Mode
SHA
VREFOUT (V) Gain
Input Range (V)
Min
Max
Differential
Differential
Differential
Differential
Single-Ended
Single-Ended
Single-Ended
Single-Ended
2.2
2.2
1.1
1.1
2.2
2.2
1.1
1.1
–2.2
–1.1
–1.1
–0.55
0
1.1
0
0.55
1
2
1
2
1
2
1
2
+2.2
+1.1
+1.1
+0.55
4.4
3.3
2.2
1.65
Digital Inputs
The DAC digital inputs on the ADV7202 [9:0] are TTL
compatible. Data may be latched into the device in three different
modes, programmable via I2C.
DAC Mode 1, single clock, single edge (see Figure 10) uses only
the rising edge of DACCLK1 to latch data into the device.
DACCLK0 is a data line that goes high to indicate that the data
is for DAC0. Subsequent data-words go to the next DAC in
sequence.
0
0
1
1
0
2
0, 1
0, 1
0, 1, 2
Figure 1
Figure 1
Figure 1
DAC Mode 2, dual edge, dual clock (see Figure 11) clocks data
in on both edges of DACCLK0 and DACCLK1. Using this
option, data can be latched into the device at four times the
clock speed. All four DACs are used in this mode.
Figure 1
Figure 1
Figure 2
Figure 2
Figure 3
DAC Mode 3, 4:2:2 mode (see Figure 12). Using this option,
4:2:2 video data is latched in using DACCLK1, while DACCLK0
is used as a data line that is brought to a high state when Cr data
is input; hence Y will appear on DAC1, Cr on DAC2, and Cb
on DAC0.
0
Figure 1
0
Figure 1
Analog Outputs
*AUX inputs are single-ended. All other inputs are differential.
Analog outputs [DAC0–DAC3] consist of four 10-bit DACs that
run at up to 54 MHz or up to 200 MHz if only DAC0 is used.
These outputs can be used to output CVBS, S-Video, Component YCrCb, and RGB.
Digital Outputs
Video data will be clocked out on DOUT[9:0] on the rising edge
of XTAL0 (see Figure 13). Auxiliary data can be read out via
I2C compatible MPU port.
I2C Control
I2C operation allows both reading and writing of system registers.
Its operation is explained in detail in the MPU Port Description section.
*Fclk/32, 843 kHz for nominal 27 MHz
–10–
REV. 0
ADV7202
The first three bits give the integer value 3, hence these will be
set to ‘011.’ The remaining nine bits will have to be set to give
the fractional value 0.65, 512 ⫻ 0.65 = 333 = ‘101001101.’ From
Equation 2 it can be seen that the Clamp Level is subtracted from
the signal before AGC is applied and then added on again afterwards; hence, if the AGC Gain is set to a value of one, the result
would be as follows:
VIDEO CLAMPING AND AGC CONTROL
When analog signal clamping is required, the input signal should
be ac-coupled to the input via a capacitor, the clamping control is
via the MPU port. The AGC is implemented digitally. For correct operation, the user must program the clamp value to which
the signal has been clamped into the ADV7202 I2C Register.
This allows the user to specify which signal level is unaffected by
the AGC. The digital output signal will be a function of the ADC
output, the AGC Gain, and the Clamp Level and can be represented as follows:
DOUT = AGC Gain × [ ADC _ DATA – Clamp Level ]
+ Clamp Level
(AGC Gain = 1)
DOUT = ADC _ DATA – Clamp Level + Clamp Level
= ADC _ Data
(1)
FUNCTIONAL DESCRIPTION
Clamp and AGC Control
DOUT will be a 10-bit number (0–1023), the AGC Gain defaults
to 2 and can have a value between 0 to 7.99. The Clamp Level is a
10-bit number (0–1023) equal to the 7-bit I2C value ⫻ 16
(Clamp Level CR06-CR00); the ADC value can be regarded as
a 10-bit number (0–1023) for the equation. It should be noted
that the ADC resolution is 12 bits. The above equation is used
to give a basic perspective and is mathematically correct.
The ADV7202 has a front end 3-channel clamp control. To perform
an accurate AGC gain operation, it is necessary to know to what
level the user is clamping the black level; this value is programmable in Clamp Register 0 CR00–CR06. Each channel has a fine
and coarse clamp; the clamp direction and its duration are programmable. Synchronization of the clamps and AGC to the input
signal is possible using the SYNC_IN control pin and setting mode
Register CR14 to Logic Level “1.” Using this method, it is possible
to ensure that AGC and clamping are only applied outside the
active video area.
When the clamps are operational, Equation 1 shows how the
ADV7202 ensures that the level to which the user is clamping is
unaffected by the AGC loop. When no clamps are operational,
the operation should be regarded as a straightforward gain-andlevel shift.
Control Signals
The function and operation of the SYNC_IN signal is described in
the Clamp and AGC Control section. The SYNC_OUT will go
high while Cr data from a YCrCb data stream or C data from a Y/C
data stream has been output on DOUT[9:0] (see Figures 1 to 3).
Equation 1 maps the ADC input voltage range to its output.
AGC Gain
The AGC gain can be set to a value from 0 to 7.99. The AGC
Gain Register holds a 12-bit number that corresponds to the
required gain. The first three MSBs hold the gain integer value
while the remaining nine bits hold the gain fractional value. The
new AGC multiplier is latched when the MSB register is written
to. Example: The user requires a gain of 3.65.
I2C Filter
A selectable internal I2C filter allows significant noise reduction
on the I2C interface. In setting ALSB high, the input bandwidth
on the I2C lines is reduced and pulses of less than 50 ns are not
passed to the I2C controller. Setting ALSB low allows greater
input bandwidth on the I2C lines.
XTAL0
DOUT [9:0]
CVBS
CVBS
CVBS
CVBS
CVBS
CVBS
CVBS
SYNC_OUT
Figure 1. SYNC_OUT Output Timing, CVBS Input
XTAL0
DOUT [9:0]
Y
C
Y
C
Y
C
SYNC_OUT
Figure 2. SYNC_OUT Output Timing, Y/C (S-VIDEO) Input
REV. 0
(2)
–11–
Y
ADV7202
XTAL0
DOUT [9:0]
CR
Y
CB
Y
CR
Y
CB
SYNC_OUT
Figure 3. SYNC_OUT Output Timing, YCrCb Input
MPU PORT DESCRIPTION
A Logic “0” on the LSB of the first byte means that the master
will write information to the peripheral. A Logic “1” on the LSB
of the first byte means that the master will read information
from the peripheral.
The ADV7202 supports a 2-wire serial (I2C-compatible)
microprocessor bus driving multiple peripherals. Two inputs,
serial data (SDA) and serial clock (SCL), carry information
between any device connected to the bus. Each slave device is
recognized by a unique address. The ADV7202 has four possible slave addresses for both read and write operations. These
are unique addresses for each device and are illustrated in
Figure 4. The LSB sets either a read or write operation. Logic
Level “1” corresponds to a read operation, while Logic Level
“0” corresponds to a write operation. A1 is set by setting the
ALSB pin of the ADV7202 to Logic Level “0” or Logic Level
“1.” When ALSB is set to “0,” there is greater input bandwidth
on the I2C lines, which allows high speed data transfers on this
bus. When ALSB is set to “1,” there is reduced input bandwidth on the I2C lines, which means that pulses of less than
50 ns will not pass into the I2C internal controller. This mode is
recommended for noisy systems.
0
0
1
0
1
1
A1
The ADV7202A acts as a standard slave device on the bus. The
data on the SDA pin is eight bits long, supporting the 7-bit
addresses plus the R/W bit. It interprets the first byte as the
device address and the second byte as the starting subaddress.
The subaddresses auto-increment, allowing data to be written to
or read from the starting subaddress. A data transfer is always
terminated by a Stop condition. The user can access any unique
subaddress register one-by-one, without updating all the registers.
Stop and Start conditions can be detected at any stage during
the data transfer. If these conditions are asserted out of sequence
with normal read and write operations, they cause an immediate
jump to the idle condition. During a given SCL high period, the
user should only issue one Start condition, one Stop condition,
or a single Stop condition followed by a single Start condition. If
an invalid subaddress is issued by the user, the ADV7202 will
not issue an acknowledge and will return to the idle condition. If
in auto-increment mode, the user exceeds the highest subaddress,
the following action will be taken:
X
ADDRESS
CONTROL
SET UP BY
ALSB
1. In read mode, the highest subaddress register contents
will continue to be output until the master device issues a
no-acknowledge. This indicates the end of a read. A
no-acknowledge condition is where the SDA line is not
pulled low on the ninth pulse.
READ/WRITE
CONTROL
0
1
DISABLED
ENABLED
Figure 4. Slave Address
To control the various devices on the bus, the following protocol must be followed. First, the master initiates a data transfer by
establishing a Start condition, defined by a high-to-low transition
on SDA while SCL remains high. This indicates that an address/
data stream will follow. All peripherals respond to the Start
condition and shift the next eight bits (7-bit address + R/W bit).
The bits are transferred from MSB down to LSB. The peripheral that recognizes the transmitted address responds by pulling
the data line low during the ninth clock pulse. This is known as
an Acknowledge Bit. All other devices withdraw from the bus at
this point and maintain an idle condition. The idle condition
is where the device monitors the SDA and SCL lines waiting for
the Start condition and the correct transmitted address. The R/W
bit determines the direction of the data.
2. In write mode, the data for the invalid byte will not be
loaded into any subaddress register, a no-acknowledge will
be issued by the ADV7202, and the part will return to the
idle condition.
Figure 5 illustrates an example of data transfer for a read
sequence and the Start and Stop conditions.
SDATA
SCLOCK
–12–
S
1–7
8
9
1–7
8
9
START ADDR R/W ACK SUBADDRESS ACK
1–7
DATA
8
9
P
ACK
STOP
Figure 5. Bus Data Transfer
REV. 0
ADV7202
WRITE
SEQUENCE
S
SLAVE ADDR
A(S)
SUB ADDR
A(S)
DATA
LSB = 0
READ
SEQUENCE
S
SLAVE ADDR
A(S)
S = START BIT
P = STOP BIT
A(S)
DATA
A(S)
P
LSB = 1
SUB ADDR
A(S)
S
SLAVE ADDR
A(S) = ACKNOWLEDGE BY SLAVE
A(M) = ACKNOWLEDGE BY MASTER
A(S)
DATA
A(M)
DATA
A(M)
P
A(S) = NO-ACKNOWLEDGE BY SLAVE
A(M) = NO-ACKNOWLEDGE BY MASTER
Figure 6. Write and Read Sequence
t5
t3
t3
SDA
t6
t1
SCL
t2
t7
t4
t8
2
Figure 7. I C MPU Port Timing Diagram
t 12
DACCLK1
t 10
t10 – CLOCK HIGH TIME
t11 – CLOCK LOW TIME
t12 – DATA SETUP TIME
t13 – DATA HOLD TIME
t 13
t 11
DATA [9:0]
DACCLK0
DATA
DATA
Figure 8. Input Data Format Timing Diagram Single Clock
t 12
t 12
t 13
DACCLK0
DACCLK1
DAC_DATA[9:0]
DATA
t 13
t 12
DATA
DATA
DATA
t 13
t 13
t 12
t 11
t 10
Figure 9. Input Data Format Timing Diagram Dual Clock
REV. 0
–13–
DATA
t10 – CLOCK HIGH TIME
t11 – CLOCK LOW TIME
t12 – DATA SETUP TIME
t13 – DATA HOLD TIME
ADV7202
DIGITAL DATA INPUT TIMING DIAGRAMS
A1
A0
A2
A3
DACCLK1
AT A3, NEW DAC0 DATA
IS CLOCKED IN AND A0,
A1, AND A2 ARE SENT TO
THE DACs. DATA APPEARS
AT THE OUTPUT DACs TWO
CLOCK CYCLES AFTER
BEING SENT TO THE DACs.
DACCLK0
DAC_DATA [9:0]
DAC0
DAC1
DAC2
DAC0
DAC1
DAC2
DAC0
Figure 10. DAC Mode 1, Single Clock, Single Edge Input Data Format Timing Diagram*
*The figure shows three DAC usages. DACCLK0 is a data line that indicates the data is for DAC0.
A1
A2
A3
A4
A1 DAC1 DATA CLOCKED IN.
DACCLK0
A2 DAC2 DATA CLOCKED IN.
A3 DAC3 DATA CLOCKED IN.
DACCLK1
DAC_DATA [9:0]
DAC1
DAC2
DAC3
DAC0
DAC1
DAC2
DAC3
DAC0
A4 NEW DAC0 DATA IS
CLOCKED IN AND A0, A1,
A2, AND A3 ARE SENT TO
THE DACs. DATA APPEARS
AT THE OUTPUT TWO CLOCK
CYCLES AFTER BEING SENT
TO THE DACs.
Figure 11. DAC Mode 2, Dual Clock, Dual Edge Input Data Format Timing Diagram
A0
A1
A2
A3
A4
DACCLK1
AT A4, PREVIOUS A0, A2,
AND A3 DATA IS SENT
TO THE DACs. AT A2, A1
DATA IS SENT TO THE
DACs. DATA APPEARS AT
THE OUTPUT DACs 2 CLOCK
CYCLES AFTER BEING SENT
TO THE DACs.
DACCLK0
DAC_DATA [9:0]
DAC0
DAC1
DAC2
DAC1
DAC0
DAC1
DAC2
Figure 12. DAC Mode 3, 4:2:2 Input Data Format Timing Diagram
t 15
t 14
XTAL0
t 15
OUTPUT
ADC O/P DOUT[9:0]
SYNC_OUT, SYNC_IN
DATA
DATA
t14 – ACCESS TIME
t15 – HOLD TIME
Figure 13. Digital O/P Timing
–14–
REV. 0
ADV7202
XTAL0
DOUT [9:0]
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
Figure 14. Standard Mode Digital Data O/P Format
REGISTER ACCESS
REGISTER PROGRAMMING
The MPU can write to or read from all of the registers of the
ADV7202 except the Subaddress Registers, which are write-only.
The Subaddress Register determines which register the next read
or write operation accesses. All communications with the part
through the bus start with an access to the Subaddress Register.
A read/write operation is then performed from/to the target
address which then increments to the next address until a Stop
command on the bus is performed.
The following section describes the functionality of each register.
All registers can be read from as well as written to.
Subaddress Register (SR7–SR0)
The Communications Register is an 8-bit write-only register. After
the part has been accessed over the bus, and a read/write operation
is selected, the subaddress is set up. The Subaddress Register
determines to/from which register the operation takes place.
Figure 15 shows the various operations under the control of the
Subaddress Register. “0” should always be written to SR7.
Register Select (SR6–SR0)
These bits are set up to point to the required starting address.
SR7
SR6
SR5
SR3
SR4
SR2
SR1
ADV7202 REGISTER
ADDRESS
SR6 SR5
SR4
SR3
SR2
SR1
SR0
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
0
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
1
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
MODE REGISTER 0
MODE REGISTER 1
MODE REGISTER 2
MODE REGISTER 3
AGC REGISTER 0
AGC REGISTER 1
CLAMP REGISTER 0
CLAMP REGISTER 1
CLAMP REGISTER 2
CLAMP REGISTER 3
TIMING REGISTER
VREF ADJUST REGISTER
RESERVED
RESERVED
RESERVED
RESERVED
AUX REGISTER 0
AUX REGISTER 1
AUX REGISTER 2
AUX REGISTER 3
AUX REGISTER 4
AUX REGISTER 5
AUX REGISTER 6
AUX REGISTER 7
Figure 15. Subaddress Registers
REV. 0
–15–
SR0
ADV7202
MODE REGISTER 0
MR0 (MR07–MR00)
(Address (SR4–SR0) = 00H)
External Reference Enable (MR01)
Setting this bit to “1” enables an external voltage reference for
the ADC.
Figure 16 shows the various operations under the control of
Mode Register 0.
Voltage Reference Power-Down (MR02)
Setting this bit to “1” causes the internal DAC voltage reference to
power down.
MR0 BIT DESCRIPTION
ADC Reference Voltage (MR00)
ADC Power-Down (MR03)
This control bit is used to select the ADC reference voltage. When
this bit is set to “0,” a reference voltage of 1.1 V is selected. When
the bit is set to “1,” a reference voltage of 2.2 V is selected.
Setting this bit to “1” causes the video rate ADC to power down.
Power-Down (MR04)
Setting this bit to “1” puts the device into power-down mode.
Reserved (MR05–MR07)
Zero must be written to these bits.
MR07
MR06
MR05
MR04
MR03
MR02
ADC REF
VOLTAGE
VREF
POWER-DOWN
POWER-DOWN
MR00
MR02
MR04
0
1
MR00
MR01
0
1
NORMAL
POWER-DOWN
ADC
POWER-DOWN
MR07–MR05
0
1
1.1V
2.2V
EXT REF
ENABLE
MR03
ZERO MUST BE
WRITTEN TO
THESE BITS
0
1
NORMAL
POWER-DOWN
MR01
NORMAL
POWER-DOWN
0
1
INTERNAL
EXTERNAL
Figure 16. Mode Register 0
Dual Edge Clock (MR14)
MODE REGISTER 1
MR1 (MR17–MR10)
(Address (SR4–SR0) = 01H)
Setting this bit to “1” allows data to be read into the DACs on
both edges of the clock; hence, data may be read in at twice the
clock frequency. See Figure 17. If this bit is set to “0,” the data
will only be strobed on the rising edge of the clock.
Figure 17 shows the various operations under the control of
Mode Register 1.
Dual Clock (MR15)
MR1 BIT DESCRIPTION
DAC0 Control (MR10)
Setting this bit to “0” enables DAC0; otherwise, this DAC is
powered down.
Setting this bit to “1” allows the use of two clocks to strobe data
into the DACs. See Figure 17. It is possible to clock data in
with only one clock and use the second clock to contain timing
information.
DAC1 Control (MR11)
4:2:2 Mode (MR16)
Setting this bit to “0” enables DAC1; otherwise, this DAC is
powered down.
Setting this bit to “1” enables data to be input in 4:2:2 format.
4:2:2 mode will only work if MR14 and MR15 register bits are
set to zero.
DAC2 Control (MR12)
Setting this bit to “0” enables DAC2; otherwise, this DAC is
powered down.
DAC Input Invert (MR17)
Setting this bit to “1” causes the input data to the DACs to be
inverted allowing for an external inverting amplifier.
DAC3 Control (MR13)
Setting this bit to “0” enables DAC3; otherwise, this DAC is
powered down.
MR17
MR16
MR15
DAC I/P INVERT
MR13
DISABLE
ENABLE
0
1
4:2:2 MODE
MR16
SINGLE EDGE
DUAL EDGE
0
1
DUAL CLOCK
0
1
DAC0 CONTROL
MR12
MR15
DISABLE
ENABLE
MR10
MR11
DAC2 CONTROL
MR14
0
1
MR12
DUAL EDGE CLOCK
MR17
0
1
MR14
MR10
NORMAL
POWER-DOWN
DAC3 CONTROL
MR13
SINGLE CLK
DUAL CLK
0
1
0
1
NORMAL
POWER-DOWN
DAC1 CONTROL
MR11
NORMAL
POWER-DOWN
0
1
NORMAL
POWER-DOWN
Figure 17. Mode Register 1
–16–
REV. 0
ADV7202
MODE REGISTER 2
MR2 (MR20–MR27)
(Address (SR4–SR0) = 02H)
SHA1 Control (MR25)
Figure 18 shows the various operations under the control of
Mode Register 2.
SHA2 Control (MR26)
Setting this bit to “0” enables SHA1; otherwise, this SHA is
powered down.
Setting this bit to “0” enables SHA2; otherwise, this SHA is
powered down.
MR2 BIT DESCRIPTION
Analog Input Configuration (MR20–MR23)
AUX Control (MR27)
This control selects the analog input configuration, up to five
CVBS input channels, or two component YUV, or three S-Video
and eight auxiliary inputs. See Figure 18 for details.
Setting this bit to “0” enables the auxiliary ADC; otherwise,
Aux ADC is powered down.
SHA0 Control (MR24)
Setting this bit to “0” enables SHA0; otherwise, this SHA is
powered down (SHA = Sample and Hold Amplifier).
MR27
MR26
MR25
AUX CONTROL
MR24
MR23
MR22
SHA0 CONTROL
MR27
ANALOG INPUT CONFIGURATION
MR24
0
1
NORMAL
POWER-DOWN
0
1
SHA2 CONTROL
NORMAL
POWER-DOWN
MR23 MR22 MR21 MR20
0
0
0
0
0
0
0
0
1
1
1
SHA1 CONTROL
MR26
0
1
MR20
MR21
MR25
NORMAL
POWER-DOWN
0
1
NORMAL
POWER-DOWN
0
0
0
0
1
1
1
1
0
0
0
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
CVBS IN ON AIN1
CVBS IN ON AIN2
CVBS IN ON AIN3
RESERVED
CVBS IN ON AIN5
CVBS IN ON AIN6
Y/C IN ON AIN1, AIN4
Y/C IN ON AIN2, AIN3
YUV IN ON AIN2, AIN3, AIN6
CVBS IN ON AIN1, 8 AUX INPUTS
CVBS IN ON AIN2, 8 AUX INPUTS
Figure 18. Mode Register 2
MODE REGISTER 3
MR3 (MR30–MR37)
(Address (SR4–SR0) = 03H)
Voltage Clamp (MR33)
Figure 19 shows the various operations under the control of
Mode Register 3.
Setting this bit to “1” puts the digital outputs into high
impedance.
Setting this bit to “1” will enable the voltage clamps.
Output Enable (MR34)
MR3 BIT DESCRIPTION
Clamp Current (MR30)
SYNC Polarity (MR35)
Setting this bit to “1” enables differential mode for the analog
inputs; otherwise, the inputs are single-ended. See Figure 19.
This bit controls the polarity of the SYNC_IN pin. If the bit is set
to “0,” a logic low pulse corresponds to H-Sync. If the bit is “1,”
a logic high pulse corresponds to H-Sync. This sync in pulse can
then be used to control the synchronization of AGC/Clamping.
See AR12.
SHA Gain (MR32)
Reserved (MR36–MR37)
Setting this bit to “0” enables SHA gain of 1. If the bit is set to “1,”
the SHA gain is 2. The SHA gain will limit the input signal range.
See Figure 19.
Zero must be written to both these registers.
Setting this bit to “1” enables the halving of all clamp currents.
Analog Input Mode (MR31)
MR37
MR36
MR35
MR37–MR36
MR34
MR33
MR32
OUTPUT ENABLE
SHA GAIN
MR34
ZERO MUST BE
WRITTEN TO
THESE REGISTERS
0
1
NORMAL
HIGH Z
0
1
SYNC POLARITY
MR30
1
2
LOW
HIGH
0
1
VOLTAGE CLAMP
MR33
0
1
–17–
NORMAL
HALF
ANALOG INPUT
MR31
OFF
ON
Figure 19. Mode Register 3
REV. 0
CLAMP CURRENT
MR32
MR35
0
1
MR30
MR31
0
1
SINGLE-ENDED
DIFFERENTIAL
ADV7202
AGC REGISTER 0
AR0 (AR00–AR07)
(Address (SR4–SR0) = 04H)
AGC REGISTER 1
AR1 (AR08–AR15)
(Address (SR4–SR0) = 05H)
Figure 20 shows the various operations under the control of
AGC Register 0.
Figure 20 shows the various operations under the control of
AGC Register 1.
AR0 BIT DESCRIPTION
AGC Multiplier (AR00–AR07)
AR1 BIT DESCRIPTION
AGC Multiplier (AR08–AR11)
This register holds the last eight bits of the 12-bit AGC
multiplier word.
These registers hold the first four bits of the 12-bit AGC
multiplier word.
AGC Sync Enable (AR12)
Setting this bit to “1” forces the AGC to wait until the next sync
pulse before switching on.
Reserved (AR13–AR15)
Zero must be written to these registers.
AR07
AR15
AR14
AR13
AR12
AR11
AR05
AR10
AR04
AR03
AR09
AGC SYNC ENABLE
AR15–AR13
ZERO MUST BE
WRITTEN TO
THESE REGISTERS
AR06
AR01
AR00
AR08
AGC MULTIPLIER
AR12
0
1
AR02
AR11–AR00
OFF
ON
12-BIT AGC MULTIPLIER
AR00, HOLDS THE LSB,
AR11 THE MSB
Figure 20. AGC Registers 0–1
–18–
REV. 0
ADV7202
CLAMP REGISTER 0
CR1 BIT DESCRIPTION
Fine Clamp On Time (CR10–CR12)
CR0 (CR00–CR07)
There are three fine clamp circuits on the chip. This word
controls the number of clock cycles for which the fine clamps
are switched on per video line. The clamp is switched on after a
SYNC pulse is received on the SYNC_IN pin, provided the
relevant enabling bit is set (see CR16).
(Address (SR4–SR0) = 06H)
Figure 21 shows the various operations under the control of
Clamp Register 0.
CR0 BIT DESCRIPTION
Clamp Level/16 (CR00–CR06)
To perform an accurate AGC gain operation, it is necessary
to know to what level the user is clamping the black level. This
black level is then subtracted from the 10-bit ADC output
before gaining. It is then added on again afterwards. It should
be noted that this register is seven bit and will hold the value of
Clamp Value/16.
Coarse Clamp On Time (CR13–CR15)
Reserved (CR07)
Synchronize Clamps (CR16)
Zero must be written to this bit.
Setting this bit to “1” forces the clamps to wait until the next
sync pulse before switching on.
There are three coarse clamp circuits on the chip. This I2C
word controls the number of clock cycles for which the fine
clamps are switched on per video line. The clamp is switched on
after a SYNC pulse is received on the SYNC_IN pin, provided
the relevant enabling bit is set (see CR16).
CLAMP REGISTER 1
CR1 (CR10–CR17)
(Address (SR4–SR0) = 07H)
Reserved (CR17)
Zero must be written to this bit.
Figure 22 shows the various operations under the control of
Clamp Register 1.
CR07
CR06
CR05
CR07
CR04
CR03
CR02
CR01
CR00
CLAMP LEVEL
ZERO MUST BE
WRITTEN TO
THIS BIT
CR06–CR00
7-BIT [6:0] CLAMP LEVEL,
CR00 HOLDS THE LSB,
CR06 THE MSB
Figure 21. Clamp Register 0
CR17
CR16
CR17
ZERO MUST BE
WRITTEN TO
THIS BIT
SYNCHRONIZE
CLAMPS
CR16
0
1
OFF
ON
CR15
CR14
CR13
CR12
COARSE CLAMP ON TIME
CR15 CR14 CR13
FINE CLAMP ON TIME
CR12 CR11 CR10
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
2 CLOCK CYCLES
4 CLOCK CYCLES
8 CLOCK CYCLES
16 CLOCK CYCLES
32 CLOCK CYCLES
64 CLOCK CYCLES
128 CLOCK CYCLES
256 CLOCK CYCLES
Figure 22. Clamp Register 1
REV. 0
CR10
CR11
–19–
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
2 CLOCK CYCLES
4 CLOCK CYCLES
8 CLOCK CYCLES
16 CLOCK CYCLES
32 CLOCK CYCLES
64 CLOCK CYCLES
128 CLOCK CYCLES
256 CLOCK CYCLES
ADV7202
CLAMP REGISTER 2
CR2 (CR20–CR27)
(Address (SR4–SR0) = 08H)
Fine Clamp 1 ON/OFF (CR23)
Figure 23 shows the various operations under the control of
Clamp Register 2.
Fine Clamp 2 Up/Down (CR24)
This bit switches fine clamp number 1 on for the prescribed
number of clock cycles (CR10–CR12).
This bit controls the direction of fine clamp number 2, valid only
if the clamp is enabled.
CR2 BIT DESCRIPTION
Fine Clamp 0 Up/Down (CR20)
Fine Clamp 2 ON/OFF (CR25)
This bit controls the direction of fine clamp number 0, valid only
if the clamp is enabled.
This bit switches fine clamp number 2 on for the prescribed
number of clock cycles (CR10–CR12).
Fine Clamp 0 ON/OFF (CR21)
Reserved (CR26–CR27)
This bit switches fine clamp number 0 on for the prescribed
number of clock cycles (CR10–CR12).
Zero must be written to these registers.
Fine Clamp 1 Up/Down (CR22)
This bit controls the direction of fine clamp number 1, valid only
if the clamp is enabled.
CR27
CR26
CR25
CR24
CR23
FINE CLAMP 2 UP/DOWN
CR27–CR26
0
1
CR22
DOWN
UP
0
1
CR20
CR21
FINE CLAMP 1 UP/DOWN
CR24
ZERO MUST BE
WRITTEN TO
THESE REGISTERS
CR22
FINE CLAMP 0 UP/DOWN
CR20
DOWN
UP
0
1
FINE CLAMP 2 ON/OFF
FINE CLAMP 1 ON/OFF
FINE CLAMP 0 ON/OFF
CR25
CR23
CR21
0
1
OFF
ON
0
1
OFF
ON
0
1
DOWN
UP
OFF
ON
Figure 23. Clamp Register 2
CLAMP REGISTER 3
CR3 (CR30–CR37)
(Address (SR4–SR0) = 09H)
Coarse Clamp 1 Up/Down (CR32)
Figure 24 shows the various operations under the control of
Clamp Register 3.
Coarse Clamp 1 ON/OFF (CR33)
This bit controls the direction of coarse clamp number 1, valid
only if the clamp is enabled.
This bit switches coarse clamp number 1 on for the prescribed
number of clock cycles (CR13–CR15).
CR3 BIT DESCRIPTION
Coarse Clamp 0 Up/Down (CR30)
Coarse Clamp 2 Up/Down (CR34)
This bit controls the direction of coarse clamp number 0, valid
only if the clamp is enabled.
This bit controls the direction of coarse clamp number 2, valid
only if the clamp is enabled.
Coarse Clamp 0 ON/OFF (CR31)
Coarse Clamp 2 ON/OFF (CR35)
This bit switches coarse clamp number 0 on for the prescribed
number of clock cycles (CR13–CR15).
This bit switches coarse clamp number 2 on for the prescribed
number of clock cycles (CR13–CR15).
Reserved (CR36–CR37)
Zero must be written to these registers.
CR36
CR37
CR35
CR34
CR33
COARSE CLAMP 2 UP/DOWN
CR37–CR36
ZERO MUST BE
WRITTEN TO
THESE REGISTERS
COARSE CLAMP 0 UP/DOWN
CR32
DOWN
UP
0
1
CR30
CR31
COARSE CLAMP 1 UP/DOWN
CR34
0
1
CR32
CR30
DOWN
UP
0
1
DOWN
UP
COARSE CLAMP 2 ON/OFF
COARSE CLAMP 1 ON/OFF
COARSE CLAMP 0 ON/OFF
CR35
CR33
CR31
0
1
OFF
ON
0
1
OFF
ON
0
1
OFF
ON
Figure 24. Clamp Register 3
–20–
REV. 0
ADV7202
TIMING REGISTER
TR (TR00–TR07)
(Address (SR4–SR0) = 0AH)
Duty Cycle Equalizer (TR03)
When this bit is set to “1,” the clock duty cycle equalizer circuit
is active. This will only have an effect on the ADC operation.
The digital core clock will not be affected.
Figure 25 shows the various operations under the control of the
Timing Register.
Clock Delay (TR05–TR06)
Using these two bits, it is possible to insert a delay in the clock
signal to the digital core. These bits control the insertion of
the delay.
TR BIT DESCRIPTION
Crystal Oscillator Circuit (TR00)
If this bit is set to “0,” the internal oscillator circuit will be
disabled. Disabling the oscillator circuit is possible when an
external clock module is used, thus saving power.
Reserved (TR02, TR04, TR07)
Zero must be written to the bits in these registers.
ADC Bias Currents (TR01)
If this bit is set to “1,” all analog bias currents will be doubled.
TR07
TR06
TR05
TR04
TR02
TR03
CRYSTAL
OSCILLATOR CIRCUIT
TR07
TR04
TR02
ZERO MUST BE
WRITTEN TO
THIS BIT
ZERO MUST BE
WRITTEN TO
THIS BIT
ZERO MUST BE
WRITTEN TO
THIS BIT
DUTY CYCLE
EQUALIZER
CLOCK DELAY
TR06 TR05
0
0
1
1
0
1
0
1
TR03
0ns
4ns
6ns
8ns
0
1
TR00
TR01
TR00
0
1
DISABLE
ENABLE
ADC BIAS
CURRENTS
TR01
INACTIVE
ACTIVE
0
1
NORMAL
DOUBLE
Figure 25. Timing Register 0
VREF ADJUST REGISTER
VR (VR00–VR07)
(Address (SR4–SR0) = 0BH)
ADC Reference Voltage Adjust (VR04–VR06)
Figure 26 shows the various operations under the control of the
VREF Adjust Register.
Reserved (VR07)
By setting the value of this 3-bit word, it is possible to trim the
ADC internal voltage reference VREFADC.
Zero must be written to this register.
VR BIT DESCRIPTION
Reserved (VR00)
This register is reserved and “1” must be written to this bit.
Reserved (VR01–VR03)
Zero must be written to these registers.
VR07
VR06
VR05
VR03
VR04
VR07
VR02
VR03–VR01
ZERO MUST BE
WRITTEN TO
THIS BIT
ZERO MUST BE
WRITTEN TO
THESE BITS
ADC REFERENCE VOLTAGE ADJUST
VR06 VR05
VR04
0
0
0
0
1
1
1
1
0
1
0
1
0
1
0
1
0
0
1
1
0
0
1
1
DEFAULT NOMINAL
+14mV
+28mV
+42mV
–14mV
–28mV
–42mV
–56mV
Figure 26. ADC VREF Register
REV. 0
–21–
VR01
VR00
VR00
ONE MUST BE
WRITTEN TO
THIS BIT
ADV7202
AUXILIARY MONITORING REGISTERS
AU (AU00–AU07)
(Address (SR4–SR0) = 10H)
There are eight Auxiliary Monitoring Registers. These registers
are read-only; when the device is configured for auxiliary inputs,
AU07
AU06
AU05
AU04
they will display a value corresponding to the converted auxiliary
input. Auxiliary Register 0 will contain the value of the converted auxiliary 0 input, Auxiliary Register 1 the value of the
converted auxiliary 1 input, and so on to Auxiliary Register 7.
AU03
AU02
AU01
AU00
AU09
AU08
AU17
AU16
AU25
AU24
AUX REGISTER 0
AU07–AU00
8-BIT [7:0] VALUE
CORRESPONDING TO
AUX0 INPUT VALUE
Figure 27. AUX Register 0
AU15
AU14
AU13
AU12
AU11
AU10
AUX REGISTER 1
AU15–AU08
8-BIT [7:0] VALUE
CORRESPONDING TO
AUX1 INPUT VALUE
Figure 28. AUX Register 1
AU23
AU22
AU21
AU20
AU19
AU18
AUX REGISTER 2
AU23–AU16
8-BIT [7:0] VALUE
CORRESPONDING TO
AUX2 INPUT VALUE
Figure 29. AUX Register 2
AU31
AU30
AU29
AU28
AU27
AU26
AUX REGISTER 3
AU31–AU24
8-BIT [7:0] VALUE
CORRESPONDING TO
AUX3 INPUT VALUE
Figure 30. AUX Register 3
–22–
REV. 0
ADV7202
AU39
AU38
AU37
AU36
AU35
AU34
AU33
AU32
AU41
AU40
AU49
AU48
AU57
AU56
AUX REGISTER 4
AU39–AU32
8-BIT [7:0] VALUE
CORRESPONDING TO
AUX4 INPUT VALUE
Figure 31. AUX Register 4
AU47
AU46
AU45
AU44
AU43
AU42
AUX REGISTER 5
AU47–AU40
8-BIT [7:0] VALUE
CORRESPONDING TO
AUX5 INPUT VALUE
Figure 32. AUX Register 5
AU55
AU54
AU53
AU52
AU51
AU50
AUX REGISTER 6
AU55–AU48
8-BIT [7:0] VALUE
CORRESPONDING TO
AUX6 INPUT VALUE
Figure 33. AUX Register 6
AU63
AU62
AU61
AU60
AU59
AU58
AUX REGISTER 7
AU63–AU56
8-BIT [7:0] VALUE
CORRESPONDING TO
AUX7 INPUT VALUE
Figure 34. AUX Register 7
REV. 0
–23–
ADV7202
CLAMP CONTROL
The clamp control has two modes of operation, if the synchronize
clamp control bit CR16 (Bit-6 address 07h) is set, then the clamps
that are enabled will be switched on for the programmed time when
triggered by the Sync_IN control signal, this control signal is edge
detected and its polarity can be set by MR35 (Bit 5 Address 03h).
If the synchronize clamp control bit is set to zero, when enabled
each clamp will switch on for the programmed time. The clamp
control bits are edge detected and the bits must first be reset to
zero before the clamps can be switched on again.
DAC TERMINATION AND LAYOUT CONSIDERATIONS
Resistor RSET is connected between the RSET pin and AVSS
and is used to control the amplitude of the DAC output current.
I MAX = 5.196 RSET Amps
(3)
Therefore, a recommended RSET value of 1200 Ω will enable an
IMAX of 4.43 mA. VMAX = RLOAD × IMAX, RLOAD should have a
value of 300 Ω.
The ADV7202 has four analog outputs—DAC0, DAC1, DAC2,
and DAC3. For cable driving the DACs should be used with an
external buffer. Suitable op amps are the AD8057 or AD8061.
PC BOARD LAYOUT CONSIDERATIONS
Power planes should encompass a digital power plane (DVDD)
and an analog power plane (AVDD). The analog power plane
should contain the ADCs and all associated circuitry, including VREF circuitry. The digital power plane should contain all
logic circuitry. The analog and digital power planes should be
individually connected to the common power plane at one single
point through a suitable filtering device such as a ferrite bead.
DAC output traces on a PCB should be treated as transmission
lines. It is recommended that the DACs be placed as close as possible to the output connector, with the analog output traces being
as short as possible (less than three inches). The DAC termination
resistors should be placed as close as possible to the DAC outputs
and should overlay the PCB’s ground plane. As well as minimizing
reflections, short analog output traces will reduce noise pickup
due to neighboring digital circuitry.
Supply Decoupling
Noise on the analog power plane can be further reduced by the
use of decoupling capacitors.
Optimum performance is achieved by the use of 0.1 µF ceramic
capacitors. Each of the group of AVDD or DVDD pins should be
individually decoupled to ground. This should be done by placing
the capacitors as close as possible to the device with the capacitor
leads as short as possible, thus minimizing lead inductance.
The ADV7202 is optimally designed for the lowest noise performance, both radiated and conducted noise. To complement the
excellent noise performance of the ADV7202, it is imperative
that great care be given to the PC board layout.
Digital Signal Interconnect
The layout should be optimized for lowest noise on the ADV7202
power and ground lines. This can be achieved by shielding the
digital inputs and providing good decoupling. The lead length
between groups of AVDD, AVSS, DVDD, and DVSS pins
should be kept as short as possible to minimize inductive ringing.
Due to the high clock rates used, long clock lines to the ADV7202
should be avoided to minimize noise pickup.
It is recommended that a four-layer printed circuit board be
used, with power and ground planes separating the layer of the
signal carrying traces of the components and solder side layer.
Placement of components should be considered to separate noisy
circuits, such as crystal clocks, high speed logic circuitry, and
analog circuitry.
Analog Signal Interconnect
There should be separate analog and digital ground planes
(AVSS and DVSS).
The digital signal lines should be isolated as much as possible from
the analog outputs and other analog circuitry. Digital signal lines
should not overlay the analog power plane.
Any active pull-up termination resistors for the digital inputs
should be connected to the digital power plane and not the analog
power plane.
The ADV7202 should be located as close as possible to the output
connectors, thus minimizing noise pickup and reflections due to
impedance mismatch.
For optimum performance, the analog outputs should each be
source and load terminated, as shown in Figure 35. The termination
resistors should be as close as possible to the ADV7202 to minimize
reflections.
Any unused inputs should be tied to the ground.
–24–
REV. 0
ADV7202
POWER SUPPLY DECOUPLING
FOR EACH POWER SUPPLY GROUP
AVDD
0.1␮F
10␮F
AVDD
DVDD
DVDD
0.1␮F
0.1␮F
10␮F
6, 42
54
46
45
COMP
0.1␮F
VREFDAC AVDD
DVDD
AIN1–AIN6
DAC0 44
300⍀
DOUT[9:0]
DAC1 43
DAC_DATA[9:0]
300⍀
0.1␮F
UNUSED INPUTS
SHOULD BE
GROUNDED
ⴙ
10␮F
0.1␮F
24 CAP1
DAC2 40
300⍀
23 CAP2
ADV7202
DAC3 39
DVDD
300⍀
4.7k⍀
3 ALSB
SCL
DVDD
5k⍀
MPU BUS
SDA 64
48 RESET
CML 22
4.7␮F
6.3V
27MHz CLOCK
OSDEN
25
4.7k⍀
0.1␮F
REFADC 21
4 XTAL0
DVDD
AVSS
DVSS
7, 41
10␮F
RSET 47
53, 20
1.2k⍀
Figure 35. Suggested Schematic
REV. 0
5k⍀
2
100⍀
4.7k⍀
ⴙ
DVDD DVDD
100⍀
–25–
0.1␮F
ADV7202
OUTLINE DIMENSIONS
64-Lead Plastic Quad Flatpack [LQFP]
(ST-64B)
Dimensions shown in millimeters
0.75
0.60
0.45
12.00 BSC
1.60
MAX
64
49
1
48
SEATING
PLANE
TOP VIEW
10.00 BSC
(PINS DOWN)
1.45
1.40
1.35
0.15
0.05
0.20
0.09
SEATING
PLANE
7ⴗ
3.5ⴗ
0ⴗ
0.08 MAX
COPLANARITY
VIEW A
16
33
32
17
0.50
BSC
VIEW A
ROTATED 90ⴗ CCW
0.27
0.22
0.17
COMPLIANT TO JEDEC STANDARDS MS-026BCD
–26–
REV. 0
–27–
–28–
PRINTED IN U.S.A.
C02602–0–10/02(0)
Similar pages