128 ALPHANUMERIC CHARACTERS OR
GRAPHIC SYMBOLS IN INTERNAL ROM
(12 x 18 DOTMATRIX)
.
UP TO 26 USERDEFINABLECHARACTERS
.
INTERNALHORIZONTAL PLL(15 TO120kHz)
.
PROGRAMMABLE VERTICAL HEIGHT OF
CHARACTER WITH A SLICEINTERPOLATOR
TO MEET MULTI-SYNCH REQUIREMENTS
.
PROGRAMMABLE VERTICAL AND HORIZONTALPOSITIONING
.
FLEXIBLESCREENDESCRIPTION
.
CHARACTER BY CHARACTER COLOR SELECTION(UP TO 8 DIFFERENT COLORS)
.
PROGRAMMABLE BACKGROUND (COLOR,
TRANSPARENTOR WITH SHADOWING)
.
CHARACTER BLINKING
.
2-WIRES ASYNCHRONOUS SERIAL MCU
INTERFACE (I
.
4 x 8 BITS PWM DAC OUTPUTS ON THE
STV9421
.
SINGLEPOSITIVE5V SUPPLY
2
C PROTOCOL)
STV9420
STV9421
DIP16
(Plastic Package)
ORDER CODE : STV9420
DESCRIPTION
The STV9420/21is an ON SCREEN DISPLAYfor
monitor.It is built as a slaveperipheralconnected
to a host MCU via a serial I
display memory, controls all the display attributes
and generatespixels from the data read in its on
chip memory. The line PLL and a special slice
interpolator allow to have a display aspect which
doesnotdependonthelineandframefrequencies.
2
C interface allows MCU to make transparent in-
I
ternal accessto preparethe next pagesduring the
display of the current page. Toggle from one page
to anotherby programmingonly one register.
4 x 8 bits PWM DAC are available (STV9421) to
provide DC voltage control to other peripherals.
The STV9420/21providesthe user aneasy to use
and cost effective solutionto displayalphanumeric
or graphicinformation on monitor screen.
Output Low Voltage (IOL= 1.6mA)00.4V
Output High Voltage (IOL= -0.1mA)0.8 V
DD
V
DD
9420-02.TBL
V
A
V
9420-03.TBL
Figure 1 : TypicalR, G, B OutputsCharacteristics
(V)
V
,
V
OH
V
OL
I (A)
10
-4
10
-3
10
-2
10
-1
5
2.5
0
V
10
OLOH
-5
9420-17.EPS
4/16
Page 5
STV9420 - STV9421
TIMINGS
SymbolParameterMin.Typ.Max.Unit
OSCILATOR INPUT : XTI (see Figure 2)
t
WH
t
WL
f
XTAL
f
PXL
RESET
t
RES
R, G, B, FBLK (C
t
R
t
F
t
SKEW
2
I
C INTERFACE : SDA AND SCL (see Figure 3)
f
SCL
t
BUF
t
HDS
t
SUP
t
LOW
t
HIGH
t
HDAT
t
SUDAT
t
F
t
R
Note 1 : These parameters are not tested on each unit. They are measured during our internal qualification procedure which includes
Clock High Level35ns
Clock Low Level35ns
Clock Frequency615MHz
Pixel Frequency30MHz
Reset High Level Pulse4
= 30pF)
LOAD
Rise Time (Note 1)5ns
Fall Time (Note 1)5ns
Skew between R, G, B, FBLK (Note 1)5ns
SCL Clock Frequency01MHz
Time the bus must be free between 2 access500ns
Hold Time for Start Condition500ns
Set up Time for Stop Condition500ns
The Low Period of Clock400ns
The High Period of Clock400ns
Hold Time Data0ns
Set up Time Data375ns
Fall Time of SDA20ns
Rise Time of Both SCL and SDA
characterization on batches comming from corners of our processes and also temperature characterization.
Depend on the pull-up resistor
and the load capacitance
µs
9420-04.TBL
Figure2
XTI
Figure 3
STOP STARTDATASTOP
t
t
WL
SDA
t
WH
SCL
9420-03.EPS
BUF
t
HDS
t
HIGH
t
S UDAT
t
HDAT
t
SUP
t
LOW
9420-04.EPS
5/16
Page 6
STV9420 - STV9421
FUNCTIONAL DESCRIPTION
The STV9420/21 display processor operation is
controlledby a host MCU via the I
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. Afterthe page downloading from the MCU, the STV9420/21refreshes
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 displayof thecurrent page tomake anyupdate
of itscontents.
With the STV9420/21, a page displayed on the
screenis made of severalstrips which can be of 2
types : spacing or character and which are described by a table of descriptors and character
codes in RAM.Several pages can be downloaded
at thesame time in the RAMand the choiceof the
currentdisplay page is made by programmingthe
CONTROLregister.
I - Serial Interface
The 2-wires serial interface is an I
be connectedto theI
2
C bus,a devicemust own its
sl ave ad dre ss ; the sla ve a dd re ss of t he
STV9420/21is BA (in hexadecimal).
A6A5A4A3A2A1A0R/W
1011101
Figure 3 : STV9420/I2C Write Operation
2
C interface.It is
2
C interface. To
I.1 - Data Transferin Write Mode
The hostMCU canwrite data into the STV9420/21
registersor RAM.
- The two bytes of the internal address where the
MCU wants to write data(s),
- The successive bytesof data(s).
All bytes are sent MS bit first and the write data
transferis closed by a stop.
I.2 - Data Transferin Read Mode
Thehost MCUcanreaddatafromthe STV9420/21
registers,RAM or ROM.
To read data from the STV9420/21(Figure 4), the
MCUmust send2 different I
Thefirst oneis madeof I
2
C sequences.
2
Cslaveaddressbytewith
R/W bit at low level and the 2 internal address
bytes.
2
The secondone ismade of I
C slave addressbyte
with R/W bit at high level and all the successive
data bytes read at successive addressesstarting
fromthe initialaddress givenby the first sequence.
The whole timing is derived from the XTALIN and
the SYNCHRO (horizontal and vertival) input frequencies.The XTALINinput frequency can be an
external clock or a crystal signal thanks to
XTALIN/XTALOUT pins. The value of this frequencycan be chosenbetween 8 and 15MHz, itis
availableon theCKOUTpinandis usedbythePLL
to generate a pixel clock locked on the horizontal
synchroinput signal.
IV.1 - Horizontal Timing
The number of pixel periods is given by the LINE
DURATIONregister and is equal to :
[LD[5:0]+ 1 ] x 12
(LD[5:0] : value of the LINE DURATION register).
This value allows to choose the horizontal size of
the characters.
The horizontal left margin is given by the HORIZONTALDELAYregisterand is equal to :
[DD[7:0] + 8] x 3 x t
PXCK
(DD[7:0] : value of the DISPLAY DELAY register
and T
:pixel period).
PXCK
This value allows to choosethe horizontalposition
of the characters on the screen. The value of
DD[7:0] must be equal or greater than 4 (the minimum valueof the horizontaldelay is 36 x t
PXCK
=3
character periods). The length of the active area,
where R,G, B are differentfrom 0, dependson the
number of charactersof the strips.
- Character strip : its descriptorgives the memory
address ofthe charactercodescorrespondingto
st
the 1
displayed character. The characters and
attributes (see code format III) are defined by a
succession of codes stored in the RAM at addresses starting from the 1
st
one given by the
descriptor. A character strip can be displayed or
not by using the DE bit of its descriptor. A zoom
canbe made on it byusing the ZYbit.
After the falling edge on V-SYNC, the first strip
descriptoris read at the top of the current table of
descriptors at the address given by P[8:6] (see
DISPLAY CONTROL register) ; if it is a spacing
strip, SL[7:0] black or transparent scan lines are
displayed;if it is a characterstrip, duringCH[5:0]x
(I+ ZY) scanlines(CH[5:0]givenby theCHARAC-
9420-08.EPS
TER HEIGHT register), the character codes are
read at the addresses starting from the 1
givenby the descriptoruntil aend of line character
or the end of the scan line ; the next descriptoris
then read and the same process is repeateduntil
the next falling edge on V-SYNC.
9420-07.AI
st
one
9/16
Page 10
STV9420 - STV9421
FUNCTIONAL DESCRIPTION (continued)
Figure 7 : Relation between Screen/AddressPage/CharacterCode in RAM
FUNCTIONAL DESCRIPTION (continued)
Table 1 : ROM CharacterGenerator
CHARACTERNUMBER C(6:0)
C(6:4)
01234567
C(3:0)
0
1
2
3
4
5
STV9420 - STV9421
6
7
8
9
a
b
c
d
e
f
9420-11.EPS
11/16
Page 12
STV9420 - STV9421
FUNCTIONAL DESCRIPTION (continued)
VI - User Definable Character
The STV9420/21 allows the user to dynamically
define character(s)for his ownneeds(for a special
LOGO for example). Like the ROM characters, a
UDC is made of a 12 pixelsx 18 slicesdot matrix,
but one more slice is added for the vertical shadowing whenseveral UDCsare gatheredto makea
special great character(see Figure 8).
In a UDC,each pixel is defined with a bit, 1 refers
to foreground, and 0 to background color. Each
slice of aUDC uses 2 bytes:
The STV9420/21includes a ROM character generator which is made of 128 alphanumeric or
graphic characters(see Table 1)
VIII - PLL
The PLL function of the STV9420/21provides the
internalpixelclocklockedonthehorizontalsynchro
signal andused by thedisplay processorto generate theR,G,Bandfast blanckingsignals.It ismade
of 2 PLLs. The first one analogic (see Figure 9),
provides a high frequency signal locked on the
crystal frequency.The frequencymultiplierisgiven
by :
N=2⋅(FM[3:0]+ 3)
Where FM[3:0] is the value of the FREQUENCY
MULTIPLIER register.
Figure 9 : Analogic PLL
PX7 PX6 PX5 PX4 PX3 PX2 PX1 PX0
the character code,
interpolator (n° of the current slice of the strip :
1 < <18)
N.F
XTAL
VCO
%NF
FILTRE
XTAL
The second PLL, full digital (see Figure 10), provides a pixel frequency locked on the horizontal
synchrosignal. The ratio between the frequencies
of these 2 signals is :M = 12x (LD[5:0] + 1)
WhereLD[5:0]is the value of theLINEDURATION
register.
Figure 10 : Digital PLL
M.F
H-SYNC
N.F
XTAL
%D
%MF
ALGO
err(n)D(n)
VIII.1- Programmingof the PLL Registers
FrequencyMultiplier
(@3FF7)
This register gives the ratio between the crystal
frequency and the high frequency of the signal
usedbythe2
nd
PLLtoprovide,bydivision,thepixel
clock. The value of this high frequency must be
near to 200MHz (for example if the crystal is a
8MHz, the value of FM must be equal to 10) and
greater than 6 x (pixel frequency).
Initial Pixel Period
(@3FF6)
This register allows to increase the speed of the
convergence of the PLL when the horizontal frequencychanges(new graphic standart).The relationshipbetweenFM[3:0],PP[7:0],LD[5:0],F
and F
PP[7:0] = round
LockingCondition Time Constant
XTAL
is :
2 ⋅ (FM[3:0] + 3) ⋅ F
8 ⋅
12 ⋅ LD[5:0] ⋅ F
XTAL
HSYNC
(@3FF4)
This register gives the constants AS[2:0] and
BS[2:0]usedbythe algopart ofthePLL(seeFigure
10) to calculate, from the phase error, err(n), the
new value, D(n), of the division of the high frequencysignalto providethepixel clock.Thesetwo
constantsare usedonlyin lockingcondition,which
istrue, if the phase error is less than a fixedvalue
during at least, 4 scan lines. If The phase error
becomes greater than the fixed value, the PLL is
not in locking condition but in capture process. In
this case, the algo part of the PLLused the other
constants, AF[2:0] and BF[2:0],given by the next
register.
CaptureProcess Time Constant
(@ 3FF5)
The choice between these two time constants
(locking condition or capture process) allows to
decreasethecaptureprocesstimebychangingthe
9420-12.AI
time responseof the PLL.
H-SYNC
± 24
HSYNC
9420-13.AI
12/16
Page 13
FUNCTIONAL DESCRIPTION (continued)
VIII.2 - How to choose the value of the time
constant ?
The timeresponse of the PLL is given by its characteristicequationwhich is :
2
(x ± 1)
+(α+β)⋅(x±1)+β=0.
Where :
α=3⋅LD[5:0] ⋅ 2
A ± 11
and β=3⋅LD[5:0] ⋅ 2
B ± 19
(LD[5:0] = value of the LINE DURATION register,
A = value of the 1st time constant, AF or AS and
B =value of the 2
d
timeconstant, BF or BS).
As you can see, the solution depend only on the
LINE DURATION and the TIME CONSTANTS
given by the I
If (α + β)
2
C registers.
2
± 4β ≥ 0 and 2α±β<4, thePLL is sta-
bleand its response is like this presented on
Figure11.
Figure 11 : Time Response of the PLL/Charac-
teristic Equation Solutions
(with Real Solutions)
PLL
Frequency
f
1
If (α + β)
f
0
Input
Frequency
f
1
f
0
2
± 4β ≤ 0, the responseof the PLL is like
t
t
this presentedon Figure12.
STV9420 - STV9421
In this case the PLL is stable if τ > 0.7 (damping
coefficient).
Note : 1. Case of A[2:0] =1 (001) and B[2:0] = 4 (100) :
LD16324863
Valid Time ConstantsNYYY
(1)
YYYYYYYNYNNNNNNNNNNN
Value of LINE DURATION Register (@ 3FF0) :
LD = 16 : LD[5:0] = 010000
LD = 32 : LD[5:0] = 100000
LD = 48 : LD[5:0] = 110000
LD = 63 : LD[5:0] = 111111
Tablemeaning :
N = No possible capture
Y = PLL can lock
13/16
9420-05.TBL
Page 14
STV9420 - STV9421
DEMO KIT
5V POWER SUPPLY
J5
J6
PCmon
APPL mon
A demonstration board is available through your usual SGS-THOMSON Sales Office.
This demonstration board alllows to test very easily the STV9420/21 performances on any personnal computer. The board is delivered
together witha ”pagemaker” software which allows to easily generate pages of text or graphics on the PC monitor, or ona second monitor.
2
C sequences are generated by the PC parallel port and send to the demobaord through an I2C interface which is also delivered
The I
together withdemoboard. Of course, a small manual is also inside thekit.
J2
to PC
J3
J4
100nF
C6
1
6
11
2
7
12
3
8
13
4
9
14
5
10
15
1
6
11
2
7
12
3
8
13
4
9
14
5
10
15
1
6
11
2
7
12
3
8
13
4
9
14
5
10
15
V
CC
C7
470µF
R5
1kΩ
OSD PWM1
OSD FBLK
OSD HS
OSD VS
OSD PXCK
OSD CKOUT
OSD PWM4
C4
47pF
VGA1R
VGA1 G
VGA1 B
VGA2R
VGA2 G
VGA2 B
H-SYNC
VGA3R
VGA3 G
VGA3 B
V-SYNC
R6
1kΩ
100nF
Q1
12MHz
BC547B
T1
BC547B
T2
BC547B
T3
8 OSD HS
11 OSD VS
2.2kΩ
R4
R9 75Ω
R12 75Ω
R15 75Ω
V
CC
R3
2.2kΩ
V
CC
OSD PWM1
OSD PWM2
OSD PWM3
OSD PWM4
OSD HS
OSD VS
OSD R
OSD G
OSD B
OSD FBLK
OSD PXCK
OSD CKOUT
PACKAGE MECHANICAL DATA (STV9420)
16 PINS- PLASTICDIP
STV9420 - STV9421
Dimensions
Min.Typ.Max.Min.Typ.Max.
MillimetersInches
a10.510.020
B0.771.650.0300.065
b0.50.020
b10.250.010
D200.787
E8.50.335
e2.540.100
e317.780.700
F7.10.280
I5.10.201
L3.30.130
Z1.270.050
PM-DIP16.WMF
DIP16.TBL
15/16
Page 16
STV9420 - STV9421
PACKAGE MECHANICAL DATA (STV9421)
20 PINS- PLASTICDIP
Dimensions
Min.Typ.Max.Min.Typ.Max.
MillimetersInches
a10.2540.010
B1.391.650.0550.065
b0.450.018
b10.250.010
D25.41.000
E8.50.335
e2.540.100
e322.860.900
F7.10.280
I3.930.155
L3.30.130
Z1.340.053
Information furnishedis believed to be accurate and reliable. However, SGS-THOMSON Microelectronics assumes no responsibility
for the consequences of use of such information nor for any infringement of patents or other rights of third partieswhich may result
from its use. Nolicence is granted by implication or otherwise underany patent or patent rights of SGS-THOMSON Microelectronics.
Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all
information previouslysupplied. SGS-THOMSON Microelectronics products arenot authorized for use as critical components in life
support devices or systems without express written approval of SGS-THOMSON Microelectronics.
1995 SGS-THOMSON Microelectronics- All RightsReserved
Purchase of I
2
I
C Patent. Rights to use these components in a I2C system, is granted provided that the system conforms to
Australia - Brazil - China- France - Germany - Hong Kong - Italy - Japan- Korea - Malaysia -Malta - Morocco
The Netherlands - Singapore - Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom -U.S.A.
2
C Components of SGS-THOMSON Microelectronics, conveys a license under the Philips
2
the I
C Standard Specifications as defined by Philips.
SGS-THOMSON Microelectronics GROUP OF COMPANIES
PM-DIP20.EPS
DIP20.TBL
16/16
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.