128 ALPHANUMERIC CHARACTERS OR
GRAPHIC SYMBOLS IN INTERNAL ROM
(12x 18 DOTMATRIX)
.
UP TO 26 USERDEFINABLECHARACTERS
.
INTERNALHORIZONTALPLL(15TO 120kHz)
.
PROGRAMMABLE VERTICAL HEIGHT OF
CHARACTERWITHA SLICE INTERPOLATOR
TOMEETMULTI-SYNCHREQUIREMENTS
.
PROGRAMMABLE VERTICAL AND HORIZONTAL POSITIONING
.
FLEXIBLESCREENDESCRIPTION
.
CHARACTER BY CHARACTER COLOR SELECTION(UP TO 8 DIFFERENTCOLORS)
.
PROGRAMMABLE BACKGROUND (COLOR,
TRANSPARENT OR WITH SHADOWING)
.
50MHz MAXIMUMPIXEL CLOCK
.
2-WIRES ASYNCHRONOUS SERIAL MCU
INTERFACE (I
.
8 x 8 BITS PWMDAC OUTPUTS (STV9425)
4 x 8 BITS PWMDAC OUTPUTS (STV9425B)
.
SINGLEPOSITIVE5V SUPPLY
2
C PROTOCOL)
STV9425 - STV9425B
STV9426
8 x 8 bitsor 4 x 8 bits PWM DAC are available to
provideDC voltagecontrol toother peripherals.
TheSTV9425/25B/26providesthe useran easyto
useand cost effectivesolution to displayalphanumericor graphicinformation on monitor screen.
SHRINK24
(Plastic Package)
ORDER CODES :
STV9425 - STV9425B
DESCRIPTION
TheSTV9425/25B/26is anONSCREENDISPLAY
for monitor. It is built as a slave peripheral connected to a host MCU via a serial I
includesa displaymemory, controlsall the display
attributesand generatespixels fromthe data read
in its on chip memory. The line PLLand a special
slice interpolator allow to have a display aspect
which does not depend on the line and frame
frequencies. I
transparent internal access to prepare the next
pagesduring the displayof the current page.Togglefromonepage toanotherby programmingonly
one register.
December 1997
2
C interface allows MCU to make
2
C bus. It
DIP16
(Plastic Package)
ORDER CODE :
STV9426
1/15
Page 2
STV9425 - STV9425B - STV9426
PIN CONNECTIONS
PWM0
PWM1
FBLK
VSYNC
HSYNC
V
PXCK
CKOUT
XTAL OUT
XTAL IN
PWM2
SDIP24 (STV9425)
1
2
3
4
5
6
DD
7
8
9
10
11
12
RES E RVED
PWM7
24
PWM6
23
TEST
22
B
21
G
20
R
19
GND
18
RESET
17
SDA
16
SCL
15
PWM5
14
PWM4PWM3
13
XTALOUT
SDIP24 (STV9425B)
1
PWM1
FBLK
VSYNC
HSYNC
PXCK
CKOUT
XTALIN
PWM2
2
3
4
5
V
6
DD
7
8
9
10
11
12
24
23
22
21
20
19
18
17
16
15
14
13
RESERVED
PWM6
TEST
B
G
R
GND
RESET
SDA
SCL
PWM5
RESERVEDRES E RVED
Output Low Voltage (IOL= 1.6mA)00.4V
Output High Voltage (IOL= -0.1mA)0.8V
DD
V
DD
9425-02.TBL
V
A
µ
V
9425-03.TBL
Figure1 : TypicalR, G, B OutputsCharacteristics
V
(V)
,
V
OH
V
OL
I (A)
10
-4
10
-3
10
-2
10
-1
5
2.5
0
10
V
-5
OLOH
9425-17.EPS
4/15
Page 5
STV9425 - STV9425B - STV9426
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
RISE
T
FALL
T
SKEW
I2C INTERFACE : SDA ANDSCL (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 Level20ns
Clock Low Level20ns
Clock FrequencyTBD15MHz
Pixel Frequency50MHz
Reset Low LevelPulse4µs
= 30pF)
LOAD
Rise Time (Note1)5ns
Fall Time (Note 1)5ns
Skew between R, G, B, FBLK (Note 1)5ns
SCL Clock Frequency01MHz
Time thebus must be free between 2 access500ns
Hold Timefor Start Condition500ns
Set upTime for StopCondition500ns
The Low Period of Clock400ns
The HighPeriod of Clock400ns
Hold TimeData0ns
Set upTime Data375ns
Fall Time of SDA20ns
Rise Time ofBoth SCL and SDA
characterization on batches comming from corners of our processes and also temperature characterization.
Depend onthe pull-up resistor
and the load capacitance
9425-04.TBL
Figure2
XTI
TWH
TWL
Figure3
9425-03.AI
STOP STARTDATASTOP
T
SDA
SCL
BUF
T
HDS
T
HIGH
T
SUDAT
T
HDAT
T
SUP
T
LOW
9425-04.AI
5/15
Page 6
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION
TheSTV9425/25B/26display processoroperation
iscontrolledby a host MCU viathe I
is fully programmable through 16 internal
read/write registers and performs all the display
functionsby generating pixels from data stored in
its internal memory. After the page downloading
from the MCU, the STV9425/25B/26 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
thedisplay of thecurrentpage tomakeanyupdate
of its contents.
WiththeSTV9425/25B/26,apagedisplayedonthe
screenis madeof severalstrips whichcan be of 2
types : spacing or character and which are described by a table of descriptors and character
codesin RAM. Severalpages can be downloaded
atthesame timein theRAM and the choice of the
currentdisplay page is made by programmingthe
CONTROL register.
I - Serial Interface
The 2-wires serial interface is an I
beconnectedto theI
2
C bus,a devicemustownits
slave address ; the slave address of the
STV9425/25B/26is BA(in hexadecimal).
A6A5A4A3A2A1A0R/W
Figure3 : STV9425/25B/26/I2C WriteOperation
2
C interface.It
2
C interface.To
1011101
I.1 - Data Transferin WriteMode
The host MCU can write data into the
STV9425/25B/26registers orRAM.
To write data into the STV9425/25B/26, after a
start, the MCU must send (Figure 3) :
- First, theI
2
C address slave byte witha low level
for the R/W bit,
- The two bytes of the internal address where the
MCU wantsto writedata(s),
- The successivebytes of data(s).
All bytes are sent MS bit first and the write data
transferis closedby a stop.
I.2 - Data Transferin Read Mode
The host MCU can read data from the
STV9425/25B/26registers, RAM or ROM.
Toreaddata fromthe STV9425/25B/26(Figure 4),
theMCUmustsend2 differentI
firstoneismade ofI
2
CslaveaddressbytewithR/W
2
Csequences.The
bit at low level andthe 2 internaladdressbytes.
Thesecond one ismade of I
2
C slaveaddressbyte
with R/W bit at high level and all the successive
data bytes read at successive addresses starting
fromtheinitial addressgivenbythe firstsequence.
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 frequencycanbe chosenbetween 8 and 15MHz,it is
availableontheCKOUTpin andisusedbythePLL
to generate a pixel clock locked on the horizontal
synchroinput signal.
IV.1 - HorizontalTiming (seeFigure 5)
The number of pixel periods is given by the LINE
DURATIONregisterand is equalto :
[LD[5:0]+ 1 ] x 12.
(LD[5:0]: valueof the LINE DURATION register).
This value allows to choose the horizontal size of
the characters.The horizontal left margin is given
by the HORIZONTAL DELAYregister and is equal
to :
[DD[7:0]+ 8] x 3 x T
PXCK
(DD[7:0] : value of the DISPLAY DELAY register
andT
: pixel period).
PXCK
Thisvalue allows to choosethe horizontalposition
of the characters on the screen. The value of
DD[7:0]must be equal or greaterthan4 (theminimumvalueof thehorizontaldelayis 36xT
PXCK
=3
character periods). The length of the active area,
whereR,G, Bare differentfrom 0, dependson the
numberof charactersof the strips.
IV.2 - D to ATiming
TheD to Aconvertersof the STV9425/25B/26are
pulsewidth modulater converter.The frequencyof
F
the output signal is :
and the duty cycleis :
XTAL
256
Vi[7:0]
256
per cent.
After a low pass filter, the average value of the
output is :
Vi
256
⋅ V
DD
[7:0]
V - DisplayControl
Ascreeniscomposedofsuccessivescanlinesgathered in several strips. Each strip is defined by a
descriptorstored in memory. A table of descriptors
allowsscreencomposition and different tablescan
bestoredin memoryat thepageaddresses(8possible≠addresses).Twotypesofstripsareavailable :
- Spacing strip : its descriptor (see II) gives the
numberof black(FBK= 1inDISPLAYCONTROL
register)or transparent(FBK= 0) lines.
- Character strip : its descriptor gives the memory
addressof thecharactercodescorrespondingto
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
can bemade on it byusing the ZYbit.
Figure 6 : PWMTiming
V1[7:0]
128
255
PWM1 Signal
0
1
T
XTAL
256.T
XTAL
9425-07.AI
9425-08.AI
9/15
Page 10
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION(continued)
After the falling edge on V-SYNC, the first strip
descriptoris read at the top of thecurrent tableof
descriptors at the address given by P[9:0] (see
DISPLAYCONTROL register).I
f it is a spacing strip, SL[7:0] black or transparent
scanlines are displayed.
If it is a characterstrip, during CH[5:0] x (I + ZY)
Figure7 :
Relation between Screen/AddressPage/CharacterCode in RAM
DISP LAYCONTROL Register
CS D FBK FL[1:0]P8 P7 P 8
scan lines (CH[5:0] given by the CHARACTER
HEIGHTregister), thecharacter codes arereadat
theaddressesstartingfromthe 1
st
onegivenby the
descriptoruntil aendofline characteror the end of
the scanline.
The next descriptor is then read and the same
process is repeated until the next falling edge on
V-SYNC.
FUNCTIONAL DESCRIPTION(continued)
Table1 : ROM CharacterGenerator
CHARACTER NUMBER C(6:0)
C(6:4)
01234567
C(3:0)
0
1
2
3
4
5
STV9425 - STV9425B - STV9426
6
7
8
9
a
b
c
d
e
f
9425-11.EPS
11/15
Page 12
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION(continued)
VI- User DefinableCharacter
The STV9425/25B/26 allows the user to dynamically define character(s) for his own needs (for a
specialLOGO for example). Like theROM characters, a UDC is madeof a 12 pixels x 18 slices dot
matrix,but one more slice is added for thevertical
shadowing when several UDCs are gathered to
makea specialgreat character (see Figure8).
In a UDC, each pixel is definedwith a bit, 1 refers
to foreground, and 0 to background color. Each
sliceof a UDC uses 2 bytes:
- CHARACTER NUMBER is the number given by
the charactercode,
- SLICENUMBERis the numbergiven by theslice
interpolator (n° of the current slice of the strip :
1 < <18)
VII - ROM Character Generator
The STV9425/25B/26includes a ROM character
generator which is made of 128 alphanumeric or
graphiccharacters(see Table1)
VIII - PLL
ThePLLfunctionof theSTV9425/25B/26provides
the internal pixel clock locked on the horizontal
synchrosignal and used by the displayprocessor
togenerate the R, G,B and fast blanckingsignals.
It is made of 2 PLLs.The first one analogic
(see Figure 9), provides a high frequency signal
locked on the crystal frequency. The frequency
multiplieris givenby :
N=2⋅(FM[3:0]+ 3)
Where FM[3:0] is the value of the FREQUENCY
MULTIPLIERregister.
Figure9 : AnalogicPLL
PX7 PX6 PX5 PX4 PX3 PX2 PX1 PX0
N.F
XTAL
VCO
%NF
FILTRE
XTAL
The second PLL, full digital (see Figure 10), provides a pixel frequency locked on the horizontal
synchrosignal. Theratio betweenthe frequencies
of these 2 signalsis :
M = 12 x (LD[5:0]+ 1)
WhereLD[5:0] is thevalueofthe LINEDURATION
register.
XTAL
Digital PLL
%D
M.F
H-SYNC
%MF
ALGO
err(n)D(n)
Figure 10 :
N.F
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
greaterthan 6 x (pixelfrequency).
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]+1
XTAL
F
) ⋅
HSYNC
(@ 3FF4)
This register gives the constants AS[2:0] and
BS[2:0]usedby thealgo partof thePLL(seeFigure
10) to calculate, from the phase error, err(n), the
new value, D(n), of the division of the high frequencysignaltoprovidethe pixelclock.Thesetwo
constantsare usedonlyin lockingcondition, which
is true,if the phaseerror 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
time response of the PLL.
9425-12.AI
H-SYNC
HSYNC
− 24
9425-13.AI
12/15
Page 13
FUNCTIONAL DESCRIPTION(continued)
VIII.2 - How to choosethe value of the time
constant?
The time response of the PLL is given byits characteristicequation whichis :
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 the2
d
time constant,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-
ble and its response is like this presented on
Figure11.
Figure11 :
Time Response of the PLL/CharacteristicEquation Solutions(with
Real Solutions)
PLL
Frequency
f
1
If (α + β)
f
0
Input
Frequency
f
1
f
0
2
− 4β ≤ 0, theresponse of the PLL is like
t
t
thispresented onFigure 12.
STV9425 - STV9425B - STV9426
In this case the PLL is stable if τ > 0.7 damping
coefficient).
PACKAGE MECHANICAL DATA (STV9426)
16 PINS- PLASTICDIP
STV9425 - STV9425B - STV9426
PM-DIP16.EPS
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
Informationfurnishedis believed to be accurateand reliable.However, SGS-THOMSONMicroelectronics assumes no responsibility
for theconsequences of use ofsuch information nor for any infringementof patentsor other rightsof thirdparties whichmay result
from itsuse. No licence isgrantedby implication orotherwise underany patentor patent rights of SGS-THOMSONMicroelectronics.
Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all
informationpreviouslysupplied.SGS-THOMSON Microelectronics products are not authorized for use as criticalcomponents inlife
support devices or systemswithout express written approval of SGS-THOMSON Microelectronics.
1997SGS-THOMSON Microelectronics - All Rights Reserved
2
Purchase of I
2
I
C Patent.Rights to use these components in a I2C system,is grantedprovided that the system conforms to
Australia - Brazil- Canada- China - France- Germany- Italy - Japan -Korea - Malaysia - Malta- Morocco