The STV9422/24is an ONSCREEN DISPLAYfor
monitor.It is built as a slave peripheralconnected
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
doesnotdependon thelineandframefrequencies.
2
C interface allows MCU to make transparent in-
I
ternal accessto preparethe next pages duringthe
display of the current page. Togglefrom one page
to anotherby programmingonlyone register.
8 x 8 bits PWM DAC are available to provideDC
voltage control to otherperipherals.
The STV9422/24providestheuseraneasy to use
and cost effectivesolutiontodisplayalphanumeric
or graphicinformation onmonitorscreen.
Note 1 : These parameters are not tested on each unit. They are measured during our internal qualification procedure which includes
Clock High Level20ns
Clock LowLevel20ns
Clock Frequency615MHz
Pixel Frequency40MHz
Reset Low LevelPulse4
= 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 forStart Condition500ns
Set upTime for Stop Condition500ns
The LowPeriod of Clock400ns
The High Periodof Clock400ns
Hold Time Data0ns
Set upTime Data375ns
Fall Time of SDA20ns
Rise Time of Both SCL and SDA
characterization on batches comming from corners of our processesand also temperaturecharacterization.
Depend on the pull-up resistor
and the loadcapacitance
µs
9422-04.TBL
Figure2
XTI
Figure 3
STOP STARTDATASTOP
t
t
WL
SDA
t
WH
SCL
9422-03.EPS
BUF
t
HDS
t
HIGH
t
SUDAT
t
HDAT
t
SUP
t
LOW
9422-04.EPS
5/15
Page 6
STV9422 - STV9424
FUNCTIONAL DESCRIPTION
The STV9422/24 display processor operation is
controlledby a host MCU via the I
fully programmablethrough 16 internal read/write
registers (8 for STV9424) and performs all the
display functions by generating pixels from data
stored in its internal memory. After the page downloading from the MCU, the STV9422/24refreshes
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 thecurrentpageto make anyupdate
of itscontents.
With the STV9422/24, a page displayed on the
screenis madeof several strips which can beof 2
types : spacing or character and which are described by a table of descriptors and character
codes in RAM.Severalpagescan be downloaded
at thesametime in the RAMandthe choice of the
currentdisplaypage is made by programming the
CONTROLregister.
I - Serial Interface
The 2-wires serial interface is an I
be connectedto theI
2
C bus,a devicemust ownits
sl ave addr ess ; the sla ve addre ss of the
STV9422/24is BA(in hexadecimal).
A6A5A4A3A2A1A0R/W
1011101
Figure 3 : STV9422/I2C Write Operation
2
C interface. It is
2
C interface.To
I.1 -Data Transferin Write Mode
The hostMCU canwritedatainto theSTV9422/24
registersor RAM.
- The two bytes of the internaladdress where the
MCU wants towrite data(s),
- The successivebytes of data(s).
All bytes are sent MS bit first and the write data
transferis closed by a stop.
I.2 -Data Transferin Read Mode
ThehostMCU can readdatafromtheSTV9422/24
registers,RAM or ROM.
To readdata from the STV9422/24(Figure 4),the
MCUmust send2 different I
Thefirstoneis madeofI
2
C sequences.
2
Cslave addressbytewith
R/W bit at low level and the 2 internal address
bytes.
2
The secondoneismade ofI
C slave addressbyte
with R/W bit at high level and all the successive
data bytes read at successive addresses starting
fromthe initialaddressgivenbythefirst sequence.
ThewholetimingisderivedfromtheXTALINandthe
SYNCHRO (horizontal and vertival) input frequencies.TheXTALINinputfrequencycanbe anexternal
clockoracrystalsignalthankstoXTALIN/XTALOUT
pins. The value of this frequency can be chosen
between8 and15MHz,it isavailableon theCKOUT
pinand isusedbythePLLto generatea pixelclock
lockedon the horizontalsynchroinputsignal.
IV.1- Horizontal Timing(see Figure 5)
The number of pixel periods is given by the LINE
DURATION register and is equal to :
[LD[5:0] + 1 ] x 12.
(LD[5:0] : valueof theLINEDURATION register).
Thisvalueallowsto choose thehorizontalsizeofthe
characters.The horizontalleftmarginis givenbythe
HORIZONTALDELAYregisterandisequalto :
[DD[7:0] + 8] x 3x T
PXCK
(DD[7:0] : value of the DISPLAY DELAY register
and T
: pixelperiod).
PXCK
This value allows to choosethe horizontalposition
of the characters on the screen. The value of
DD[7:0] must beequal or greater than4 (theminimumvalueofthe horizontaldelayis 36xT
PXCK
=3
character periods).The length of the active area,
where R,G, B are different from 0, dependsonthe
number of charactersof the strips.
IV.2- D toATiming(STV9422)
The D to A converters of the STV9422 are pulse
width modulaterconverter.
f
The frequencyof the output signalis :
and theduty cycle is :
Vi[7:0]
256
percent.
XTAL
256
After a low pass filter, the average value of the
output is :
Vi [7:0]
256
⋅ V
DD
V - DisplayControl
Ascreenis composedofsuccessivescanlinesgathered in several strips. Each strip is defined by a
descriptorstored in memory.A table of descriptors
allows screen composition and differenttables can
bestored in memory atthe pageaddresses(8 possible≠ addresses).
Two types of strips are available:
- 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
address of the character codes correspondingto
the 1st 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 1st one given by the
descriptor. A character strip can be displayed or
not by using the DE bit of its descriptor. A zoom
canbe madeon it by using the ZYbit.
Figure6 : PWM Timing
V1[7:0]
0
1
128
255
PWM1 Signal
t
XTAL
256.t
XTAL
9422-07.AI
9422-08.EPS
9/15
Page 10
STV9422 - STV9424
FUNCTIONAL DESCRIPTION (continued)
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[9:0] (see
DISPLAYCONTROLregister).
If it is a spacing strip,SL[7:0] blackor transparent
scan lines are displayed.
If it is a character strip, during CH[5:0] x (I + ZY)
Figure7 :RelationbetweenScreen/AddressPage/CharacterCode in RAM
DISPLAY CONTROL Register
CSD FBK FL[1:0]P8 P7 P8
scan lines (CH[5:0] given by the CHARACTER
HEIGHTregister),thecharactercodesare read at
the addressesstarting fromthe1
descriptoruntil a endof line character or theendof
thescan line.
Thenextdescriptoris thenread andthesame processisrepeateduntilthenextfallingedgeonV-SYNC.
FUNCTIONAL DESCRIPTION (continued)
Table 1 : ROM Character Generator
CHARACTER NUMBERC(6:0)
C(6:4)
01234567
C(3:0)
0
1
2
3
4
5
STV9422 - STV9424
6
7
8
9
a
b
c
d
e
f
9422-11.EPS
11/15
Page 12
STV9422 - STV9424
FUNCTIONAL DESCRIPTION (continued)
VI -User Definable Character
The STV9422/24 allows the user to dynamically
define character(s)for hisownneeds (fora special
LOGO for example). Like the ROM characters, a
UDC is made ofa 12 pixelsx 18slicesdot matrix,
but one more slice is added for the vertical shadowing whenseveralUDCsaregatheredto makea
special greatcharacter (see Figure8).
In a UDC, each pixel is defined with a bit,1 refers
to foreground, and 0 to background color. Each
slice of a UDC uses 2 bytes :
- CHARACTER NUMBER is the numbergiven by
the character code,
- SLICE NUMBER isthe number given bytheslice
interpolator (n° of the current slice of the strip :
1 < <18)
VII - ROM Character Generator
The STV9422/24includes a ROM charactergenerator which is made of 128 alphanumeric or
graphic characters (seeTable 1)
VIII -PLL
The PLL function of the STV9422/24provides the
internalpixelclocklockedon thehorizontalsynchro
signal and usedby the display processorto generate theR,G,B andfast blanckingsignals.Itismade
of 2 PLLs. The first one analogic (see Figure 9),
provides a high frequency signal locked on the
crystal frequency.Thefrequency multiplierisgiven
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
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 signalsis :
M = 12 x (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 - Programming of the PLLRegisters
FrequencyMultiplier
(@3FF7)
This register gives the ratio between the crystal
frequency and the high frequency of the signal
usedby the2
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 6x (pixel frequency).
Initial Pixel Period
(@3FF6)
This register allows to increase the speed of the
convergence of the PLL when the horizontal frequencychanges(new graphicstandart). 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) ⋅ F
XTAL
HSYNC
(@3FF4)
This register gives the constants AS[2:0] and
BS[2:0]usedbythealgopartofthePLL(seeFigure
10) to calculate, from the phase error, err(n), the
new value, D(n), of the division of the high frequencysignaltoprovidethe pixelclock. These two
constantsare usedonly in locking condition,which
is true,if thephase 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 PLL used the other
constants, AF[2:0] and BF[2:0], givenby the next
register.
CaptureProcess TimeConstant
(@3FF5)
The choice between these two time constants
(locking condition or capture process) allows to
decreasethecaptureprocesstimebychanging the
time response of the PLL.
9422-12.AI
H-SYNC
HSYNC
± 24
9422-13.AI
12/15
Page 13
FUNCTIONAL DESCRIPTION (continued)
VIII.2 -How to choose the value of the time
constant ?
The timeresponse of the PLL is given by itscharacteristicequationwhich 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, the PLL is sta-
bleand its response is like this presented on
Figure11.
Figure 11 : Time Responseof the PLL/Charac-
teristic Equation Solutions (with
Real Solutions)
PLL
Frequency
f
1
f
0
t
Input
Frequency
f
1
If (α + β)
f
0
2
± 4β ≤ 0, the responseof the PLL is like
t
this presented on Figure12.
STV9422 - STV9424
In this case the PLL is stable if τ > 0.7 damping
coefficient).
Informationfurnished is believed to be accurate and reliable.However, SGS-THOMSON Microelectronics assumes noresponsibility
for the consequences ofuse of such information norfor any infringement of patents or otherrights of third partieswhich may result
from its use.No licence isgranted byimplication or otherwiseunder anypatent or patent rightsof SGS-THOMSON Microelectronics.
Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all
informationpreviously supplied. SGS-THOMSONMicroelectronics products arenot authorized for use as critical components in life
support devices or systems without express written approvalof SGS-THOMSON Microelectronics.
1995 SGS-THOMSON Microelectronics - All Rights Reserved
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
SDIP24.TBL
15/15
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.