• TV output supporting up to 1024x768 graphics
resolutions
• MacrovisionTM 7.X copy protection support
• Programmable digital interface supports RGB and
YCrCb
• TrueScaleTM rendering engine supports underscan in all
TV output resolutions
• Enhanced text sharpness and adaptive flicker removal
with up to 7 lines of filtering
• Support for all NTSC and PAL formats
• Provides CVBS, S-Video and SCART (RGB) outputs
• TV connection detect
• Programmable power management
• 10-bit video DAC outputs
• Fully programmable through I2C port
• Complete Windows and DOS driver support
• Low voltage interface support to graphics device
• Offered in a 64-pin LQFP package
General Description
The CH7009 is a Display controller device which accepts a
digital graphics input signal, and encodes and transmits
data through a DVI TMDSTM link (DFP can also be
supported) or TV output (analog composite, s-video or
RGB). The device accepts data over one 12-bit wide
variable voltage data port which supports five different
data formats including RGB and YCrCb.
The DVI processor includes a low jitter PLL for generation
of the high frequency serialize clock, and all circuitry
required to encode, serialize and transmit data. The
CH7009 comes in versions able to drive a DVI display at a
pixel rate of up to 165MHz, supporting UXGA resolution
displays. No scaling of input data is performed on the data
output to the DVI device.
The TV-Out processor will perform non-interlace to
interlace conversion with scaling and flicker filters, and
encode the data into any of the NTSC or PAL video
standards. The scaling and flicker filter is adaptive and
programmable to enable superior text display. Eight
graphics resolutions are supported up to 1024 by 768 with
full vertical and horizontal underscan capability in all
modes. A high accuracy low jitter phase locked loop is
integrated to create outstanding video quality. Support is
provided for MacrovisionTM and RGB bypass mode which
enables driving a VGA CRT with the input data.
XCLK,XCLK*
D[11:0]
H,V,DE
XI/FIN,XO
P-OUT / TLDET*
BCO
Clock
2
Driver
24
Data
12
Latch,
Demux
3
H,V,DE
Latch
24
3
2
3
3
24
DVI (TMDS
DVI
Encode
Timing
Scaling
Scan Conv
Flicker Filt
24
PLL3
TM
DVI
Serialize
TV
Encode
link) PLL
DVI
Driver
IIC
Control
Four
10-bit
DAC's
2
2
2
2
2
TLC,TLC*
TDC0,TDC0*
TDC1,TDC1*
TDC2,TDC2*
VSWING
HPDET
GPIO[1:0]
AS
SC
SDVREF
RESET*
C/H SYNC
ISET
CVBS
(DAC3)
Y
(DAC 1)
C
(DAC 2)
CVBS
(DAC0)
Figure 1: Functional Block Diagram
201-0000-035 Rev 1.1, 5/8/2000 *TMDS is Trademark of Silicon Image Inc. 1
Page 2
CHRONTELCH7009A
VDD
AGND
AVDD
AS
TLC
TVDD
TVDD
VREF
AGND
XCLK
XCLK*
D[11]
D[10]
D[9]
D[8]
D[7]
D[6]
D[5]
D[4]
D[2]
D[1]
D[0]
DGND
DVDD
V
D[3]
Pin Descriptions
Package Diagram
DVDD
DEBCO
DGND
GPIO[1] / TLDET*
GPIO[0]
HPDET
DGND
DVDD
RESET*
SD
SC
646362616059585756555453525150
1
2
3
H
4
5
6
7
8
9
Chrontel
CH7009
10
11
12
13
14
15
16
49
C / H SYNC
48
47
P-Out/TLDET*
46
DVDDV
45
44
XO
43
XI / FIN
42
41
GND
40
CVBS / B
39
C / R
38
Y / G
37
CVBS
36
ISET
35
GND
34
33
171819202122232425
TGND
TDC0*
TDC0
TDC1*
AVDD
AGND
VSWING
26272829303132
TDC1
TGND
TDC2*
TDC2
TLC*
TGND
Figure 2: 64-Pin LQFP
2 201-0000-035 Rev 1.1, 5/8/2000
Page 3
CHRONTELCH7009A
Table 1: Pin Description
64-Pin
LQFP
21InDE
31InVREF
41In/OutH
51In/OutV
# PinsTypeSymbolDescription
Data Enable
This pin accepts a data enable signal which is high when active
video data is input to the device, and low all other times. The
levels are 0 to DVDDV, and the VREF signal is used as the
threshold level. This input is used by the DVI links. The TVOut function uses H and V sync signals as reference to active
video.
Reference Voltage Input
The VREF pin inputs a reference voltage of DVDDV / 2. The
signal is derived externally through a resistor divider and
decoupling capacitor, and will be used as a reference level for
data, sync, data enable and clock inputs.
Horizontal Sync Input / Output
When the SYO bit is low, this pin accepts a horizontal sync
input for use with the input data. The amplitude will be 0 to
DVDDV, and the VREF signal is used as the threshold level.
When the SYO bit is high, the device will output a horizontal
sync pulse, 64 pixels wide. The output is driven from the
DVDD. This output is only for use with the TV-Out function.
Vertical Sync Input / Output
When the SYO bit is low, this pin accepts a vertical sync input
for use with the input data. The amplitude will be 0 to
DVDDV, and the VREF signal is used as the threshold level.
72In/Out
82In/OutGPIO[0]
91InHPDET
101InAS
131InRESET*
GPIO[1] /
TLDET*
When the SYO bit is high, the device will output a vertical
sync pulse one line wide. The output is driven from the DVDD
supply. This output is only for use with the TV-Out function.
General Purpose Input - Output[1] /
DVI Link Detect Output (internal pull-up)
This pin provides a general purpose I/O controlled via the IIC
bus. The internal pull-up will be to the DVDD supply.
When the GPIO[1] pin is configured as an input, this pin can
be used to output the DVI link detect signal (pulls low when a
termination change has been detected on the HPDET input).
This is an open drain output. The output is released through
IIC control.
General Purpose Input - Output[0] (internal pull-up)
This pin provides a general purpose I/O controlled via the IIC
bus. This allows an external switch to be used to select NTSC
or PAL at power-up. The internal pull-up will be to the DVDD
supply.
Hot Plug Detect (internal pull-down)
This input pin determines whether the DVI link is connected to
a DVI monitor. When terminated, the monitor is required to
apply a voltage greater than 2.4 volts. Changes on the status of
this pin will be relayed to the graphics controller via the POUT/TLDET* or GPIO[1]/TLDET* pin pulling low.
Address Select (Internal pull-up)
This pin determines the IIC address of the device
(1,1,1,0,1,AS*,AS).
Reset * Input (Internal pull-up)
When this pin is low, the device is held in the power-on reset
condition. When this pin is high, reset is controlled through
the IIC register.
201-0000-035 Rev 1.1, 5/8/20003
Page 4
CHRONTELCH7009A
Table 1: Pin Description
64-Pin
LQFP
141In/OutSD
151InSC
191InVSWING
22, 212OutTDC0,
25, 242OutTDC1,
28, 272OutTDC2,
30, 312OutTLC,
351InISET
361OutCVBS
371OutY/G
381OutC/R
391OutCVBS/B
421InXI / FIN
431InXO
# PinsTypeSymbolDescription
Serial Data Input / Output
This pin functions as the serial data pin of the IIC interface
port, and uses the DVDD supply.
Serial Clock Input
This pin functions as the clock pin of the IIC interface port,
and uses the DVDD supply.
TMDSTM Link Swing Control
This pin sets the swing level of the DVI outputs. A 2.4K ohm
resistor should be connected between this pin and TGND using
short and wide traces.
TMDSTM Data Channel 0 Outputs
TDC0*
TDC1*
TDC2*
TLC*
These pins provide the DVI differential outputs for data
channel 0 (blue).
TMDSTM Data Channel 1 Outputs
These pins provide the DVI differential outputs for data
channel 1 (green).
TMDSTM Data Channel 2 Outputs
These pins provide the DVI differential outputs for data
channel 2 (red).
TMDSTM Link Clock Outputs
These pins provide the differential clock output for the DVI
interface corresponding to data on the TDC[0:2] outputs.
Current Set Resistor Input
This pin sets the DAC current. A 140 ohm resistor should be
connected between this pin and GND (DAC ground) using
short and wide traces.
Composite Video
This pin outputs a composite video signal capable of driving a
75 ohm doubly terminated load.
Luma / Green Output
This pin outputs a selectable video signal. The output is
designed to drive a 75 ohm doubly terminated load. The
output can be selected to be s-video luminance or green.
Chroma / Red Output
This pin outputs a selectable video signal. The output is
designed to drive a 75 ohm doubly terminated load. The
output can be selected to be s-video chrominance or red.
Composite Video / Blue Output
This pin outputs a selectable video signal. The output is
designed to drive a 75 ohm doubly terminated load. The
output can be selected to be composite video or blue.
Crystal Input / External Reference Input
A parallel resonance 14.31818MHz crystal (+ 20 ppm) should
be attached between this pin and XO. However, an external
clock can drive the XI/FIN input.
Crystal Output
A parallel resonance 14.31818MHz crystal (+ 20 ppm) should
be attached between this pin and XI / FIN. However, if an
external CMOS clock is attached to XI/FIN, XO should be left
open.
4 201-0000-035 Rev 1.1, 5/8/2000
Page 5
CHRONTELCH7009A
Table 1: Pin Description
64-Pin
LQFP
461OutP-OUT /
471OutBCO
481OutC/H SYNC
50 – 55,
58 – 63
57, 562InXCLK,
# PinsTypeSymbolDescription
Pixel Clock Output / DVI Link Detect Output
TLDET*
12In / OutD[11] - D[0]
XCLK*
When the CH7009 is operating as a VGA to TV encoder in
master clock mode, this pin provides a pixel clock signal to the
VGA controller which is used as a reference frequency. The
output is selectable between 1X or 2X of the pixel clock
frequency. The output driver is driven from the DVDDV
supply. This output has a programmable tri-state. The
capacitive loading on this pin should be kept to a minimum.
When the CH7009 is operating as a DVI transmitter, this pin
provides an open drain output which pulls low when a
termination change has been detected on the HPDET input.
The output is released through IIC control.
Buffered Clock Output
This output pin provides a buffered clock output, driven by the
DVDD supply. The output clock can be selected using the BCO
register.
Composite / Horizontal Sync Output
This pin can be selected to output a TV composite sync, TV
horizontal sync, or a buffered version of the VGA horizontal
sync. The output is driven from the DVDD supply.
Data[11] through Data[0] Inputs
These pins accept the 12 data inputs from a digital video
port of a graphics controller. The levels are 0 to DVDDV,
and the VREF signal is used as the threshold level.
External Clock Inputs
These inputs form a differential clock signal input to the
CH7009 for use with the H, V, DE and D[11:0] data. If
differential clocks are not available, the XCLK* input
should be connected to VREF.
The output clocks from this pad cell are able to have their
polarities reversed under the control of the MCP bit.
Digital Supply Voltage (3.3V)
Digital Ground
I/O Supply Voltage (3.3V to 1.1V)
DVI Transmitter Supply Voltage (3.3V)
DVI Transmitter Ground
PLL Supply Voltage (3.3V)
PLL Ground
DAC Supply Voltage (3.3V)
DAC Ground
201-0000-035 Rev 1.1, 5/8/20005
Page 6
CHRONTELCH7009A
Modes of Operation
The CH7009 is capable of being operated as a single DVI output link, or as a VGA to TV encoder. The two
modes of operation cannot be used simultaneously. Descriptions of each of the operating modes, with a block
diagram of the data flow within the device is shown below.
DVI Output
In DVI Output mode, multiplexed input data, sync and clock signals are input to the CH7009 from the graphics
controllers digital output port. Data will be 2X multiplexed, and the clock inputs can be 1X or 2X times the
pixel rate. Some examples of modes supported are shown in the table below, and a block diagram of the
CH7009 is shown on the following page. For the table below, clock frequencies for given modes were taken
from VESA DISPLAY MONITOR TIMING SPECIFICATIONS if they were detailed there, not VESA
TIMING DEFINITION FOR FLAT PANEL MONITORS. The device is not dependent upon this set of timing
specifications. Any values of pixels/line, lines/frame and clock rate are acceptable, as long as the pixel rate
remains below 165MHz. In the block diagram, all blocks are shown. Those blocks which are non-active are
shown as shaded. The clock and data paths which are in use are highlighted. Although the block diagram does
not show this path as being active, the data input can be selected to be output by the DACs as a VGA type
output. For correct DVI operation, the input data format must be selected to be one of the RGB input formats.
These DVD compatible modes are input in a non-interlaced RGB data format
2
30Hz in progressive scan modes, 60Hz in interlaced modes
1
1
Aspect Ratio
4:39:859.9427270
4:315:125027270
Ratio
(Hz)
<30
Frequency
(MHz)
2
<140<1400
Frequency
(MHz)
6 201-0000-035 Rev 1.1, 5/8/2000
Page 7
CHRONTELCH7009A
XCLK,XCLK*
D[11:0]
H,V,DE
2
12
3
XI/FIN,XO
P-OUT / TLDET*
BCO
Clock
Driver
Data
Latch,
Demux
H,V,DE
Latch
DVI (TMDS
DVI
24
Encode
3
24
TM
link) PLL
DVI
Serialize
DVI
Driver
2
2
2
2
2
IIC
3
Control
TLC,TLC*
TDC0,TDC0*
TDC1,TDC1*
TDC2,TDC2*
VSWING
HPDET
GPIO[1:0]
AS
SC
SDVREF
RESET*
2
C/H SYNC
PLL3
ISET
Timing
CVBS
3
Scan Conv
24
Flicker Filt
24
Scaling
TV
Encode
Four
10-bit
DAC's
(DAC3)
Y
(DAC 1)
C
(DAC
2)
CVBS
(DAC0)
Figure 3: DVI Output
201-0000-035 Rev 1.1, 5/8/20007
Page 8
CHRONTELCH7009A
TV Output
In TV Output mode, multiplexed input data, sync and clock signals are input to the CH7009 from the graphics
controllers digital output port. A P-OUT clock can be output as a frequency reference to the graphics
controller, which is recommended to ensure accurate frequency generation. Horizontal and vertical syncsignals are normally sent to the CH7009 from the graphics controller, but can be output to the graphics
controller as an option. This method should not be used for pixel frequencies above 50 MHz. Data will be 2X
multiplexed, and the XCLK clock signal can be 1X or 2X times the pixel rate. The input data will be encoded
into the selected video standard, and output from the video DAC’s. The modes supported for TV output are
shown in the table below, and a block diagram of the CH7009 is shown on the following page. In the block
diagram, all blocks are shown. Those blocks which are non-active are shown as shaded. The clock and data
paths which are in use are highlighted.
Two distinct methods of transferring data to the CH7009 are described. They are:
•Multiplexed data, clock input at 1X pixel rate
•Multiplexed data, clock input at 2X pixel rate
For the multiplexed data, clock at 1X pixel rate the data applied to the CH7009 is latched with both edges of
the clock (also referred to as dual-edge transfer mode). For the multiplexed data, clock at 2X pixel rate the data
applied to the CH7009 is latched with one edge of the clock. The polarity of the pixel clock can be reversed
under IIC control.
Input Clock and Data Timing Diagram
The figure below shows the timing diagram for input data and clocks. The first XCLK/XCLK* waveform
represents the input clock for the multiplexed data, clock at 2X pixel rate method. The second XCLK/XCLK*
waveform represents the input clock for the multiplexed data, clock at 1X pixel rate method.
V
XCLK/
XCLK*
OH
V
OL
V
XCLK/
XCLK*
OH
V
OL
V
OH
D[11:0]
V
OL
V
OH
DE
V
OL
V
OH
H
V
OL
V
OH
V
V
OL
Table 4: Interface Timing
Symbol
V
OH
V
OL
1
t1
Parameter
Output high level of interface signals
Output Low level of interface signals
D[11:0], H, V & DE to XCLK = XCLK* Delay (setup
t2t1
t1t2
64 P-OUT
1 VGA Line
Figure 5: Interface Timing
MinMaxUnit
DVDDV - 0.2DVDDV + 0.2V
-0.20.2V
TBDnS
1
t2
XCLK = XCLK* to D[11:0], H, V & DE Delay (hold time)
DVDDV Digital I/O Supply Voltage
1
D[11:0], H, V DE times measured when input equals Vref+100mV on rising edges, Vref-100mV on falling edges.
10 201-0000-035 Rev 1.1, 5/8/2000
TBDnS
1.1 – 5%3.3 + 5%V
time)
Page 11
CHRONTELCH7009A
Input Clock and Data Formats
The 12 data inputs support 5 different multiplexed data formats, each of which can be used with a 1X clock
latching data on both clock edges, or a 2X clock latching data with a single edge. The data received by the
CH7009 can be used to drive the DVI output, the VGA to TV encoder, or directly drive the DAC’s. The
multiplexed input data formats are (IDF[2:0]):
For multiplexed input data formats, either both transitions of the XCLK/XCLK* clock pair, or each rising or
falling edge of the clock pair (depending upon MCP bit, rising refers to a rising edge on the XCLK signal, a
falling edge on the XCLK* signal) will latch data from the graphics chip. The multiplexed input data formats
are shown in the figures below. The Pixel Data bus represents a 12-bit or 8-bit multiplexed data stream, which
contains either RGB or YCrCb formatted data. The input data rate is 2X the pixel rate, and each pair of Pn
values (eg; P0a and P0b) will contain a complete pixel encoded as shown in the tables below. It is assumed
that the first clock cycle following the leading edge of the incoming horizontal sync signal contains the first
word (Pxa) of a pixel, if an active pixel was present immediately following the horizontal sync. This does not
mean that active data should immediately follow the horizontal sync, however. When the input is a YCrCb
data stream 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 CCIR-656 standards (the clock
frequency is dependent upon the current mode, and is not 27MHz as specified in CCIR-656). All non-active
pixels should be 0 in RGB formats, and 16 for Y and 128 for CrCb in YCrCb formats.
201-0000-035 Rev 1.1, 5/8/200011
Page 12
CHRONTELCH7009A
HS
XCLK
(2X)
SAV
XCLK
(1X)
D[11:0]
P[23:16]
(Red Data)
P[15:8]
(Green Data)
P[7:0]
(Blue Data)
P[23:16]
(Red Data)
P[15:8]
(Green Data)
P[7:0]
(Blue Data)
The following data is latched for IDF = 0
The following data is latched for IDF = 1
P1aP0aP2aP1bP0bP2b
P0b[11:4]
P0b[3:0], P0a[11:8]
P0a[7:0]
P0b[11:7], P0b[3:1]
P0b[6:4], P0a[11:9],
P0b[0], P0a[3]
P0a[8:4], P0a[2:0]
P1b[11:4]
P1b[3:0], P1a[11:8]
P1a[7:0]
P1b[11:7], P1b[3:1]
P1b[6:4], P1a[11:9],
P1b[0], P1a[3]
P1a[8:4], P1a[2:0]
P2b[11:4]
P2b[3:0],
P2a[11:8]
P2a[7:0]
P2b[11:7]
P2b[3:1]
P2a[8:4]
P2a[2:0]
Figure 6: Multiplexed Input Data Formats (IDF = 0, 1)
When IDF = 4 (YCrCb mode), the data inputs can also be used to transmit sync information to the device. In
this mode, the embedded sync will follow the VIP2 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 shown below:
Table 8: Embedded Sync
IDF =
4
Format =
Pixel #P0aP0bP1aP1bP2aP2bP3aP3b
Bus DataDx[7] FF0000S[7]Cb2[7]Y2[7]Cr2[7]Y3[7]
In this mode, the S[7..0] byte contains the following data:
YCrCb 8-bit
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 (synchronization reference at the end of active video)
0 during SAV (synchronization reference at the start of active video)
Bits S[7] and S[3..0] are ignored
Hot Plug Detection
The CH7009 has the capability of signaling to the graphics controller when the termination of the DVI outputs
has changed. The operation of this circuit is as follows. The HPDET input pin of the CH7009 should be
connected to pin 16 of the DVI connector. When a DVI monitor is connected to the DVI connector, this pin
will be pulled high (above 2.4 volts). When a DVI monitor is not connected to the DVI connector, the internal
pull-down on the HPDET pin will pull low. The CH7009 will detect any transition at the HPDET pin. When
the HPIE (Hot Plug Interrupt Enable) bit in IIC register 1Eh is high, the CH7009 will pull low on the P-OUT /
TLDET* pin. When the HPIE2 (Hot Plug Interrupt Enable 2) bit in IIC register 20h is high, the CH7009 will
pull low on the GPIO[1] / TLDET* pin. This should signal the driver to read the DVIT bit in register 20h to
determine the state of the HPDET pin. The P-OUT / TLDET pin will continue to pull low until the driver sets
the HPIR (Hot Plug Interrupt Reset) bit in register 1Eh high. The driver should then set the HPIR bit low.
201-0000-035 Rev 1.1, 5/8/200015
Page 16
CHRONTELCH7009A
Register Control
The CH7009 is controlled via an IIC control port. The IIC bus uses only the SC clock to latch data into
registers, and does not use any internally generated clocks so that the device can be written to in all power
down modes. The device retains all register states
The CH7009 contains a total of 37 registers for user control. A listing of non-Macrovision control bits is given
below with a brief description of each.
Non-Macrovision Control Registers Map
The non-Macrovision controls are listed below, divided into four sections: general controls, input / output
controls, DVI controls, and VGA to TV controls. A register map and register description follows.
GENERAL CONTROLS
ResetIBSoftware IIC reset
ResetDBSoftware datapath reset
PD[7:0]Power down controls (DVIP, DVIL, , TVD, DACPD[1:0], Full, Partial)
VID[7:0]Version ID register
DID[7:0]Device ID register
TSTP[1:0]Enable/select test pattern generation (color bar, ramp)
INPUT/OUTPUT CONTROLS
XCMXCLK 1X, 2X select
XCMD[7:0]Delay adjust between XCLK and D[11:0]
MCPXCLK polarity control
PCMP-OUT 1X, 2X select
POUTPP-OUT clock polarity
POUTEP-OUT enable
HPIE, HPIE2Hot plug detect interrupt enable
HPIRHot plug detect interrupt reset
IDF[2:0]Input data format
IBSInput buffer select
DESDecode embedded sync (TV-Out data only)
SYOH/V sync direction control (for TV-Out modes only)
VSPV sync polarity control (sync polarity to DVI links is not changed)
HSPH sync polarity control (sync polarity to DVI links is not changed)
TERM[5:0]Termination detect/check (DVI Link, DACT3, DACT2, DACT1, DACT0, SENSE)
BCOENEnable BCO Output
BCO[2:0]Select output signal for BCO pin
BCOPBCO polarity
GPIOL[1:0]Read or write level for GPIO pins
GOENB[1:0]Direction control for GPIO pins
SYNCO[1:0]Enables/selects sync output for Scart and bypass modes
DACG[1:0]DAC gain control
DACBPDAC bypass
XOSC[2:0]Crystal oscillator adjustments
16 201-0000-035 Rev 1.1, 5/8/2000
Page 17
CHRONTELCH7009A
DVI CONTROLS
TPPD[2:0]DVI PLL phase detector trim
TPCP[1:0]DVI PLL charge pump trim
TPVT[5:0]DVI PLL VDD trim
TPVCO[10:0]DVI PLL VCO trim
TPLPF[3:0]DVI PLL low pass filter
DVID[3:0]DVI transmitter drive strength
DVIIDVI output invert
CTL[3:0]DVI control inputs
TV-OUT CONTROLS
IR[2:0]Input data resolution (when used for TV-Out)
VOS[1:0]TV-Out video standard
SR[2:0]TV-Out scaling ratio
CFF[1:0]Chroma flicker filter setting
YFFT[1:0]Luma text enhancement flicker filter setting
YFFNT[1:0]Luma flicker filter setting (Non-text)
CVBWBCVBS DAC receives black&white (S-Video luminance) signal
CBWChroma video bandwidth
YSV[1:0]S-Video luma bandwidth
YCV[1:0]Composite video luma bandwidth
TE[2:0]Text enhancement (sharpness)
CFRBChroma sub-carrier free run (bar) control
M/S*TV-Out PLL reference input control
SAV [8:0]Horizontal start of active video (delay from leading edge of H sync to active video)
BLCK[7:0]TV-Out Black level control
HP[8:0]TV-Out horizontal position control
VP[8:0]TV-Out vertical position control
VOFTV-Out video format (s-video & composite, RGB)
CE[2:0]TV-Out contrast enhancement
PLLTVM[8:0] TV-Out PLL M divider
PLLTVN[9:0]TV-Out PLL N divider
FSCI[32:0]Sub-carrier generation increment value (when ACIV=0)
CIVENCalculated sub-carrier enable (was called ACIV)
CIVC[1:0]Calculated sub-carrier control (hysteresis,
CIV[25:0]Calculated sub-carrier increment value read out
CIVPNSelect PAL-N when in a CIV mode
MEM[2:0]Memory sense amp reference adjust
VBIDVertical blanking interval defeat
PLLCPITV-Out PLL charge pump current control
PLLCAPTV-Out PLL capacitor control
201-0000-035 Rev 1.1, 5/8/200017
Page 18
CHRONTELCH7009A
I2C Port Operation
The CH7009 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 (bidirectional) and SC, which can be connected directly to
the SDB and SCB buses as shown in Figure 8.
The Serial Clock line (SC) is input only and is driven by the output buffer of the master device (also shown in
Figure 8). The CH7009 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.
+DVDD
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 8: 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 8. A pull-up resistor (RP) must be connected to a 3.3V ± 10% supply. The CH7009 is
a device with input levels related to DVDD.
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 2mA at
VOL
= 0.4 V for the output stages:
max
RP >= (VDD – 0.4) / 2 (R P 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)
18 201-0000-035 Rev 1.1, 5/8/2000
Page 19
CHRONTELCH7009A
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...). A basic serial port transfer
protocol is shown in Figure 9 and described below.
SD
I2C
SC
CH7009
1 - 8
9
1 - 8
9
Start
Condition
Device ID8R/W*9ACK
CH7009
acknowledge
Data
1
ACK
CH7009
acknowledge
Data
n
ACK
CH7009
acknowledge
Stop
Condition
Figure 9: 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 CH7009 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 CH7009 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
1110101R/W
R/W Read/Write Indicator
“0”:master device will write to the CH7009 at the register location specified by the address
AR[6:0]
“1”:master device will read from the CH7009 at the register location specified by the
address AR[6:0].
Register Address Byte (RAB)
B7B6B5B4B3B2B1
1AR[6]AR[5]AR[4]AR[3]AR[2]AR[1]AR[0]
201-0000-035 Rev 1.1, 5/8/200019
B0
Page 20
CHRONTELCH7009A
Transfer Protocols (continued)
AR[6:0] Specifies the Address of the Register to be Accessed.
This register address is loaded into the Address Register of the CH7009. 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 and alternating operation.
CH7009 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 CH7009 always acknowledges for writes (see Figure 10). 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 CH7009
not acknowledge
acknowledge
SC from
189
2
Master
clock pulse for
Start
acknowledgment
Condition
Figure 10: Acknowledge on the Bus
Figure 11 shows two consecutive alternating write cycles. The byte of information, following the Register Address
Byte (RAB), is the data to be written into the register specified by AR[6:0]. If AutoInc = 0, then another RAB is
expected from the master device, followed by another data byte, and so on.
SD
SC
Condition
Start
CH7009
acknowledge
I2C
1 - 7
Device ID8R/W*9ACK
CH7009
acknowledge
1 - 8
RAB9ACK
CH7009
acknowledge
1 - 8
Data9ACK
CH7009
acknowledge
1 - 8
RAB9ACK
CH7009
acknowledge
1 - 8
Data9ACK
Stop
Condition
Note: The acknowledge is from the CH7009 (slave).
Figure 11: Alternating Write Cycles
20 201-0000-035 Rev 1.1, 5/8/2000
Page 21
CHRONTELCH7009A
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 Figure 12.
.
CH7009
SD
SC
StartStop
1 - 7
Device ID8R/W*9ACK
acknowledge
I2C
1 - 8
RAB
acknowledge
n
CH7009
9
ACK
1 - 8
Data
acknowledge
n
CH7009
9
ACKData
1 - 8
n+1
CH7009
acknowledge
9
ACK
ConditionCondition
Note: The acknowledge is from the CH7009 (slave).
Figure 12: Auto-Increment Write Cycle
During the auto-increment mode transfers, the register address pointer continues to increment for each write cycle
until AR[6:0] = 4F. 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.
CH7009 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 CH7009 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[6:0], containing the address of the register that the master device intends to read from in AR[6: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). For alternating modes, 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 Figure 13.
201-0000-035 Rev 1.1, 5/8/200021
Page 22
CHRONTELCH7009A
Transfer Protocols (continued)
.
SD
SC
Condition
1 - 7
Start
Device ID8R/W*9ACK
1 - 7
Device ID8R/W*9ACK
CH7009
acknowledge
I2C I2C
CH7009
acknowledge
I2C I2C
RAB
1 - 8
RAB
1 - 8
CH7009
acknowledge
ACKRestart
1
CH7009
acknowledge
910
ACKRestart
2
910
Condition
Condition
CH7009
acknowledge
1 - 7
Device ID8R/W*9ACK
CH7009
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 13: Alternating Read Cycle
For auto-increment reads 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
CH7009
acknowledge
CH7009
acknowledge
CH7009
acknowledge
Master
acknowledge
just before Stop
condition
SD
I2C
SC
Condition
1 - 7
Start
Device ID8R/W*9ACK
1 - 8
RAB
910
ACK Restart
n
1 - 7
Device ID8R/W*9ACK
Condition
1 - 8
Data
1 - 8
9
ACK
n
Data
n+1
9
ACK
Stop
Condition
Figure 14: Auto-increment Read Cycle
When the auto-increment mode is enabled, the Address Register will continue incrementing for each read cycle.
When the content of the Address Register reaches 4Fh, 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. Figure 14 shows an auto-increment read cycle terminated by a STOP or
RESTART condition.
All register bits not defined in the register map are reserved bits, and should be left at the default value.
201-0000-035 Rev 1.1, 5/8/200023
Page 24
CHRONTELCH7009A
Non-Macrovision Control Registers Description
Display Mode RegisterSymbol:DM
Address: 00h
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
76543210
IR2IR1IR0VOS1VOS0SR2SR1SR0
R/WR/WR/WR/WR/WR/WR/WR/W
01101010
Register DM provides programmable control of the CH7009 VGA to TV display mode, including input resolution
(IR[2:0]), video output standard (VOS[1:0]), and scaling ratio (SR[2:0]). The mode of operation is determined according
to Table 10 below. For entries in which the output standard is shown as PAL, PAL-B,D,G,H,I,N,NC can be supported
through proper selection of the chroma sub-carrier. For entries in which the output standard is shown as NTSC, NTSC-M,
J and PAL-M can be supported through proper selection of VOS[1:0] and chroma sub-carrier.
Bits 1-0 of register FF control the filter used in the scaling and flicker reduction block applied to the non-text
portion of the luminance signal as shown in Table 12 below.
Bits 3-2 of register FF control the filter used in the scaling and flicker reduction block applied to the text
portion of the luminance signal as shown in Table 12 below.
Bits 5-4 of register FF control the filter used in the scaling and flicker reduction block applied to the
chrominance signal as shown in Table 13 below. A setting of ‘11’ applies a dot crawl reduction filter which
can reduce the ‘hanging dots’ effect of an NTSC composite video signal when displayed on a TV with a comb
filter.
Bit 6 of register FF controls the video output format. A value of ‘0’ generates composite and S-Video outputs. A
value of ‘1’ generates RGB outputs.
201-0000-035 Rev 1.1, 5/8/200025
Page 26
CHRONTELCH7009A
Video Bandwidth RegisterSymbol: VBW
Address: 02h
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
76543210
VBIDCFRB CVBWBCBWYSV1YSV0YCV1YCV0
R/WR/WR/WR/WR/WR/WR/WR/W
00011110
Bits 1-0 of register VBW control the filter used to limit the bandwidth of the luma signal in the CVBS output signal.
A table of –3dB bandwidth values is given below.
Bits 3-2 of register VBW control the filter used to limit the bandwidth of the luma signal in the S-Video output
signal. A table of –3dB bandwidth values is given below.
Bit 4 of register VBW controls the filter used to limit the bandwidth of the chroma signal in the CVBS and S-Video
output signals. A table of –3dB bandwidth values is given in Table 14 below.
Bit 5 of register VBW controls the signal output on the CVBS pin. When this bit is low, the S-Video luminance
signal is output at both the S-Video luminance pin and the CVBS pin. This enables the output of a black and white
image on the composite output, thereby eliminating the degrading effects of the color signal (such as dot crawl and
false colors), which is useful for viewing text with high accuracy. This also allows the output of either S-Video or
CVBS using just two DAC’s. This is useful in situations where connector space is at a premium.
Bit 6 of register VBW controls whether the chroma sub-carrier free-runs, or is locked to the video signal. A ‘1’
causes the sub-carrier to lock to the TV vertical rate, and should be used when the CIVEN bit (register 10h) is
set to ‘0’. A ‘0’ causes the sub-carrier to free-run, and should be used when the CIVEN bit is set to ‘1’.
Bit 7 of register VBW controls the vertical blanking interval defeat function. A ‘1’ in this register location
forces the flicker filter to minimum filtering during the vertical blanking interval. A ‘0’ in this location causes
the flicker filter to remain at the same setting inside and outside of the vertical blanking interval.
Text Enhancement RegisterSymbol: TE
Address: 03h
Bits:6
BIT:
SYMBOL:
TYPE:
DEFAULT:
Bits 2-0 of register TE control the text enhancement circuitry within the CH7009. A value of ‘000’ minimizes the
enhancement feature, while a value of ‘111’ maximizes the enhancement.
Bits 5-3 of register TE contain the MSB values for the start of active video, horizontal position and vertical position
controls. They are described in detail in the SAV, HP and VP register descriptions.
76543210
SAV8HP8VP8TE2TE1TE0
R/WR/WR/WR/WR/WR/W
000101
201-0000-035 Rev 1.1, 5/8/200027
Page 28
CHRONTELCH7009A
Start of Active Video RegisterSymbol: SAV
Address: 04h
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
Register SAV controls 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 Text
Enhancement register, bit SAV8. This is decoded as a whole number of pixels, which can be set anywhere between
0 and 511 pixels. Therefore, in any 2X clock mode the number of 2X clocks from the leading edge of sync to the
first active data must be a multiple of two clocks.
76543210
SAV7SAV6SAV5SAV4SAV3SAV2SAV1SAV0
R/WR/WR/WR/WR/WR/WR/WR/W
01010000
Horizontal Position RegisterSymbol: HP
Address: 05h
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
Register HP 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 Text Enhancement register, bit HP8. Increasing values move the displayed image position right, and
decreasing values move the image position left.
76543210
HP7HP6HP5HP4HP3HP2HP1HP0
R/WR/WR/WR/WR/WR/WR/WR/W
01010000
Vertical Position RegisterSymbol: VP
Address: 06h
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
Register VP is used to shift the displayed TV image in a vertical direction ( up or down) to achieve a vertically
centered image on screen. The entire bit field, VP[8:0], is comprised of this register HP[7:0] plus the MSB value
contained in the Text Enhancement register, bit VP8. The value 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 lines (approximately 2 input lines). The maximum value that should be programmed
into the VP[8:0] value is the number of TV lines per field minus one half (262 or 312). When panning the image up,
the number should be increased until (TVLPF-1/2) is reached, the next step should be to reset the register to zero.
When panning the image down the screen, decrement the VP[8:0] value until the value zero is reached. The next
step should set the register to TVLPF-1/2, and then decrement for further changes.
28 201-0000-035 Rev 1.1, 5/8/2000
76543210
VP7VP6VP5VP4VP3VP2VP1VP0
R/WR/WR/WR/WR/WR/WR/WR/W
00000000
Page 29
CHRONTELCH7009A
n
Black Level RegisterSymbol: BL
Address: 07h
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
76543210
BL7BL6BL5BL4BL3BL2BL1BL0
R/WR/WR/WR/WR/WR/WR/WR/W
10000011
Register BL controls the black level. The luminance data is added to this black level, which must be set between 51
and 208. When the input data format is zero through three the default values are 131 for NTSC and PAL-M, 110 for
PAL and 102 for NTSC-J. When the input data format is four the default values are 112 for NTSC and PAL-M, 94
for PAL and 88 for NTSC-J.
Contrast Enhancement RegisterSymbol: CE
Address: 08h
Bits:3
BIT:
SYMBOL:
TYPE:
DEFAULT:
76543210
CE2CE1CE0
R/WR/WR/W
011
Bits 2-0 of register CE control contrast enhancement feature of the CH7009, according to the figure below. A
setting of ‘0’ results in reduced contrast, a setting of ‘1’ leaves the image contrast unchanged, and values beyond ‘1’
result in increased contrast.
Yout
256
< >
i
512
444
376
308
n
240
172
104
36
32
3236104172240308376444512
Yin
Figure 15: Contrast Enhancement diagram
201-0000-035 Rev 1.1, 5/8/200029
Page 30
CHRONTELCH7009A
TV PLL Control RegisterSymbol: TPC
Address: 09h
Bits:5
BIT:
SYMBOL:
TYPE:
DEFAULT:
Bit 0 of register TPC controls the TV PLL loop filter capacitor. A recommended listing of PLLCAP setting versus
mode is listed in Table 15 below.
Bit 1 of register TPC should be left at the default value.
Bits 4-2 of register TPC contain the MSB values for the TV PLL divider ratio’s. These controls are described in
detail in the PLLM and PLLN register descriptions.
Bit 5 of register TPC controls the input latch bias current. A value of TBD is recommended.
Bits 7-6 of register TPC control the memory sense amp reference level. The default value is recommended.
30 201-0000-035 Rev 1.1, 5/8/2000
Page 31
CHRONTELCH7009A
TV PLL M Value RegisterSymbol: PLLM
Address: 0Ah
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
76543210
M7M6M5M4M3M2M1M0
R/WR/WR/WR/WR/WR/WR/WR/W
00111111
Register PLLM controls the division factor applied to the 14.31818MHz frequency reference clock before it is input
to the TV PLL phase detector when the CH7009 is operating in master clock mode. The entire bit field, M[8:0], is
comprised of this register M[7:0] plus the MSB value contained in the TV PLL Control register, bit M8. In slave
clock mode, an external pixel clock is used instead of the 14.31818MHz frequency reference, and the division factor
is determined by the XCM value in register 1Dh. A table of values versus display mode is given following the
PLLN register description
TV PLL N Value RegisterSymbol: PLLN
Address: 0Bh
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
76543210
N7N6N5N4N3N2N1N0
R/WR/WR/WR/WR/WR/WR/WR/W
01111110
Register PLLN controls the division factor applied to the VCO output before being applied to the PLL phase
detector, when the CH7009 is operating in master clock mode. The entire bit field, N[9:0], is comprised of this
register N[7:0] plus the MSB values contained in the TV PLL Control register, bits N9 and N8. In slave clock
mode, the value of ‘N’ is internally set to 1. The pixel clock generated in master clock modes is calculated
according to the equation Fpixel = Fref * [(N+2) / (M+2)]. When using a 14.31818MHz frequency reference, the
required M and N values for each mode are shown in Table 16 below:
Registers FSCI contain a 32-bit value which is used as an increment value for the ROM address generation circuitry when
CIVEN=0. The bit locations are specified as follows:
76543210
FSCI#FSCI#FSCI#FSCI#FSCI#FSCI#FSCI#FSCI#
R/WR/WR/WR/WR/WR/WR/WR/W
Register Contents
0ChFSCI[31:24]
0DhFSCI[23:16]
0EhFSCI[15:8]
0FhFSCI[7:0]
When the CH7009 is used in the master clock mode, the tables below should be used to set the FSCI registers.
When using these values, the CIVEN bit in register 10h should be set to ‘0’, and the CFRB bit in register 02h should
be set to ‘1’.
Bit 0 of register CIVC controls whether the FSCI value is used to set the sub-carrier frequency, or the automatically
calculated (CIV) value. When the CIVEN value is 1, the number calculated and present at the CIV registers will
automatically be used as the increment value for sub-carrier generation. Whenever this bit is set to 1, the CFRB bit
should be set to 0. It is recommended to use the FSCI registers, and not the CIVEN mode for Macrovision
applications
Bit 1 of register CIVC forces the CIV algorithm to generate the PAL-N (Argentina) sub-carrier frequency when it is
set to ‘1’. When this bit is set to ‘0’, the VOS[1:0] value is used by the CIV algorithm to determine which subcarrier frequency to generate.
Bits 3-2 of register CIVC control the hysteresis circuit which is used to calculate the CIV value. The default value
should be used.
76543210
CIV25CIV24CIVC1CIVC0PALNCIVEN
R/WR/WR/WR/WR/WR/W
000001
Bits 5-4 of register CIVC contain the MSB values for the calculated increment value (CIV) readout. This is
described in detail in the CIV register description.
201-0000-035 Rev 1.1, 5/8/200033
Page 34
CHRONTELCH7009A
Calculated Increment Value RegisterSymbol: CIV
Address: 11h –
13h
Bits:8 each
BIT:
SYMBOL:
TYPE:
DEFAULT:
Registers CIV contain the value that was calculated by the CH7009 as the sub-carrier increment value. The entire
bit field, CIV[25:0], is comprised of these three registers plus the MSB values contained in the CIV Control register,
bits CIV25 and CIV24. This value is used when the CIVEN bit is set to ‘1’. The bit locations are specified below.
Bit 0 of register CM signifies the XCLK frequency. A value of ‘0’ is used when the XCLK is at the pixel frequency
(duel edge clocking mode) and a value of ‘1’ is used when the XCLK is twice the pixel frequency (single edge
clocking mode).
Bit 1 of register CM controls the P-OUT clock frequency. A value of ‘0’ generates a clock output at the pixel
frequency, while a value of ‘1’ generates a clock at twice the pixel frequency.
Bit 2 of register CM controls the phase of the XCLK clock input to the CH7009. A value of ‘1’ inverts the XCLK
signal at the input of the device. This control is used to select which edge of the XCLK signal to use for latching
input data.
Bit 3 of register CM controls whether the device operates in master or slave clock mode. In master mode (M/S* =
‘1’), the 14.31818MHz clock is used as a frequency reference in the TV PLL, and the M and N values are used to
determine the TV PLL’s operating frequency. In slave mode (M/S* = ‘0’) the XCLK input is used as a reference to
the TV PLL. The M and N TV PLL divider values are forced to one.
76543210
M/S*MCPPCMXCM
R/WR/WR/WR/W
0000
34 201-0000-035 Rev 1.1, 5/8/2000
Page 35
CHRONTELCH7009A
Input Clock RegisterSymbol: IC
Address: 1Dh
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
Bits 3-0 of register IC controls the delay applied to the XCLK signal before latching input data.
Bit 0 of register GPIO controls the polarity of the P-OUT signal. A value of ‘0’ does not invert the clock at the
output pad.
GOENB1 GOENB0GPIOL1GPIOL0HPIRHPIEPOUTEPOUTP
76543210
R/WR/WR/WR/WR/WR/WR/WR/W
11000000
Bit 1 of register GPIO enables the P-OUT signal. A value of ‘1’ drives the P-OUT clock signal out of the
P-OUT / TLDET* pin. A value of ‘0’ disables the P-OUT signal.
Bit 2 of register GPIO enables the hot plug interrupt detection signal to be output from the P-OUT pin. A value of
‘1’ allows the hot plug detect circuit to pull the P-OUT / TLDET* pin low when a change of state has taken place on
the hot plug detect pin. A value of ‘0’ disables the interrupt signal. The two control bits HPIE and POUTE should
not be enabled (set to ‘1’) at the same time.
Bit 3 of register GPIO resets the hot plug detection circuitry. A value of ‘1’ causes the CH7009 to release the
P-OUT / TLDET* pin. When a hot plug interrupt is asserted by the CH7009 (P-OUT / TLDET) the CH7009 driver
should read register 20h to determine the state of the DVI termination. After having read this register, the HPIR bit
should be set high to reset the circuitry, and then set low again.
Bits 5-4 of register GPIO control the GPIO pins. When the corresponding GOENB bits are low, these register
values are driven out of the corresponding GPIO pins. When the corresponding GOENB bits are high, these register
values can be read to determine the level forced into the corresponding GPIO pins.
Bits 7-6 of register GPIO control the direction of the GPIO pins. A value of ‘1’ sets the corresponding GPIO pin to
an input, and a value of ‘0’ sets the corresponding pin to an output.
201-0000-035 Rev 1.1, 5/8/200035
Page 36
CHRONTELCH7009A
Input Data Format RegisterSymbol: IDF
Address: 1Fh
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
Bits 2-0 of register IDF select the input data format. See Input Interface on page 10 for a listing of available
formats.
Bit 3 of register IDF controls the horizontal sync polarity. A value of ‘0’ defines the horizontal sync to be active
low, and a value of ‘1’ defines the horizontal sync to be active high.
Bit 4 of register IDF controls the vertical sync polarity. A value of ‘0’ defines the vertical sync to be active low, and
a value of ‘1’ defines the vertical sync to be active high.
Bit 5 of register IDF controls the sync direction. A value of ‘0’ defines sync to be input to the CH7009, and a value
of ‘1’ defines sync to be output from the CH7009. The CH7009 can only output sync signals when operating as a
VGA to TV encoder, not when operating as a DVI transmitter.
Bit 6 of register IDF signifies when the CH7009 is to decode embedded sync signals present in the input data stream
instead of using the H and V pins. This feature is only available for input data format four. A value of ‘0’ selects the
H and V pins to be used as the sync inputs, and a value of ‘1’ selects the embedded sync signal.
Bit 7 of register IDF selects the input buffer used for the data, sync and clock input pins.
76543210
IBSDESSYOVSPHSPIDF2IDF1IDF0
R/WR/WR/WR/WR/WR/WR/WR/W
00000000
Connection Detect RegisterSymbol: CD
Address: 20h
Bits:6
BIT:
SYMBOL:
TYPE:
DEFAULT:
The Connection Detect Register provides a means to sense the connection of a TV to the four DAC outputs, and to
determine the status of the DVI hot plug detect pin. The status bits, DACT[3:0] correspond to the termination of the
four DAC outputs. 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:
1) Set the power management register to enable all DAC’s.
2) Set the SENSE bit to a 1. This forces a constant output from the DAC’s. Note that during SENSE = 1, these 4
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 present on these analog outputs and
the reference value. During this step, each of the four status bits corresponding to individual DAC outputs will be
set if they are NOT CONNECTED.
4) Read the status bits. The status bits, DACT[3:0] 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.
76543210
HPIE2 ReservedDVITDACT3DACT2DACT1DACT0SENSE
R/WR/WRRRRRR/W
00000000
36 201-0000-035 Rev 1.1, 5/8/2000
Page 37
CHRONTELCH7009A
Bit 5 of register CD can be read at any time to determine the level of the hot plug detect pin. When the hot plug
detect pin changes state, and the DVI output is selected, the P-OUT / TLDET* output pin will be pulled low
signifying a change in the DVI termination. At this point, the HPIR bit in register 1Eh should be set high, then low
to reset the hot plug detect circuit.
Bit 6 of register CD contains the MSB value for the crystal oscillator adjustment. This control is described in detail
in the DC register description (register 21h).
Bit 7 of register CD enables the hot plug interrupt detection signal output from the GPIO[1] pin. A value of ‘1’
allows the hot plug detect circuit to pull the GPIO[1] / TLDET* pin low when a change of state has taken place on
the hot plug detect pin. A value of ‘0’ disables the interrupt signal. The GOENB1 control bit in register 1Eh should
be set to ‘1’ when HPIE2 is set to ‘1’.
DAC Control RegisterSymbol: DC
Address: 21h
Bits:6
BIT:
SYMBOL:
TYPE:
DEFAULT:
Bit 0 of register DC selects the DAC bypass mode. A value of ‘1’ outputs the incoming data directly at the
DAC[2:0] outputs.
Bits 2-1 of register DC control the DAC gain. DACG0 should be set low for NTSC and PAL-M video standards,
and high for PAL and NTSC-J video standards. DACG1 should be low when the input data format is RGB (IDF =
0-3), and high when the input data format is YCrCb (IDF = 4).
Bits 4-3 of register DC select the signal to be output from the C/H Sync pin according to Table 19 below.
000The 14MHz crystal100(for test use only)
001(for test use only)101(for test use only)
010VCO divided by K3110VGA Vertical Sync
011Field ID111TV Vertical Sync
Bit 3 of register BCO selects the polarity of the BCO output. A value of ‘1’ does not invert the signal at the output
pad.
Bit 4 of register BCO enables the BCO output. When BCOEN is high, the BCO pin will output the selected signal.
When BCOEN is low, the BCO pin will be held in tri-state mode.
Bits 7-5 of register BCO select the K3 divider, according to Table 21 below.
Bits 3-0 of register TCTL set the DVI control inputs applied to the green and red channels during sync intervals. It
is recommended to leave these controls at the default value.
76543210
TPPD3TPPD 2TPPD 1TPPD 0CTL3CTL2CTL1CTL0
R/WR/WR/WR/WR/WR/WR/WR/W
10000000
Bits 7-4 of register TCTL control the DVI PLL phase detector. The default value is recommended.
38 201-0000-035 Rev 1.1, 5/8/2000
Page 39
CHRONTELCH7009A
DVI PLL VCO Control RegisterSymbol: TVCO
Address: 32h
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
Register TVCO controls the state of the DVI PLL VCO, and should be set according to the following tables (TBD).
DVI PLL Charge Pump Control RegisterSymbol: TPCP
SYMBOL:
TYPE:
DEFAULT:
Bits 1-0 of register TPCP control the DVI PLL charge pump. The default value is recommended.
Bits 3-2 of register TPCP are reserved bits, and should be left at the default value.
Bit 4 of register TPCP inverts the DVI outputs. A value of 1 inverts the outputs. A value of 0 is recommended.
Bits 7-5 of register TPCP control the DVI transmitter output drive level. The default value is recommended for DVI
applications.
DVI PLL Supply Control RegisterSymbol: TPVT
Address: 35h
Bits:5
BIT:
SYMBOL:
TYPE:
DEFAULT:
Bits 5-0 of register TPVT control the DVI PLL supply voltage. The default value is recommended.
Bits 7-6 of register TPVT are reserved bits, and should be left at the default value.
Reserved ReservedTPVT5TPVT4TPVT3TPVT2TPVT1TPVT0
76543210
R/WR/WR/WR/WR/WR/WR/WR/W
00110000
201-0000-035 Rev 1.1, 5/8/200039
Page 40
CHRONTELCH7009A
DVI PLL Filter RegisterSymbol: TPF
Address: 36h
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
Bits 3-0 of register TPT are reserved bits, and should be left at the default value.
Bits 7-4 of register TPT control the DVI PLL low pass filter. The default value is recommended.
DVI PLL VCO Control Overflow RegisterSymbol: TVCOO
BIT:
SYMBOL:
TYPE:
DEFAULT:
Bits 4-0 of register TCT are reserved bits, and should be left at the default value.
Bits 7-5 of register TCT contain the MSB values for the DVI PLL VCO control. This control is described in detail
Bits 1-0 of register TSTP control the test pattern generation block. This test pattern can be used for both the DVI
output and the TV Output. The pattern generated is determined by Table 22 below.
76543210
ResetIB ResetDBRSATSTP1TSTP0
R/WR/WR/WR/WR/W
11000
Table 22: Test Pattern Control
TSTP[1:0]Buffered Clock Output
00No test pattern – Input data is used
01Color Bars
1XHorizontal Luminance Ramp
40 201-0000-035 Rev 1.1, 5/8/2000
Page 41
CHRONTELCH7009A
Bit 2 of register TSTP is a test control, and should be left at the default value.
Bit 3 of register TSTP controls the datapath reset signal. A value of ‘0’ holds the datapath in a reset condition,
while a value of ‘1’, places the datapath in normal mode. The datapath is also reset at power on by an internally
generated power on reset signal.
Bit 4 of register TSTP controls the IIC reset signal. A value of ‘0’ holds the IIC registers in a reset condition, while
a value of ‘1’, places the IIC registers in normal mode. The IIC registers are also reset at power on by an internally
generated power on reset signal.
Power Management RegisterSymbol: PM
Address: 49h
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
Register PM controls which circuitry within the CH7009 is operating, according to Table 23 below.
76543210
DVIPDVILTV DACPD3 DACPD2 DACPD1 DACPD0FPD
R/WR/WR/WR/WR/WR/WR/WR/W
00000001
Table 23: Power Management
Circuit BlockIs Operational When
DVI PLLDVIP = 1 & FPD = 0
DVI Encode, Serialize and
Register VID is a read only register containing the version ID number of the CH7009. The MV default is ‘1’ when
the CH7009 is bonded out with Macrovision enabled, and ‘0’ when the CH7009 is bonded out with Macrovision
disabled.
201-0000-035 Rev 1.1, 5/8/200041
76543210
VID7VID6VID5VID4VID3VID2VID1VID0
RRRRRRRR
MV0000000
Page 42
CHRONTELCH7009A
Device ID RegisterSymbol: DID
Address: 4Bh
Bits:8
BIT:
SYMBOL:
TYPE:
DEFAULT:
Register DID is a read only register containing the device ID number of the CH7009.
76543210
DID7DID6DID5DID4DID3DID2DID1DID0
RRRRRRRR
00010111
42 201-0000-035 Rev 1.1, 5/8/2000
Page 43
CHRONTELCH7009A
Electrical Specifications
Table 24. Absolute Maximum Ratings
SymbolDescriptionMinTypMaxUnits
DVDD, AVDD, TVDD, VDD relative to GND
1
T
SC
T
AMB
TSTOR
TJ
TVPS
Input voltage of all digital pins
Analog output short circuit duration
Ambient operating temperature
Storage temperature
Junction temperature
Vapor phase soldering (one minute)
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 condition of this specification is not recommended.
Exposure to absolute maximum rating conditions for extended periods my 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 voltages by more than± 0.5V can
induce destructive latch.
- 0.55.0V
GND - 0.5VDD + 0.5V
IndefiniteSec
- 5585°C
- 65150°C
150°C
220°C
Table 25. Recommended Operating Conditions
SymbolDescriptionMinTypMaxUnits
VDD
AVDD
DVDD
TVDD,
DVDDV
RL
DAC power supply voltage3.13.33.6V
Analog supply voltage3.13.33.6V
Digital supply voltage3.13.33.6V
Digital supply voltage (P-OUT pin) 1.11.83.6
Video D/A resolution
Full scale output current
Video level error
VDD & AVDD current (simultaneous S-Video & 2
composite outputs)
DVDD, TVDD (3.3V) current
DVDD2 (1.8V) current (15pF load)
101010Bits
33.89mA
10%
150mA
TBDmA
4mA
201-0000-035 Rev 1.1, 5/8/200043
Page 44
CHRONTELCH7009A
P-OUTP-OUT
Table 27. Digital Inputs / Outputs
SymbolDescriptionTest Condition MinTypMaxUnit
V
V
V
P-OUTOH
V
Note:
V
SDOL
V
IICIH
V
IICIL
DATAIH
DATAIL
P-OUTOL
SD Output
Low Voltage
SD Input
High Voltage
SD Input
Low Voltage
D[0-11] Input
High Voltage
D[0-11] Input
Low Voltage
P-OUT Output
High Voltage
P-OUT Output
Low Voltage
IOL = 2.0 mA0.4V
2.7DVDD + 0.5V
GND-0.51.4V
Vref-0.25DVDD+0.5V
GND-0.5Vref+0.25V
IOL = - 400 µADVDDV-0.2V
IOL = 3.2 mA0.2V
V
V
VSD - refers to I2C pin SD as an output.
V
-refers to I2C pins SD and SC.
IIC
- refers to all digital pixel and clock inputs.
DATA
- refers to pixel data output Time - Graphics.
P-OUT
44 201-0000-035 Rev 1.1, 5/8/2000
Page 45
CHRONTELCH7009A
Mechanical Package Information
201-0000-035 Rev 1.1, 5/8/200045
Page 46
CHRONTELCH7009A
ORDERING INFORMATION
Part numberPackage typeNumber of pinsVoltage supply
CH7009A-TLQFP643.3V
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-035 Rev 1.1, 5/8/200046
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.