
2–3
chosen clock input is used unmodified as the dot clock (DOTCLK), which represents the pixel rate to the
monitor. The device does, however, allow for user programming of the SCLK and VCLK outputs (shift and
video clocks) via the output clock selection register. The input/output clock selection register formats and
divide ratio selections are shown in Tables 2–3, 2–4, and 2–5.
The ECL input can be used as a differential or single-ended input. If the CLK3 input is used as a single-ended
ECL input, the CLK3 input must be externally terminated to set the input common-mode signal level. This
can be done with a simple resistor divider, as is the case with fully differential ECL.
SCLK is designed to drive the VRAMs directly, and VCLK is designed to work with video control signals such
as BLANK, HSYNC, and VSYNC. While SCLK and VCLK are designed as general-purpose shift clock and
video clock outputs, respectively, they also interface directly with the TMS340x0 GSP family. Even though
SCLK and VCLK can be selected independently, there is still a relationship between the two as discussed
below. Many system considerations have been carefully covered in the design, leaving maximum freedom
to the user.
Internally, both SCLK and VCLK are generated from a common clock counter that increments on the rising
edge of the DOTCLK. Therefore, when VCLK is enabled, it is in phase with SCLK (see Figure 2–1).The
internal clock counter is initialized to zero any time the output clock selection register (bits five, four, two,
one) are all set to ones. This provides a simple mechanism to synchronize multiple video interface palettes,
by providing a known phase relationship for the various system clocks. A write directly to the output clock
selection register can cause this to occur, or any of the various resets (POR, hardware, software – see
section 1.5) can also cause the appropriate bits to be written and the counters to reset. Some means of
disabling the dot-clock input to the part while this reset is occurring must be provided if multiple parts are
to be synchronized. Appendix A discusses the SCLK/VCLK relationship specific to the TMS340x0 graphics
signal processor (GSP).
as an example)
(DOTCLK/2
SCLK
as an example)
(DOTCLK/4
VCLK
DOTCLK
Figure 2–1. DOTCLK/VCLK/SCLK Relationship
Table 2–3. Input Clock Selection Register Format
BITS
2
1
0
FUNCTION
3
0
0
0
0
S
e
l
e
c
t
C
L
K
0
a
s
c
l
o
c
k
s
o
u
r
c
e
§
0
0
0
1
S
e
l
e
c
t
C
L
K
1
a
s
c
l
o
c
k
s
o
u
r
c
e
0
0
1
0
S
e
l
e
c
t
C
L
K
2
a
s
c
l
o
c
k
s
o
u
r
c
e
0
0
1
1
S
e
l
e
c
t
C
L
K
3
a
s
T
T
L
c
l
o
c
k
s
o
u
r
c
e
0
1
0
0
S
e
l
e
c
t
C
L
K
3
a
s
T
T
L
c
l
o
c
k
s
o
u
r
c
e
1
0
0
0
S
e
l
e
c
a
t
C
L
K
3
c
a
n
o
d
c
k
C
L
s
K
o
3
s
E
C
L
l
u
r
c
e
s
R
W
n
§C
e
h
e
L
g
e
w
K
i
s
t
e
r
b
i
t
s
4
,
5
,
6
,
a
n
d
7
a
r
e
d
c
o
t
n
h
o
s
’
t
c
s
h
c
l
o
a
o
a
s
r
c
r
e
e
k
e
n
b
i
t
s
.
n
0
e
s
s
e
t
l
e
b
p
c
i
o
t
i
o
n
i
s
a
n
a
d
l
t
e
r
e
d
,
a
m
i
n
i
m
u
m
3
0
-
n
s
d
e
l
a
y
i
s
i
n
c
u
r
r
e
d
b
e
f
o
r
e
t
h
e
l
c
k
c
a
l
i
z
e
d
r
u
n
n
i
n
g
.
i
a
t
w
e
r
u
p
t
o
s
u
p
p
o
r
t
t
h
e
V
G
A
p
a
s
s
-
t
h
r
o
u
g
h
m
o
d
e
.