Professional Documents
Culture Documents
Rev. C
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. Specifications subject to change without notice. No One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Tel: 781.329.4700 www.analog.com
Trademarks and registered trademarks are the property of their respective owners. Fax: 781.461.3113 ©2006-2012 Analog Devices, Inc. All rights reserved.
ADV7340/ADV7341 Data Sheet
TABLE OF CONTENTS
Features .............................................................................................. 1 SD Subcarrier Frequency Lock ................................................. 55
Applications ....................................................................................... 1 SD VCR FF/RW Sync ................................................................ 55
Revision History ............................................................................... 4 Vertical Blanking Interval ......................................................... 55
General Description ......................................................................... 5 SD Subcarrier Frequency Control ............................................ 56
Functional Block Diagram .............................................................. 6 SD Noninterlaced Mode ............................................................ 56
Specifications..................................................................................... 7 SD Square Pixel Mode ............................................................... 56
Power Supply and Voltage Specifications .................................. 7 Filters............................................................................................ 57
Voltage Reference Specifications ................................................ 7 ED/HD Test Pattern Color Controls ....................................... 58
Input Clock Specifications .......................................................... 7 Color Space Conversion Matrix ............................................... 59
Analog Output Specifications ..................................................... 8 SD Luma and Color Scale Control ........................................... 60
Digital Input/Output Specifications—3.3 V ............................. 8 SD Hue Adjust Control.............................................................. 60
Digital Input/Output Specifications—1.8 V ............................. 8 SD Brightness Detect ................................................................. 61
Digital Timing Specifications—3.3 V ........................................ 9 SD Brightness Control ............................................................... 61
Digital Timing Specifications—1.8 V ...................................... 10 SD Input Standard Autodetection ............................................ 61
MPU Port Timing Specifications ............................................. 11 Double Buffering ........................................................................ 62
Power Specifications .................................................................. 11 Programmable DAC Gain Control .......................................... 62
Video Performance Specifications ........................................... 12 Gamma Correction .................................................................... 62
Timing Diagrams ............................................................................ 13 ED/HD Sharpness Filter and Adaptive Filter Controls........ 64
Absolute Maximum Ratings .......................................................... 21 ED/HD Sharpness Filter and Adaptive Filter Application
Thermal Resistance .................................................................... 21 Examples ...................................................................................... 65
Pin Configuration and Function Descriptions ........................... 22 SD Active Video Edge Control ................................................. 67
Typical Performance Characteristics ........................................... 24 External Horizontal and Vertical Synchronization Control . 69
Subaddress Register (SR7 to SR0) ............................................ 31 Pixel and Control Port Readback ............................................. 71
Enhanced Definition/High Definition Only .......................... 51 Printed Circuit Board Layout and Design .................................. 73
MULTIPLEXER
VIDEO DEINTERLEAVE MATRIX PROGRAMMABLE 16× 12-BIT
ADD SIN/COS DDS DAC 3
DATA CHROMINANCE FILTER DAC 3
BURST BLOCK
FILTER
R 12-BIT
RGB RGB DAC 4
ASYNC DAC 4
BYPASS
G/B
12-BIT DAC 5
YCbCr DAC 5
8-/10-/16-/20-/ PROGRAMMABLE YCbCr
24-/30-BIT SDR/DDR HDTV FILTERS TO
ED/HD ED/HD INPUT RGB MATRIX 4×
HDTV FILTER
4:2:2 TO 4:4:4 TEST SHARPNESS AND 12-BIT DAC 6
DEINTERLEAVE PATTERN ADAPTIVE FILTER DAC 6
VIDEO
DATA GENERATOR CONTROL
06398-001
P_HSYNC P_VSYNC P_BLANK S_HSYNC S_VSYNC CLKIN (2) PVDD PGND EXT_LF (2) VREF COMP (2)
Figure 1.
SPECIFICATIONS
POWER SUPPLY AND VOLTAGE SPECIFICATIONS
All specifications TMIN to TMAX (−40°C to +85°C), unless otherwise noted.
Table 2.
Parameter Min Typ Max Unit
SUPPLY VOLTAGES
VDD 1.71 1.8 1.89 V
VDD_IO 1.71 3.3 3.63 V
PVDD 1.71 1.8 1.89 V
VAA 2.6 3.3 3.465 V
POWER SUPPLY REJECTION RATIO 0.002 %/%
Table 3.
Parameter Min Typ Max Unit
Internal Reference Range, VREF 1.186 1.248 1.31 V
External Reference Range, VREF 1.15 1.235 1.31 V
External VREF Current 1 ±10 µA
1
External current required to overdrive internal VREF.
Table 4.
Parameter Conditions 1 Min Typ Max Unit
fCLKIN_A SD/ED 27 MHz
fCLKIN_A ED (at 54 MHz) 54 MHz
fCLKIN_A HD 74.25 MHz
fCLKIN_B ED 27 MHz
fCLKIN_B HD 74.25 MHz
CLKIN_A High Time, t9 40 % of one clock cycle
CLKIN_A Low Time, t10 40 % of one clock cycle
CLKIN_B High Time, t9 40 % of one clock cycle
CLKIN_B Low Time, t10 40 % of one clock cycle
CLKIN_A Peak-to-Peak Jitter Tolerance 2 ±ns
CLKIN_B Peak-to-Peak Jitter Tolerance 2 ±ns
1
SD = standard definition, ED = enhanced definition (525p/625p), HD = high definition.
Table 5.
Parameter Conditions Min Typ Max Unit
Full-Drive Output Current (Full-Scale) RSET = 510 Ω, RL = 37.5 Ω 33 34.6 37 mA
DAC 1, DAC 2, DAC 3 enabled 1
RSET = 510 Ω, RL = 37.5 Ω 33 33.5 37 mA
DAC 1 enabled only 2
Low-Drive Output Current (Full-Scale) 3 RSET = 4.12 kΩ, RL = 300 Ω 4.1 4.3 4.5 mA
DAC-to-DAC Matching DAC 1 to DAC 6 1.0 %
Output Compliance, VOC 0 1.4 V
Output Capacitance, COUT DAC 1, DAC 2, DAC 3 10 pF
DAC 4, DAC 5, DAC 6 6 pF
Analog Output Delay 4 DAC 1, DAC 2, DAC 3 8 ns
DAC 4, DAC 5, DAC 6 6 ns
DAC Analog Output Skew DAC 1, DAC 2, DAC 3 2 ns
DAC 4, DAC 5, DAC 6 1 ns
1
Applicable to full-drive capable DACs only, that is, DAC 1, DAC 2, DAC 3.
2
The recommended method of bringing this typical value back to the ideal value is by adjusting Register 0x0B to the recommended value of 0x12.
3
Applicable to all DACs.
4
Output delay measured from the 50% point of the rising edge of the input clock to the 50% point of the DAC output full-scale transition.
Table 6.
Parameter Conditions Min Typ Max Unit
Input High Voltage, VIH 2.0 V
Input Low Voltage, VIL 0.8 V
Input Leakage Current, IIN VIN = VDD_IO ±10 µA
Input Capacitance, CIN 4 pF
Output High Voltage, VOH ISOURCE = 400 µA 2.4 V
Output Low Voltage, VOL ISINK = 3.2 mA 0.4 V
Three-State Leakage Current VIN = 0.4 V, 2.4 V ±1.0 µA
Three-State Output Capacitance 4 pF
Table 7.
Parameter Conditions Min Typ Max Unit
Input High Voltage, VIH 0.7 VDD_IO V
Input Low Voltage, VIL 0.3 VDD_IO V
Input Capacitance, CIN 4 pF
Output High Voltage, VOH ISOURCE = 400 µA VDD_IO – 0.4 V
Output Low Voltage, VOL ISINK = 3.2 mA 0.4 V
Three-State Output Capacitance 4 pF
Table 8.
Parameter Conditions 1 Min Typ Max Unit
VIDEO DATA AND VIDEO CONTROL PORT 2, 3
Data Input Setup Time, t11 4 SD 2.1 ns
ED/HD-SDR 2.3 ns
ED/HD-DDR 2.3 ns
ED (at 54 MHz) 1.7 ns
Data Input Hold Time, t124 SD 1.0 ns
ED/HD-SDR 1.1 ns
ED/HD-DDR 1.1 ns
ED (at 54 MHz) 1.0 ns
Control Input Setup Time, t114 SD 2.1 ns
ED/HD-SDR or ED/HD-DDR 2.3 ns
ED (at 54 MHz) 1.7 ns
Control Input Hold Time, t124 SD 1.0 ns
ED/HD-SDR or ED/HD-DDR 1.1 ns
ED (at 54 MHz) 1.0 ns
Control Output Access Time, t134 SD 12 ns
ED/HD-SDR, ED/HD-DDR or ED (at 54 MHz) 10 ns
Control Output Hold Time, t144 SD 4.0 ns
ED/HD-SDR, ED/HD-DDR or ED (at 54 MHz) 3.5 ns
PIPELINE DELAY 5
SD1
CVBS/YC Outputs (2×) SD oversampling disabled 68 Clock cycles
CVBS/YC Outputs (16×) SD oversampling enabled 67 Clock cycles
Component Outputs (2×) SD oversampling disabled 78 Clock cycles
Component Outputs (16×) SD oversampling enabled 84 Clock cycles
ED1
Component Outputs (1×) ED oversampling disabled 41 Clock cycles
Component Outputs (8×) ED oversampling enabled 46 Clock cycles
HD1
Component Outputs (1×) HD oversampling disabled 40 Clock cycles
Component Outputs (4×) HD oversampling enabled 44 Clock cycles
1
SD = standard definition, ED = enhanced definition (525p/625p), HD = high definition, SDR = single data rate, DDR = dual data rate.
2
Video data: C[9:0], Y[9:0], and S[9:0].
3
Video control: P_HSYNC, P_VSYNC, P_BLANK, S_HSYNC, and S_VSYNC.
4
Guaranteed by characterization.
5
Guaranteed by design.
Table 9.
Parameter Conditions 1 Min Typ Max Unit
VIDEO DATA AND VIDEO CONTROL PORT 2, 3
Data Input Setup Time, t11 4 SD 1.4 ns
ED/HD-SDR 1.9 ns
ED/HD-DDR 1.9 ns
ED (at 54 MHz) 1.6 ns
Data Input Hold Time, t124 SD 1.4 ns
ED/HD-SDR 1.5 ns
ED/HD-DDR 1.5 ns
ED (at 54 MHz) 1.3 ns
Control Input Setup Time, t114 SD 1.4 ns
ED/HD-SDR or ED/HD-DDR 1.2 ns
ED (at 54 MHz) 1.0 ns
Control Input Hold Time, t124 SD 1.4 ns
ED/HD-SDR or ED/HD-DDR 1.0 ns
ED (at 54 MHz) 1.0 ns
Control Output Access Time, t134 SD 13 ns
ED/HD-SDR, ED/HD-DDR or ED (at 54 MHz) 12 ns
Control Output Hold Time, t144 SD 4.0 ns
ED/HD-SDR, ED/HD-DDR or ED (at 54 MHz) 5.0 ns
PIPELINE DELAY 5
SD1
CVBS/YC Outputs (2×) SD oversampling disabled 68 Clock cycles
CVBS/YC Outputs (16×) SD oversampling enabled 67 Clock cycles
Component Outputs (2×) SD oversampling disabled 78 Clock cycles
Component Outputs (16×) SD oversampling enabled 84 Clock cycles
ED1
Component Outputs (1×) ED oversampling disabled 41 Clock cycles
Component Outputs (8×) ED oversampling enabled 46 Clock cycles
HD1
Component Outputs (1×) HD oversampling disabled 40 Clock cycles
Component Outputs (4×) HD oversampling enabled 44 Clock cycles
1
SD = standard definition, ED = enhanced definition (525p/625p), HD = high definition, SDR = single data rate, DDR = dual data rate.
2
Video data: C[9:0], Y[9:0], and S[9:0].
3
Video control: P_HSYNC, P_VSYNC, P_BLANK, S_HSYNC, and S_VSYNC.
4
Guaranteed by characterization.
5
Guaranteed by design.
Table 10.
Parameter Conditions Min Typ Max Unit
MPU PORT, I2C MODE 1 See Figure 19
SCL Frequency 0 400 kHz
SCL High Pulse Width, t1 0.6 µs
SCL Low Pulse Width, t2 1.3 µs
Hold Time (Start Condition), t3 0.6 µs
Setup Time (Start Condition), t4 0.6 µs
Data Setup Time, t5 100 ns
SDA, SCL Rise Time, t6 300 ns
SDA, SCL Fall Time, t7 300 ns
Setup Time (Stop Condition), t8 0.6 µs
1
Guaranteed by characterization.
POWER SPECIFICATIONS
VDD = 1.8 V, PVDD = 1.8 V, VAA = 3.3 V, VDD_IO = 3.3 V, TA = 25°C.
Table 11.
Parameter Conditions Min Typ Max Unit
NORMAL POWER MODE 1, 2
IDD 3 SD only (16× oversampling) 90 mA
ED only (8× oversampling) 4 65 mA
HD only (4× oversampling)4 91 mA
SD (16× oversampling) and ED (8× oversampling) 95 mA
SD (16× oversampling) and HD (4× oversampling) 122 mA
IDD_IO 1 mA
IAA 5 Three DACs enabled (ED/HD only) 124 mA
Six DACs enabled (SD only and simultaneous modes ) 140 mA
IPLL SD only, ED only, or HD only modes 5 mA
Simultaneous modes 10 mA
SLEEP MODE
IDD 5 µA
IAA 0.3 µA
IDD_IO 0.2 µA
IPLL 0.1 µA
1
RSET1 = 510 Ω (DAC 1, DAC 2, and DAC 3 operating in full-drive mode). RSET2 = 4.12 kΩ (DAC 4, DAC 5, and DAC 6 operating in low-drive mode).
2
75% color bar test pattern applied to pixel data pins.
3
IDD is the continuous current required to drive the digital core.
4
Applicable to both single data rate (SDR) and dual data rate (DDR) input modes.
5
IAA is the total current required to supply all DACs.
Table 12.
Parameter Conditions Min Typ Max Unit
STATIC PERFORMANCE
Resolution 12 Bits
Integral Nonlinearity RSET1 = 510 Ω, RL1 = 37.5 Ω 0.75 LSBs
RSET2 = 4.12 kΩ, RL2 = 300 Ω 1 LSBs
Differential Nonlinearity 1 +ve RSET1 = 510 Ω, RL1 = 37.5 Ω 0.25 LSBs
RSET2 = 4.12 kΩ, RL2 = 300 Ω 0.8 LSBs
Differential Nonlinearity1 −ve RSET1 = 510 Ω, RL1 = 37.5 Ω 0.43 LSBs
RSET2 = 4.12 kΩ, RL2 = 300 Ω 0.35 LSBs
STANDARD DEFINTION (SD) MODE
Luminance Nonlinearity 0.35 ±%
Differential Gain NTSC 0.3 %
Differential Phase NTSC 0.4 Degrees
SNR Luma ramp 63 dB
SNR Flat field full bandwidth 79.5 dB
ENHANCED DEFINITION (ED) MODE
Luma Bandwidth 12.5 MHz
Chroma Bandwidth 5.8 MHz
HIGH DEFINITION (HD) MODE
Luma Bandwidth 30 MHz
Chroma Bandwidth 13.75 MHz
1
Differential nonlinearity (DNL) measures the deviation of the actual DAC output voltage step from the ideal. For +ve DNL, the actual step value lies above the ideal
step value. For −ve DNL, the actual step value lies below the ideal step value.
TIMING DIAGRAMS
The following abbreviations are used in Figure 2 to Figure 13: • t13 = control output access time
• t9 = clock high time • t14 = control output hold time
• t10 = clock low time In addition, refer to Table 36 for the ADV7340/ADV7341 input
• t11 = data setup time configuration.
• t12 = data hold time
CLKIN_A
t9 t10 t12
CONTROL S_HSYNC,
INPUTS IN SLAVE MODE
S_VSYNC
t14
06398-002
*SELECTED BY SUBADDRESS 0x01, BIT 7.
Figure 2. SD Only, 8-/10-Bit, 4:2:2 YCrCb Pixel Input Mode (Input Mode 000)
CLKIN_A
t9 t10 t12
CONTROL S_HSYNC,
IN SLAVE MODE
INPUTS S_VSYNC
S9 TO S0/ Y2
Y9 TO Y0* Y0 Y1 Y3
t14
Figure 3. SD Only, 16-/20-Bit, 4:2:2 YCrCb Pixel Input Mode (Input Mode 000)
t9 t10 t12
CONTROL S_HSYNC,
INPUTS S_VSYNC
Y9 TO Y2/ G0 G1 G2
Y9 TO Y0
C9 TO C2/ B0 B1 B2
C9 TO C0
t11
S9 TO S2/
S9 TO S0 R0 R1 R2
CONTROL
OUTPUTS
t14
06398-004
t13
Figure 4. SD Only, 24-/30-Bit, 4:4:4 RGB Pixel Input Mode (Input Mode 000)
CLKIN_A
t9 t10 t12
P_HSYNC,
CONTROL
INPUTS P_VSYNC,
P_BLANK
Y9 TO Y2/ Y0 Y1 Y2 Y3 Y4 Y5
Y9 TO Y0
06398-005
t14
Figure 5. ED/HD-SDR Only, 16-/20-Bit, 4:2:2 YCrCb Pixel Input Mode (Input Mode 001)
CLKIN_A
t9 t10 t12
P_HSYNC,
CONTROL
INPUTS P_VSYNC,
P_BLANK
Y9 TO Y2/ Y0 Y1 Y2 Y3 Y4 Y5
Y9 TO Y0
t11
CONTROL
OUTPUTS
t14
06398-006
t13
Figure 6. ED/HD-SDR Only, 24-/30-Bit, 4:4:4 YCrCb Pixel Input Mode (Input Mode 001)
t9 t10 t12
P_HSYNC,
CONTROL
INPUTS P_VSYNC,
P_BLANK
Y9 TO Y2/ G0 G1 G2 G3 G4 G5
Y9 TO Y0
C9 TO C2/ B0 B1 B2 B3 B4 B5
C9 TO C0
t11
S9 TO S2/ R0 R1 R2 R3 R4 R5
S9 TO S0
CONTROL
OUTPUTS
t14
06398-007
t13
Figure 7. ED/HD-SDR Only, 24-/30-Bit, 4:4:4 RGB Pixel Input Mode (Input Mode 001)
CLKIN_A*
t9 t10
P_HSYNC,
CONTROL
INPUTS P_VSYNC,
P_BLANK
t12 t12
t11
t11 t13
CONTROL
OUTPUTS
t14
06398-008
*LUMA/CHROMA CLOCK RELATIONSHIP CAN BE INVERTED
USING SUBADDRESS 0x01, BITS 1 AND 2.
Figure 8. ED/HD-DDR Only, 8-/10-Bit, 4:2:2 YCrCb (HSYNC/VSYNC) Pixel Input Mode (Input Mode 010)
CLKIN_A*
t9 t10
Y9 TO Y2/
3FF 00 00 XY Cb0 Y0 Cr0 Y1
Y9 TO Y0
t12 t12
t11
t11 t13
CONTROL
OUTPUTS
t14
06398-009
Figure 9. ED/HD-DDR Only, 8-/10-Bit, 4:2:2 YCrCb (EAV/SAV) Pixel Input Mode (Input Mode 010)
t9 t10 t12
P_HSYNC,
CONTROL
INPUTS P_VSYNC,
P_BLANK
CLKIN_A
t9 t10 t12
CONTROL S_HSYNC,
INPUTS S_VSYNC
SD INPUT
S9 TO S2/
Cb0 Y0 Cr0 Y1 Cb2 Y2 Cr2
06398-010
S9 TO S0
t11
Figure 10. SD, ED/HD-SDR Input Mode, 16-/20-Bit, 4:2:2 ED/HD and 8-/10-Bit, SD Pixel Input Mode (Input Mode 011)
CLKIN_B
t9 t10
P_HSYNC,
CONTROL
INPUTS P_VSYNC,
P_BLANK
EH/HD INPUT
Y9 TO Y2/ Y0 Cr0 Y1 Cb2 Y2 Cr2
Y9 TO Y0 Cb0
t12 t12
t11
t11
CLKIN_A
t9 t10 t12
CONTROL S_HSYNC,
INPUTS S_VSYNC
SD INPUT
S9 TO S2/ Cb0 Y0 Cr0 Y1 Cb2 Y2 Cr2
06398-011
S9 TO S0
t11
Figure 11. SD, ED/HD-DDR Input Mode, 8-/10-Bit, 4:2:2 ED/HD and 8-/10-Bit, SD Pixel Input Mode (Input Mode 100)
CLKIN_A
t9 t10
P_HSYNC,
CONTROL
INPUTS P_VSYNC,
P_BLANK
Y9 TO Y2/ Cb0 Y0 Cr0 Y1 Cb2 Cr2
Y9 TO Y0 Y2
t12 t13
t11
t14
CONTROL
06398-012
OUTPUTS
Figure 12. ED Only (at 54 MHz), 8-/10-Bit, 4:2:2 YCrCb (HSYNC/VSYNC) Pixel Input Mode (Input Mode 111)
t9 t10
Y9 TO Y2/
Y9 TO Y0 3FF 00 00 XY Cb0 Y0 Cr0 Y1
t12 t13
t11
t14
06398-013
CONTROL
OUTPUTS
Figure 13. ED Only (at 54 MHz), 8-/10-Bit, 4:2:2 YCrCb (EAV/SAV) Pixel Input Mode (Input Mode 111)
Y OUTPUT
P_HSYNC
P_VSYNC
P_BLANK
Y9 TO Y2/
Y9 TO Y0 Y0 Y1 Y2 Y3
C9 TO C2/
C9 TO C0 Cb0 Cr0 Cb2 Cr2
c = PIPELINE DELAY. PLEASE REFER TO RELEVANT PIPELINE DELAY. THIS CAN BE FOUND IN THE DIGITAL TIMING
SPECIFICATION SECTION OF THE DATA SHEET.
06398-014
A FALLING EDGE OF HSYNC INTO THE ENCODER GENERATES A SYNC FALLING EDGE ON THE OUTPUT AFTER A TIME
EQUAL TO THE PIPELINE DELAY.
Figure 14. ED-SDR, 16-/20-Bit, 4:2:2 YCrCb (HSYNC/VSYNC) Input Timing Diagram
Y OUTPUT
P_HSYNC
P_VSYNC
P_BLANK
c = PIPELINE DELAY. PLEASE REFER TO RELEVANT PIPELINE DELAY. THIS CAN BE FOUND IN THE DIGITAL TIMING
SPECIFICATION SECTION OF THE DATA SHEET.
06398-015
A FALLING EDGE OF HSYNC INTO THE ENCODER GENERATES A SYNC FALLING EDGE ON THE OUTPUT AFTER A TIME
EQUAL TO THE PIPELINE DELAY.
Figure 15. ED-DDR, 8-/10-Bit, 4:2:2 YCrCb (HSYNC/VSYNC) Input Timing Diagram
Y OUTPUT
P_HSYNC
P_VSYNC
P_BLANK
Y9 TO Y2/
Y9 TO Y0 Y0 Y1 Y2 Y3
c = PIPELINE DELAY. PLEASE REFER TO RELEVANT PIPELINE DELAY. THIS CAN BE FOUND IN THE DIGITAL TIMING
SPECIFICATION SECTION OF THE DATA SHEET.
06398-016
A FALLING EDGE OF HSYNC INTO THE ENCODER GENERATES A FALLING EDGE OF TRI-LEVEL SYNC ON THE OUTPUT
AFTER A TIME EQUAL TO THE PIPELINE DELAY.
Figure 16. HD-SDR, 16-/20-Bit, 4:2:2 YCrCb (HSYNC/VSYNC) Input Timing Diagram
Y OUTPUT
P_HSYNC
P_VSYNC
P_BLANK
Y9 TO Y2/
Y9 TO Y0 Cb0 Y0 Cr0 Y1
c = PIPELINE DELAY. PLEASE REFER TO RELEVANT PIPELINE DELAY. THIS CAN BE FOUND IN THE DIGITAL TIMING
SPECIFICATION SECTION OF THE DATA SHEET.
06398-017
A FALLING EDGE OF HSYNC INTO THE ENCODER GENERATES A FALLING EDGE OF TRI-LEVEL SYNC ON THE OUTPUT
AFTER A TIME EQUAL TO THE PIPELINE DELAY.
Figure 17. HD-DDR, 8-/10-Bit, 4:2:2 YCrCb (HSYNC/VSYNC) Input Timing Diagram
S_VSYNC
S9 TO S0/ Cr Y
Y9 TO Y0* Cb Y
06398-018
NTSC = 244 CLOCK CYCLES
*SELECTED BY SUBADDRESS 0x01, BIT 7.
t3 t5 t3
SDA
t6 t1
06398-019
SCL
t2 t7 t4 t8
2
Figure 19. MPU Port Timing Diagram (I C Mode)
S_HSYNC
S_VSYNC
CLKIN_B
GND_IO
DGND
VDD
S9
S8
S7
S6
S5
S4
S3
S2
S1
S0
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
VDD_IO 1 48 SFL
PIN 1
Y0 2 47 RSET1
Y1 3 46 VREF
Y2 4 45 COMP1
Y3 5 44 DAC 1
Y4 6 43 DAC 2
ADV7340/ADV7341
Y5 7 42 DAC 3
TOP VIEW
Y6 8 (Not to Scale) 41 VAA
Y7 9 40 AGND
VDD 10 39 DAC 4
DGND 11 38 DAC 5
Y8 12 37 DAC 6
Y9 13 36 RSET2
C0 14 35 COMP2
C1 15 34 PVDD
C2 16 33 EXT_LF1
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
EXT_LF2
ALSB
PGND
C3
C4
SDA
SCL
C5
C6
C7
C8
C9
P_VSYNC
CLKIN_A
P_HSYNC
P_BLANK
06398-021
Figure 20. Pin Configuration
GAIN (dB)
–1.0
–40
–1.5
–50
–60 –2.0
–70 –2.5
–80 –3.0
06398-022
06398-025
0 20 40 60 80 100 120 140 160 180 200 0 2 4 6 8 10 12
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 21. ED 8× Oversampling, PrPb Filter (Linear) Response Figure 24. ED 8× Oversampling, Y Filter Response (Focus on Pass Band)
ED Pr/Pb RESPONSE. SSAF INTERP FROM 4:2:2 TO 4:4:4 HD Pr/Pb RESPONSE. SSAF INTERP FROM 4:2:2 TO 4:4:4
10
0
0
–10 –10
–20 –20
–30
–30
GAIN (dB)
GAIN (dB)
–40
–40 –50
–50 –60
–70
–60
–80
–70
–90
–80 –100
06398-023
06398-026
0 20 40 60 80 100 120 140 160 180 200 0 18.5 37.0 55.5 74.0 92.5 111.0 129.5 148.0
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 22. ED 8× Oversampling, PrPb Filter (SSAF™) Response Figure 25. HD 4× Oversampling, PrPb (SSAF) Filter Response (4:2:2 Input)
0 0
–10
–10
–20
–20
–30
–30
GAIN (dB)
GAIN (dB)
–40
–40 –50
–60
–50
–70
–60
–80
–70 –90
–80 –100
06398-024
06398-027
0 20 40 60 80 100 120 140 160 180 200 10 20 30 40 50 60 70 80 90 100 110 120 130 140
FREQUENCY (MHz)
FREQUENCY (MHz)
Figure 23. ED 8× Oversampling, Y Filter Response Figure 26. HD 4× Oversampling, PrPb (SSAF) Filter Response (4:4:4 Input)
–10 –10
–20
–20
MAGNITUDE (dB)
–30
GAIN (dB)
–40 –30
–50
–40
–60
–70 –50
–80
–60
–90
–70
06398-031
–100
06398-028
0 18.5 37.0 55.5 74.0 92.5 111.0 129.5 148.0 0 2 4 6 8 10 12
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 27. HD 4× Oversampling, Y Filter Response Figure 30. SD PAL, Luma Low-Pass Filter Response
–1.5 –20
MAGNITUDE (dB)
–3.0
GAIN (dB)
–30
–4.5
–40
–6.0
–7.5 –50
–9.0
–60
–10.5
–70
06398-032
–12.0
0 2 4 6 8 10 12
06398-029
Figure 28. HD 4× Oversampling, Y Filter Response (Focus on Pass Band) Figure 31. SD NTSC, Luma Notch Filter Response
0 0
–10 –10
–20 –20
MAGNITUDE (dB)
MAGNITUDE (dB)
–30 –30
–40 –40
–50 –50
–60 –60
–70 –70
06398-030
06398-033
0 2 4 6 8 10 12 0 2 4 6 8 10 12
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 29. SD NTSC, Luma Low-Pass Filter Response Figure 32. SD PAL, Luma Notch Filter Response
–10 4
–20
3
MAGNITUDE (dB)
GAIN (dB)
–30
2
–40
–50 1
–60
0
–70
–80 –1
06398-037
06398-034
0 20 40 60 80 100 120 140 160 180 200 0 1 2 3 4 5 6 7
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 33. SD, 16× Oversampling, Y Filter Response Figure 36. SD Luma SSAF Filter, Programmable Gain
1
0
–10 0
–20 –1
MAGNITUDE (dB)
MAGNITUDE (dB)
–30
–2
–40
–3
–50
–4
–60
–70 –5
06398-035
06398-038
0 2 4 6 8 10 12 0 1 2 3 4 5 6 7
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 34. SD Luma SSAF Filter Response up to 12 MHz Figure 37. SD Luma SSAF Filter, Programmable Attenuation
4 0
2
–10
0
–20
MAGNITUDE (dB)
MAGNITUDE (dB)
–2
–30
–4
–40
–6
–50
–8
–10 –60
–12 –70
06398-036
06398-039
0 1 2 3 4 5 6 7 0 2 4 6 8 10 12
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 35. SD Luma SSAF Filter, Programmable Responses Figure 38. SD Luma CIF Low-Pass Filter Response
0 0
–10 –10
–20 –20
MAGNITUDE (dB)
MAGNITUDE (dB)
–30 –30
–40 –40
–50 –50
–60 –60
–70 –70
06398-043
06398-040
0 2 4 6 8 10 12 0 2 4 6 8 10 12
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 39. SD Luma QCIF Low-Pass Filter Response Figure 42. SD Chroma 1.3 MHz Low-Pass Filter Response
0 0
–10 –10
–20 –20
MAGNITUDE (dB)
MAGNITUDE (dB)
–30 –30
–40 –40
–50 –50
–60 –60
–70 –70
06398-044
06398-041
0 2 4 6 8 10 12 0 2 4 6 8 10 12
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 40. SD Chroma 3.0 MHz Low-Pass Filter Response Figure 43. SD Chroma 1.0 MHz Low-Pass Filter Response
0 0
–10 –10
–20 –20
MAGNITUDE (dB)
MAGNITUDE (dB)
–30 –30
–40 –40
–50 –50
–60 –60
–70 –70
06398-045
06398-042
0 2 4 6 8 10 12 0 2 4 6 8 10 12
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 41. SD Chroma 2.0 MHz Low-Pass Filter Response Figure 44. SD Chroma 0.65 MHz Low-Pass Filter Response
0 0
–10 –10
–20 –20
MAGNITUDE (dB)
MAGNITUDE (dB)
–30 –30
–40 –40
–50 –50
–60 –60
–70 –70
06398-047
06398-046
0 2 4 6 8 10 12 0 2 4 6 8 10 12
FREQUENCY (MHz) FREQUENCY (MHz)
Figure 45. SD Chroma CIF Low-Pass Filter Response Figure 46. SD Chroma QCIF Low-Pass Filter Response
0 WRITE
1 READ uses the auto-increment method of addressing the encoder and
Figure 47. ADV7340 I2C Slave Address exceeds the highest subaddress, the following actions are taken:
0 WRITE
1 READ condition.
Figure 48. ADV7341 I2C Slave Address Figure 49 shows a data transfer for a write sequence and the start
Analog Devices, Inc., strongly recommends tying ALSB to and stop conditions. Figure 50 shows bus write and read
VDD_IO. If this is not done, a power supply sequence (PSS) may be sequences.
required. For more information on the PSS, see the Power Supply
SDA
SCL
06398-049
S 1–7 8 9 1–7 8 9 1–7 8 9 P
START ADDR R/W ACK SUBADDRESS ACK DATA ACK STOP
WRITE S SLAVE ADDR A(S) SUBADDR A(S) DATA A(S) DATA A(S) P
SEQUENCE
LSB = 0 LSB = 1
READ S SLAVE ADDR A(S) SUBADDR A(S) S SLAVE ADDR A(S) DATA A(M) DATA A(M) P
SEQUENCE
06398-050
S = START BIT A(S) = ACKNOWLEDGE BY SLAVE A (S) = NO-ACKNOWLEDGE BY SLAVE
P = STOP BIT A(M) = ACKNOWLEDGE BY MASTER A (M) = NO-ACKNOWLEDGE BY MASTER
INPUT CONFIGURATION
The ADV7340/ADV7341 support a number of different input Subaddress 0x01, Bit 7); Pin S0/Y0 is the LSB in 20-bit input
modes. The desired input mode is selected using Subaddress mode.
0x01, Bits[6:4]. The ADV7340/ADV7341 default to standard The CrCb pixel data is input on Pin Y9 to Pin Y2/Y0 (or Pin C9 to
definition only (SD only) on power-up. Table 36 provides an Pin C2/C0, depending on Subaddress 0x01, Bit 7), with Pin Y0/C0
overview of all possible input configurations. Each input mode being the LSB in 20-bit input mode.
is described in detail in the following sections. Embedded EAV/SAV timing codes are not supported; therefore,
STANDARD DEFINITION ONLY an external synchronization is needed in this mode.
Subaddress 0x01, Bits[6:4] = 000 24-/30-Bit 4:4:4 RGB Mode
Standard definition (SD) YCrCb data can be input in 4:2:2 format. Subaddress 0x87, Bit 7 = 1
Standard definition (SD) RGB data can be input in 4:4:4 format. In 24-/30-bit 4:4:4 RGB input mode, the red pixel data is input on
A 27 MHz clock signal must be provided on the CLKIN_A pin. Pin S9 to Pin S2/S0, the green pixel data is input on Pin Y9 to
Input synchronization signals are provided on the S_HSYNC Pin Y2/Y0, and the blue pixel data is input on Pin C9 to Pin C2/C0.
and S_VSYNC pins. The S0, Y0, and C0 pins are the respective bus LSBs in 30-bit
8-/10-Bit 4:2:2 YCrCb Mode input mode.
Subaddress 0x87, Bit 7 = 0; Subaddress 0x88, Bit 3 = 0 Embedded EAV/SAV timing codes are not supported. Also,
In 8-/10-bit 4:2:2 YCrCb input mode, the interleaved pixel data master timing mode is not supported for SD RGB input mode,
therefore, external synchronization must be used.
is input on Pin S9 to Pin S2/S0 (or Pin Y9 to Pin Y2/Y0, depending
on Subaddress 0x01, Bit 7), with Pin S0/Y0 being the LSB in 10- ADV7340/
ADV7341
bit input mode. The ITU-R BT.601/656 input standard is 2 S_VSYNC,
supported. Embedded EAV/SAV timing codes are also MPEG2 S_HSYNC
DECODER
supported.
27MHz
16-/20-Bit 4:2:2 YCrCb Mode CLKIN_A
06398-051
Pin S9 to Pin S2/S0 (or Pin Y9 to Pin Y2/Y0, depending on *SELECTED BY SUBADDRESS 0x01, BIT 7.
3 P_VSYNC,
8-/10-Bit 4:2:2 YCrCb Mode (DDR)
06398-054
P_HSYNC,
P_BLANK
Subaddress 0x35, Bit 1 = 0; Subaddress 0x33, Bit 6 = 1
Figure 54. ED/HD Only Example Application
In 8-/10-bit DDR 4:2:2 YCrCb input mode, the Y pixel data is
input on Pin Y9 to Pin Y2/Y0 on either the rising or falling edge SIMULTANEOUS STANDARD DEFINITION AND
of CLKIN_A. Pin Y0 is the LSB in 10-bit input mode. ENHANCED DEFINITION/HIGH DEFINITION
The CrCb pixel data is also input on Pin Y9 to Pin Y2/Y0 on the Subaddress 0x01, Bits[6:4] = 011 or 100
opposite edge of CLKIN_A. Pin Y0 is the LSB in 10-bit input The ADV7340/ADV7341 are able to simultaneously process
mode. SD 4:2:2 YCrCb data and ED/HD 4:2:2 YCrCb data. The 27
Whether the Y data is clocked in on the rising or falling edge MHz SD clock signal must be provided on the CLKIN_A pin.
of CLKIN_A is determined by Subaddress 0x01, Bits[2:1] (see The ED/HD clock signal must be provided on the CLKIN_B
Figure 52 and Figure 53). pin. SD input synchronization signals are provided on the
S_HSYNC and S_VSYNC pins. ED/HD input synchronization
CLKIN_A signals are provided on the P_HSYNC, P_VSYNC, and
P_BLANK pins.
Y[9:0] 3FF 00 00 XY Cb0 Y0 Cr0 Y1
SD 8-/10-Bit 4:2:2 YCrCb and ED/HD-SDR 16-/20-Bit
4:2:2 YCrCb
06398-052
NOTES
1. SUBADDRESS 0x01 [2:1] SHOULD BE SET TO 00 IN THIS CASE.
The SD 8-/10-bit 4:2:2 YCrCb pixel data is input on Pin S9 to
Figure 52. ED/HD-DDR Input Sequence (EAV/SAV)—Option A
Pin S2/S0, with Pin S0 being the LSB in 10-bit input mode.
CLKIN_A The ED/HD 16-/20-bit 4:2:2 Y pixel data is input on Pin Y9 to
Pin Y2/Y0, with Pin Y0 being the LSB in 20-bit input mode.
Y[9:0] 3FF 00 00 XY Y0 Cb0 Y1 Cr0
The ED/HD 16-/20-bit 4:2:2 CrCb pixel data is input on Pin C9
to Pin C2/C0, with Pin C0 being the LSB in 20-bit input mode.
06398-053
NOTES
1. SUBADDRESS 0x01 [2:1] SHOULD BE SET TO 11 IN THIS CASE.
SD 8-/10-Bit 4:2:2 YCrCb and ED/HD-DDR 8-/10-Bit
Figure 53. ED/HD-DDR Input Sequence (EAV/SAV)—Option B 4:2:2 YCrCb
24-/30-Bit 4:4:4 YCrCb Mode The SD 8-/10-bit 4:2:2 YCrCb pixel data is input on Pin S9 to
Subaddress 0x35, Bit 1 = 0; Subaddress 0x33, Bit 6 = 0 Pin S2/S0, with Pin S0 being the LSB in 10-bit input mode.
In 24-/30-bit 4:4:4 YCrCb input mode, the Y pixel data is input on The ED/HD-DDR 8-/10-bit 4:2:2 Y pixel data is input on Pin Y9
Pin Y9 to Pin Y2/Y0, with Pin Y0 being the LSB in 30-bit input to Pin Y2/Y0 upon the rising or falling edge of CLKIN_B. Pin Y0
mode. is the LSB in 10-bit input mode.
ED
ADV7340/
ADV7341
06398-057
DECODER
CrCb 10 Y9–Y0 3FF 00 00 XY Cb0 Y0 Cr0 Y1
C[9:0]
525p
Y 10
OR Y[9:0] Figure 57. ED Only (at 54 MHz) Input Sequence (EAV/SAV)
625p
3 P_VSYNC,
P_HSYNC,
P_BLANK MPEG2
06398-055
27MHz DECODER
CLKIN_B
54MHz
YCrCb CLKIN_A
Figure 55. Simultaneous SD and ED Example Application
ADV7340/
ADV7341
YCrCb 10
2 S_VSYNC, Y[9:0]
INTERLACED TO
S_HSYNC PROGRESSIVE
SD P_VSYNC,
DECODER 27MHz 3
CLKIN_A
06398-058
P_HSYNC,
P_BLANK
YCrCb 10
S[9:0]
74.25MHz
CLKIN_B
OUTPUT CONFIGURATION
The ADV7340/ADV7341 support a number of different output configurations. Table 37 to Table 40 list all possible output configurations.
DESIGN FEATURES
OUTPUT OVERSAMPLING individually invert P_HSYNC, P_VSYNC, or P_BLANK
regardless of whether or not CEA-861-B mode is enabled. It is
The ADV7340/ADV7341 include two on-chip phase-locked
not possible to invert S_HSYNC or S_VSYNC.
loops (PLLs) that allow for oversampling of SD, ED, and HD
video data. Table 41 shows the various oversampling rates HD INTERLACE EXTERNAL P_HSYNC AND
supported in the ADV7340/ADV7341. P_VSYNC CONSIDERATIONS
SD Only, ED Only, and HD Only Modes If the encoder revision code (Subaddress 0xBB, Bits[7:6]) = 01
PLL 1 is used in SD only, ED only, and HD only modes. PLL 2 is or higher, the user should set Subaddress 0x02, Bit 1 to high to
unused in these modes. PLL 1 is disabled by default and can be ensure exactly correct timing in HD interlace modes when
enabled using Subaddress 0x00, Bit 1 = 0. using the P_HSYNC and P_VSYNC synchronization signals. If
this bit is set to low, the first active pixel on each line is masked.
SD and ED/HD Simultaneous Modes
Also, Pr and Pb outputs are swapped when using the YCrCb
Both PLL 1 and PLL 2 are used in simultaneous modes. The use 4:2:2 input format. Setting Subaddress 0x02, Bit 1 to low causes
of two PLLs allows for independent oversampling of SD and the encoder to behave in the same way as the first version of
ED/HD video. PLL 1 is used to oversample SD video data, and silicon (that is, this setting is backward compatible).
PLL 2 is used to oversample ED/HD video data. In simultaneous
modes, PLL 2 is always enabled. PLL 1 is disabled by default and If the encoder revision code (Subaddress 0xBB, Bits[7:6]) = 00,
can be enabled using Subaddress 0x00, Bit 1 = 0. the setting of Subaddress 0x02, Bit 1 has no effect. In this
version of the encoder, the first active pixel is masked. Also, Pr
External Sync Polarity and Pb outputs are swapped when using the YCrCb 4:2:2 input
For SD and ED/HD modes, the ADV7340/ADV7341 typically format. To avoid these limitations, use the newer revision of
expect HS and VS to be low during their respective blanking silicon or use a different type of synchronization.
periods. When the CEA861 compliance bit (Subaddress 0x39,
These considerations apply only to the HD interlace modes
Bit 5 for ED/HD modes and Subaddress 0x86, Bit 3 for SD
with external P_HSYNC and P_VSYNC synchronization
modes) is enabled, however, the part expects the HS or VS to be
(EAV/SAV mode is not affected and always has exactly correct
active low or high depending on the input format selected
timing). There is no negative effect in setting Subaddress 0x02,
(Subaddress 0x30, Bits [7:3]).
Bit 0 to high, and this bit can remain high for all the other video
If a different polarity other than the default is needed for standards.
ED/HD modes, Subaddress 0x3A, Bits [2:0] can be used to
ADV7340/ADV7341
CLKIN_A DAC 1
DAC 2
LLC1
SFL SFL DAC 3
COMPOSITE DAC 4
VIDEO1 ADV7403 P[19:10]
VIDEO
DECODER Y[9:0]/S[9:0] 5 DAC 5
DAC 6
4 BITS
RESERVED
H/L TRANSITION 14 BITS SEQUENCE
SUBCARRIER RESET BIT4
COUNT START BIT3
LOW PHASE
128 FSC PLL INCREMENT2 RESERVED
13 0 21 0
RTC
Figure 59. SD Subcarrier Frequency Lock Timing and Connections Diagram (Subaddress 0x84, Bits[2:1] = 11)
ANALOG
VIDEO
4 CLOCK 4 CLOCK
PAL SYSTEM
344 CLOCK 1536 CLOCK
(625 LINES/50Hz)
06398-064
END OF ACTIVE START OF ACTIVE
VIDEO LINE VIDEO LINE
HSYNC
FIELD
PIXEL
DATA Cb Y Cr Y
06398-065
PAL = 308 CLOCK CYCLES
NTSC = 236 CLOCK CYCLES
0 0.4
0.3
–10
0.2
–20 0.1
GAIN (dB)
GAIN (dB)
0
–30
–0.1
–0.2
–40
–0.3
–50
–0.4
–0.5
06398-067
–60
06398-066
0 5 10 15 20 25 30
0 1 2 3 4 5 6
FREQUENCY (MHz)
FREQUENCY (MHz)
Figure 62. PrPb SSAF Filter Figure 63. ED/HD Sinc Compensation Filter Enabled
0.5
If this filter is disabled, one of the chroma filters shown in
0.4
Table 44 can be selected and used for the CVBS or luma/
chroma signal. 0.3
0.2
Table 44. Internal Filter Specifications
0.1
Pass-Band GAIN (dB)
Filter Ripple (dB)1 3 dB Bandwidth (MHz) 2 0
06398-068
0 5 10 15 20 25 30
Luma QCIF Monotonic 1.5 FREQUENCY (MHz)
Chroma 0.65 MHz Monotonic 0.65 Figure 64. ED/HD Sinc Compensation Filter Disabled
Chroma 1.0 MHz Monotonic 1 ED/HD TEST PATTERN COLOR CONTROLS
Chroma 1.3 MHz 0.09 1.395
Subaddress 0x36 to Subaddress 0x38
Chroma 2.0 MHz 0.048 2.2
Chroma 3.0 MHz Monotonic 3.2 Three 8-bit registers at Subaddress 0x36 to Subaddress 0x38
Chroma CIF Monotonic 0.65 are used to program the output color of the internal ED/HD
Chroma QCIF Monotonic 0.5 test pattern generator (Subaddress 0x31, Bit 2 = 1), whether it
be the lines of the crosshatch pattern or the uniform field test
1
Pass-band ripple is the maximum fluctuation from the 0 dB response in the
pass band, measured in decibels. The pass band is defined to have 0 Hz to fc pattern. They are not functional as color controls for external
(Hz) frequency limits for a low-pass filter and 0 Hz to f1 (Hz), and f2 (Hz) to pixel data input.
infinity for a notch filter, where fc, f1, and f2 are the −3 dB points.
2
3 dB bandwidth refers to the −3 dB cutoff frequency. The values for the luma (Y) and the color difference (Cr and
ED/HD Sinc Compensation Filter Response Cb) signals used to obtain white, black, and saturated primary
and complementary colors conform to the ITU-R BT.601-4
Subaddress 0x33, Bit 3
standard.
The ADV7340/ADV7341 include a filter designed to counter
the effect of sinc roll-off in DAC 1, DAC 2, and DAC 3 while
operating in ED/HD mode. This filter is enabled by default. It
can be disabled using Subaddress 0x33, Bit 3. The benefit of the
filter is illustrated in Figure 63 and Figure 64.
For example, SMPTE 293M uses the following conversion: SD HUE ADJUST CONTROL
R = Y + 1.402Pr Subaddress 0xA0
G = Y – 0.714Pr – 0.344Pb When enabled, the SD hue adjust control register (Subaddress
0xA0) is used to adjust the hue on the SD composite and chroma
B = Y + 1.773Pb outputs. This feature can be enabled using Subaddress 0x87, Bit 2.
The programmable CSC matrix is used for external ED/HD Subaddress 0xA0 contains the bits required to vary the hue of
pixel data and is not functional when internal test patterns are the video data, that is, the variance in phase of the subcarrier
enabled. during active video with respect to the phase of the subcarrier
Programming the CSC Matrix during the color burst. The ADV7340/ADV7341 provide a
If custom manipulation of the ED/HD CSC matrix coefficients range of ±22.5° in increments of 0.17578125°. For normal
is required for a YCrCb-to-RGB color space conversion, use the operation (zero adjustment), this register is set to 0x80. Value
following procedure: 0xFF and Value 0x00 represent the upper and lower limits,
respectively, of the attainable adjustment in NTSC mode. Value
1. Enable the ED/HD manual CSC matrix adjust feature 0xFF and Value 0x01 represent the upper and lower limits,
(Subaddress 0x02, Bit 3). respectively, of the attainable adjustment in PAL mode.
2. Set the output to RGB (Subaddress 0x02, Bit 5).
3. Disable sync on PrPb (Subaddress 0x35, Bit 2).
4. Enable sync on RGB (optional) (Subaddress 0x02, Bit 4).
The GY value controls the green signal output level, the BU
value controls the blue signal output level, and the RV value
controls the red signal output level.
0 IRE
–7.5 IRE
06398-069
GAMMA CORRECTION
Subaddress 0x44 to Subaddress 0x57 for ED/HD;
Subaddress 0xA6 to Subaddress 0xB9 for SD
CASE B NEGATIVE GAIN PROGRAMMED IN
DAC OUTPUT LEVEL REGISTERS,
SUBADDRESS 0x0A, 0x0B Generally, gamma correction is applied to compensate for the
700mV nonlinear relationship between signal input and output brightness
level (as perceived on a CRT). It can also be applied wherever
nonlinear processing is used.
Gamma correction uses the function
SignalOUT = (SignalIN)γ
300mV
where γ is the gamma correction factor.
06398-070
GAMMA CORRECTION BLOCK OUTPUT TO A RAMP INPUT GAMMA CORRECTION BLOCK TO A RAMP INPUT FOR
300
VARIOUS GAMMA VALUES
300
250
GAMMA CORRECTED AMPLITUDE
250
GAMMA CORRECTED AMPLITUDE
SIGNAL OUTPUT
200 0.3
0.5 200
150 0.5
150
T
PU 1.5
100 IN
L
100
G NA
SI
SIGNAL INPUT 1.8
50
50
0
06398-071
Figure 67. Signal Input (Ramp) and Signal Output for Gamma 0.5 Figure 68. Signal Input (Ramp) and Selectable Output Curves
1.4 1.4
1.5
1.3 1.3
1.2 1.2
1.4
MAGNITUDE
MAGNITUDE
1.1 1.1
INPUT
SIGNAL 1.0 1.0 1.3
STEP
0.9 0.9
1.2
0.8 0.8
0.7 0.7
1.1
0.6 0.6
0.5 0.5 1.0
FREQUENCY (MHz) FREQUENCY (MHz) 0 2 4 6 8 10 12
FILTER A RESPONSE (Gain Ka) FILTER B RESPONSE (Gain Kb) FREQUENCY (MHz)
06398-073
a d
R2 1
b e
R4 R1
c f
1 R2
06398-074
CH1 500mV M 4.00µs CH1 CH1 500mV M 4.00µs CH1
REF A 500mV 4.00µs 1 9.99978ms ALL FIELDS REF A 500mV 4.00µs 1 9.99978ms ALL FIELDS
Figure 70. ED/ HD Sharpness Filter Control with Different Gain Settings for ED/HD Sharpness Filter Gain Values
ED/HD SHARPNESS FILTER AND ADAPTIVE FILTER Table 53. Register Settings for Figure 72
APPLICATION EXAMPLES Subaddress Register Setting
Sharpness Filter Application 0x00 0xFC
The ED/HD sharpness filter can be used to enhance or 0x01 0x38
attenuate the Y video output signal. The register settings in 0x02 0x20
Table 52 are used to achieve the results shown in Figure 70. 0x30 0x00
Input data is generated by an external signal source. 0x31 0x81
0x35 0x80
Table 52. ED/HD Sharpness Control Settings for Figure 70 0x40 0x00
Subaddress Register Setting Reference1 0x58 0xAC
0x00 0xFC 0x59 0x9A
0x01 0x10 0x5A 0x88
0x02 0x20 0x5B 0x28
0x30 0x00 0x5C 0x3F
0x31 0x81 0x5D 0x64
0x40 0x00 a
0x40 0x08 b
0x40 0x04 c
0x40 0x40 d
0x40 0x80 e
0x40 0x22 f
1
See Figure 70.
Adaptive Filter Control Application
The register settings in Table 53 are used to obtain the results
shown in Figure 72, that is, to remove the ringing on the input
Y signal, as shown in Figure 71. Input data is generated by an
06398-075
06398-076
BLOCK SIZE CONTROL
BORDER AREA
BLOCK OFFSET
Figure 72. Output Signal from ED/HD Adaptive Filter (Mode A) GAIN
CORING GAIN DATA
When the adaptive filter mode is changed to Mode B NOISE
CORING GAIN BORDER
(Subaddress 0x35, Bit 6), the output shown in Figure 73 SIGNAL PATH
FILTER SUBTRACT
OUTPUT SIGNAL IN
Y DATA < THRESHOLD?
INPUT THRESHOLD
RANGE FROM
ORIGINAL SIGNAL
FILTER OUTPUT –
> THRESHOLD +
DNR OUT
MAIN SIGNAL PATH
06398-078
A filter block selects the high frequency, low amplitude compo- DNR OUT
MAIN SIGNAL PATH
nents of the incoming signal (DNR input select). The absolute
value of the filter output is compared to a programmable Figure 74. SD DNR Block Diagram
threshold value (DNR threshold control). There are two DNR
modes available: DNR mode and DNR sharpness mode. Coring Gain Border—Subaddress 0xA3, Bits[3:0]
In DNR mode, if the absolute value of the filter output is smaller These four bits are assigned to the gain factor applied to border
than the threshold, it is assumed to be noise. A programmable areas. In DNR mode, the range of gain values is 0 to 1 in
amount (coring gain border, coring gain data) of this noise increments of 1/8. This factor is applied to the DNR filter
signal is subtracted from the original signal. In DNR sharpness output that lies below the set threshold range. The result is then
mode, if the absolute value of the filter output is less than the subtracted from the original signal.
programmed threshold, it is assumed to be noise. Otherwise, if In DNR sharpness mode, the range of gain values is 0 to 0.5 in
the level exceeds the threshold, now identified as a valid signal, increments of 1/16. This factor is applied to the DNR filter
a fraction of the signal (coring gain border, coring gain data) is output that lies above the threshold range. The result is added to
added to the original signal to boost high frequency components the original signal.
and sharpen the video image.
Coring Gain Data—Subaddress 0xA3, Bits[7:4]
In MPEG systems, it is common to process the video information
These four bits are assigned to the gain factor applied to the luma
in blocks of 8 pixels × 8 pixels for MPEG2 systems or 16 pixels ×
data inside the MPEG pixel block. In DNR mode, the range of
16 pixels for MPEG1 systems (block size control). DNR can be
gain values is 0 to 1 in increments of 1/8. This factor is applied
applied to the resulting block transition areas that are known to
MAGNITUDE
0.6
the original signal.
APPLY DATA APPLY BORDER
CORING GAIN CORING GAIN 0.4 FILTER B
OXXXXXXOOXXXXXXO
0.2
OFFSET CAUSED FILTER A
OXXXXXXOOXXXXXXO BY VARIATIONS IN
INPUT TIMING
0
06398-081
0 1 2 3 4 5 6
06398-079
DNR27 TO DNR24 = 0x01 OXXXXXXOOXXXXXXO FREQUENCY (MHz)
50 IRE
12.5 IRE
0 IRE 0 IRE
06398-082
Figure 78. Example of Active Video Edge Functionality
VOLTS IRE:FLT
100
0.5
50
0 0
F2
L135
06398-083
–50
0 2 4 6 8 10 12
VOLTS IRE:FLT
100
0.5
50
0 0
F2
L135
06398-084
–50
–2 0 2 4 6 8 10 12
ED/HD timing sync. Outputs must also be disabled (Subaddress 0x02, Bit 7 = 0).
1
The cable detection feature can be used with all SD, ED, and Once per frame, DAC 1 and/or DAC 2 is monitored. If a cable is
HD video standards. It is available for all output configurations, detected, the appropriate DAC or DACs remain powered up for
that is, CVBS, YC, YPrPb, and RGB output configurations. the duration of the frame. If no cable is detected, the appropriate
DAC or DACs power down until the next frame when the
For CVBS/YC output configurations, both DAC 1 and DAC 2 process is repeated.
are monitored; that is, the CVBS and YC luma outputs are
monitored. For YPrPb and RGB output configurations, only
RUN-IN CLOCK
06398-143
CVBS/Y
tPD
HSYNC tPD
10.2µs
TTXDATA
TTXDEL
TTXREQ
PROGRAMMABLE PULSE EDGES
TTXST
tSYNTTXOUT = 10.2µs.
06398-144
tPD = PIPELINE DELAY THROUGH ADV7340/ADC7341.
TTXDEL = TTXREQ TO TTXDATA (PROGRAMMABLE RANGE = 4 BITS [0 TO 15 PIXEL CLOCK CYCLES]).
06398-085
560Ω
that can be used as a board-level voltage reference via the VREF
pin. Alternatively, the ADV7340/ADV7341 can be used with an Figure 83. Example of Output Filter for SD, 16× Oversampling
external voltage reference by connecting the reference source to 4.7µH
the VREF pin. For optimal performance, use an external voltage DAC
OUTPUT 3
75Ω
reference such as the AD1580 with the ADV7340/ADV7341. If 6.8pF 600Ω 1
BNC
OUTPUT
an external voltage reference is not used, a 0.1 µF capacitor 600Ω 6.8pF
4
560Ω
OUTPUT FILTER
Figure 84. Example of Output Filter for ED, 8× Oversampling
An output buffer is necessary on any DAC that operates in low-
drive mode (RSETx = 4.12 kΩ, RL = 300 Ω). Analog Devices
produces a range of op amps suitable for this application, for
example, the AD8061. For more information about line driver
buffering circuits, see the relevant op amp data sheet.
PHASE (Degree)
4
–20 40
GAIN (dB)
500Ω
06398-087
500Ω
–30 –40
Figure 85. Example of Output Filter for HD, 4× Oversampling
CIRCUIT FREQUENCY RESPONSE 0
0
24n –40 –120
–30
–10
21n
MAGNITUDE (dB)
–60 –50 –200
–20
06398-090
18n 1 10 100
–90 FREQUENCY (MHz)
–30
PHASE (Degrees) 15n
Figure 88. Output Filter Plot for HD, 4× Oversampling
GAIN (dB)
–120
–40
–150
12n
PRINTED CIRCUIT BOARD (PCB) LAYOUT
–50
GROUP DELAY (Seconds)
9n The ADV7340/ADV7341 are highly integrated circuits containing
–180
–60
6n
both precision analog and high speed digital circuitry. They are
–210 designed to minimize interference effects on the integrity of the
–70
3n analog circuitry by the high speed digital circuitry. It is
–240
–80 imperative that these same design and layout techniques be
06398-088
0
1M 10M 100M 1G
FREQUENCY (Hz) applied to the system-level design so that optimal performance
Figure 86. Output Filter Plot for SD, 16× Oversampling is achieved.
0
CIRCUIT FREQUENCY RESPONSE
480
The layout should be optimized for lowest noise on the
18n ADV7340/ADV7341 power and ground planes by shielding the
–10 400
MAGNITUDE (dB) 16n
digital inputs and providing good power supply decoupling.
–20 320
14n
It is recommended to use a 4-layer printed circuit board with
–30 240 ground and power planes separating the signal trace layer and
PHASE
GROUP DELAY (Seconds) 12n
the solder side layer.
GAIN (dB)
(Degrees)
–40 160
10n
–50 80 Component Placement
8n
–60 0 Component placement should be carefully considered to separate
6n noisy circuits, such as clock signals and high speed digital circuitry,
–70 –80
4n from analog circuitry. The external loop filter components and
–80 –160
2n
components connected to the COMP, VREF, and RSETx pins should
–90 –240 be placed as close as possible to, and on the same side of the PCB
0
06398-089
1M 10M 100M 1G
as, the ADV7340/ ADV7341.
FREQUENCY (Hz)
Figure 87. Output Filter Plot for ED, 8× Oversampling Adding vias to the PCB to get the components closer to the
ADV7340/ADV7341 is not recommended. It is recommended
to place the ADV7340/ADV7341 as close as possible to the
output connector, with the DAC output traces as short as
possible. The termination resistors on the DAC output traces
should be placed as close as possible to and on the same side of
the PCB as the ADV7340/ADV7341. The termination resistors
should overlay the PCB ground plane.
COMP1 VAA
Y1
Y2 COMP2 1.1kΩ
Y3
Y4 VREF 1.235V
Y5 0.1µF AD1580
Y6
RSET1
Y7 ADV7340/ADV7341
Y8 RSET2 AGND
Y9 4.12kΩ 510Ω
S0 AGND AGND
S1
S2 OPTIONAL LPF
DAC 1 DAC 1 DAC1 TO DAC3 FULL DRIVE OPTION
S3
DAC 2
OPTIONAL LPF
DAC 2 (RECOMMENDED)
S4
PIXEL PORT INPUTS
S5 DAC 3 DAC 3
S6 OPTIONAL LPF
S7 75Ω 75Ω 75Ω
S8
S9 AGND AGND AGND
C0
C1 TIE EITHER LOW
ALSB OR HIGH DAC1 TO DAC3 LOW DRIVE OPTION
C2 (SEE NOTE 2)
C3
C4 ADA4411-3
C5
C6 75Ω RSET1
DAC 4 DAC 4
C7 LPF 4.12kΩ
C8 AGND
C9 300Ω ADA4411-3
S_HSYNC
75Ω
S_VSYNC AGND DAC 1 DAC 1
CONTROL LPF
INPUTS/OUTPUTS P_HSYNC ADA4411-3
P_VSYNC 75Ω 300Ω
P_BLANK DAC 5 DAC 5
LPF AGND
CLKIN_A
CLOCK INPUTS
CLKIN_B ADA4411-3
300Ω
SDA
I2C PORT 75Ω
SCL AGND DAC 2 DAC 2
LPF
EXTERNAL LOOP FILTERS ADA4411-3
PVDD 300Ω
12nF 75Ω
EXT_LF1 DAC 6 DAC 6
150nF 170Ω LPF AGND
12nF ADA4411-3
EXT_LF2 300Ω
75Ω
150nF 170Ω AGND PGND DGND DGND GND_IO DAC 3 DAC 3
AGND
LPF
LOOP FILTER COMPONENTS
SHOULD BE LOCATED 300Ω
CLOSE TO THE EXT_LF AGND PGND DGND DGND GND_IO
PINS AND ON THE SAME
06398-091
C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19
0 IRE
–40 IRE
49.1µs ± 0.5µs
06398-092
11.2µs
2.235µs ± 20ns
CRC SEQUENCE
+700mV
REF BIT 1 BIT 2 BIT 20
70% ± 10%
C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19
0mV
–300mV
21.2µs ± 0.22µs
22T
5.8µs ± 0.15µs
6T T = 1/(fH × 33) = 963ns
06398-093
fH = HORIZONTAL SCAN FREQUENCY
T ± 30ns
C0 C13
500mV ± 25mV R S C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12
LSB MSB
SYNC LEVEL
13.7µs
06398-094
5.5µs ± 0.125µs
CRC SEQUENCE
+700mV
REF BIT 1 BIT 2 BIT 20
70% ± 10%
C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19
0mV
T ± 30ns
–300mV 17.2µs ± 160ns
4T 22T
3.128µs ± 90ns T = 1/(fH × 1650/58) = 781.93ns
fH = HORIZONTAL SCAN FREQUENCY
06398-095
1H
C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19
0mV
T ± 30ns
–300mV 22.84µs ± 210ns
4T 22T
4.15µs ± 60ns T = 1/(fH × 2200/77) = 1.038µs
fH = HORIZONTAL SCAN FREQUENCY
06398-096
1H
CRC SEQUENCE
+700mV
START BIT 1 BIT 2 BIT 134
70% ± 10%
0mV
–300mV
06398-097
NOTES
1. PLEASE REFER TO THE CEA-805-A SPECIFICATION FOR TIMING INFORMATION.
CRC SEQUENCE
+700mV
START BIT 1 BIT 2 BIT 134
70% ± 10%
0mV
–300mV
06398-098
NOTES
1. PLEASE REFER TO THE CEA-805-A SPECIFICATION FOR TIMING INFORMATION.
Figure 96. High Definition (720p and 1080i) CGMS Type B Waveform
500mV
RUN-IN START W0 W1 W2 W3 W4 W5 W6 W7 W8 W9 W10 W11 W12 W13 ACTIVE
SEQUENCE CODE VIDEO
11.0µs
38.4µs
06398-099
42.5µs
SD CLOSED CAPTIONING
Subaddress 0x91 to Subaddress 0x94 The ADV7340/ADV7341 automatically generate all clock run-
in signals and timing that support closed captioning on Line 21
The ADV7340/ADV7341 support closed captioning conforming
and Line 284. All pixels inputs are ignored on Line 21 and on
to the standard television synchronizing waveform for color
Line 284 if closed captioning is enabled.
transmission. Closed captioning is transmitted during the
blanked active line time of Line 21 of the odd fields and The FCC Code of Federal Regulations (CFR) 47 Section 15.119
Line 284 of the even fields. and EIA-608 describe the closed captioning information for
Line 21 and Line 284.
Closed captioning consists of a seven-cycle sinusoidal burst that
is frequency- and phase-locked to the caption data. After the The ADV7340/ADV7341 use a single buffering method. This
clock run-in signal, the blanking level is held for two data bits means that the closed captioning buffer is only 1-byte deep.
and is followed by the Logic 1 start bit. Sixteen bits of data Therefore, there is no frame delay in outputting the closed
follow the start bit. These consist of two 8-bit bytes, seven data captioning data, unlike other 2-byte deep buffering systems.
bits, and one odd parity bit. The data for these bytes is stored in The data must be loaded one line before it is output on Line 21
the SD closed captioning registers (Subaddress 0x93 to and Line 284. A typical implementation of this method is to use
Subaddress 0x94). VSYNC to interrupt a microprocessor, which in turn loads the
new data (two bytes) in every field. If no new data is required
The ADV7340/ADV7341 also support the extended closed
for transmission, 0s must be inserted in both data registers; this
captioning operation, which is active during even fields and
is called nulling. It is also important to load control codes, all of
encoded on scan Line 284. The data for this operation is stored
which are double bytes, on Line 21. Otherwise, a TV does not
in the SD closed captioning registers (Subaddress 0x91 to
recognize them. If there is a message such as “Hello World”
Subaddress 0x92).
that has an odd number of characters, it is important to add a
blank character at the end to make sure that the end-of-caption,
2-byte control code lands in the same field.
S P P
T A A
A D0 TO D6 R D0 TO D6 R
50 IRE I I
R
T T T
Y Y
BYTE 0 BYTE 1
40 IRE
REFERENCE COLOR BURST
(9 CYCLES)
FREQUENCY = FSC = 3.579545MHz
AMPLITUDE = 40 IRE
06398-100
10.003µs
27.382µs 33.764µs
SD TIMING
Mode 0 (CCIR-656)—Slave Option (Subaddress 0x8A = X X X X X 0 0 0)
The ADV7340/ADV7341are controlled by the SAV (start of active video) and EAV (end of active video) time codes embedded in the
pixel data. All timing information is transmitted using a 4-byte synchronization pattern. A synchronization pattern is sent immediately
before and after each line during active picture and retrace. If the S_VSYNC and S_HSYNC pins are not used, they should be tied to
VDD_IO during this mode.
ANALOG
VIDEO
06398-101
(625 LINES/50Hz)
END OF ACTIVE START OF ACTIVE
VIDEO LINE VIDEO LINE
DISPLAY DISPLAY
VERTICAL BLANK
DISPLAY DISPLAY
VERTICAL BLANK
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 283 284 285
H
06398-102
DISPLAY DISPLAY
VERTICAL BLANK
309 310 311 312 313 314 315 316 317 318 319 320 334 335 336
06398-103
F ODD FIELD EVEN FIELD
ANALOG
VIDEO
06398-104
F
HSYNC
DISPLAY DISPLAY
VERTICAL BLANK
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 283 284 285
HSYNC
06398-105
FIELD
ODD FIELD EVEN FIELD
HSYNC
DISPLAY DISPLAY
VERTICAL BLANK
309 310 311 312 313 314 315 316 317 318 319 320 334 335 336
HSYNC
06398-106
FIELD ODD FIELD EVEN FIELD
HSYNC
FIELD
PIXEL
DATA Cb Y Cr Y
06398-107
PAL = 132 × CLOCK/2
NTSC = 122 × CLOCK/2
HSYNC
DISPLAY DISPLAY
VERTICAL BLANK
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 283 284 285
HSYNC
06398-108
HSYNC
DISPLAY DISPLAY
VERTICAL BLANK
309 310 311 312 313 314 315 316 317 318 319 320 334 335 336
HSYNC
06398-109
VSYNC ODD FIELD EVEN FIELD
HSYNC
VSYNC
PIXEL Cb Y Cr Y
DATA
06398-110
PAL = 132 × CLOCK/2
NTSC = 122 × CLOCK/2
HSYNC
VSYNC
PAL = 864 × CLOCK/2
NTSC = 858 × CLOCK/2
PIXEL
DATA Cb Y Cr Y Cb
06398-111
HSYNC
DISPLAY DISPLAY
VERTICAL BLANK
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 283 284 285
HSYNC
06398-112
FIELD
ODD FIELD EVEN FIELD
DISPLAY DISPLAY
VERTICAL BLANK
HSYNC
DISPLAY DISPLAY
VERTICAL BLANK
309 310 311 312 313 314 315 316 317 318 319 320 334 335 336
HSYNC
06398-113
HD TIMING
DISPLAY
P_VSYNC
P_HSYNC
DISPLAY
561 562 563 564 565 566 567 568 569 570 583 584 585 1123
P_VSYNC
06398-114
P_HSYNC
MAGENTA
MAGENTA
YELLOW
YELLOW
GREEN
GREEN
BLACK
BLACK
WHITE
WHITE
CYAN
BLUE
CYAN
BLUE
RED
RED
700mV 700mV
300mV 300mV
06398-118
06398-115
MAGENTA
MAGENTA
YELLOW
YELLOW
GREEN
BLACK
GREEN
BLACK
WHITE
WHITE
CYAN
BLUE
CYAN
BLUE
RED
RED
700mV 700mV
06398-119
06398-116
YELLOW
YELLOW
GREEN
BLACK
GREEN
BLACK
WHITE
WHITE
CYAN
BLUE
CYAN
BLUE
RED
RED
700mV 700mV
06398-120
06398-117
940 940
700mV
700mV
64
64
300mV
300mV
600mV
512
512 700mV
700mV
06398-123
06398-121
64
64
Figure 119. EIA-770.2 Standard Output Signals (525p/625p) Figure 121. EIA-770.3 Standard Output Signals (1080i/720p)
700mV
714mV
64
64
300mV
286mV
700mV
512 700mV
64
06398-122
06398-124
300mV
64
Figure 120. EIA-770.1 Standard Output Signals (525p/625p) Figure 122. Output Levels for Full Input Selection
R R
700mV/525mV 700mV/525mV
300mV 300mV
G G
700mV/525mV 700mV/525mV
300mV 300mV
B B
700mV/525mV 700mV/525mV
06398-125
06398-127
300mV 300mV
Figure 123. SD/ED RGB Output Levels—RGB Sync Disabled Figure 125. HD RGB Output Levels—RGB Sync Disabled
R
R
700mV/525mV
700mV/525mV 600mV
300mV 300mV
0mV
0mV
G
G
700mV/525mV
700mV/525mV 600mV
300mV 300mV
0mV 0mV
B
B
700mV/525mV
700mV/525mV 600mV
300mV 300mV
06398-128
06398-126
0mV 0mV
Figure 124. SD/ED RGB Output Levels—RGB Sync Enabled Figure 126. HD RGB Output Levels—RGB Sync Enabled
100
0.4
0.5
50
0.2
0 0 0
–0.2
–50 F1
L76 L608
0 10 30 2040 50 60 0 10
20 30 40 50 60
MICROSECONDS MICROSECONDS
APL = 44.5% PRECISION MODE OFF NOISE REDUCTION: 0.00dB
06398-129
06398-132
525 LINE NTSC SYNCHRONOUS SYNC =A APL = 39.1% PRECISION MODE OFF
µ
SLOW CLAMP TO 0.00V AT 6.72µs FRAMES SELECTED 1, 2 625 LINE NTSC NO FILTERING SYNCHRONOUS SOUND-IN-SYNC OFF
SLOW CLAMP TO 0.00 AT 6.72µs FRAMES SELECTED 1, 2, 3, 4
Figure 127. NTSC Color Bars (75%) Figure 130. PAL Color Bars (75%)
0.6
0.5
0.4
50
0.2
0
0 00
–0.2
F2
L238 L575
0 10 30 20 40 50 60 0 10 20 30 40 50 60 70
MICROSECONDS MICROSECONDS
NOISE REDUCTION: 15.05dB APL NEEDS SYNC SOURCE. NO BUNCH SIGNAL
06398-130
06398-133
625 LINE PAL NO FILTERING PRECISION MODE OFF
525 LINE NTSC NO FILTERING SYNCHRONOUS SYNC = SOURCE SLOW CLAMP TO 0.00 AT 6.72µs SYNCHRONOUS SOUND-IN-SYNC OFF
SLOW CLAMP TO 0.00V AT 6.72µs
µ FRAMES SELECTED 1, 2 FRAMES SELECTED 1
0.2
0 0
0
–0.2
–50
–0.4
–0.5
F1
L76 L575
0 10 30 20 40 50 60 0 10 20
30 40 50 60
MICROSECONDS MICROSECONDS
NOISE REDUCTION: 15.05dB APL NEEDS SYNC SOURCE. NO BUNCH SIGNAL
06398-131
VIDEO STANDARDS
0HDATUM
SMPTE 274M
ANALOG WAVEFORM
F 0 0 F F 0 0 F C
INPUT PIXELS
F 0 0 V V b Y C
F 0 0 H* r
C Y
r
H*
4 CLOCK 4 CLOCK
0
SAMPLE NUMBER 2112 2116 2156 2199 44 188 192 2111
FVH* = FVH AND PARITY BITS
SAV/EAV: LINE 1–562: F = 0
SAV/EAV: LINE 563–1125: F = 1
SAV/EAV: LINE 1–20; 561–583; 1124–1125: V = 1
SAV/EAV: LINE 21–560; 584–1123: V = 0
06398-135
FOR A FRAME RATE OF 30Hz: 40 SAMPLES
FOR A FRAME RATE OF 25Hz: 480 SAMPLES
SMPTE 293M
ANALOG WAVEFORM
4 CLOCK 4 CLOCK
ACTIVE ACTIVE
VIDEO VERTICAL BLANK VIDEO
06398-137
06398-138
622 623 624 625 1 2 4 5 6 7 8 9 10 11 12 13 43 44 45
DISPLAY
06398-139
747 748 749 750 1 2 3 4 5 6 7 8 25 26 27 744 745
DISPLAY
FIELD 1
DISPLAY
FIELD 2
06398-140
561 562 563 564 565 566 567 568 569 570 583 584 585 1123
CONFIGURATION SCRIPTS
The scripts listed in the following pages can be used to configure the ADV7340/ ADV7341 for basic operation. Certain features are
enabled by default. If required for a specific application, additional features can be enabled. Table 64 lists the scripts available for SD
modes of operation. Similarly, Table 85 and Table 112 list the scripts available for ED and HD modes of operation, respectively. For all
scripts, only the necessary register writes are included. All other registers are assumed to have their default values.
STANDARD DEFINITION
Table 64. SD Configuration Scripts
Input Format Input Data Width 1 Synchronization Format Input Color Space Output Color Space Table Number
525i (NTSC) 10-bit SDR EAV/SAV YCrCb YPrPb and CVBS/Y-C Table 65
525i (NTSC) 10-bit SDR HSYNC/VSYNC YCrCb YPrPb and CVBS/Y-C Table 66
525i (NTSC) 10-bit SDR EAV/SAV YCrCb RGB and CVBS/Y-C Table 67
525i (NTSC) 10-bit SDR HSYNC/VSYNC YCrCb RGB and CVBS/Y-C Table 68
525i (NTSC) 20-bit SDR HSYNC/VSYNC YCrCb YPrPb and CVBS/Y-C Table 69
525i (NTSC) 20-bit SDR HSYNC/VSYNC YCrCb RGB and CVBS/Y-C Table 70
525i (NTSC) 30-bit SDR HSYNC/VSYNC RGB YPrPb and CVBS/Y-C Table 71
525i (NTSC) 30-bit SDR HSYNC/VSYNC RGB RGB and CVBS/Y-C Table 72
NTSC Sq. Pixel 10-bit SDR EAV/SAV YCrCb CVBS/Y-C (S-Video) Table 73
NTSC Sq. Pixel 30-bit SDR HSYNC/VSYNC RGB CVBS/Y-C (S-Video) Table 74
625i (PAL) 10-bit SDR EAV/SAV YCrCb YPrPb and CVBS/Y-C Table 75
625i (PAL) 10-bit SDR HSYNC/VSYNC YCrCb YPrPb and CVBS/Y-C Table 76
625i (PAL) 10-bit SDR EAV/SAV YCrCb RGB and CVBS/Y-C Table 77
625i (PAL) 10-bit SDR HSYNC/VSYNC YCrCb RGB and CVBS/Y-C Table 78
625i (PAL) 20-bit SDR HSYNC/VSYNC YCrCb YPrPb and CVBS/Y-C Table 79
625i (PAL) 20-bit SDR HSYNC/VSYNC YCrCb RGB and CVBS/Y-C Table 80
625i (PAL) 30-bit SDR HSYNC/VSYNC RGB YPrPb and CVBS/Y-C Table 81
625i (PAL) 30-bit SDR HSYNC/VSYNC RGB RGB and CVBS/Y-C Table 82
PAL Sq. Pixel 10-bit SDR EAV/SAV YCrCb CVBS/Y-C (S-Video) Table 83
PAL Sq. Pixel 30-bit SDR HSYNC/VSYNC RGB CVBS/Y-C (S-Video) Table 84
1
SDR = single data rate.
Table 65. 10-Bit 525i YCrCb In (EAV/SAV), YPrPb and Table 66. 10-Bit 525i YCrCb In, YPrPb and CVBS/Y-C Out
CVBS/Y-C Out Subaddress Setting Description
Subaddress Setting Description 0x17 0x02 Software reset.
0x17 0x02 Software reset. 0x00 0xFC All DACs enabled. PLL enabled (16×).
0x00 0xFC All DACs enabled. PLL enabled (16×). 0x01 0x00 SD input mode.
0x01 0x00 SD input mode. 0x80 0x10 NTSC standard. SSAF luma filter
0x80 0x10 NTSC standard. SSAF luma filter enabled. 1.3 MHz chroma filter enabled.
enabled. 1.3 MHz chroma filter enabled. 0x82 0xC9 Pixel data valid. YPrPb and CVBS/Y-C
0x82 0xC9 Pixel data valid. YPrPb and CVBS/Y-C out. SSAF PrPb filter enabled. Active
out. SSAF PrPb filter enabled. Active video edge control enabled. Pedestal
video edge control enabled. Pedestal enabled.
enabled. 0x88 0x10 10-bit input enabled.
0x88 0x10 10-bit input enabled. 0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC
synchronization.
Table 68. 10-Bit 525i YCrCb In, RGB and CVBS/Y-C Out
Subaddress Setting Description Table 71. 30-Bit 525i RGB In, YPrPb and CVBS/Y-C Out
0x17 0x02 Software reset. Subaddress Setting Description
0x00 0xFC All DACs enabled. PLL enabled (16×). 0x17 0x02 Software reset.
0x01 0x00 SD input mode. 0x00 0xFC All DACs enabled. PLL enabled (16×).
0x02 0x10 RGB output enabled. RGB output sync 0x01 0x00 SD input mode.
enabled. 0x80 0x10 NTSC standard. SSAF luma filter
0x80 0x10 NTSC standard. SSAF luma filter enabled. 1.3 MHz chroma filter enabled.
enabled. 1.3 MHz chroma filter enabled. 0x82 0xC9 Pixel data valid. YPrPb and CVBS/Y-C
0x82 0xC9 Pixel data valid. RGB and CVBS/Y-C out. SSAF PrPb filter enabled. Active
out. SSAF PrPb filter enabled. Active video edge control enabled. Pedestal
video edge control enabled. Pedestal enabled.
enabled. 0x87 0x80 RGB input enabled.
0x88 0x10 10-bit input enabled. 0x88 0x10 10-bit input enabled (10 × 3 = 30-bit).
0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC 0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC
synchronization. synchronization.
Table 69. 20-Bit 525i YCrCb In, YPrPb and CVBS/Y-C Out Table 72. 30-Bit 525i RGB In, RGB and CVBS/Y-C Out
Subaddress Setting Description Subaddress Setting Description
0x17 0x02 Software reset. 0x17 0x02 Software reset.
0x00 0xFC All DACs enabled. PLL enabled (16×). 0x00 0xFC All DACs enabled. PLL enabled (16×).
0x01 0x00 SD input mode. 0x01 0x00 SD input mode.
0x80 0x10 NTSC standard. SSAF luma filter 0x02 0x10 RGB output enabled. RGB output sync
enabled. 1.3 MHz chroma filter enabled. enabled.
0x82 0xC9 Pixel data valid. YPrPb and CVBS/Y-C 0x80 0x10 NTSC standard. SSAF luma filter
out. SSAF PrPb filter enabled. Active enabled. 1.3 MHz chroma filter enabled.
video edge control enabled. Pedestal 0x82 0xC9 Pixel data valid. RGB and CVBS/Y-C
enabled. out. SSAF PrPb filter enabled. Active
0x88 0x18 20-bit input enabled. video edge control enabled. Pedestal
0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC enabled.
synchronization. 0x87 0x80 RGB input enabled.
0x88 0x10 10-bit input enabled (10 × 3 = 30-bit).
0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC
synchronization.
Table 79. 20-Bit 625i YCrCb In, YPrPb and CVBS/Y-C Out Table 82. 30-Bit 625i RGB In, RGB and CVBS/Y-C Out
Subaddress Setting Description Subaddress Setting Description
0x17 0x02 Software reset. 0x17 0x02 Software reset.
0x00 0xFC All DACs enabled. PLL enabled (16×). 0x00 0xFC All DACs enabled. PLL enabled (16×).
0x01 0x00 SD input mode. 0x01 0x00 SD input mode.
0x80 0x11 PAL standard. SSAF luma filter enabled. 0x02 0x10 RGB output enabled. RGB output sync
1.3 MHz chroma filter enabled. enabled.
0x82 0xC1 Pixel data valid. YPrPb and CVBS/Y-C 0x80 0x11 PAL standard. SSAF luma filter enabled.
out. SSAF PrPb filter enabled. Active 1.3 MHz chroma filter enabled.
video edge control enabled. 0x82 0xC1 Pixel data valid. RGB and CVBS/Y-C
0x88 0x18 20-bit input enabled. out. SSAF PrPb filter enabled. Active
0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC video edge control enabled.
synchronization. 0x87 0x80 RGB input enabled.
0x88 0x10 10-bit input enabled (10 × 3 = 30-bit).
0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC
synchronization.
Table 80. 20-Bit 625i YCrCb In, RGB and CVBS/Y-C Out
Subaddress Setting Description Table 83. 10-Bit PAL Square Pixel YCrCb In (EAV/SAV),
0x17 0x02 Software reset. CVBS/Y-C Out
0x00 0xFC All DACs enabled. PLL enabled (16×). Subaddress Setting Description
0x01 0x00 SD input mode. 0x17 0x02 Software reset.
0x02 0x10 RGB output enabled. RGB output sync 0x00 0x1C All DACs enabled. PLL enabled (16×).
enabled. 0x01 0x00 SD input mode.
0x80 0x11 PAL standard. SSAF luma filter enabled. 0x80 0x11 PAL standard. SSAF luma filter enabled.
1.3 MHz chroma filter enabled. 1.3 MHz chroma filter enabled.
0x82 0xC1 Pixel data valid. RGB and CVBS/Y-C 0x82 0xD3 Pixel data valid. CVBS/Y-C (S-Video)
out. SSAF PrPb filter enabled. Active out. SSAF PrPb filter enabled. Active
video edge control enabled. video edge control enabled. Square
0x88 0x18 20-bit input enabled. pixel mode enabled.
0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC 0x88 0x10 10-bit YCbCr input enabled.
synchronization. 0x8C 0x0C Subcarrier frequency register values
0x8D 0x8C for CVBS and/or S-Video (Y-C) output
in PAL square pixel mode (29.5 MHz
0x8E 0x79
Table 81. 30-Bit 625i RGB In, YPrPb and CVBS/Y-C Out input clock).
0x8F 0x26
Subaddress Setting Description
0x17 0x02 Software reset. Table 84. 30-Bit PAL Square Pixel RGB In, CVBS/Y-C Out
0x00 0xFC All DACs enabled. PLL enabled (16×). Subaddress Setting Description
0x01 0x00 SD input mode. 0x17 0x02 Software reset.
0x80 0x11 PAL standard. SSAF luma filter enabled. 0x00 0x1C All DACs enabled. PLL enabled (16×).
1.3 MHz chroma filter enabled. 0x01 0x00 SD input mode.
0x82 0xC1 Pixel data valid. YPrPb and CVBS/Y-C 0x80 0x11 PAL standard. SSAF luma filter enabled.
out. SSAF PrPb filter enabled. Active 1.3 MHz chroma filter enabled.
video edge control enabled. 0x82 0xD3 Pixel data valid. CVBS/Y-C (S-Video)
0x87 0x80 RGB input enabled. out. SSAF PrPb filter enabled. Active
0x88 0x10 10-bit input enabled (10 × 3 = 30-bit). video edge control enabled. Square
0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC pixel mode enabled.
synchronization. 0x87 0x80 RGB input enabled.
0x88 0x10 30-bit RGB input enabled.
0x8A 0x0C Timing Mode 2 (slave). HSYNC/VSYNC
synchronization.
0x8C 0x0C Subcarrier frequency register values
0x8D 0x8C for CVBS and/or S-Video (Y-C) output
in PAL square pixel mode (29.5 MHz
0x8E 0x79
input clock).
0x8F 0x26
Table 86. 10-Bit 525p YCrCb In (EAV/SAV), YPrPb Out Table 87. 10-Bit 525p YCrCb In, YPrPb Out
Subaddress Setting Description Subaddress Setting Description
0x17 0x02 Software reset. 0x17 0x02 Software reset.
0x00 0x1C All DACs enabled. PLL enabled (8×). 0x00 0x1C All DACs enabled. PLL enabled (8×).
0x01 0x20 ED-DDR input mode. Luma data 0x01 0x20 ED-DDR input mode. Luma data
clocked on falling edge of CLKIN. clocked on falling edge of CLKIN.
0x30 0x04 525p at 59.94 Hz. EAV/SAV synchro- 0x30 0x00 525p at 59.94 Hz. HSYNC/VSYNC
nization. EIA-770.2 output levels. synchronization. EIA-770.2 output
0x31 0x01 Pixel data valid. levels.
0x33 0x6C 10-bit input enabled. 0x31 0x01 Pixel data valid.
0x33 0x6C 10-bit input enabled.
Table 88. 10-Bit 525p YCrCb In (EAV/SAV), RGB Out Table 92. 20-Bit 525p YCrCb In (EAV/SAV), RGB Out
Subaddress Setting Description Subaddress Setting Description
0x17 0x02 Software reset. 0x17 0x02 Software reset.
0x00 0x1C All DACs enabled. PLL enabled (8×). 0x00 0x1C All DACs enabled. PLL enabled (8×).
0x01 0x20 ED-DDR input mode. Luma data 0x01 0x10 ED-SDR input mode.
clocked on falling edge of CLKIN. 0x02 0x10 RGB output enabled. RGB output sync
0x02 0x10 RGB output enabled. RGB output sync enabled.
enabled. 0x30 0x04 525p at 59.94 Hz. EAV/SAV synchroni-
0x30 0x04 525p at 59.94 Hz. EAV/SAV synchro- zation. EIA-770.2 output levels.
nization. EIA-770.2 output levels. 0x31 0x01 Pixel data valid.
0x31 0x01 Pixel data valid. 0x33 0x6C 10-bit input enabled (10 × 2 = 20-bit).
0x33 0x6C 10-bit input enabled.
Table 89. 10-Bit 525p YCrCb In, RGB Out Table 93. 20-Bit 525p YCrCb In, RGB Out
Subaddress Setting Description Subaddress Setting Description
0x17 0x02 Software reset. 0x17 0x02 Software reset.
0x00 0x1C All DACs enabled. PLL enabled (8×). 0x00 0x1C All DACs enabled. PLL enabled (8×).
0x01 0x20 ED-DDR input mode. Luma data 0x01 0x10 ED-SDR input mode.
clocked on falling edge of CLKIN. 0x02 0x10 RGB output enabled. RGB output sync
0x02 0x10 RGB output enabled. RGB output sync enabled.
enabled. 0x30 0x00 525p at 59.94 Hz. HSYNC/VSYNC synch-
0x30 0x00 525p at 59.94 Hz. HSYNC/VSYNC ronization. EIA-770.2 output levels.
synchronization. EIA-770.2 output 0x31 0x01 Pixel data valid.
levels. 0x33 0x6C 10-bit input enabled (10 × 2 = 20-bit).
0x31 0x01 Pixel data valid.
0x33 0x6C 10-bit input enabled.
Table 94. 30-Bit 525p YCrCb In (EAV/SAV), YPrPb Out
Subaddress Setting Description
Table 90. 20-Bit 525p YCrCb In (EAV/SAV), YPrPb Out
0x17 0x02 Software reset.
Subaddress Setting Description
0x00 0x1C All DACs enabled. PLL enabled (8×).
0x17 0x02 Software reset.
0x01 0x10 ED-SDR input mode.
0x00 0x1C All DACs enabled. PLL enabled (8×).
0x30 0x04 525p at 59.94 Hz. EAV/SAV synchroni-
0x01 0x10 ED-SDR input mode. zation. EIA-770.2 output levels.
0x30 0x04 525p at 59.94 Hz. EAV/SAV synchroni- 0x31 0x01 Pixel data valid.
zation. EIA-770.2 output levels.
0x33 0x2C 4:4:4 input data. 10-bit input enabled
0x31 0x01 Pixel data valid. (10 × 3 = 30-bit).
0x33 0x6C 10-bit input enabled (10 × 2 = 20-bit).
Table 113. 10-Bit 720p YCrCb In (EAV/SAV), YPrPb Out Table 114. 10-Bit 720p YCrCb In, YPrPb Out
Subaddress Setting Description Subaddress Setting Description
0x17 0x02 Software reset. 0x17 0x02 Software reset.
0x00 0x1C All DACs enabled. PLL enabled (4×). 0x00 0x1C All DACs enabled. PLL enabled (4×).
0x01 0x20 HD-DDR input mode. Luma data 0x01 0x20 HD-DDR input mode. Luma data
clocked on falling edge of CLKIN. clocked on falling edge of CLKIN.
0x30 0x2C 720p at 60 Hz/59.94 Hz. EAV/SAV syn- 0x30 0x28 720p at 60 Hz/59.94 Hz. HSYNC/VSYNC
chronization. EIA-770.3 output levels. synchronization. EIA-770.3 output
0x31 0x01 Pixel data valid. 4× oversampling. levels.
0x33 0x6C 10-bit input enabled. 0x31 0x01 Pixel data valid. 4× oversampling.
0x33 0x6C 10-bit input enabled.
OUTLINE DIMENSIONS
12.20
0.75 12.00 SQ
0.60 1.60 11.80
0.45 MAX
64 49
1 48
PIN 1
10.20
TOP VIEW 10.00 SQ
(PINS DOWN)
9.80
1.45
0.20
1.40
0.09
1.35
7°
3.5°
0.15 16 33
0°
0.05 SEATING 17 32
PLANE 0.08
COPLANARITY VIEW A 0.27
0.50
BSC 0.22
VIEW A LEAD PITCH 0.17
ROTATED 90° CCW
051706-A
COMPLIANT TO JEDEC STANDARDS MS-026-BCD
ORDERING GUIDE
Macrovision 2 Package
Model 1
Temperature Range Antitaping Package Description Option
ADV7340BSTZ −40°C to +85°C Yes 64-Lead Low Profile Quad Flat Package [LQFP] ST-64-2
ADV7341BSTZ −40°C to +85°C No 64-Lead Low Profile Quad Flat Package [LQFP] ST-64-2
EVAL-ADV7340EBZ Yes ADV7340 Evaluation Platform
EVAL-ADV7341EBZ No ADV7341 Evaluation Platform
1
Z = RoHS Compliant Part.
2
Macrovision-enabled ICs require the buyer to be an approved licensee (authorized buyer) of ICs that are able to output Macrovision Rev 7.1.L1-compliant video.
I2C refers to a communications protocol originally developed by Philips Semiconductors (now NXP Semiconductors).