CH7002D
CHRONTEL
Preliminary
Scalable VGA to NTSC/PAL Encoder
Features
• Fully integrated solution for PC to TV display • TrueScale TM rendering engine supports underscan operation for both 640x480 or 800x600 inputs † • Advanced 3-line digital flicker filtering with programmable algorithm selections † • Fully programmable through I2C port or hardware (pin-based) controls • Wide range of VGA software drivers for full synchronization and image positioning • Auto-detection of TV presence • Programmable power management features three power-down modes • Supports both NTSC and PAL (B, D, G, H, or I) TV formats onto both composite and S-Video • Triple 8-bit ADC inputs and triple 8-bit DAC outputs • On-chip reference generation and loop filter • Offered in 44-pin PLCC package
General Description
Chrontel’s CH7002 VGA to NTSC/PAL encoder is a standalone integrated circuit which provides a PC 99 compliant solution for TV output. It accepts RGB analog inputs directly from VGA controllers and converts them directly into NTSC or PAL TV format, with simultaneous composite and S-Video outputs. This circuit integrates a digital NTSC/PAL encoder with 8bit ADC and DAC interfaces, a 3-line vertical filter, and lowjitter phase-locked loop to create outstanding quality video. Through Chrontel’s TrueScale TM rendering technology, the CH7002 supports full vertical and horizontal underscan operation from either 640x480 or 800x600 input to either NTSC or PAL outputs. A high level of performance along with full programmability makes the CH7002 ideal for system-level PC or Web browser solutions. All features are software programmable, through a standard I2C port, to enable fully integrated system solutions by using a TV as the primary display device.
† Patent number 5,781,241
SD SC ADDR UP DOWN RIGHT LEF RSET
PMODE
I2C REGISTER & CONTROL BLOCK
LINE MEMORY
RSET
R
R
Y
LINE RENDERING ENGINE
Y
ADC
G G
COLOR SPACE CONVERTER
DAC
U
DIGITAL NTSC/PAL ENCODER
Y
U
-SCALING -DEFLICKERING -SCAN CONVERSION
ADC
B B
DAC
CVBS
V
V
& FILTER
ADC DAC
SYSTEM CLOCK
C
VREF
PLL
TIMING & SYNC GENERATOR
OSC
CLKOUT
VREF1
VREF2 XCLK H V
XI
XO
Figure 1: Functional Block Diagram
201-0000-029 Rev 6.1, 8/2/99 1
CHRONTEL
CH7002D
GR EEN
VREF 1
VREF 2 41
AG ND
AG ND
AG ND
AG ND
AVDD
6
5
4
3
2
1
44
43
42
AVDD DVDD UP DGND DOWN LEFT RIGHT DVDD CLKOUT DGND XI
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
40 39 38 37 36
AVDD
BL UE
RED
AGND PMODE AVDD ADDR/FF0 V H DVDD XCLK/SD3 DGND SC/DM2 SD/DM1
CHRONTEL CH7002
35 34 33 32 31 30 29
XO/FIN
NC
NC
GN D
C
VDD
A GN D
CVBS
Y
RSET
Figure 2: 44-pin PLCC
2
RESET/DM0
201-0000-029 Rev6.1, 8/2/99
CHRONTEL
Table 1. Pin Description
44-Pin PLCC
2, 4, 6, 27, 39,42
CH7002D
Type
Power
Symbol
AGND
Description
Analog ground These pins provide the ground reference for the analog section of CH7002, and MUST be connected to the system ground to prevent latchup. Refer to the Application Information section for information on proper supply decoupling. VGA Inputs These pins should be terminated with 75 ohm resistors and isolated from switching digital signals and video output pins. Refer to the Application Information section for detailed technical guidance and alternative connection techniques. Analog Supply Voltage These pins supply the 5V power to the analog section of the CH7002. For information on proper supply decoupling, refer to the Application Information section . Clock Output This pin defaults to 14.31818 MHz upon power-up and remains active at all times (including power-down). Digital Supply Voltage These pins supply the 5V power to the digital section of CH7002. For information on proper supply decoupling, refer to the Application Information section. Digital Ground These pins provide the ground reference for the digital section of CH7002, and MUST be connected to the system ground to prevent latchup. For information on proper supply decoupling, refer to the Application Information section. Crystal Input A parallel resonance 14.31818 MHz (± 50 ppm) crystal should be attached between XI and XO/FIN. However, if an external CMOS clock is attached to XO/FIN, XI should be connected to ground. Crystal Output or External Fref A 14.31818 MHz (± 50 ppm) crystal may be attached between XO/FIN and XI. An external CMOS compatible clock can be connected to XO/FIN as an alternative. DAC Power Supply These pins supply power to CH7002’s internal DACs. Refer to the Application Information section for information on proper supply decoupling. Reference Resistor A 324 Ω resistor with short and wide traces should be attached between RSET and ground. No other connections should be made to this pin. DAC Ground These pins provide the ground reference for CH7002’s internal DACs. For information on proper supply decoupling, refer to the Application Information section. Luminance Output A 75 Ω termination resistor with short traces should be attached between Y and ground for optimum performance. Use of additional filters is discussed in the Application Information section. Composite Output A 75 Ω termination resistor, with short traces, should be attached between CVBS and ground for optimum performance. Use of additional filters is discussed in the Application Information section.
1, 3, 5
In
B, G, R
7, 37, 40, 44
Power
AVDD
15
Out
CLKOUT
8, 14, 33
Power
DVDD
10, 16, 31
Power
DGND
17
In
XI
18
In
XO/FIN
25
Power
VDD
26
In
RSET
21
Power
GND
24
Out
Y
23
Out
CVBS
201-0000-029 Rev 6.1, 8/2/99
3
CHRONTEL
Table 1. Pin Description (continued)
44-Pin PLCC
22
CH7002D
Symbol
C
Type
Out
Description
Chrominance Output A 75 Ω termination resistor, with short traces, should be attached between C and ground for optimum performance. Use of additional filters is discussed in the Application Information section. Position Controls (low-to-high transition, internal pull-up) UP, DOWN, LEFT, and RIGHT, allows the screen display position to be moved incrementally, in each respective direction, for every toggle of this pin to ground. An internal schmitt trigger minimizes switch bounce problems. These pins may be connected directly to the power supply or ground. Reset (active low) /Display Mode Select [0] (internal pull-up) The function of this dual use pin is determined by the state of the PMODE pin. When the PMODE pin is kept high (default), the RESET*/DM0 pin becomes RESET*. In this mode, when RESET* is held high (default), the chip is in operating state, and when RESET* is pulled low, the entire chip is reset and initialized to its power-up state. When the PMODE pin is pulled low, this pin becomes DM0, which combined with DM1 and DM2, provides for pin-programming of the 7002 display mode. The pin-programming is “mux-ed” with the Display Mode register selections. All applicable modes are described in Application Information and Registers and Programming sections. Serial Data/Display Mode Select [1] (internal pull-up) The function of this dual use pin is determined by the state of the PMODE pin. When the PMODE pin is kept high (default), this pin becomes SD, the serial data pin of the I2C interface port. When the PMODE pin is pulled low, this pin becomes DM1, which combined with DM0 and DM2, provides for pin-programming of the 7002 display mode. The pin-programming is “mux-ed” with the Display Mode register selections. All applicable modes are described under the programming section. Serial Clock/Display Mode Select [2] (internal pull-up) The function of this dual use pin is determined by the state of the PMODE pin. When the PMODE pin is kept high (default), this pin becomes SC, the serial clock pin of the I2C interface port. When the PMODE pin is pulled low, this pin becomes DM2, which combined with DM0 and DM1, provides for pin-programming of the 7002 display mode. The pin-programming is “mux-ed” with the Display Mode register selections. All applicable modes are described in the Registers and Programming and Application Information sections. External Clock/Sample Delay (bit 3) (internal pull-up) The function of this dual use pin is determined by the state of the PMODE pin. When the PMODE pin is kept high (default), this pin becomes XCLK or external clock, which accepts an external pixel clock input. When the PMODE pin is pulled low, this pin becomes SD3 or Sample Delay, the function corresponding to bit 3 of the Sample Delay register, which provides the following selection: SD3 Sample Delay Selected 1 20 ns nominal delay 0 0 delay (default) This pin-programming is “mux-ed” with the Sample Delay register (bit 3). All related modes are described in the Registers and Programming section. Vertical Sync Input This pin accepts the vertical sync output from the VGA card. The capacitive loading on this pin should be kept to a minimum. Horizontal Sync Input This pin accepts the horizontal sync output from the VGA card. The capacitive loading on this pin should be kept to a minimum. Refer to the Application Information section for PC Board layout considerations.
9, 11, 12, 13
In
UP, DOWN, LEFT, RIGHT RESET*/D M0
28
In
29
In/Out
SD/DM1
30
In
SC/DM2
32
In
XCLK/SD3
35
In
V
34
In
H
4
201-0000-029 Rev6.1, 8/2/99
CHRONTEL
Table 1. Pin Description (continued)
44-Pin PLCC
36
CH7002D
Symbol
ADDR/FF0
Type
In
Description
I2C Address Select/Flicker Filter (bit 0)(internal pull-up) The function of this dual use pin is determined by the state of the PMODE pin. When the PMODE pin is kept high (default), this pin becomes ADDR or I2C Address Select, which corresponds to bits 1 and 0 of the I2C device address (see the I2C Control Port Operation section for details), creating an address selection as follows: ADDR I2C Address Selected 1 1110101 = 75H = 117 0 1110110 = 76H = 118 When the PMODE pin is pulled low, this pin becomes FF0 or Flicker Filter select, the function of which corresponds to bit 0 of the Flicker Filter register, which selects between the following: FF0 Flicker Filter Mode 0 0:1:0 No filtering 1 1:2:1 Moderate filtering (default) This pin-programming is “mux-ed” with the Flicker Filter register (bit 0). All related modes are described under the Registers and Programming section.
38
In
PMODE
Programming Mode (internal pull-up) The PMODE pin selects between the two alternative programming modes for the CH7002, which in turn alters the function of five additional pins (RESET/DM0, SD/DM1, SC/DM2, XCLK/SD3, and ADDR/FF0). When PMODE is kept high (default), the chip is placed in I2C programming mode. When PMODE is pulled low, the chip is placed in direct pin programming mode. Internal Voltage Reference VREF2 provides a typical 2.5V reference that is used as an internal bias to the ADCs. A 0.1 µF decoupling capacitor should be connected between VREF2 and ground. ADC Voltage Reference Input / Output VREF1 provides a typical 1.235V reference that sets the RGB input full scale at 0.75V. A 0.1 µF decoupling capacitor should be connected between VREF1 and ground. VREF1 may also be forced by external reference, where (VFS is the full scale input voltage): VFS ~ VREF1 * 0.75/1.235 No Connect
41
In
VREF2
43
In
VREF1
19, 20
NC
NC
Note: For complete information concerning external signal connections, terminations, and system design considerations, refer to the Application Information section.
201-0000-029 Rev 6.1, 8/2/99
5
CHRONTEL
Functional Description
CH7002D
The CH7002 is a fully integrated system solution for converting analog RGB and synchronization signals from a standard VGA source into high-quality NTSC or PAL video signals. This solution involves both hardware and software elements, which work together, to produce an optimum TV screen image based on the original computer generated pixel data. All essential circuitry for this conversion are integrated on chip. On-chip circuitry includes: memory, memory control, scaling, PLL, ADC, DAC, filters, and a NTSC/PAL encoder. All internal signal processing, including NTSC/PAL encoding, is performed using digital techniques, to ensure that the high-quality video signals are not affected by drift issues associated with analog components. No additional adjustment is required during manufacturing. CH7002 is ideal for stand-alone VGA to NTSC/PAL applications, where a minimum of discrete support components (passive components, parallel resonance 14.31818 MHz crystal) are required for full operation. The CH7002 is designed to provide an ideal solution for computer motherboards, add-on graphics cards, TV-sets, and scan converter boards.
Architectural Overview
The CH7002 is a complete TV output subsystem, using both hardware and software elements, to produce an image on TV, that is virtually identical to the image that would be displayed on a monitor. Creating a compatible TV output from a VGA input is a relatively straightforward process. This process includes a standard conversion from RGB to YUV color space, converting from a non-interlaced to an interlaced frame sequence, then encoding the pixel stream into NTSC or PAL compliant format. However, creating an optimum computer-generated image on a TV screen involves a highly sophisticated process of scaling, deflickering, and filtering. This results in a compatible TV output that displays a sharp and stable image of the right size, with minimal artifacts from the conversion process. As a key part of the overall system solution, the CH7002 software establishes the correct framework for the VGA input signal to enable this process. Once the display is set to a supported resolution (either 640x480 or 800x600), the CH7002 software may be invoked to establish the appropriate TV output display. The software then programs the various timing parameters of the VGA controller to create an output signal that will be compatible with the chosen resolution, operating mode, and TV format. Adjustments performed in software include pixel clock rates, total pixels per line, and total lines per frame. By performing these adjustments in software, the CH7002 can render a superior TV image, without the added cost of a full frame buffer memory, normally used to implement features such as scaling and full synchronization. Without this added system software, TV output solutions can only guarantee compatible operation in VGA standard mode 12 (640x480x16 color, 60 Hz). The CH7002 hardware accepts direct VGA outputs (analog RGB inputs), which are digitized on a pixel-by-pixel basis by three 8-bit video A/D converters. The digitized RGB inputs are then color space converted into YUV in 42-2 format (encoded into luminance (Y) and color-difference (U,V) signals) and stored in a line buffer memory. The stored pixels are fed into a block where scan-rate conversion, underscan scaling, and 3-line vertical flicker filtering are performed. The scan-rate converter transforms the VGA horizontal scan-rate to either NTSC or PAL scan-rates; the vertical flicker filter eliminates flicker at the output, while the underscan scaling reduces the size of the displayed image to fit onto a TV screen. The resulting YUV signals are filtered through digital filters to minimize aliasing problems. The digital encoder receives the filtered signals and transforms the signals into composite and S-Video outputs, which are converted by the three 8-bit DACs into analog outputs.
6
201-0000-029 Rev6.1, 8/2/99
CHRONTEL
Clock Generation and Video Timing
CH7002D
All clock signals of the CH7002 are generated from the VGA synchronization inputs by a low-jitter, PLL circuit. The VGA input and sync timing are illustrated in Figures 3, 5 and 6. The VGA pixel clock is generated internally, using the VGA horizontal sync signal, and is used for sampling the RGB inputs pixel-by-pixel, which aids in preventing aliasing artifacts. All synchronization and color burst envelope pulses are internally generated, using only the timing signals provided by the VGA synchronization inputs. In situations where the CH7002 is placed next to a graphics controller (e.g. motherboard or add-in cards), the graphics pixel clock can be provided to CH7002, directly from the graphics controller via pin XCLK. This arrangement minimizes phase jitter of the system clock used in the encoder. See the sections on Application Information and Registers and Programming for detailed information on how to connect and enable this function.
31.78 µs
H
25.42 µs
R,G,B DATA
3.81 µs
ACTIVE VIDEO
1.91 µs 0.64 µs
Note: The timing diagram shown is for 640 x 480, 60 Hz VGA mode
Figure 3: Typical VGA Input Timing
31.78 µs
H
63.56 µs
V*
(ACTIVE LOW)
Figure 4: VGA Horizontal and Vertical Sync Input Timing
Note: The values shown in Figures 4 and 5 represent typical timing parameters for VGA controllers operating in 640x480 resolution at 60 Hz, with the CH7002 in overscan mode. Other resolutions and display modes have different timing requirements. EXT PCLK HSYNC and VSYNC
t1
EXT PCLK HSYNC and V VSYNC SYNC
t2
Figure 5: External Clock Input Timing
201-0000-029 Rev 6.1, 8/2/99 7
CHRONTEL
Color Burst Generation*
CH7002D
The CH7002 employs a proprietary technique for generating the color sub-carrier frequency. This method allows the sub-carrier frequency to be accurately generated from a 14.31818 MHz crystal oscillator, leaving the accuracy of the sub-carrier frequency independent of the sampling rate. As a result, the CH7002 is compatible with any VGA chip, since the CH7002 sub-carrier frequency is not dependent on the pixel rates of VGA manufacturers. This feature is a significant benefit, since even a ± 0.01% sub-carrier frequency variation may be enough to cause some television monitors to lose color lock.
Internal Voltage Reference
The on-chip generated ADC voltage references are brought out to pins VREF1 and VREF2 for decoupling purposes. VREF1 and VREF2 should each have a 0.1 µF decoupling capacitor between each pin and ground. VREF2 provides a typical 2.5V reference used for setting the internal bias to the ADCs. VREF1 provides a typical 1.235V reference used for setting the RGB input full scale at 0.75V. VREF1 can be forced by an external voltage reference to accommodate different RGB input ranges. An additional on-chip bandgap circuit is used, in the DAC, to generate a reference voltage, which in conjunction with a reference resistor at pin RSET, sets the output ranges of the DACs. For each DAC, the current output per LSB step is determined by the following equation: ILSB = V(RSET)/RSET * 1/24 = 1.235/324 * 1/24 = 159 uA (nominal) The value of RSET can be adjusted to achieve a desired output signal level. A valid range for RSET is any value at or over 300 ohms.
Operating Modes
The CH7002 is designed to accept certain limited input resolutions, primarily 640x480 and 800x600, from a VGA type graphics controller. The CH7002 is also designed to support both NTSC and PAL output formats, with scaling to provide either an overscanned or underscanned image, when displayed on a TV. This combination of input resolution and output formatting results in a matrix of operating modes which are listed below, and are described in detail in Table 2. Note that all of these modes may be set either by I2C programming or by direct pin programming: • • Modes 2 and 3 support 640x480 into a NTSC format in overscan and underscan forms respectively. Modes 1 and 4 support 640x480 into a PAL format in underscan and overscan forms respectively. Note that Mode 1 is the recommended operating mode for this resolution because it provides a higher overall quality image. Modes 0 and 5 support 800x600 into a PAL format in underscan and overscan forms respectively. Mode 6 supports 800x600 into a NTSC format in an underscan form.
• •
8
201-0000-029 Rev6.1, 8/2/99
CHRONTEL
Operating Modes (Continued)
Table 2. CH7002 Operating Modes
Name PAL OUT 800x600 IN
0 35.400 5/6 750 600 50.0 37.5 625 500 50.00 15625.0
CH7002D
PAL OUT 640x480 IN Underscan
1 25.000 1/1 625 480 50.00 31.250 625 480 50.00 15625.0
NTSC 640x480 IN Overscan
2 25.175 1/1 525 480
59.94 31.469 525 480 59.94 15734.3
NTSC OUT 640x480 IN Underscan
3 28.196 7/8 600 480
59.94 35.964 525 420 59.94 15734.3
PAL OUT 640x480 IN Overscan
4 25.000 1/1 625 480
50.00 31.250 625 480 50.00 15625.0
PAL OUT 800x600 IN Overscan
5 29.500 1/1 625 600
50.00 31.250 625 600 50.00 15625.0
NTSC OUT 800x600 IN Underscan
6 43.636 3/4 700 600
59.94 41.958 525 450 59.94 15734.3
Mode Pixel Clock Scale Factor Total VGA Lines Active VGA Lines Fvert VGA (Hz) Fhor VGA (KHz) Total TV Lines Active TV Lines Fvert TV (Hz) Fhor TV (Hz)
Overscan/Underscan
The inclusion of both overscan and underscan forms of output display have been created to enable optimal use of the CH7002 for different application needs. In general, underscan provides an image that is entirely viewable on screen. It should be used as the default for most applications (e.g. viewing text screens, operating games, running productivity applications, working within Windows). Overscan provides an image that bleeds past the edges of the TV screen, exactly like normal television programs and movies appear on TV. It is only recommended for viewing movies or video clips coming from the computer.
Anti-Flicker Filter
The CH7002 integrates a 3-line vertical filter circuit to help eliminate the flicker associated with interlaced displays. When operating in underscan mode, this flicker circuit provides a adaptive filter algorithm for implementing flicker reduction based on an approximate 1:2:1 weighting sequence. When operating in overscan mode, it provides four anti-flicker filter modes as shown in Table 3. These modes are fully selectable, via I2C, and a subset is selectable (either 0:1:0 filtering or 1:2:1 filtering) when using direct pin programming mode.
Table 3. Anti-Flicker Filter Modes
FF0
0 0 1 1
FF1
0 1 0 1
Filter Modes
0:1:0 averaging (no filtering) 1:3:1 averaging 1:2:1 averaging 1:1:1 averaging
9
*Patent number 5,874,846
201-0000-029 Rev6.1, 8/2/99
CHRONTEL
Power Management
CH7002D
The CH7002 supports four operating states (including Normal [On], Power Down, S-Video Off, and Composite Off) to provide optimal power consumption for the application involved. Using the programmable power down modes accessed over the I2C port, the CH7002 may be placed in either Normal state, or any of the four power managed states listed below (see the Miscellaneous Control Register under the Registers and Programming section). To support power management, a TV sensing function (see Connection Detect Register) is provided, which identifies whether a TV is connected to S-Video or Composite, or neither. This sensing function can then be used to enter into the appropriate operating state (e.g., if TV is sensed only on Composite, the S-Video Off mode could be set by software).
Power State
Normal (On):I Power Down:I
Functional Description
In the normal operating state, all functions and pins are active In the complete power-down state, most pins and circuitry are disabled.The CLKOUT pin, however, will continue to provide 14.318 Mhz out. This places the CH7002 in its lowest power consumption mode In Composite-off state, power is shut off to the unused DAC associated with CVBS output, thereby reducing power by approximately 10% Power is shut off to the unused DAC associated with CVBS output
Composite Off
S-Video Off
When using direct pin-programming mode for the CH7002, only Normal and Power Down states are supported as selected by the Display Mode inputs. When inputs DM[2:0] are set to a 111 state, the CH7002 is placed in Power Down state. The CH7002 operates in Normal mode when the Display Mode settings are set to any valid state (where DM[2:0] is between 000 and 110).
Luminance Filter Options
The CH7002 contains a set of luminance filters to provide a controllable bandwidth output on both composite and SVideo outputs. The response of the luminance filters are shown in the graphs in Figures 7 and 8. The horizontal axis is frequency in Mhz, and the vertical axis is gain in dBs. The possible S-Video MHz responses are: Y_SV0: A high frequency response, selected by setting YC-HI to 1 in the Y-filter register. Y_SV1: A lower frequency response, selected by setting YC-HI to 0 in the Y-filter register. Y_SV2: A lower frequency response, with peaking enabled, which gives improved transient response, with matching pre-shoot and overshoot of 6%. This is selected by setting YC-HI to 0 and YPEAKD to 0 in the Y-filter register. Note that peaking can only be enabled in the lower frequency response mode. The possible CVBS (composite) responses are: Y_CV0: A high frequency response, selected by setting YCV-HI to 1 in the Y-filter register. Y_CV1: A lower frequency response, selected by setting YCV-HI to 0 in the Y-filter register. This setting will result in a reduced amount of cross-luminance artifacts.
10
201-0000-029 Rev6.1, 8/2/99
CHRONTEL
CH7002D
0 -1 -2 -3 -4 dB -5 -6 -7 -8 -9 -10 0
Y_SV0 Y_SV1 Y_SV2 Y_CVO Y_CV1
1
2
3 Freq (MHz)
4
5
6
Figure 6: Luminance Frequency Response - Detailed View
0 -10 -20 dB -30 -40 Y_SV0 Y_SV1 Y_SV2 Y_CVO Y_CV1 0 1 2 3 4 5 6 7 8 9 10 11 12
Freq (MHz)
Figure 7: Luminance Frequency Response - Full View
Notes: 1 The curves shown are valid for operating modes 2 and 6. Mode 0 frequency values are 20% higher, mode 1 and 3 frequency values are 12% higher, and mode 4 frequency values are 1% lower, due to changes in clock frequencies. 2 The Y_SV1 and Y_CV0 responses are identical; therefore the curves lie on top of each other.
201-0000-029 Rev 6.1, 8/2/99
11
CHRONTEL
NTSC and PAL Operation
CH7002D
Composite and S-Video outputs are supported in either NTSC or PAL format. The general parameters used to characterize these outputs are listed in Table 4 and shown in Figure 8. (See Figures 9 through 16 for illustrations of composite and S-Video output waveforms.)
Table 4. NTSC/PAL Composite Output Timing Parameters (in µS)
Symbol Description
Level (mV)
NTSC PAL
310 24 310 310 310 310 310-977 310
Duration (uS)
NTSC
1.49 - 1.52 4.69 - 4.72 0.60 2.48 - 2.50 1.60 0.92 - 3.64 45.40 - 50.84 0.92 - 3.64
PAL
1.50 - 1.78 4.43 - 4.73 0.57 - 0.60 2.33 - 2.52 1.50 - 1.60 0.00 - 4.24 45.20 - 53.00 0.00 - 4.24
A B C D E F G H
Front Porch Horizontal Sync Breezeway Color Burst Back Porch Black Active Video Black
310 24 310 310 310 363 363-1030 363
Notes: For this table and all subsequent figures: RSET = 324 ohms; V(RSET) = 1.235 V; 75 ohms doubly terminated load (BLR=61 for NTSC, and BLR=52 for PAL), 100% amplitude, 100% saturation bars are shown (100%=0.66071V). 1 Durations vary slightly in different modes due to the different clock frequencies used. 2 Active video times vary greatly due to different scaling ratios used in different modes. 3 Black times (F and H) vary with position controls.
A
B
C
D
E
F
G
H
Figure 8: NTSC / PAL Composite Output
12
201-0000-029 Rev6.1, 8/2/99
CHRONTEL
START OF VSYNC ANALOG FIELD 1
CH7002D
520
521
522
523
524
525
1
2
3
4
5
6
7
8
9
ANALOG FIELD 2
258
259
260
261 LINE RATE
262
263
264
265
266
267
268
269
270
271
272
LINE RATE = HALF THE VGA LINE RATE IN MODES 1, 2, 4 AND 5
FIELD RATE = VGA VERTICAL REFRESH RATE IN MODES 11 & 12 (640 x 480)
FIELD RATE = VGA VERTICAL REFRESH RATE IN ALL MODES
= HALF THE VGA LINE RATE IN MODES 11 & 12 (640 x 480)
Figure 9: Interlaced NTSC Video Timing
START OF VSYNC ANALOG FIELD 1
620
621
622
623
624
625
1
2
3
4
5
6
7
8
9
10
ANALOG FIELD 2
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
ANALOG FIELD 3
620
621
622
623
624
625
1
2
3
4
5
6
7
8
9
10
ANALOG FIELD 4
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
Figure 10: Interlaced PAL Video Timing
201-0000-029 Rev 6.1, 8/2/99
13
CHRONTEL
CH7002D
Black Blue R ed Magenta
Green C yan Yellow
White
Color/Level White Yellow
mA 27.48 25.41
V 1.030 0.953
Color bars:
Cyan Green Magenta Red Blue Black Blank
22.08 20.01 16.99 14.93 11.59 9.69 8.26
0.828 0.750 0.637 0.560 0.435 0.363 0.310
Sync
0.64
0024
Figure 11: NTSC Y (Luminance) Output Waveform
B lue Red Magenta
Green Cyan Yellow
Whit e
Black
Color/Level White Yellow
mA 26.05 23.98
V 0.977 0.899
Color bars:
Cyan Green Magenta Red Blue Blank
20.65 18.58 15.56 13.50 10.16 8.26
0.774 0.697 0.584 0.506 0.381 0.310
Sync
0.64
0.024
Figure 12: PAL Y (Luminance) Video Output Waveform
14
201-0000-029 Rev6.1, 8/2/99
CHRONTEL
CH7002D
Magenta
Yellow
Green
White
Black
Cyan
Color bars:
Color/Level Cyan/Red Green/Magenta mA 27.00 26.36 V 1.012 0.989
Blue
Re d
Yellow/Blue
23.82
0.893
Peak Burst Blank Peak Burst
19.69 15.88 12.07
0.739 0.596 0.337
3.579545 MHz Color Burst (9 cycles)
Yellow/Blue 7.94 0.298
Green/Magenta Cyan/Red
5.40 4.76
0.202 0.179
Figure 13: NTSC C (Chrominance) Video Output Waveform
Magenta
Yellow
Whit e
Green
Black
Cyan
Color bars:
Color/Level Cyan/Red Green/Magenta mA 27.00 26.36 V 1.012 0.989
Blue
Red
Yellow/Blue
23.82
0.893
Peak Burst Blank Peak Burst
19.69 15.88 12.07
0.739 0.596 0.337
4.433619 MHz Color Burst (10 cycles)
Yellow/Blue 7.94 0.298
Green/Magenta Cyan/Red
5.40 4.76
0.202 0.179
Figure 14: PAL C (Chrominance) Video Output Waveform
201-0000-029 Rev 6.1, 8/2/99 15
CHRONTEL
CH7002D
Magenta
Yellow
Green
White
Black
Cyan
Blue
R ed
Color/Level Peak Chrome White
mA 33.35 27.48
V 1.251 1.030
Color bars:
Peak Burst Black Blank
12.07 9.69 8.26
0.453 0.363 0.310
Peak Burst
4.45
0.167
3.579545 MHz Color Burst (9 cycles)
Sync 0.64 0.024
Figure 15: Composite NTSC Video Output Waveform
Magenta
Yellow
Green
White
Black
Cyan
Blue
Re d
Color/Level
mA
V 1.197 0.977
Color bars:
Peak Chrome 31.92 White 26.05
Peak Burst
12.07
0.453
Blank/Black
8.26
0.310
Peak Burst
4.45
0.167
Sync
0.64
0.024
4.433619 MHz Color Burst (10 cycles)
Figure 16: Composite PAL Video Output Waveform
16
201-0000-029 Rev6.1, 8/2/99
CHRONTEL
I2C Port Operation
CH7002D
The CH7002 contains a standard I2C control port, through which the control registers can be written and read. This port is comprised of a two-wire serial interface, pins SD (bi-directional) and SC, which can be connected directly to the SDB and SCB buses as shown in Figure 17. The Serial Clock line (SC) is input only and is driven by the output buffer of the master device (also shown in Figure 17). The CH7002 acts as a slave, and generation of clock signals on the bus is always the responsibility of the master device. When the bus is free, both lines are HIGH. The output stages of devices connected to the bus must have an open-drain or open-collector to perform the wired-AND function. Data on the bus can be transferred up to 400 kbit/s.
+VDD RP
SDB (Serial Data Bus) SCB (Serial Clock Bus) SC DATAN2 OUT MASTER SCLK OUT FROM MASTER SD
DATAN2 OUT
DATAN2 OUT
DATA IN MASTER BUS MASTER
SCLK IN1 SLAVE
DATA IN1
SCLK IN2 SLAVE
DATA IN2
Figure 17: Connection of Devices to the Bus
Electrical Characteristics for Bus Devices
The electrical specifications of the bus devices’ inputs and outputs and the characteristics of the bus lines connected to them are shown in Figure 17. A pull-up resistor (RP) must be connected to a 5V +/- 10% supply. The CH7002 is a device with input levels related to VDD.
Maximum and minimum values of pull-up resistor (R P)
The value of RP depends on the following parameters: • Supply voltage • Bus capacitance • Number of devices connected (input current + leakage current = Iinput) The supply voltage limits the minimum value of resistor R P due to the specified minimum sink current of 3mA at VOLmax = 0.4 V for the output stages. • RP >= (VDD – 0.4) / 3 (RP in kΩ) The bus capacitance is the total capacitance of wire, connections and pins. This capacitance limits the maximum value of RP due to the specified rise time. The equation for RP is shown below: • RP