background image
STV9420
STV9421
MULTISYNC ON-SCREEN DISPLAY FOR MONITOR
October 1995
DIP20
(Plastic Package)
ORDER CODE : STV9421
.
CMOS SINGLE CHIP OSD FOR MONITOR
.
BUILT IN 1 KBYTE RAM HOLDING :
- PAGES’ DESCRIPTORS
- CHARACTER CODES
- USER DEFINABLE CHARACTERS
.
128 ALPHANUMERIC CHARACTERS OR
GRAPHIC SYMBOLS IN INTERNAL ROM
(12 x 18 DOT MATRIX)
.
UP TO 26 USER DEFINABLE CHARACTERS
.
INTERNAL HORIZONTAL PLL (15 TO 120kHz)
.
PROGRAMMABLE VERTICAL HEIGHT OF
CHARACTER WITH A SLICE INTERPOLATOR
TO MEET MULTI-SYNCH REQUIREMENTS
.
PROGRAMMABLE VERTICAL AND HORI-
ZONTAL POSITIONING
.
FLEXIBLE SCREEN DESCRIPTION
.
CHARACTER BY CHARACTER COLOR SE-
LECTION (UP TO 8 DIFFERENT COLORS)
.
PROGRAMMABLE BACKGROUND (COLOR,
TRANSPARENT OR WITH SHADOWING)
.
CHARACTER BLINKING
.
2-WIRES ASYNCHRONOUS SERIAL MCU
INTERFACE (I
2
C PROTOCOL)
.
4 x 8 BITS PWM DAC OUTPUTS ON THE
STV9421
.
SINGLE POSITIVE 5V SUPPLY
DIP16
(Plastic Package)
ORDER CODE : STV9420
DESCRIPTION
The STV9420/21 is an ON SCREEN DISPLAY for
monitor. It is built as a slave peripheral connected
to a host MCU via a serial I
2
C bus. It includes a
display memory, controls all the display attributes
and generates pixels from the data read in its on
chip memory. The line PLL and a special slice
interpolator allow to have a display aspect which
does not depend on the line and frame frequencies.
I
2
C interface allows MCU to make transparent in-
ternal access to prepare the next pages during the
display of the current page. Toggle from one page
to another by programming only one register.
4 x 8 bits PWM DAC are available (STV9421) to
provide DC voltage control to other peripherals.
The STV9420/21 provides the user an easy to use
and cost effective solution to display alphanumeric
or graphic information on monitor screen.
1/16
background image
9420-01.AI
/
9421-01.AI
PIN CONNECTIONS
PIN DESCRIPTION
Symbol
Pin Number
I/O
Description
DIP16
DIP20
PWM1
1
O
DAC1 Output
FBLK
1
2
O
Fast Blanking Output
H-SYNC
2
3
I
Horizontal Sync Input
V-SYNC
3
4
I
Vertical Sync Input
V
DD
4
5
S
+5V Supply
PXCK
5
6
O
Pixel Frequency Output
CKOUT
6
7
O
Clock Output
XTALOUT
7
8
O
Crystal Output
XTALIN
8
9
I
Crystal or Clock Input
PWM4
10
O
DAC4 Output
PWM2
11
O
DAC2 Output
SCL
9
12
I
Serial Clock
SDA
10
13
I/O
Serial Input/output Data
RESET
11
14
I
Reset Input
GND
12
15
S
Ground
R
13
16
O
Red Output
G
14
17
O
Green Output
B
15
18
O
Blue Output
TEST
16
19
I
Reserved (grounded in Normal Operation)
PWM3
20
O
DAC3 Output
9420-01.TBL
1
2
3
4
5
6
7
8
16
TEST
B
G
R
GND
RESET
SDA
SCL
FBLK
H-SYNC
V-SYNC
V
DD
PXCK
CKOUT
XTALOUT
XTALIN
15
14
13
12
11
10
9
DIP16
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
PWM3
TEST
B
G
R
GND
RESET
SDA
SCL
PWM2
PWM1
FBLK
H-SYNC
V-SYNC
V
DD
PXCK
CKOUT
XTALOUT
XTALIN
PWM4
DIP20
STV9420 - STV9421
2/16
background image
1
2
3
4
5
6
7
8
9
1 0
11
1 2
1 3
14
15
1 6
CKOUT
HS YNC
VSYNC
RESE T
R
G
B
FBLK
GND
S CL
S DA
XTAL
IN
XTAL
OUT
PXCK
TES T
V
DD
Addre ss /Da ta
S TV9420
HORIZONTAL
DIGITAL P LL
4K ROM
(128 cha ra cte rs )
1K RAM
P ag e De s criptors +
Us e r De fine d C ha r.
I C BUS
INTERFACE
2
DISPLAY
CONTROLLER
9420-02.EPS
BLOCK DIAGRAMS
STV9420
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PWM
P WM3
P WM2
P WM1
P WM4
CKOUT
HS YNC
VSYNC
RES E T
R
G
B
FBLK
GND
S CL
S DA
XTAL
IN
XTAL
OUT
P XCK
TES T
V
DD
Addres s /Data
S TV9421
DISP LAY
CONTROLLER
HORIZONTAL
DIGITAL P LL
4K ROM
(128 cha racte rs )
I C BUS
INTERFACE
2
1K RAM
P a ge Des criptors +
Use r Define d Cha r.
9421-02.EPS
STV9421
STV9420 - STV9421
3/16
background image
ABSOLUTE MAXIMUM RATINGS
Symbol
Parameter
Value
Unit
V
DD
Supply Voltage
-0.3, +7.0
V
V
IN
Input Voltage
-0.3, +7.0
V
T
oper
Operating Ambient Temperature
0, +70
°
C
T
stg
Storage Temperature
-40, +125
°
C
9420-02.TBL
ELECTRICAL CHARACTERISTICS
(V
DD
= 5V, V
SS
= 0V, T
A
= 0 to 70
°
C, F
XTAL
= 8 to 15MHz, TEST = 0 V, unless otherwise specified)
Symbol
Parameter
Min.
Typ.
Max.
Unit
SUPPLY
V
DD
Supply Voltage
4.75
5
5.25
V
I
DD
Supply Current
-
-
50
mA
INPUTS
SCL, SDA, TEST, RESET, V-SYNC and H-SYNC
V
IL
Input Low Voltage
0.8
V
V
IH
Input High Voltage
0.8 V
DD
V
I
IL
Input Leakage Current
-20
+20
µ
A
OUTPUTS
R, G, B, FBLK, SDA, CKOUT, PXCK and PWMi (i = 1 to 4)
V
OL
Output Low Voltage (I
OL
= 1.6mA)
0
0.4
V
V
OH
Output High Voltage (I
OL
= -0.1mA)
0.8 V
DD
V
DD
V
9420-03.TBL
For R, G, B and FBLK outputs, see Figure 1.
5
2.5
0
10
-5
10
-4
10
-3
10
-2
10
-1
I (A)
(V)
,
V
OL
OH
V
V
OL
OH
V
9420-17.EPS
Figure 1 : Typical R, G, B Outputs Characteristics
STV9420 - STV9421
4/16
background image
TIMINGS
Symbol
Parameter
Min.
Typ.
Max.
Unit
OSCILATOR INPUT : XTI (see Figure 2)
t
WH
Clock High Level
35
ns
t
WL
Clock Low Level
35
ns
f
XTAL
Clock Frequency
6
15
MHz
f
PXL
Pixel Frequency
30
MHz
RESET
t
RES
Reset High Level Pulse
4
µ
s
R, G, B, FBLK (C
LOAD
= 30pF)
t
R
Rise Time (Note 1)
5
ns
t
F
Fall Time (Note 1)
5
ns
t
SKEW
Skew between R, G, B, FBLK (Note 1)
5
ns
I
2
C INTERFACE : SDA AND SCL (see Figure 3)
f
SCL
SCL Clock Frequency
0
1
MHz
t
BUF
Time the bus must be free between 2 access
500
ns
t
HDS
Hold Time for Start Condition
500
ns
t
SUP
Set up Time for Stop Condition
500
ns
t
LOW
The Low Period of Clock
400
ns
t
HIGH
The High Period of Clock
400
ns
t
HDAT
Hold Time Data
0
ns
t
SUDAT
Set up Time Data
375
ns
t
F
Fall Time of SDA
20
ns
t
R
Rise Time of Both SCL and SDA
Depend on the pull-up resistor
and the load capacitance
Note 1 : These parameters are not tested on each unit. They are measured during our internal qualification procedure which includes
characterization on batches comming from corners of our processes and also temperature characterization.
9420-04.TBL
XTI
t
W H
t
WL
9420-03.EPS
Figure 2
S DA
t
BUF
S CL
t
HDAT
S T OP
S TART
DATA
S TOP
t
S UDAT
t
HDS
t
S UP
t
HIGH
t
LOW
9420-04.EPS
Figure 3
STV9420 - STV9421
5/16
background image
FUNCTIONAL DESCRIPTION
The STV9420/21 display processor operation is
controlled by a host MCU via the I
2
C interface. It is
fully programmable through 8 internal read/write
registers (12 for STV9421) and performs all the
display functions by generating pixels from data
stored in its internal memory. After the page down-
loading from the MCU, the STV9420/21 refreshes
screen by its built in processor, without any MCU
control (access).In addition, the host MCU has a
direct access to the on chip 1Kbytes RAM during
the display of the current page to make any update
of its contents.
With the STV9420/21, a page displayed on the
screen is made of several strips which can be of 2
types : spacing or character and which are de-
scribed by a table of descriptors and character
codes in RAM. Several pages can be downloaded
at the same time in the RAM and the choice of the
current display page is made by programming the
CONTROL register.
I - Serial Interface
The 2-wires serial interface is an I
2
C interface. To
be connected to the I
2
C bus, a device must own its
sl ave ad dr ess ; the sla ve address of t he
STV9420/21 is BA (in hexadecimal).
A6
A5
A4
A3
A2
A1
A0
R/W
1
0
1
1
1
0
1
I.1 - Data Transfer in Write Mode
The host MCU can write data into the STV9420/21
registers or RAM.
To write data into the STV9420/21, after a start, the
MCU must send (Figure 3) :
- First, the I
2
C address slave byte with a low level
for the R/W bit,
- The two bytes of the internal address where the
MCU wants to write data(s),
- The successive bytes of data(s).
All bytes are sent MS bit first and the write data
transfer is closed by a stop.
I.2 - Data Transfer in Read Mode
The host MCU can read data from the STV9420/21
registers, RAM or ROM.
To read data from the STV9420/21 (Figure 4), the
MCU must send 2 different I
2
C sequences.
The first one is made of I
2
C slave address byte with
R/W bit at low level and the 2 internal address
bytes.
The second one is made of I
2
C slave address byte
with R/W bit at high level and all the successive
data bytes read at successive addresses starting
from the initial address given by the first sequence.
SCL
SDA
R/W
A7
A6
A5
A4
A3
A2
A1
A0
I
1
C Slave Address
ACK
LSB Address
ACK
MSB Address
ACK
Start
-
-
A13 A12 A10 A10 A9
A8
Stop
SCL
SDA
R/W
D7
D6
D5
D4
D3
D2
D1
D0
I
1
C Slave Address
ACK
ACK
Data Byte n
ACK
Start
D7
D6
D5
D4
D3
D2
D1
D0
Stop
Data Byte 1
9420-06.EPS
Figure 4 : STV9420/I
2
C Read Operation
SCL
SDA
R/W
A7
A6
A5
A4
A3
A2
A1
A0
-
-
A13
A12
A11
A10
A9
A8
I
2
C Slave Address
ACK
LSB Address
ACK
MSB Address
ACK
Start
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
ACK
ACK
Data Byte 1
Data Byte 2
ACK
Data Byte n
Stop
SCL
SDA
9420-05.AI
Figure 3 : STV9420/I
2
C Write Operation
STV9420 - STV9421
6/16
background image
FUNCTIONAL DESCRIPTION (continued)
I.3 - Addressing Space
STV9420/21registers, RAM and ROM are mapped
in a 16Kbytes addressing space. The mapping is
the following :
0000
Descriptors character
codes user definable
characters
1024 bytes
RAM
03FF
0400
Empty
Space
1FFF
2000
Character
Generator
ROM
32FF
3300
Empty
Space
3FFF
3FF0
Internal
Registers
3FFF
I.4 - Register Set
LINE DURATION
3FF0
-
-
LD5
LD4
LD3
LD2
LD1
LD0
*
-
-
1
1
1
1
1
1
LD[5:0] : LINE DURATION (number of character
period, 1LSB = 12 pixel periods).
HORIZONTAL DELAY
3FF1
DD7 DD6 DD5 DD4 DD3 DD2 DD1 DD0
*
0
0
0
0
1
0
0
0
DD[7:0] : HORIZONTAL DISPLAY DELAY from
the H-SYNC reference falling edge to
the 1
st
pixel position of the character
strips.
Unit = 3 pixel periods.
CHARACTERS HEIGHT
3FF2
-
-
CH5 CH4 CH3 CH2 CH1 CH0
*
-
-
0
1
0
0
1
0
CH[5:0] : HEIGHT of the character strips in scan
lines. For each scan line, the number of
the slice which is displayed is given by :
S LI CE -NU MBER
=
round
SCAN
±
LINE
±
NUMBER x 18
CH[5:0]
SCAN-LINE-NUMBER = Number of the current scan
line of the strip.
DISPLAY CONTROL
3FF3
OSD FBK
FL1
FL0
-
P8
P7
P6
*
0
0
0
0
-
0
0
0
OSD
: ON/OFF (if 0, R, G, B and FBLK are 0).
FBK
: Fast blanking control :
= 1 : FBLK = 1, forcing black where
these is no display,
= 0 : FBLK is active only during
character display.
FL[1:0] : Flashing mode :
- 00 : No flashing. The character
attribute is ignored,
- 01 : 1/1 flashing (a duty cycle = 50%),
- 10 : 1/3 flashing,
- 11 : 3/1 flashing.
P[8:6]
: Address of the 1
st
descriptor of the
current displayed pages.
P[13:9] and P[5:0] = 0 ; up to 8 different
pages can be stored in the RAM.
LOCKING CONDITION TIME CONSTANT
3FF4
FR
AS2 AS1 AS0
-
BS2 BS1 BS0
*
0
0
1
0
-
0
1
0
FR
: Free Running ; if = 1 PLL is disabled and
the pixel frequency keeps its last value.
AS[2:0] : Ph a s e co n st a n t d ur i n g l o c ki n g
conditions.
BS[2:0] : Frequency constant during locking
conditions.
CAPTURE PROCESS TIME CONSTANT
3FF5
-
AF2
AF1
AF0
-
BF2
BF1
BF0
*
-
0
1
1
-
0
1
1
AF[2:0] : Phase constant during the capture
process.
BF[2:0] : Frequency constant during the capture
process.
INITIAL PIXEL PERIOD
3FF6
PP7 PP6 PP5 PP4 PP3 PP2 PP1 PP0
*
0
0
1
0
1
0
0
0
PP[7:0] : Value to initialize the pixel period of the
PLL.
FREQUENCY MULTIPLIER
3FF7
-
-
-
-
FM3 FM2 FM1 FM0
*
-
-
-
-
1
0
1
0
FM[3:0] : Frequency multiplier of the crystal
frequency to reach the high frequency
used by the PLL to derive the pixel
frequency.
STV9420 - STV9421
7/16
background image
FUNCTIONAL DESCRIPTION (continued)
The last fourth registers described below are only
available with the STV9421 :
PULSE WIDTH MODULATOR 1
3FF8
V17
V16
V15
V14
V13
V12
V11
V10
*
0
0
0
0
0
0
0
0
V1[7:0] : Digital value of the 1
st
PWM D to A
converter (Pin1).
PULSE WIDTH MODULATOR 2
3FF9
V27
V26
V25
V24
V23
V22
V21
V20
*
0
0
0
0
0
0
0
0
V2[7:0] : Digital value of the 2
d
PWM DAC (Pin11).
PULSE WIDTH MODULATOR 3
3FFA
V37
V36
V35
V34
V33
V32
V31
V30
*
0
0
0
0
0
0
0
0
V3[7:0] : Digital value of the 3
rd
PWM DAC
(Pin20).
PULSE WIDTH MODULATOR 4
3FFB
V47
V46
V45
V44
V43
V42
V41
V40
*
0
0
0
0
0
0
0
0
V4[7:0] : Digital value of the 4
th
PWM DAC
(Pin10).
Note : * is power on reset value.
II - Descriptors
SPACING
MSB
0
-
-
-
-
-
-
-
LSB
SL7
SL6
SL5
SL4
SL3
SL2
SL1
SL0
SL[7:0] : The number of the scan lines of the
spacing strip (1 to 255).
CHARACTER
MSB
1
DE
-
ZY
-
-
C9
C8
LSB
C7
C6
C5
C4
C3
C2
C1
0
C[9:0] : The address of the first character code of
the strip (even).
DE
: Display enable :
- DE = 0, R = G = B = 0 and FBLK = FBK
(display control register) on whole strip,
- DE = 1, display of the characters.
ZY
: Zoom, ZY = 1 all the scan lines are
repeated once.
III - Code Format
MSB
SET
CHARACTER NUMBER
LSB
BK3 BK2 BK1 BK0
FL
RF
GF
BF
FL : Flashing attribute (the flashing mode is
defined in the DISPLAY CONTROL register).