• Input data path handles 8, 12, or 16-bit words in
multiplexed or non-multiplexed form
• Decodes pixel data in YCrCb (CCIR601 or 656) or
RGB (15, 16 or 24-bit) formats
• Supports 640x480, 640x400, 720x400, 800x600 and
512x384 input resolutions
• Adjustable underscan for most modes† ¥
• High quality 4-line flicker filtering †
• High resolution on-chip PLL
• Fully programmable through I2C port
• Supports NTSC, NTSC-EIA (Japan), and PAL (B, D,
G, H, I, M and N) TV formats
• Provides Composite, S-Video and SCART outputs
• CCIR624-3 compliant (see exceptions)
• Auto-detection of TV presence
• Sub-carrier genlock and dot crawl control
• Programmable power management
• 9-bit video DAC outputs
• Complete Windows and DOS driver software
• Offered in a 44-pin PLCC, 44-pin TQFP
† Patent number 5,781,241
General Description
Chrontel’s CH7003 digital PC to TV encoder is a standalone integrated circuit which provides a PC 99 compliant
solution for TV output. It provides a universal digital input
port to accept a pixel data stream from a compatible VGA
controller (or equivalent) and converts this directly into
NTSC or PAL TV format, with simultaneous composite
and S-Video outputs.
This circuit integrates a digital NTSC/PAL encoder with 9bit DAC interface, and new adaptive flicker filter, and high
accuracy low-jitter phase locked loop to create outstanding
quality video. Through its TrueScaleTM scaling and deflickering engine, the CH7003 supports full vertical and
horizontal underscan capability and operates in 5 different
resolutions including 640x480 and 800x600.
A new universal digital interface along with full
programmability make the CH7003 ideal for system-level
PC solutions. All features are software programmable
through a standard I2C port, to enable a complete PC
solution using a TV as the primary display.
¥ Patent number 5,914,753
LINE
MEMORY
RGB-YUV
D[15:0
PIXEL DATA
]
CONVERTER
DIGITAL
INPUT
INTERFACE
I2C REGISTER & CONTROL
BLOCK
SCSDADDR
TRUE SCALE
SCALING & DEFLICKERING
ENGINE
SYSTEM CLOCK
PLL
XCLK
Figure 1: Functional Block Diagram
201-0000-023 Rev 4.1, 8/2/99 1
YUV-RGB CONVERTER
NTSC/PAL
ENCODER
& FILTERS
TIMING & SYNC GENERATOR
V
XI XO/FIN
H
CSYNC
P-OUT
TRIPLE
DAC
BCO
Y/R
C/G
CVBS/G
RSET
Page 2
CHRONTELCH7003B
D[2]
D[3]
D[1]
6
5
7
V
H
XCLK
DVDD
D[0]
4
3
2
1
P-OUT
DGND
BCO
AGND
44
43
42
41
40
39
XO/FIN
D[4]
D[5]
D[6]
DVDD
8
9
10
11
38
37
36
35
XI
AVDD
DVDD
ADDR
CHRONTEL
D[7]DGND
D[8]
D[9]
D[10]
D[11]
12
13
14
15
16
17
34
CH7003
18
19
20
21
22
D[12]
D[13]
D[14]
D[15]
DVDD
24
23
CSYNC
25
26
27
28
Y
C
GND
DGND
CVBS
33
32
31
30
29
SC
SDDGND]
VDD
RSET
GND
Figure 2: 44-pin PLCC
2201-0000-023 Rev.4.1, 8/2/99
Page 3
CHRONTELCH7003B
Figure 3: 44-pin TQFP
D[2]
D[3]
D[3]
D[4]
D[4]
D[5]
D[5]
D[6]
D[6]
DVDD
DVDD
D[7]
D[7]
D[8]
D[8]
DGND]
DGND]
D[9]
D[9]
D[10]
D[10]
D[11]
D[11]
1
2
3
4
5
6
7
8
9
10
11
D[1]
44
43
12
13
V
H
XCLK
DVDD
D[0]
42
41
40
39
P-OUT
38
37
CHRONTEL
CH7003
14
15
16
18
17
DGND
BCO
AGND
36
35
34
33
XO/FIN
XO/FIN
32
XI
XI
AVDD
31
AVDD
DVDD
30
DVDD
ADDR
29
ADDR
DGND
28
DGND
SC
27
SC
SD
26
SD
VDD
25
VDD
RSET
24
RSET
GND
23
GND
19
20
21
22
Y
C
D[12]
D[13]
D[14]
D[15]
DVDD
CSYNC
GND
DGND
CVBS
Figure 3: 44-PIN TQFP
201-0000-023 Rev 4.1, 8/2/993
Page 4
CHRONTELCH7003B
Table 1. Pin Description
44-Pin
PLLC
21-15,
13-12,
10-4
4337OutP-OUT
139InXCLK
341In/OutV
240In/OutH
4135OutBCO
3832InXI
3933InXO/FIN
3024InRSET
2822OutY/R
2721OutC/G
44-Pin
TQFP
15,14,
13,12,
11,10,
9,7,6,4,
3,2,
1,44,43,
42
TypeSymbolDescription
InD15-D0
Digital Pixel Inputs
These pins accept digital pixel data streams with either 8, 12, or 16-bit
multiplexed or 16-bit non-multiplexed formats, determined by the input
mode setting (see Registers and Programming section). Inputs D0 - D7 are
used when operating in 8-bit multiplexed mode. Inputs D0 - D11 are used
when operating in 12-bit mode. Inputs D0 - D15 are used when operating
in 16-bit mode. The data structure and timing sequence for each mode is
described in the section on Digital Video Interface.
Pixel Clock Output
The CH7003, operating in master mode, provides a pixel data clocking
signal to the VGA controller. This pin provides the pixel clock output signal
(adjustable as 1X, 2X or 3X) to the VGA controller (see the section on
Digital Video Interface and Registers and Programming for more details).
The capacitive loading on this pin should be kept to a minimum.
Pixel Clock Input
To operate in a pure master mode, the P-OUT signal should be connected
to the XCLK input pin. To operate in a pseudo-master mode, the P-OUT
clock is used as a reference frequency, and a signal locked to this output (at
1X, 1/2X, or 1/3X the P-OUT frequency) is input to the XCLK pin. To operate
in slave mode, the CH7003 accepts an external pixel clock input at this pin.
The capacitive loading on this pin should be kept to a minimum.
Vertical Sync Input/Output
This pin accepts the vertical sync signal from the VGA controller, or outputs
a vertical sync to the VGA controller. The capacitive loading on this pin
should kept to a minimum.
Horizontal Sync Input/Output
This pin accepts the horizontal sync from the VGA controller, or outputs a
horizontal sync to the VGA controller. The capacitive loading on this pin
should be kept to a minimum.
Buffered Clock Output
This pin provides a buffered output of the 14.31818 MHz crystal input
frequency for other devices and remains active at all times (including
power-down). The output can also be selected to be other frequencies (see
Registers and Programming).
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.
Reference Resistor
A 360 Ω resistor with short and wide traces should be attached between
RSET and ground. No other connections should be made to this pin.
Luminance Output
A 75 Ω termination resistor with short traces should be attached between Y
and ground for optimum performance. In normal operating modes other
than SCART, this pin outputs the luma video signal. In SCART mode, this
pin outputs the red signal.
Chrominance Output
A 75 Ω termination resistor with short traces should be attached between C
and ground for optimum performance. In normal operating modes other
than SCART, this pin outputs the chroma video signal. In SCART mode,
this pin outputs the green signal.
4201-0000-023 Rev.4.1, 8/2/99
Page 5
CHRONTELCH7003B
Table 1. Pin Description (continued)
44-Pin
PLLC
2620OutCVBS/B
2317OutCSYNC
3226In/OutSD
3327InSC
3529In ADDR
40 34PowerAGND
3731PowerAVDD
3125PowerVDD
29, 2519,23PowerGND
44, 36,
22, 11
42, 34,
24, 14
N/AN/AOutR
N/AN/AOutG
N/AN/AOutB
44-Pin
TQFP
5,16,
30,38
8, 18,
28, 36
TypeSymbolDescription
PowerDVDD
PowerDGND
Composite Video Output
A 75 Ω termination resistor with short traces should be attached between
CVBS and ground for optimum performance. In normal operating modes
other than SCART, this pin outputs the composite video signal. In SCART
mode, this pin outputs the blue signal.
Composite Sync Output
A 75 Ω termination resistor with short traces should be attached between
CSYNC and ground for optimum performance. In SCART mode, this pin
outputs the composite sync signal.
Serial Data (External pull-up required)
This pin functins as SD, the serial data pin of the I2C interface port (see the
I 2C Port Operation section for details).
Serial Clock (Internal pull-up)
This pin functions as the serial clock pin of the I2C interface port (see the
I 2C Port Operation section for details).
I2C Address Select (Internal pull-up)
This pin is the I2C Address Select, which corresponds to bits 1 and 0 of the
I2C device address (see the I 2C Port Operation section for details), creating
an address selection as follows:
These pins provide the ground reference for the analog section of CH7003,
and MUST be connected to the system ground, to prevent latchup.
Analog Supply Voltage
These pins supply the 5V power to the analog section of the CH7003.
DAC Power Supply
These pins supply the 5V power to CH7003’s internal DACs.
DAC Ground
These pins provide the ground reference for CH7003’s internal DACs.
Digital Supply Voltage
These pins supply the 3.3V power to the digital section of CH7003.
Digital Ground
These pins provide the ground reference for the digital section of CH7003,
and MUST be connected to the system ground to prevent latchup.
R (Red) Component Output
This pin provides the analog Red component of the digital RGB input in the
RGB Pass-Through mode.
G (Green) Component Output
This pin provides the analog Green component of the digital RGB input in
the RGB Pass-Through mode.
B (Blue) Component Output
This pin provides the analog Blue component of the digital RGB input in the
RGB Pass-Though mode.
201-0000-023 Rev 4.1, 8/2/995
Page 6
CHRONTELCH7003B
Digital Video Interface
The CH7003 digital video interface provides a flexible digital interface between a computer graphics controller and
the TV encoder IC, forming the ideal quality/cost configuration for performing the TV-output function. This digital
interface consists of up to 16 data signals and 4 control signals, all of which are subject to programmable control
through the CH7003 register set. This interface can be configured as 8, 12 or 16-bit inputs operating in either
multiplexed mode or 16-bit input operation in de-multiplexed mode. It will also accept either YCrCb or RGB (15,
16 or 24-bit) data formats. A summary of the data format modes is as follows:
Table 2. Input Data Formats
Bus WidthTransfer ModeColor Space and DepthFormat Reference
16-bit Non-multiplexedRGB 16-bit5-6-5 each word
15-bitNon-multiplexedRGB 15-bit5-5-5 each word
16-bitNon-multiplexedYCrCb (24-bit)CbY0,CrY1...(CCIR656 style)
8-bit2X-multiplexedRGB 15-bit5-5-5 over two bytes
8-bit2X-multiplexedRGB 16-bit5-6-5 over two bytes
8-bit3X-multiplexedRGB 24-bit8-8-8 over three bytes
8-bit2X-multiplexedYCrCb (24-bit)Cb,Y0,Cr,Y1,(CCIR656 style)
12-bit2X-multiplexedRGB 248-8-8 over two words - ‘C’ version
12-bit2X-multiplexedRGB 248-8-8 over two words - ‘I’ version
16-bit2X-multiplexedRGB 24 (32)8-8,8X over two words
The clock and timing signals used to latch and process the incoming pixel data is dependent upon the clock mode.
The CH7003 can operate in either master (the CH7003 generates a pixel frequency which is either returned as a
phase-aligned pixel clock or used directly to latch data), or slave mode (the graphics chip generates the pixel clock).
The pixel clock frequency will change depending upon the active image size (e.g., 640x480 or 800x600), the desired
ouput format (NTSC or PAL), and the amount of scaling desired. The pixel clock may be requested to be 1X, 2X or
3X the pixel data rate (subject to a 100 MHz frequency limitation). In the case of a 1X pixel clock the CH7003 will
automatically use both clock edges if a multiplexed data format is selected.
Sync Signals: Horizontal and vertical sync signals will normally be supplied by the VGA controller, but may be
selected to be generated by the CH7003. In the case of CCIR656 style input, embedded sync may also be used. In
each case, the horizontal timing signal (horizontal sync) must be derived from the pixel clock, with the period set to
exactly 8 times (9 times for 720x400 modes) the pixel clock period, times an integer value. Each line to be set, is set
up by the leading edge of Horizontal sync. The vertical timing signal must be able to be set to any integer number of
lines between 420 and 836.
Master Clock Mode: The CH7003 generates a clock signal (output at the P-OUT pin) which will be used by the
VGA controller as a frequency reference. The VGA controller will then generate a clock signal which will be input
via the XCLK input. This incoming signal will be used to latch (and de-multiplex, if required) incoming data. The
XCLK input clock rate must match the input data rate, and the P-OUT clock can be requested to be 1X, 2X or 3X
the pixel data rate. As an alternative, the P-OUT clock signal can also be used as the input clock signal (connected
directly to the XCLK input) to latch the incoming data. If this mode is used, the incoming data must meet setup and
hold times with respect to the XCLK input (with the only internal adjustment being XCLK polarity).
Slave Clock Mode: The VGA controller will generate a clock which will be input to the XCLK pin (no clock
signal will be output on the P-OUT pin). This signal must match the input data rate, must occur at 1X, 2X or 3X the
pixel data rate, and will be used to latch (and de-multiplex if required) incoming data. Also, the graphics IC
transmits back to the TV encoder the horizontal and vertical timing signals, and pixel data, each of which must meet
the specified setup and hold times with respect to the pixel clock.
Pixel Data: Active pixel data will be expected after a programmable number pixels times the multiplex rate after
the leading edge of Horizontal Sync. In other words, specifying the horizontal back porch value (as a pixel count),
plus horizontal sync width, will determine when the chip will begin to sample pixels.
6201-0000-023 Rev.4.1, 8/2/99
Page 7
CHRONTELCH7003B
Digital Video Interface (continued)
Non-multiplexed Mode
In the 15/16-bit mode shown in Figure4, the pixel data bus represents a 15/16-bit non-multiplexed data stream,
which contains either RGB or YCrCb formatted data. When operating in RGB mode, each 15/16-bit Pn value will
contain a complete pixel encoded in either 5-6-5 or 5-5-5 format. When operating in YCrCb mode, each 16-bit Pn
word will contain an 8-bit Y (luminance) value on the upper 8 bits, and an 8-bit C (color difference) value on the
lower 8 bits. The color difference will be transmitted at half the data rate of the luminance data, with the sequence
being set as Cb followed by Cr. The Cb and Cr data will be co-sited with the Y value transmitted with the Cb value,
with the data sequence described in Table3. The first active pixel is SAV pixels after the leading edge of horizontal
sync, where SAV is a bus-controlled register.
When IDF = 1, (YCrCb 16-bit mode), H and V sync signals can be embedded into the data stream. In this mode, the
embedded sync will be similar to the CCIR656 convention (not identical, since that convention is for 8-bit data
streams), and the first byte of the ‘video timing reference code’ will be assumed to occur when a Cb sample would
occur – if the video stream was continuous. This is delineated in Table4 below.
Table 4. YCrCb Non-multiplexed Mode with Embedded Syncs
In this mode, the S[7..0] byte contains the following data:
S[6]= F = 1 during field 2, 0 during field 1
S[5]=V=1 during field blanking, 0 elsewhere
S[4]=H=1 during EAV (the synchronization reference at the end of active video)
0 during SAV (the synchronization reference at the start of active video)
Bits S[7] and S[3..0] are ignored.
Multiplexed Mode
Each rising edge (or each rising and falling edge) of the XCLK signal will latch data from the graphics chip. The
multiplexed input data formats are shown in Figure5 and 6. The Pixel Data bus represents an 8-, 12-, or 16-bit
multiplexed data stream, which contains either RGB or YCrCb formatted data. In IDF settings of 2, 4, 5, 7, 8, and 9,
the input data rate is 2X PCLK, and each pair of Pn values (e.g., P0a and P0b) will contain a complete pixel,
encoded as shown in the tables below. When IDF = 6, the input data rate is 3X PCLK, and each triplet of Pn values
(e.g., P0a, P0b and P0c) will contain a complete pixel, encoded as shown in the tables below. When the input is
YCrCb, the color-difference data will be transmitted at half the data rate of the luminance data, with the sequence
being set as Cb, Y, Cr, Y where Cb0,Y0,Cr0 refers to co-sited luminance and color-difference samples — and the
following Y1 byte refers to the next luminance sample, per CCIR656 standards. However, the clock frequency is
dependent upon the current mode (not 27MHz, as specified in CCIR656.)
8201-0000-023 Rev.4.1, 8/2/99
Page 9
CHRONTELCH7003B
Digital Video Interface (continued)
t
HSW
HS
t
t
HD
P2
XCLK
DEC = 0
t
SP2
XCLK
DEC = 1
D[15:0]P0aP0bP1aP1bP2aP2b
Figure 5: Multiplexed Pixel Data Transfer Mode
t
PH2
t
HP2
t
t
SP2
HP2
t
t
SP2
HP2
Table 5. RGB 8-bit Multiplexed Mode
IDF#
Format
Pixel#P0aP0bP1aP1bP0aP0bP1aP1b
Bus DataD[7]G0[2]R0[4]G1[2]R1[4]G0[2]xG1[2]x
When IDF = 9 (YCrCb 8-bit mode), H and V sync signals can be embedded into the data stream. In this mode, the
embedded sync will follow the CCIR656 convention, and the first byte of the “video timing reference code” will be
assumed to occur when a Cb sample would occur if the video stream was continuous. This is delineated in Table9.
10201-0000-023 Rev.4.1, 8/2/99
Page 11
CHRONTELCH7003B
Digital Video Interface (continued)
Table 9. YCrCb Multiplexed Mode with Embedded Syncs
IDF#
Format
Pixel#P0aP0bP1aP1bP2aP2bP3aP3b
Bus DataD[7]100S[7]Cb2[7]Y2[7]Cr2[7]Y3[7]
The CH7003 is a TV-output companion chip to graphics controllers providing digital output in either YUV or RGB
format. 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, DAC, filters, and
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.
CH7003 is ideal for PC motherboards, web browsers, or VGA add-in boards where a minimum of discrete support
components (passive components, parallel resonance 14.31818 MHz crystal) are required for full operation.
Architectural Overview
The CH7003 is a complete TV output subsystem which uses both hardware and software elements to produce an
image on TV which is virtually identical to the image that would be displayed on a monitor. Simply creating a
compatible TV output from a VGA input involves 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, and 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 subtle image, of the right size, with
minimal artifacts from the conversion process.
As a key part of the overall system solution, the CH7003 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 CH7003 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 CH7003 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.
The CH7003 hardware accepts digital RGB or YCrCb inputs, which are latched in synchronization with the pixel
clock. These inputs are then color-space converted into YUV in 4-2-2 format and stored in a line buffer memory.
The stored pixels are fed into a block where scan-rate conversion, underscan scaling and 2-line, 3-line, 4-line and 5line 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 them to
composite and S-Video outputs, which are converted by the three 9-bit DACs into analog outputs.
Color Burst Generation*
The CH7003 allows the sub-carrier frequency to be accurately generated from a 14.31818 MHz crystal oscillator,
leaving the sub-carrier frequency independent of the sampling rate. As a result, the CH7003 may be used with any
VGA chip (with an approprate digital interface) since the CH7003 sub-carrier frequency can be generated without
being dependent on the precise pixel rates of VGA controllers. 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.
In addition, the CH7003 has the capability to genlock the color burst signal to the VGA horizontal sync frequency,
which enables a fully synchronous system between the graphics controller and the television. When genlocked, the
CH7003 can also stop "dot crawl" motion (for composite mode operation, in NTSC modes) to eliminate the
annoyance of moving borders. Both of these features are under programmable control through the register set.
Display Modes
The CH7003 display mode is controlled by three independent factors: input resolution, TV format, and scale factor,
which are programmed via the display mode register. It is designed to accept input resolutions of 640x480,
800x600, 640x400 (including 320x200 scan-doubled output), 720x400, and 512x384. It is designed to support
12*Patent number 5,874,846201-0000-023 Rev.4.1, 8/2/99
Page 13
CHRONTELCH7003B
Display Modes (continued)
output to either NTSC or PAL television formats. The CH7003 provides interpolated scaling with selectable factors
of 5:4, 1:1, 7:8, 5:6, 3:4 and 7:10 in order to support adjustable overscan or underscan operation when displayed on
a TV. This combination of factors results in a matrix of useful operating modes which are listed in detail in
Table11.
(1) Note: Percent underscan is a calculated value based on average viewable lines on each TV format, assuming an average TV ovescan
of 10%. (Negative values) indicate modes which are operating in underscan.
For NTSC: 480 active lines - 10% (overscan) = 432 viewable lines (average)
For PAL: 576 active lines - 10% (overscan) = 518 viewable lines (average)
The inclusion of multiple levels of scaling for each resolution have been created to enable optimal use of the
CH7003 for different application needs. In general, underscan (modes where percent overscan is negative) provides
an image that is viewable in its entirety 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). Overscanning
provides an image that extends past the edges of the TV screen, exactly like normal television programs and movies
appear on TV, and is only recommended for viewing movies or video clips coming from the computer.
Anti-flicker Filter
The CH7003 integrates an advanced 4-line (3-line for 1:1 modes) vertical deflickering filter circuit to help eliminate
the flicker associated with interlaced displays. When operating in scaled display modes, this flicker circuit provides
an adaptive filter algorithm for implementing flicker reduction with selections of high or low flicker content. When
operating in scale factors other than (1:1) display modes, it provides a selection of high or low flicker content. When
operating in non-scaled (1:1) display modes, it provides a selection of four anti-flicker filter modes (non-filtering
201-0000-023 Rev 4.1, 8/2/9913
Page 14
CHRONTELCH7003B
Anti-flicker Filter (continued)
and three levels of flicker filtering). These modes are fully programmable via I2C, and are listed under the flicker
filter register.
Internal Voltage Reference
An on-chip bandgap circuit is used in the DAC to generate a reference voltage which, in conjunction with a
reference resistor at pin RSET, and register controlled divider, sets the output ranges of the DACs. The CH7003
bandgap reference voltage is 1.235 volts nominal for NTSC or PAL-M, or 1.317 volts nominal (for PAL or NTSCJ), which is determined by IDF register bit 6 (DACG bit). The recommended value for the reference resistor RSET
is 360 ohms (though this may be adjusted in order to achieve a different output level). The gain setting for DAC
output is 1/48th. Therefore, for each DAC, the current output per LSB step is determined by the following equation:
I
= V(RSET)/RSET reference resistor* 1/GAIN
LSB
For DACG=0, this is: I
For DACG=1, this is: I
Power Management
The CH7003 supports five operating states including Normal [On], Power Down, Full 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 CH7003 may be placed in either Normal state, or any of the four
power managed states, as listed below (see “Power Management Register” under the Register Descriptions section
for programming information). To support power management, a TV sensing function (see “Connection Detect
Register” under the Register Descriptions section) is provided, which identifies whether a TV is connected to either
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).
= 1.235/360 * 1/48 = 71.4 µA (nominal)
LSB
= 1.317/360 * 1/48 = 76.2 µA (nominal)
LSB
Table 12. Power Management
Operating StateFunctional Description
Normal (On):In the normal operating state, all functions and pins are active
Power Down:In the power-down state, most pins and circuitry are disabled.The BCO
S-Video Off:Power is shut off to the unused DAC’s associated with S-Video
Composite Off:In Composite-off state, power is shut off to the unused DAC associated
Full Power Down:In this power-down state, all but the I2C circuits are disabled. This
pin will continue to provide either the VCO divided by K3, or 14.318
MHz out.
outputs.
with CVBS output.
places the CH7003 in its lowest power consumption mode.
Luminance and Chrominance Filter Options
The CH7003 contains a set of luminance filters to provide a controllable bandwidth output on both CVBS and
S-Video outputs. All values are completely programmable via the Video Bandwidth Register. For all graphs shown,
the horizontal axis is frequency in MHz, and the vertical axis is gain in dBs. The composite luminance and
chrominance video bandwidth output is shown in Table13.
14201-0000-023 Rev.4.1, 8/2/99
Page 15
CHRONTELCH7003B
Luminance and Chrominance Filter Options (continued)
Table 13. Video Bandwidth
ModeChrominance Bandwidth(MHz)Luminance Bandwidth with Sin(X) /X (MHz)
Luminance and Chrominance Filter Options (continued)
0
0
-6
6
-12
12
18
-18
<>
i
UVfirdB
(UVfirdB
<i>
n
)
-24
n
24
30
-30
36
-36
42
-42
0123456789101112
1
0
2
3
4
56
f
f
n,i
6
10
,ni6
789
10
Figure 9: Chrominance Frequency Response
11
12
201-0000-023 Rev 4.1, 8/2/9917
Page 18
CHRONTELCH7003B
NTSC and PAL Operation
Composite and S-Video outputs are supported in either NTSC or PAL format. The general parameters used to
characterize these outputs are listed in Table14 and shown in Figure10. (See Figure13 through 18 for
illustrations of composite and S-Video output waveforms.)
CCIR624-3 Compliance
The CH7003 is predominantly compliant with the recommendations called out in CCIR624-3. The following are
the only exceptions to this compliance:
• The frequencies of Fsc, Fh, and Fv can only be guaranteed in master or psuedo-master modes, not in slave mode
when the graphics device generates these frequencies.
• It is assumed that gamma correction, if required, is performed in the graphics device which establishes the color
reference signals.
• All modes provide the exact number of lines called out for NTSC and PAL modes respectively, except mode 21,
which outputs 800x600 resolution, scaled by 3:4, to PAL format with a total of 627 lines (vs. 625).
• Chroma signal frequency response will fall within 10 % of the exact recommended value.
• Pulse widths and rise/fall times for sync pulses, front/back porches, and equalizing pulses are designed to
approximate CCIR624-3 requirements, but will fall into a range of values due to the variety of clock frequencies
used to support multiple operating modes.
Table 14. NTSC/PAL Composite Output Timing Parameters (in µS)
SymbolDescriptionLevel (mV)Duration (uS)
NTSCPALNTSCPAL
A
B
C
D
E
F
G
H
Front Porch
Horizontal Sync
Breezeway
Color Burst
Back Porch
Black
Active Video
Black
287300
00
287300
287300
287300
340300
340300
340300
1.49 - 1.511.48 - 1.51
4.69 - 4.724.69 - 4.71
0.59 - 0.610.88 - 0.92
2.50 - 2.532.24 - 2.26
1.55 - 1.612.62 - 2.71
0.00 - 7.500.00 - 8.67
37.66 - 52.6734.68 - 52.01
0.00 - 7.500.00 - 8.67
For this table and all subsequent figures, key values are:
2. Durations vary slightly in different modes due to the different clock frequencies used.
3. Active video and black (F, G, H) times vary greatly due to different scaling ratios used in different modes.
4. Black times (F and H) vary with position controls.
18201-0000-023 Rev.4.1, 8/2/99
Page 19
CHRONTELCH7003B
ABCDEFGH
Figure 10: NTSC / PAL Composite Output
START
START
OF
OF
VSYNC
ANALOG
ANALOG
Start of
field 1
FIELD 1
FIELD 1
VSYNC
523524
5205215225235245251234567
5205215225235245251234567
261
258259260261262263264265266267268269272
258259260261262263264265266267268269272
523
5205215225235245251234567
261262
258259260261262263264265266267268269272
524
262
525
525
263264
12
Pre-equalizing
pulse interva
Reference
ANALOG
ANALOG
sub-carrier phase
FIELD 2
FIELD 2
color field 1
263
264
Start of
field 2
Reference
ANALOG
sub-carrier phase
FIELD 1
color field 2
1
Start of
field 3
Reference
ANALOG
sub-carrier phase
FIELD 2
color field 3
Start of
field 4
265
3
4
t1+V
Vertical sync
pulse interval
Line
vertical
interval
267268269
266
l
5
678
Post-equalizing
pulse interval
270
START
OF
VSYNC
t2+V
2
265
45
3
t3+V
266267268
6
789
269270
9
10
11
89
89
271272273274275
271
272
270271
270271
10
273
270271
11
89
274
12
12
275
Reference
sub-carrier phase
color field 4
Figure 11: Interlaced NTSC Video Timing
201-0000-023 Rev 4.1, 8/2/9919
Page 20
CHRONTELCH7003B
START
START
OF
OF
VSYNC
VSYNC
ANALOG
ANALOG
FIELD 1
FIELD 1
BURST
BURST
BLANKING
BLANKING
INTERVALS
6216226236246251234567620
6216226236246251234567620
ANALOG
ANALOG
FIELD 2
FIELD 2
309310311312313314315316317318319320323308322
309310311312313314315316317318319320323308322
ANALOG
ANALOGFIELD 3
FIELD 3
6216226236246251234567620
6216226236246251234567620
ANALOG
ANALOGFIELD 4
FIELD 4
309310311312313314315316317318319320308
309310311312313314315316317318319320308
4
BURST PHASE = REFERENCE PHASE = 135 RELATIVE TO U
BURST PHASE = REFERENCE PHASE = 135 RELATIVE TO U
PAL SWITCH = 0, +V COMPONENT
PAL SWITCH = 0, +V COMPONENT
3
2
°
°
8910
8910
321
321
8910
8910
323322321
323322321
BURST PHASE = REFERENCE PHASE + 90 = 225 RELATIVE TO U
BURST PHASE = REFERENCE PHASE + 90 = 225 RELATIVE TO U
PAL SWITCH = 1, - V COMPONENT
PAL SWITCH = 1, - V COMPONENT
1
°°
°°
Figure 12: Interlaced PAL Video Timing
20201-0000-023 Rev.4.1, 8/2/99
Page 21
CHRONTELCH7003B
Color/LevelmAV
White26.661.000
Yellow24.660.925
Cyan21.370.801
Green19.370.726
Magenta16.220.608
Red14.220.533
Blue11.080.415
Black 9.080.340
Blank 7.650.287
Sync 0.000.000
Figure 13: NTSC Y (Luminance) Output Waveform (DACG = 0)
Color bars:
Yellow
White
Magenta
Green
Cyan
Black
Blue
Red
Color/LevelmAV
White26.751.003
Yellow24.620.923
Cyan21.110.792
Green18.980.712
Magenta15.620.586
Red13.490.506
Blue10.140.380
Blank/Black 8.000.300
Sync 0.000.000
Figure 14: PAL Y (Luminance) Video Output Waveform (DACG = 1)
Color bars:
Yellow
White
Magenta
Green
Cyan
Black
Blue
Red
201-0000-023 Rev 4.1, 8/2/9921
Page 22
CHRONTELCH7003B
Color/LevelmAV
Cyan/Red25.800.968
Green/Magenta 25.010.938
Yellow/Blue22.440.842
Peak Burst18.080.678
Blank14.290.536
Peak Burst10.510.394
Yellow/Blue 6.150.230
Green/Magenta 3.570.134
Cyan/Red 2.790.105
Figure 15: NTSC C (Chrominance) Video Output Waveform (DACG = 0)
Color bars:
3.579545 MHz Color Burst
(9 cycles)
Yellow
White
Cyan
Magenta
Green
Blue
Red
Black
Color/LevelmAV
Cyan/Red27.511.032
Green/Magenta 26.681.000
Yellow/Blue23.930.897
Peak Burst19.210.720
Blank15.240.572
Peak Burst11.280.423
Yellow/Blue 6.560.246
Green/Magenta 3.810.143
Cyan/Red 2.970.111
Figure 16: PAL C (Chrominance) Video Output Waveform (DACG = 1)
Color bars:
4.433619 MHz Color Burst
(10 cycles)
Yellow
White
Cyan
Magenta
Green
Blue
Red
Black
22201-0000-023 Rev.4.1, 8/2/99
Page 23
CHRONTELCH7003B
Color/LevelmAV
Peak Chrome
White26.66
Peak Burst 11.44 0.429
Black9.08 0.340
Blank7.65
Peak Burst4.450 0.145
Sync0.00
32.88 1.233
1.000
0.281
0.000
Figure 17: Composite NTSC Video Output Waveform (DACG = 0)
Color bars:
Yellow
White
3.579545 MHz Color Burst
(9 cycles)
Magenta
Green
Cyan
Red
Black
Blue
Color/Level
Peak Chrome
White26.75 1.003
Peak Burst
Blank/Black
Peak Burst
Sync
mA
33.31 1.233
11.970.449
8.00
4.040.151
0.000.000
Figure 18: Composite PAL Video Output Waveform (DACG = 1)
V
0.300
Color bars:
Yellow
White
Cyan
4.433619 MHz Color Burst
(10 cycles)
Magenta
Green
Red
Black
Blue
201-0000-023 Rev 4.1, 8/2/9923
Page 24
CHRONTELCH7003B
I2C Port Operation
The CH7003 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 Figure19.
The Serial Clock line (SC) is input only and is driven by the output buffer of the master device (also shown in
Figure19). The CH7003 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
R
P
SDB (Serial Data Bus)
SCB (Serial Clock Bus)
SC
SD
SCLK
OUT
FROM
MASTER
DATAN2
OUT
MASTER
DATA IN
MASTER
BUS MASTER
SCLK
IN1
DATAN2
OUT
SLAVE
DATA
IN1
SCLK
IN2
DATAN2
OUT
DATA
IN2
SLAVE
Figure 19: 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 Figure19. A pull-up resistor (RP) must be connected to a 5V ± 10% supply. The CH7003 is
a device with input levels related to VDD.
Maximum and minimum values of pull-up resistor (RP)
The value of RP depends on the following parameters:
• Supply voltage
• Bus capacitance
• Number of devices connected (input current + leakage current = I
The supply voltage limits the minimum value of resistor RP due to the specified minimum sink current of 3mA at
VOL
= 0.4 V for the output stages:
max
RP >= (VDD – 0.4) / 3 (RP in kΩ)
input
)
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 <= 103/C (where: RP is in kΩ and C, the total capacitance, is in pF)
The maximum HIGH level input current of each input/output connection has a specified maximum value of 10 µA.
Due to the desired noise margin of 0.2VDD for the HIGH level, this input current limits the maximum value of RP.
The RP limit depends on VDD and is shown below:
RP <= (100 x VDD)/ I
(where: RP is in kΩ and I
input
input
is in µA)
24201-0000-023 Rev.4.1, 8/2/99
Page 25
CHRONTELCH7003B
Transfer Protocol
Both read and write cycles can be executed in “Alternating” and “Auto-increment” modes. Alternating mode
expects a register address prior to each read or write from that location (i.e., transfers alternate between address and
data). Auto-increment mode allows you to establish the initial register location, then automatically increments the
register address after each subsequent data access (i.e., transfers will be address, data, data, data...). A basic serial
port transfer protocol is shown in Figure20 and described below.
SD
I2C
SC
1 - 7
1 - 8
9
1 - 8
9
Start
Condition
Device ID8R/W*9ACK
CH7003
acknowledge
Data
1
ACK
CH7003
acknowledge
Data
n
ACK
CH7003
acknowledge
Stop
Condition
Figure 20: Serial Port Transfer Protocol
1. The transfer sequence is initiated when a high-to-low transition of SD occurs while SC is high; this is the
“START” condition. Transitions of address and data bits can only occur while SC is low.
2. The transfer sequence is terminated when a low-to-high transition of SD occurs while SC is high; this is the
“STOP” condition.
3. Upon receiving the first START condition, the CH7003 expects a Device Address Byte (DAB) from the
master device. The value of the device address is shown in the DAB data format below.
4. After the DAB is received, the CH7003 expects a Register Address Byte (RAB) from the master. The
format of the RAB is shown in the RAB data format below (note that B7 is not used).
Device Address Byte (DAB)
B7B6B5B4B3B2B1B0
11101ADDR*ADDRR/W
5. After the DAB is received, the CH7003 expects a Register Address Byte (RAB) from the master. The
format of the RAB is shown in the RAB data format below (note that B7 is not used).
R/W Read/Write Indicator
“0”:master device will write to the CH7003 at the register location specified by the address
AR[5:0]
“1”:master device will read from the CH7003 at the register location specified by the
address AR[5:0].
Register Address Byte (RAB)
B7B6B5B4B3B2B1
1AutoIncAR[5]AR[4]AR[3]AR[2]AR[1]AR[0]
201-0000-023 Rev 4.1, 8/2/9925
B0
Page 26
CHRONTELCH7003B
Transfer Protocols (continued)
AutoInc Register Address Auto-Increment - to facilitate sequential R/W of registers.
“1”:Auto-Increment enabled (auto-increment mode).
Write: After writing data into a register, the Address Register will automatically be
incremented by one.
Read: Before loading data from a register to the on-chip temporary register (getting ready to
be serially read), the Address Register will automatically be incremented by one.
However, for the first read after an RAB, the Address Register will not be changed.
“0”:Auto-Increment disabled (alternating mode).
Write: After writing data into a register, the Address Register will remain unchanged until a
new RAB is written.
Read: Before loading data from a register to the on-chip temporary register (getting ready to
be serially read), the Address Register will remain unchanged.
AR[5:0] Specifies the Address of the Register to be Accessed.
This register address is loaded into the Address Register of the CH7003. The R/W access, which
follows, is directed to the register specified by the content stored in the Address Register.
The following two sections describe the operation of the serial interface for the four combinations of R/W = 0,1 and
AutoInc = 0,1.
CH7003 Write Cycle Protocols (R/W = 0)
Data transfer with acknowledge is required. The acknowledge-related clock pulse is generated by the mastertransmitter. The master-transmitter releases the SD line (HIGH) during the acknowledge clock pulse. The slavereceiver must pull down the SD line, during the acknowledge clock pulse, so that it remains stable LOW during the
HIGH period of the clock pulse. The CH7003 always acknowledges for writes (see Figure21). Note that the
resultant state on SD is the wired-AND of data outputs from the transmitter and receiver.
SD Data Output
By Master-Transmitter
SD Data Output
By the CH7003
SC from
Master
189
Start
Condition
not acknowledge
acknowledge
2
clock pulse for
acknowledgement
Figure 21: Acknowledge on the Bus
Figure22 shows two consecutive alternating write cycles for AutoInc = 0 and R/W = 0. The byte of information,
following the Register Address Byte (RAB), is the data to be written into the register specified by AR[5:0]. If
AutoInc = 0, then another RAB is expected from the master device, followed by another data byte, and so on.
26201-0000-023 Rev.4.1, 8/2/99
Page 27
CHRONTELCH7003B
Transfer Protocols (continued)
SD
SC
Condition
Start
CH7003
acknowledge
I2C
1 - 7
Device ID8R/W*9ACK
CH7003
acknowledge
1 - 8
RAB9ACK
CH7003
acknowledge
1 - 8
Data9ACK
CH7003
acknowledge
1 - 8
RAB9ACK
CH7003
acknowledge
1 - 8
Data9ACK
Stop
Condition
Figure 22: Alternating Write Cycles
Note: The acknowledge is from the CH7003 (slave).
If AutoInc = 1, then the register address pointer will be incremented automatically and subsequent data bytes will be
written into successive registers without providing an RAB between each data byte. An Auto-increment write cycle
is shown in Figure23.
SD
SC
1 - 7
CH7003
acknowledge
I2C
1 - 8
CH7003
acknowledge
9
1 - 8
CH7003
acknowledge
9
1 - 8
CH7003
acknowledge
9
StartStop
Device ID8R/W*9ACK
RAB
ACK
n
Data
n
ACKData
n+1
ACK
ConditionCondition
Figure 23: Auto-Increment Write Cycle
Note: The acknowledge is from the CH7003 (slave).
When the auto-increment mode is enabled (AutoInc is set to 1), the register address pointer continues to increment
for each write cycle until AR[5:0] = 2A (2A is the address of the Address Register). The next byte of information
represents a new auto-sequencing “Starting address,” which is the address of the register to receive the next byte.
The auto-sequencing then resumes based on this new “Starting address.” The auto-increment sequence can be
terminated any time by either a “STOP” or “RESTART” condition. The write operation can be terminated with a
“STOP” condition.
CH7003 Read Cycle Protocols (R/W = 1)
If a master-receiver is involved in a transfer, it must signal the end of data to the slave-transmitter by not generating
an acknowledge on the last byte that was clocked out of the slave. The slave-transmitter CH7003 releases the data
line to allow the master to generate the STOP condition or the RESTART condition.
To read the content of the registers, the master device starts by issuing a “START” condition (or a “RESTART”
condition). The first byte of data, after the START condition, is a DAB with R/W = 0. The second byte is the RAB
with AR[5:0], containing the address of the register that the master device intends to read from in AR[5:0]. The
master device should then issue a “RESTART” condition (“RESTART” = “START,” without a previous “STOP”
condition). The first byte of data, after this RESTART condition, is another DAB with R/W=1, indicating the
master’s intention to read data hereafter. The master then reads the next byte of data (the content of the register
specified in the RAB). If AutoInc = 0, then another RESTART condition, followed by another DAB with R/W = 0
and RAB, is expected from the master device. The master device then issues another RESTART, followed by
another DAB. After that, the master may read another data byte, and so on. In summary, a RESTART condition,
followed by a DAB, must be produced by the master before each of the RAB, and before each of the data read
events. Two consecutive alternating read cycles are shown in Figure24.
201-0000-023 Rev 4.1, 8/2/9927
Page 28
CHRONTELCH7003B
Transfer Protocols (continued)
.
SD
SC
Condition
1 - 7
Start
Device ID8R/W*9ACK
1 - 7
Device ID8R/W*9ACK
CH7003
acknowledge
I2C I2C
CH7003
acknowledge
I2C I2C
RAB
1 - 8
RAB
1 - 8
CH7003
acknowledge
ACKRestart
1
CH7003
acknowledge
910
ACKRestart
2
910
Condition
Condition
CH7003
acknowedge
1 - 7
Device ID8R/W*9ACK
CH7003
acknowledge
1 - 7
Device ID8R/W*9ACK
1 - 8
Data
1
Master does
not acknowledge
1 - 8
Data
2
Master
does not
acknowledge
9
ACK
9
ACK
10
Restart
Condition
Stop
Condition
Figure 24: Alternating Read Cycle
If AutoInc = 1, then the address register will be incremented automatically and subsequent data bytes can be read
from successive registers, without providing a second RAB.
Master does
not acknowledge
CH7003
acknowledge
CH7003
CH7003
acknowledge
Master
acknowledge
just before Stop
condition
SD
I2C I2C
SC
Condition
1 - 7
Start
Device ID8R/W*9ACK
1 - 8
RAB
910
ACKRestart
n
1 - 7
Device ID8R/W*9ACK
Condition
1 - 8
Data
1 - 8
9
ACK
n
Data
n+1
9
ACK
Stop
Condition
Figure 25: Auto-increment Read Cycle
When the auto-increment mode is enabled (AutoInc is set to 1), the Address Register will continue incrementing for
each read cycle. When the content of the Address Register reaches 2A, it will wrap around and start from 00h again.
The auto increment sequence can be terminated by either a “STOP” or “RESTART” condition. The read operation
can be terminated with a “STOP” condition. Figure25 shows an auto-increment read cycle terminated by a STOP or
RESTART condition.
28201-0000-023 Rev.4.1, 8/2/99
Page 29
CHRONTELCH7003B
Registers and Programming
The CH7003 is a fully programmable device, providing for full functional control through a set of registers accessed
from the I2C port. The CH7003 contains a total of 31 registers, which are listed in Table15 and described in detail
under Register Descriptions. Detailed descriptions of operating modes and their effects are contained in the previous
section, Functional Description. An addition (+) sign in the Bits column below signifies that the parameter contains
more than 8 bits, and the remaining bits are located in another register.
Table 15. Register Map
RegisterSymbolAddressBitsFunctional Summary
Display ModeDMR00H8Display mode selection
Flicker FilterFFR01H2Flicker filter mode selection
Video BandwidthVBW03H7Luma and chroma filter bandwidth
Input Data FormatIDF04H6Data format and bit-width selections
Clock ModeCM06H7
Start Active VideoSAV07H8+
Position OverflowPO08H3
Black LevelBLR09H8Black level adjustment
Horizontal Position
Vertical PositionVPR0BH8+
Sync Polarity
Power ManagementPMR0EH5Enables power saving modes
Connection DetectCDR10H4Detection of TV presence
Contrast EnhancementCE11H3Contrast enhancement setting
PLL M and N
extra bits
PLL-M ValuePLLM14H8+Sets the PLL M value - bits (7:0)
PLL-N ValuePLLN15H8+Sets the PLL N value - bits (7:0)
Buffered ClockBCO17H6Determines the clock output at pin 41
Subcarrier Frequency
Adjust
PLL and Memory
Control
CIV ControlCIVC21H3Control of CIV value
Calculated Fsc
Increment Value
Version IDVID25H5Device version number
TestTR26H - 29H30Reserved for test (details not included
AddressAR2AH6Current register being addressed
HPR0AH8+Enables horizontal movement of
SPR0DH4Determines the horizontal and vertical
MNE13H5Contains the MSB bits for the M and N
FSCI18H - 1FH4 eachDetermines the subcarrier frequency
PLLC20H6Controls for the PLL and memory
CIV22H - 24H8 eachReadable register containing the
selection
Sets the clock mode to be used
Active video delay setting
MSB bits of position values
Input latch clock edge select
displayed image on TV
Enables vertical movement of displayed
This register provides programmable control of the CH7003 display mode, including input resolution (IR[2:0]),
output TV standard (VOS[1:0]), and scaling ratio (SR[2:0]). The mode of operation is determined according to the
table below (default is Mode 17 640x480 input, NTSC output, 7/8’s scaling).
The flicker filter register provides for adjusting the operation of the scan rate conversion/flicker filter. As a function
of the CH7003 scaling/filtering architecture, the selection of scaling modes affects the available selections of flicker
filtering. When operating in non-scaling modes (i.e., modes with scaling of 1/1), the FF[1:0] selects from four
different amounts of flicker reduction. When operating in modes with scaling other than 1/1, FF[1] selects from two
different amounts of flicker reduction, where bit FF[0] is ignored in these scaling settings. The tables below show
the various flicker filter settings.
This register enables the selection of alternative filters for use in the luma and chroma channels. There are currently
4 filter options defined for the chroma channel, 4 filter options in the S-Video luma channel and two filter options in
the composite luma channel. Table20 and Table21 show the various settings.
•Bit 6 (CVBW) outputs the S-Video luma signal on both the S-Video luma output and the CVBS output. A "1"
in this location enables the output of a black and white image on composite, thereby eliminating the degrading
effects of the color signal (such as dot crawl or false colors), which is useful for viewing text with high
accuracy.
•Bit 7 (FLFF) controls the flicker filter used in the 7/10’s scaling modes. In these scaling modes, setting FLFF
to one causes a five line flicker filter to be used. The default setting of zero uses a four line flicker filter.
Input Data Format Register Symbol: IDF
Address: 04H
Bits: 6
Bit:76543210
Symbol:
Type:
Default:
This register sets the variables required to define the incoming pixel data stream, including data format and input bit
width, and VBI encoding.
RGBBP (bit 5): Setting this bit enables the RGB pass-through mode. Setting this bit to a 1 causes the input RGB
signal to be directly output at the DACs (subject to a pipeline delay). If RGBBP=0, the bypass mode is disabled.
DACG (bit 6): This bit controls the gain of the D/A converters. When DACG=0, the nominal DAC current is 71
µA, which provides the correct levels for NTSC and PAL-M. When DACG=1, the nominal DAC current is 76µA,
which provides the correct levels for PAL and NTSC-J.
Clock Mode Register Symbol: CM
Address: 06H
Bits: 7
Bit:76543210
Symbol:
Type:
Default:
The setting of the clock mode bits determines the clocking mechanism used in the CH7003. The clock modes are
shown in the table below. PCM controls the frequency of the pixel clock, and XCM identifies the frequency of the
XCLK input clock.
Note: For what was formerly defined as the master mode, the user must now externally connect the P-OUT clock to the
XCLK input pin. Although it is possible to set the XCM [1:0] and PCM[1:0] values independent of the input data format,
there are only certain combinations of input data format, XCM and PCM, that will result in valid data being demultiplexed
at the input of the device. Refer to the “Input Data Format Register” for these combinations.
The Clock Mode Register also contains the following bits:
•MCP (bit 4) determines which edge of the pixel clock output will be used to latch input data. Zero selects the
negative edge, one selects the positive edge.
•Bit 5 Unused
•M/S* (bit 6) determines whether the device operates in master or slave clock mode. In master mode (1), the
14.31818MHz clock is used as a frequency reference, and the display mode register is decoded to determine
the PLL divider settings. In slave mode (0) the XCLK input is used as a reference to the PLL, and is divided
by the value specified by XCM[1:0]. The divide by N is forced to one.
•Bit 7 (CFRB) sets whether the chroma subcarrier free-runs, or is locked to the video signal. One causes the
subcarrier to lock to the TV vertical rate, and should be used when the ACIV bit is set to zero. Zero causes the
subcarrier to free-run, and should be used when the ACIV bit is set to one.
6
Start Active Video RegisterSymbol: SAV
Address: 07H
Bits: 8
Bit:76543210
Symbol:
Type:
Default:
This register sets the delay, in pixel increments, from leading edge of horizontal sync to start of active video. The
entire bit field SAV[8:0] is comprised of this register SAV[7:0], plus the MSB value contained in the position
overflow register, bit SAV8. This is decoded as a whole number of pixels, which can be set anywhere between 0
and active data must be a multiple of two clocks. In any 3X clock mode, the number of 3X clocks from the leading
edge of sync to the first active data must be a multiple of three clocks.
This register sets the black level. The luminance data is added to this black level, which must be set between 90 and
208, with the default value being 127. Recommended values for NTSC and PAL-M are 127, 105 for PAL and 100
for NTSC-J. This value must be set to zero when in SCART mode.
Horizontal Position Register Symbol: HPR
Address: 0AH
Bits: 8
Bit:76543210
Symbol:
Type:
Default:
The horizontal position register is used to shift the displayed TV image in a horizontal direction (left or right) to
achieve a horizontally centered image on screen. The entire bit field, HP[8:0] is comprised of this register HP[7:0]
plus the MSB value contained in the position overflow register, bit HP8. Increasing this value moves the displayed
image position RIGHT; decreasing this value moves the displayed image position LEFT. Each increment moves the
image position by 4 input pixels.
This register is used to shift the displayed TV image in a vertical direction (up or down) to achieve a vertically centered image on screen. This bit field, VP[8:0] represents the TV line number (relative to the VGA vertical sync)
used to initiate the generation and insertion of the TV vertical interval (i.e., the first sequence of equalizing pulses).
Increasing values delay the output of the TV vertical sync, causing the image position to move UP on the TV screen.
Decreasing values, therefore, move the image position DOWN. Each increment moves the image position by one
TV line (approximately 2 VGA lines). The maximum value that should be programmed into the VP[8:0] value is
the number of TV lines minus 1, divided by 2 (262, 312 or 313). When panning the image up, the number should be
increased until (TVLPF-1) / 2 is reached; the next step should be to reset the value to zero. When panning the image
down the screen, the VP[8:0] value should be decremented until the value zero is reached. The next step should set
the value to (TVLPF-1) / 2, and then decrementing can continue. If this value is programmed to a number greater
than (TV lines per frame-1) /2, a TV vertical SYNC will not be generated.
This register provides selection of the synchronization signal input to, or output from, the CH7003.
•HSP (bit 0) is Horizontal Sync Polarity - an HSP value of zero means the horizontal sync is active low, and a
value of one means the horizontal sync is active high.
•VSP (bit 1) is Vertical Sync Polarity - a VSP value of zero means the vertical sync is active low, and a value
of one means the vertical sync is active high.
•SYO (bit 2) is Sync Direction - a SYO value of zero means that H and V sync are input to the CH7003. A
value of one means that H and V sync are output from the CH7003.
•DES (bit 3) is Detect Embedded Sync - a DES value of zero means that H and V sync will be obtained from
the direct pin inputs. A DES value of one means that H and V sync will be detected from the embedded codes
on the pixel input stream. Note that this will only be valid for the YCrCb input modes.
Note: When sync direction is set to be an output, horizontal sync will use a fixed pulse width of 64 pixels and vertical
sync will use a fixed pulse width of 2 lines.
DESSYOVSPHSP
R/WR/WR/WR/W
201-0000-023 Rev 4.1, 8/2/9937
Page 38
CHRONTELCH7003B
Register Descriptions (continued)
Power Management Register Symbol: PMR
Address: 0EH
Bits: 5
Bit:76543210
Symbol:
Type:
Default:
01011
This register provides control of the power management functions, a software reset (ResetB), and the SCART output
enable. The CH7003 provides programmable control of its operating states, as described in the table below.
Table 24. Power Management
PD[2:0]Operating StateFunctional Description
000Composite OffCVBS DAC is powered down.
001Power DownMost pins and circuitry are disabled (except for the bandgap
010S-Video OffS-Video DACs are powered down.
011Normal (On)All circuits and pins are active.
1XXFull Power DownAll circuitry is powered down, except I2C circuit
reference and the buffered clock outputs which are limited to
the 14MHz output and VCO divided outputs).
SCARTReset*PD2PD1PD0
R/WR/WR/WR/WR/W
Reset* (bit 3) is soft reset. Setting this bit to 0 will reset all circuitry requiring a power on reset, except for this bit
itself and the I2C state machines. After reset, this bit should be set back to 1 for normal operation to continue.
SCART (bit 4) is the SCART enable. Setting SCART = 0 means the CH7003 will operate normally, outputting Y/C
and CVBS from the three DACs. SCART=1 enables SCART output, which will cause R, G and B to be output from
the DACs and composite sync from the CSYNC pin.
Note: For complete details regarding the operation of these modes, see the Power Management in Functional Description
sections.
Connection Detect Register Symbol: CDR
Address: 10H
Bits: 4
Bit:76543210
Symbol:
Type:
Default:
0000
RRRW
The Connection Detect Register provides a means to sense the connection of a TV to either S-Video or Composite
video outputs. The status bits, YT, CT, and CVBST correspond to the DAC outputs for S-Video (Y and C outputs)
and Composite video (CVBS), respectively. However, the values contained in these status bits are NOT VALID
until a sensing procedure is performed. Use of this register requires a sequence of events to enable the sensing of
outputs, then reading out the applicable status bits. The detection sequence works as follows:
YTCTCVBSTSENSE
1. Ensure the power management register Bits 2-0 is set to 011 (normal mode).
38201-0000-023 Rev.4.1, 8/2/99
Page 39
CHRONTELCH7003B
Register Descriptions (continued)
2. Set the SENSE bit to a 1. This forces a constant current output onto the Y, C, and CVBS outputs. Note that
during SENSE = 1, these 3 analog outputs are at steady state and no TV synchronization pulses are asserted.
3. Reset the SENSE bit to 0. This triggers a comparison between the voltage sensed on these analog outputs
and the reference value expected (V
threshold
value, it is considered connected, if it is above this voltage it is considered unconnected. During this step,
each of the three status bits corresponding to individual analog outputs will be set if they are NOT
connected.
4. Read the status bits. The status bits, YT, CT, and CVBST (corresponding to S-Video Y and C outputs and
composite video) now contain valid information which can be read to determine which outputs are
connected to a TV. Again, a “0” indicates a valid connection, a “1” indicates an unconnected output.
Contrast Enhancement Register Symbol: CE
Bit:76543210
Symbol:
Type:
Default:
01 1
= 1.235V). If the measured voltage is below this threshold
Address: 11H
Bits: 3
CE2CE1CE0
R/WR/WR/W
This register provides control of the contrast enhancement feature of the CH7003, according to the table below. At
a setting of 000, the video signal will be pulled towards the maximum black level. As the value of CE[2:0] is
increased, the amount that the signal is pulled towards black is decreased until unity gain is reached at a setting of
011. From this point on, the video signal is pulled towards the white direction, with the effect increasing with
increasing settings of CE[2:0].
Table 25. Contrast Enhancement Function
CE[2:0] Description (all gains limited to 0-255)
000Contrast enhancement gain 3 Y
001Contrast enhancement gain 2 Y
010Contrast enhancement gain 1 Y
011Normal mode Y
100Contrast enhancement gain 1 Y
101Contrast enhancement gain 2 Y
110Contrast enhancement gain 3 Y
111Contrast enhancement gain 4 Y
= (1/1)*(Yin-0) = Normal Contrast
out
= (5/4)*(Yin-102) = Enhances Black
out
= (9/8)*(Yin-57)
out
= (17/16)*(Yin-30)
out
= (17/16)*(Yin-0)
out
= (9/8)*(Yin-0)
out
= (5/4)*(Yin-0)
out
= (3/2)*(Yin-0) = Enhances White
out
201-0000-023 Rev 4.1, 8/2/9939
Page 40
CHRONTELCH7003B
Register Descriptions (continued)
256
224
192
160
128
96
64
32
0
0326496128160192224 256
Figure 26: Luma Transfer Function at different contrast enhancement settings
PLL Overflow Register Symbol: MNE
Address: 13H
Bits: 5
Bit:76543210
Symbol:
Type:
Default:
00000
ReservedReservedN9N8M8
R/WR/W R/WR/WR/W
The PLL Overflow Register contains the MSB bits for the ‘M’ and ‘N’ values, which will be described in the PLLM and PLL-N registers, respectively. The reserved bits should not be written to.
PLL M Value Register Symbol: PLLM
Address: 14H
Bits: 8
Bit:76543210
Symbol:
Type:
Default:
The PLL M value register determines the division factor applied to the frequency reference clock before it is input to
the PLL phase detector when the CH7003 is operating in master or pseudo-master clock mode. In slave mode, an
external pixel clock is used instead of the frequency reference, and the division factor is determined by the
XCM[3:0] value. This register contains the lower 8 bits of the complete 9-bit M value.
The PLL N value register determines the division factor applied to the VCO output before being applied to the PLL
phase detector, when the CH7003 is operating in master or pseudo-master mode. In slave mode, the value of ‘N’ is
always 1. This register contains the lower 8 bits of the complete 10-bit N value. The pixel clock generated in a
master and pseudo-master modes is calculated according to the equation below:
When using a 14.318 MHz frequency reference, the required M and N values for each mode are shown in the table
below.
The buffered clock output register determines which clock is selected to be output at the buffered clock output pin,
and what frequency value should be output if a VCO derived signal is output. The tables below show the possible
output signals.
201-0000-023 Rev 4.1, 8/2/9941
Page 42
CHRONTELCH7003B
Register Descriptions (continued)
Table 27. Clock Output Selection
SCO[2:0]Buffered Clock Output
00014 MHz crystal
001(For test use only)
010VCO divided by K3 (see Table28 )
011Field ID signal
100(for test use only)
101(for test use only)
110TV horizontal sync (for test use only)
111TV vertical sync (for test use only)
Table 28. K3 Selection
SHF[2:0]K3
0002.5
0013
0103.5
0114
1004.5
1015
1106
1117
Sub-carrier Value Registers Symbol: FSCI
Address: 018H - 1FH
Bits: 4 each
Bit:76543210
Symbol:
Type:
Default:
The lower four bits of registers18H through 1F contain a 32-bit value which is used as an increment value for the
ROM address generation circuitry. the bit locations fare shown below:
When the CH7003 is operating in the master clock mode, the tables below should be used to set the FSCI registers.
When using these values, the ACIV bit in register 21H should be set to "0" and the CFRB bit in register 06H should
be set to“1”.
When the CH7003 is operating in the slave clock mode, the ACIV bit in register 21H should be set to "1" and the
CFRB bit in register 06H should be set to “0”.
*Note: For reduced cross-color and cross-luminance artifacts, a value of 488,265,597 can be used with CFRB = "0"
& ACIV = "0".
201-0000-023 Rev 4.1, 8/2/9943
Page 44
CHRONTELCH7003B
Register Descriptions (continued)
PLL Control Register Symbol: PLLC
Address: 20H
Bits: 6
Bit:76543210
Symbol:
Type:
Default:
The following PLL and memory controls are available through the PLL control register:
MEM5VMEM5V is set to 1 when the memory supply is 5 volts. The default value of 0 is used when the
PLL5VAPLL5VA is set to 1 when the phase-locked loop analog supply is 5 volts (default). A value of 0 is
The following controls are available through the CIV control register:
ACIVWhen the automatic calculated increment value is 1, the number calculated and present at the CIV
1,
CIVH[1:0]These bits control the hysteresis circuit which is used to calculate the CIV value.
Calculated Increment Value Register Symbol: CIV
CIVH1CIVH0ACIV
R/WR/WR/W
001
registers will automatically be used as the increment value for subcarrier generation, removing the
need for the user to read the CIV value and write in a new FSCI value. Whenever this bit is set to
the subcarrier generation must be forced to free-run mode.
The CIV registers 22H through 24H, toghether with 2 bits from register 2H, define a 24-bit value, which is the
calculated increment value that should be used as the upper 24 bits of FSCI. This value is determined by a
comparison of the pixel clock and the 14MHz clock. The bit locations and calculation of CIV are specified as the
following:
RegisterContents
22HCIV[23:16]
23HCIV[15:8]
24HCIV[7:0]
Version ID Register Symbol: VID
Address: 25H
Bits: 5
Bit:76543210
Symbol:
Type:
Default:
N/AN/AN/AVID4VID3VID2VID1VID0
RRRRRRRR
00000010
This read-only register contains a 5-bit value indicating the identification number assigned to this version of the
CH7003. The default value shown is pre-programmed into this chip and is useful for checking for the correct
version of this chip, before proceeding with its programming.
46201-0000-023 Rev.4.1, 8/2/99
Page 47
CHRONTELCH7003B
Register Descriptions (continued)
Address Register Symbol: AR
Address: 2AH
Bits: 6
Bit:76543210
Symbol:
Type:
Default:
The Address Register points to the register currently being accessed. Since the most significant four bits of all
addresses are zero, this register contains only the six least significant bits, AR[5:0].
Electrical Specification
Table 32. Absolute Maximum Ratings
SymbolDescriptionMinTypMaxUnits
T
SC
T
AMB
TSTOR
TJ
TVPSVapor phase soldering (one minute)220°C
AR5 AR4 AR3AR2AR1AR0
R/WR/WR/WR/WR/WR/W
XXXXXX
VDD relative to GND- 0.57.0V
Input voltage of all digital pins
Analog output short circuit duration
Ambient operating temperature- 5585°C
Storage temperature
Junction temperature
1
GND - 0.5VDD + 0.5V
IndefiniteSec
- 65150°C
150°C
Notes:
1 Stresses greater than those listed under Absolute Maximum Ratings may cause permanent damage to the
device. These are stress ratings only. Functional operation of the device at these or any other conditions above
those indicated under the normal operating conditions section of this specification is not recommended.
Exposure to absolute maximum rating conditions for extended periods may affect reliability.
2 The device is fabricated using high-performance CMOS technology. It should be handled as an ESD-sensitive
device. Voltage on any signal pin that exceeds the power supply voltage by more than +0.5V can induce
destructive latchup.
Table 33. Recommended Operating Conditions
SymbolDescriptionMinTypMaxUnits
V
DD
AVDD
DVDD
TAAmbient operating temperature 0 2570°C
RL
DAC power supply voltage4.755.005.25V
Analog supply voltage4.755.005.25V
Digital supply voltage3.03.33.6V
Video D/A resolution999Bits
Full scale output current36.4mA
Video level error10%
Note: As applied to Tables 30, 31,32, 33, 34. Recommended Operating Conditions are used as test conditions unless
otherwise specified. External voltage reference used with RSET = 360 Ω, VREF = 1.235V, and NTSC CCIR601
operation. Typical values are based on 25o C and typical supply levels.
Table 35. CH7003 Supply Current Characteristics
DescriptionMinTypMaxUnits
Normal Operation
IDD1
IDD2
IDD3
Normal Operation S-Video only
IDD1
IDD2
IDD3
Normal Operation, composite only
IDD1
IDD2
IDD3
Partial Power Down
IDD1
IDD2
IDD3
Full Power Down
IDD1
IDD2
IDD3
DVDD supply current
AVDDsupply current
VDD supply current
DVDD supply current
AVDDsupply current
VDD supply current
DVDD supply current
AVDDsupply current
VDD supply current
DVDD supply current
AVDDsupply current
VDD supply current
DVDD supply current
AVDDsupply current
VDD supply current
57mA
9mA
102mA
57mA
9mA
65mA
57mA
9mA
42mA
9mA
9mA
0.2mA
<0.1mA
<0.2mA
0.2mA
Notes:
5. The above data is typical at 25oC with the following supply voltages: DVDD=3.6V, AVDD=5.0V and
VDD=5.0V
6. Current is mesured in normal circuit configuration with output loads connected; device operating in mode 17
with P-OUT at 2X.
7. Actual current will depend on many factors, including operating mode, image content, output clock
selections, etc. This table is intended as a general guide only.
48201-0000-023 Rev.4.1, 8/2/99
Page 49
CHRONTELCH7003B
Electrical Specifications (continued)
Table 36. Digital Inputs/Outputs
SymbolDescriptionTest Condition MinTypMaxUnit
V
SDOL
V
IICIH
V
IICIL
V
DATAIH
V
DATAIL
V
P-OUTOH
V
P-OUTOL
SD Output
Low Voltage
SD Input
High Voltage
SD Input
Low Voltage
D[0-15] Input
High Voltage
D[0-15] Input
Low Voltage
P-OUT Output
High Voltage
P-OUT Output
Low Voltage
IOL = 3.2 mA0.4V
3.4VDD + 0.5V
GND-0.51.4V
2.5DVDD+0.5V
GND-0.50.8V
IOL = - 400 µA2.8V
IOL = 3.2 mA0.2V
Note:1. V
- refers to I2C pins SD and SC.
IIC
2. V
3. VSD - refers to I2C pin SD as an output
4. V
- refers to all digital pixel and clock inputs.
DATA
- refers to pixel data output.
P-OUT
Table 37. Timing - TV Encoder
SymbolDescriptionMinTypMaxUnit
t
P1
t
PH1
tdc1Pixel Clock Duty Cycle (t
t
P2
t
PH2
tdc2Pixel Clock Duty Cycle (t
t
P3
t
PH3
tdc3Pixel Clock Duty Cycle (t
Pixel Clock Period2050nS
Pixel Clock High Time825nS
)405060%
PH1/tP1
Pixel Clock Period1025nS
Pixel Clock High TimenS
)405060%
PH2/tP2
Pixel Clock Period1017nS
Pixel Clock High TimenS
)405060%
PH3/tP3
Table 38. Timing - Graphics
SymbolDescriptionMinTypMaxUnit
t
HSW
t
HD
t
SP1,tSP2,tSP3
t
HP1,tHP2,tHP3
Horizontal Sync Pulse Width1t
Pixel Clock to Horizontal Leading Edge Delay217nS
Setup time from Pixel Data to Pixel Clock2nS
Hold time from Pixel Clock to Pixel Data2nS
p
201-0000-023 Rev 4.1, 8/2/9949
Page 50
CHRONTELCH7003B
ORDERING INFORMATION
Part numberPackage typeNumber of pinsVoltage supply
CH7003B-VPLCC443V/5V
CH7003B-TTQFP443V/5V
Chrontel
2210 O’Toole Avenue
San Jose, CA 95131-1326
Tel: (408) 383-9328
Fax: (408) 383-9338
www.chrontel.com
E-mail: sales@chrontel.com
1998 Chrontel, Inc. All Rights Reserved.
Chrontel PRODUCTS ARE NOT AUTHORIZED FOR AND SHOULD NOT BE USED WITHIN LIFE SUPPORT SYSTEMS OR NUCLEAR FACILITY APPLICATIONS WITHOUT THE
SPECIFIC WRITTEN CONSENT OF Chrontel. Life support systems are those intended to support or sustain life and whose failure to perform when used as directed can reasonably
expect to result in personal injury or death. Chrontel reserves the right to make changes at any time without notice to improve and supply the best possible product and is not
responsible and does not assume any liability for misapplication or use outside the limits specified in this document. We provide no warranty for the use of our products and assume no
liability for errors contained in this document. Printed in the U.S.A.
201-0000-023 Rev 4.1, 8/2/9950
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.