STMICROELECTRONICS STV9425

STV9425 - STV9425B
STV9426
MULTISYNC ON-SCREEN DISPLAY FOR MONITOR
..
.
..
.
.
..
.
..
.
.
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 HORIZONTAL POSITIONING
FLEXIBLE SCREEN DESCRIPTION
CHARACTER BY CHARACTER COLOR SELECTION (UP TO 8 DIFFERENT COLORS)
PROGRAMMABLE BACKGROUND (COLOR,
TRANSPARENT OR WITH SHADOWING)
50MHz MAXIMUM PIXEL CLOCK
2-WIRES ASYNCHRONOUS SERIAL MCU
INTERFACE (I2C PROTOCOL)
8 x 8 BITS PWM DAC OUTPUTS (STV9425)
4 x 8 BITS PWM DAC OUTPUTS (STV9425B)
SINGLE POSITIVE 5V SUPPLY
DESCRIPTION
TheSTV9425/25B/26is an ON SCREEN DISPLAY
for monitor. It is built as a slave peripheral connected to a host MCU via a serial I2C 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 2C interface allows MCU to make
transparent internal access to prepare the next
pages during the display of the current page. Toggle from one page to another by programming only
one register.
December 1997
8 x 8 bits or 4 x 8 bits PWM DAC are available to
provide DC voltage control to other peripherals.
The STV9425/25B/26provides the user an easy to
use and cost effective solution to display alphanumeric or graphic information on monitor screen.
SHRINK24
(Plastic Package)
ORDER CODES : STV9425 - STV9425B
DIP16
(Plastic Package)
ORDER CODE : STV9426
1/15
STV9425 - STV9425B - STV9426
PIN CONNECTIONS
SDIP24 (STV9425B)
DIP16 (STV9426)
PWM0
1
24
PWM7
RESERVED
1
24
RES ERVED
FBLK
1
16
TEST
PWM1
2
23
PWM6
P WM1
2
23
P WM6
V-SYNC
2
15
B
FBLK
3
22
TEST
FBLK
3
22
TE S T
H-SYNC
3
14
G
VSYNC
4
21
B
VSYNC
4
21
B
V DD
4
13
R
HSYNC
5
20
G
HS YNC
5
20
G
PXCK
5
12
GND
VDD
6
19
R
VDD
6
19
R
CKOUT
6
11
RESET
PXCK
7
18
GND
P XCK
7
18
GND
XTAL OUT
7
10
SDA
CKOUT
8
17
RESET
CKOUT
8
17
RES ET
XTAL IN
8
9
SCL
XTAL OUT
9
16
SDA
XTAL OUT
9
16
S DA
XTAL IN
10
15
SCL
XTAL IN
10
15
S CL
PWM2
11
14
PWM5
P WM2
11
14
P WM5
PWM3
12
13
PWM4
RESERVED
12
13
RES ERVED
9425-01.EPS /9425B-01.EPS/ 9426-01.EPS
SDIP24 (STV9425)
PIN DESCRIPTION
Pin Number
SDIP24
I/O
Description
DIP16
PWM0
1*
-
O
DAC0 Output
PWM1
2
-
O
DAC1 Output
FBLK
3
1
O
Fast Blanking Output
V-SYNC
4
2
I
Vertical Sync Input
H-SYNC
5
3
I
Horizontal Sync Input
VDD
6
4
S
+5V Supply
PXCK
7
5
O
Pixel Frequency Output
CKOUT
8
6
O
Clock Output
XTAL OUT
9
7
O
Crystal Output
XTAL IN
10
8
I
Crystal or Clock Input
PWM2
11
-
O
DAC2 Output
PWM3
12 *
-
O
DAC3 Output
PWM4
13 *
-
O
DAC4 Output
PWM5
14
-
O
DAC5 Output
SCL
15
9
I
Serial Clock
SDA
16
10
I/O
RESET
17
11
I
Reset Input (Active Low)
GND
18
12
S
Ground
R
19
13
O
Red Output
G
20
14
O
Green Output
B
21
15
O
Blue Output
TEST
22
16
I
Reserved (grounded in Normal Operation)
PWM6
23
-
O
DAC6 Output
PWM7
24 *
-
O
DAC7 Output
* Reserved with STV9425B (not to be connected)
2/15
Serial Input/Output Data
9425-01.TBL
Symbol
STV9425 - STV9425B - STV9426
BLOCK DIAGRAMS
STV9425
XTAL
IN
XTAL
OUT
10
9
PXCK
VDD
TEST
6
22
7
24 P WM7 *
HS YNC 5
HORIZONTAL
DIGITAL PLL
4K ROM
(128 chara cte rs)
1K RAM
Pa ge Descriptors +
Use r Defined Cha r.
23 P WM6
14 P WM5
Addre ss/Data
VSYNC 4
RES ET 17
13 P WM4 *
PWM
CKOUT 8
12 P WM3 *
11 P WM2
2
DISP LAY
CONTROLLER
I C BUS
INTERFACE
2 P WM1
1 P WM0 *
R
G
B
S TV94 25/25B
3
18
15
16
FBLK
GND
SCL
SDA
9425-02.EPS
1 9 2 0 21
* Res erve d with STV9425B
STV9426
XTAL XTAL
IN
OUT P XCK
8
CKOUT 6
7
TEST
4
16
4K ROM
(128 cha ra cte rs )
1K RAM
P age De s criptors +
Us e r De fined Char.
5
HOR IZONTAL
DIGITALP LL
HS YNC 3
VDD
Addre s s /Da ta
RESET 11
2
DISP LAY
CONTROLLER
I C BUS
INTERFACE
9426-02.EPS
VSYNC 2
S TV9426
13
14
15
R
G
B
1
FBLK
12
GND
9
SCL
10
SDA
3/15
STV9425 - STV9425B - STV9426
Symbol
Parameter
Value
Unit
V
V DD
Supply Voltage
-0.3, +7.0
V IN
Input Voltage
-0.3, +7.0
V
0, +70
°C
-40, +125
°C
Toper
Operating Ambient Temperature
Tstg
Storage Temperature
9425-02.TBL
ABSOLUTE MAXIMUM RATINGS
ELECTRICAL CHARACTERISTICS
(VDD = 5V, VSS = 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
IDD
Supply Current
-
50
70
mA
INPUTS
SCL, SDA, TEST, RESET, V-SYNC and H-SYNC
VIL
Input Low Voltage
V IH
Input High Voltage
IIL
Input Leakage Current
0.8
0.8V DD
V
V
-20
+20
µA
OUTPUTS
VOL
Output Low Voltage (IOL = 1.6mA)
0
0.4
V
VOH
Output High Voltage (IOL = -0.1mA)
0.8V DD
VDD
V
For R, G, B and FBLK outputs, see Figure 1.
Figure 1 : Typical R, G, B Outputs Characteristics
VOL , VOH (V)
5
VOH
2.5
I (A)
0
10 -5
4/15
10 -4
10 -3
10 -2
10 -1
9425-17.EPS
VOL
9425-03.TBL
R, G, B, FBLK, SDA, CKOUT, PXCK and PWMi (i = 0 to 7)
STV9425 - STV9425B - STV9426
TIMINGS
Symbol
Parameter
Min.
Typ.
Max.
Unit
OSCILATOR INPUT : XTI (see Figure 2)
TWH
Clock High Level
20
ns
T WL
Clock Low Level
20
ns
FXTAL
Clock Frequency
TBD
FPXL
Pixel Frequency
15
MHz
50
MHz
RESET
TRES
Reset Low Level Pulse
µs
4
R, G, B, FBLK (CLOAD = 30pF)
TRISE
Rise Time (Note 1)
5
ns
TFALL
Fall Time (Note 1)
5
ns
TSKEW
Skew between R, G, B, FBLK (Note 1)
5
ns
2
I C INTERFACE : SDA AND SCL (see Figure 3)
FSCL
SCL Clock Frequency
TBUF
Time the bus must be free between 2 access
500
ns
THDS
Hold Time for Start Condition
500
ns
1
MHz
TSUP
Set up Time for Stop Condition
500
ns
TLOW
The Low Period of Clock
400
ns
THIGH
The High Period of Clock
400
ns
0
ns
375
ns
THDAT
Hold Time Data
TSUDAT
Set up Time Data
TF
Fall Time of SDA
TR
20
ns
Depend on the pull-up resistor
and the load capacitance
Rise Time of Both SCL and SDA
9425-04.TBL
0
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 characterizat ion.
Figure 2
Figure 3
STOP
START
DATA
TBUF
STOP
THDAT
TWL
SDA
THDS
9425-03.AI
TWH
TSUDAT
TSUP
9425-04.AI
XTI
SCL
THIGH
TLOW
5/15
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION
The STV9425/25B/26display processor operation
is controlled by a host MCU via the I2C interface. It
is fully programmab le through 16 internal
read/write registers and performs all the display
functions by 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
the display of the current page to make any update
of its contents.
With the STV9425/25B/26,a page displayed on the
screen is made of several strips 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 the same time in the RAM and the choice of the
current display page is made by programming the
CONTROL register.
1
A5
A4
A3
A2
A1
A0
1
1
1
0
1
I.1 - Data Transfer in Write Mode
T h e h o s t MCU ca n writ e d at a in t o t he
STV9425/25B/26registers or RAM.
To write data into the STV9425/25B/26, after a
start, the MCU must send (Figure 3) :
- First, the I2C 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
T h e h o st MCU c a n read d at a f ro m th e
STV9425/25B/26registers, RAM or ROM.
To read data from the STV9425/25B/26(Figure 4),
2
the MCU must send 2 different I C sequences.The
2
first oneis made of I C slave addressbyte with R/W
bit at low level and the 2 internal address bytes.
The second one is made of I2C 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.
I - Serial Interface
2
The 2-wires serial interface is an I C interface. To
2
be connected to the I C bus, a device must own its
slave address ; the slave address of t he
STV9425/25B/26is BA (in hexadecimal).
A6
0
R/W
Figure 3 : STV9425/25B/26/I2C Write Operation
SCL
R/W
A7
SDA
I2C Slave Address
Start
A6
A5
ACK
A4
A3
A2
A1
A0
LSB Address
-
-
A13 A12
ACK
A11 A10
A9
MSB Address
A8
ACK
SCL
D7
D6
D5
D4
D3
D2
D1
D0
Data Byte 1
D7
D6
D5
ACK
D4
D3
D2
D1
D0
Data Byte 2
D7
D6
D5
ACK
D4
D3
D2
D1
D0
Data Byte n
ACK
Stop
9425-05.AI
SDA
Figure 4 : STV9425/25B/26/I2C Read Operation
SCL
R/W
A7
SDA
Start
I1 C
Start
I1 C Slave Address
Slave Address
A6
A5
ACK
A4
A3
A2
A1
A0
LSB Address
-
-
ACK
A13 A12 A10 A10 A9
A8
MSB Address
ACK
Stop
ACK
Stop
6/15
D7
R/W
SDA
ACK
D6
D5
D4
D3
Data Byte 1
D2
D1
D0
D7
ACK
D6
D5
D4
D3
Data Byte n
D2
D1
D0
9425-06.EPS
SCL
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION (continued)
I.3 - Addressing Space
STV9425/25B/26 registers, 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
0
0
1
1
1
1
1
1
VSP
: V-SYNC active edge selection
= 0 : falling egde, = 1 : rising edge
HSP
: H-SYNC active edge selection
= 0 : falling egde, = 1 : rising edge
LD[5:0] : LINE DURATION
(number of pixel period per line divided
by 12 ie. Unit = 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 1st pixel position of the character
strips. Unit = 3 pixel periods.
-
-
*
-
-
OSD
FBK
FL1
FL0
-
P8
P7
P6
*
0
0
0
0
-
0
0
0
OSD
FBK
: ON/OFF (if 0, R, G, B and FBLK are 0).
: 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 1st 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.
1
FR
*
0
AS2 AS1 AS0
0
1
-
0
-
BS2 BS1 BS0
0
1
0
FR
: Free Running ; if = 1 PLL is disabled and
the pixel frequency keeps its last value.
AS[2:0] : P h a s e c o n s t ant du rin g lo ck ing
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
*
CH5 CH4 CH3 CH2 CH1 CH0
0
3FF4
3FF6 PP7 PP6 PP5 PP4 PP3 PP2 PP1 PP0
CHARACTERS HEIGHT
3FF2
3FF3
LOCKING CONDITION TIME CONSTANT
3FF0 VSP HSP LD5 LD4 LD3 LD2 LD1 LD0
*
DISPLAY CONTROL
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 :
SLICE-NUMBER =
 SCAN−LINE−NUMBER x 18 
round 
.
CH[5:0]


SCAN-LINE-NUMBER = Number of the
current scan line of the strip.
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.
7/15
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION (continued)
PULSE WIDTH MODULATOR 0
3FF8
*
V07 V06 V05 V04 V03 V02 V01 V00
0
0
0
0
0
0
st
V0[7:0] : Digital value of the 1
converter (Pin1).
0
0
PWM D to A
*
V17 V16 V15 V14 V13 V12 V11 V10
0
0
0
0
0
0
0
0
V1[7:0] : Digital value of the 2nd PWMDAC (Pin2).
PULSE WIDTH MODULATOR 2
3FFA
*
V27 V26 V25 V24 V23 V22 V21 V20
0
0
0
0
0
0
rd
V2[7:0] : Digital value of the 3
(Pin11).
0
0
PWM DAC
PULSE WIDTH MODULATOR 3
3FFB
*
V37 V36 V35 V34 V33 V32 V31 V30
0
0
0
0
0
0
th
V3[7:0] : Digital value of the 4
(Pin12).
0
0
PWM DAC
*
V47 V46 V45 V44 V43 V42 V41 V40
0
0
0
0
0
0
th
V4[7:0] : Digital value of the 5
(Pin13).
0
0
PWM DAC
PULSE WIDTH MODULATOR 5
3FFD
*
V57 V56 V55 V54 V53 V52 V51 V50
0
0
0
0
0
0
0
0
V5[7:0] : Digital value of the 6th PWM DAC
(Pin14).
PULSE WIDTH MODULATOR 6
3FFE
*
V67 V66 V65 V64 V63 V62 V61 V60
0
0
0
0
0
0
0
0
V6[7:0] : Digital value of the 7th PWM DAC
(Pin23).
PULSE WIDTH MODULATOR 7
3FFF
*
V77 V76 V75 V74 V73 V72 V71 V70
0
0
0
0
0
0
0
0
V7[7:0] : Digital value of the 8th PWM DAC
(Pin24).
Note : * is power on reset value.
8/15
LSB
0
-
-
-
-
-
-
-
SL7 SL6 SL5 SL4 SL3 SL2 SL1 SL0
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
LSB
PULSE WIDTH MODULATOR 4
3FFC
MSB
SL[7:0] : The number of the scan lines of the
spacing strip (1 to 255).
PULSE WIDTH MODULATOR 1
3FF9
II - Descriptors
SPACING
SET
CHARACTER NUMBER
BK3 BK2 BK1 BK0
FL
RF
GF
BF
: The set CHARACTER NUMBER
- If SET = 0 : ROM character,
- If SET = 1 :
• If CHARACTER NUMBER is 0 to
25, a user redefinable character
(UDC) located in RAM at the
address equal to :
38 x CHARACTER NUMBER,
• If CHARACTER NUMBER is 26 to
63, space character,
• If CHARACTER NUMBER>63, end
of line.
FL
: Flashing attribute (the flashing mode
is defined in the DISPLAY CONTROL
register).
RF, GF, BF: Foreground color.
BK[3:0]
: Background :
- If BK3 = 0, BK[2:0] = background
color R, G and B,
- If BK3 = 1, shadowing :
BK1 : horizontal shadowing.
(if BK1 = 0, the background is
transparent).
BK2 and BK0 must be equal to 0.
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION (continued)
Figure 5 : Horizontal Timing
H-SYNC
R, G, B
Character
Period
0
1
2
3
n+1
n+2
n+3
n+4
LD - 1
LD
0
1
LD[5:0]
Fixed
= 4 (min)
= 4n + 2
IV - Clock and Timing
The whole timing is derived from the XTALIN and
the SYNCHRO (horizontal and vertival) input frequencies. The XTALIN input frequency can be an
external clock or a crystal signal thanks to
XTALIN/XTALOUT pins. The value of this frequency can be chosen between 8 and 15MHz, it is
available on the CKOUTpin and is used by the PLL
to generate a pixel clock locked on the horizontal
synchro input signal.
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] : 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 HORIZONTAL DELAY register and is equal
to :
[DD[7:0] + 8] x 3 x TPXCK
(DD[7:0] : value of the DISPLAY DELAY register
and T PXCK : pixel period).
This value allows to choose the horizontal position
of the characters on the screen. The value of
DD[7:0] must be equal or greater than 4 (the minimum value of the horizontal delay is 36 x TPXCK = 3
character periods). The length of the active area,
where R, G, B are different from 0, dependson the
number of characters of the strips.
IV.2 - D to A Timing
The D to A converters of the STV9425/25B/26are
pulse width modulater converter. The frequency of
FXTAL
the output signal is :
256
Vi[7:0]
and the duty cycle is :
per cent.
256
9425-07.AI
Given by number
of characters of the strips
After a low pass filter, the average value of the
Vi [7:0]
⋅ VDD
output is :
256
V - Display Control
A screen is composed of successive scanlines gathered in several strips. Each strip is defined by a
descriptor stored in memory. A table of descriptors
allows screen composition and different tables can
be stored in memory at thepage addresses(8 possible ≠ addresses).Two typesof strips are available :
- Spacing strip : its descriptor (see II) gives the
number of black (FBK = 1 in DISPLAYCONTROL
register) or transparent (FBK = 0) lines.
- Character strip : its descriptor gives the memory
address of the character codes corresponding to
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
can be made on it by using the ZY bit.
Figure 6 : PWM Timing
PWM1 Signal
256 . TXTAL
V1[7:0]
0
TXTAL
1
128
255
9425-08.AI
DD[7:0]
9/15
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION (continued)
scan lines (CH[5:0] given by the CHARACTER
HEIGHT register), the character codes are read at
the addressesstarting from the 1st one given by the
descriptor until a end of line character or the end of
the scan line.
After the falling edge on V-SYNC, the first strip
descriptor is read at the top of the current table of
descriptors at the address given by P[9:0] (see
DISPLAY CONTROL register).I
f it is a spacing strip, SL[7:0] black or transparent
scan lines are displayed.
The next descriptor is then read and the same
process is repeated until the next falling edge on
V-SYNC.
If it is a character strip, during CH[5:0] x (I + ZY)
Figure 7 : Relation between Screen/Address Page/Character Code in RAM
DISP LAY CONTROL Re giste r
CS D FBK FL[1:0]
P8
P7
P8
V-SYNC
TOP SP ACING S TRIP
SP ACING
2nd CHARACTER
S TRIP CODES
1s t CHARACTER S TRIP
ROW1
2n d CHARACTER S TRIP
OTHER
ROW2
S P ACING S TRIP
TABLE OF
DES CRIPTORS
SP ACING
3rd CHARACTER S TRIP
ROW3
OTHER
(UDC for e xa mple)
|
BOTTOM S P ACING S TRIP
SP ACING
1st CHARACTE R
S TRIP CODES
TABLE OF THE
DES CRIPTORS
3rd CHARACTER
S RTIP CODES
S CREEN
9425-09.EPS
OTHER
(CODES OR
DES CRIPTORS )
RAM CODE
AND DES CRIPTORS
Figure 8 : User Definable Character
IN THE RAM
(example for Character n°5)
2
3
36 Slices (= 2 Characters)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
4
10/15
Character Number
5
6
Character Number
0x00
0x08
0x0c
0x0e
0x0f
0x0f
0x0f
0x0f
0x0e
0x0c
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0xff = Slice 18 of the character n°2
only for vertical shadowing
(not displayed).
0xff
0x7f
0x3f
0x1f
0x1f
0x1f
0x1e
0x1e
0x3c
0x3c
0x78
0x78
0xf1
0x00
0x00
0x00
0x00
0x00
Odd
Address
Even
Address
Slice 0
: 0x01
Slice 1
Slice 2
Slice 3
Slice 4
Slice 5
Slice 6
Slice 7
Slice 8
Slice 9
Slice 10
Slice 11
Slice 12
Slice 13
Slice 14
Slice 15
Slice 16
Slice 17
Slice 18
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
9425-10.AI
1
ON THE SCREEN
36 Pixels (= 3 Characters)
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION (continued)
Table 1 : ROM Character Generator
CHARACTER NUMBER C(6:0)
C(6:4)
0
C(3:0)
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
8
9
a
b
c
d
9425-11.EPS
e
f
11/15
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION (continued)
VI - User Definable Character
The STV9425/25B/26 allows the user to dynamically define character(s) for his own needs (for a
special LOGO for example). Like the ROM characters, a UDC is made of a 12 pixels x 18 slices dot
matrix, but one more slice is added for the vertical
shadowing when several UDCs are gathered to
make a 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 a UDC uses 2 bytes :
add
(even)
-
-
-
-
Figure 10 : Digital PLL
M . FH-SYNC
N . FXTAL
PX11 PX10 PX9 PX8
PX7 PX6 PX5 PX4 PX3 PX2 PX1 PX0
D(n)
PX11is the left most pixel. Character slice address :
SLICEADDRESS = 38 x (CHARACTER NUMBER)
+ (SLICE NUMBER).
Where :
- CHARACTER NUMBER is the number given by
the character code,
- SLICE NUMBER is the number given by the slice
interpolator (n° of the current slice of the strip :
1 < <18)
VIII - PLL
The PLL function of the STV9425/25B/26provides
the internal pixel clock locked on the horizontal
synchro signal and used by the display processor
to generate the R, G, B and fast blancking signals.
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
multiplier is given by :
N = 2 ⋅ (FM[3:0] + 3)
Where FM[3:0] is the value of the FREQUENCY
MULTIPLIER register.
N . FXTAL
12/15
FXTAL
9425-12.AI
FILTRE
ALGO
FH-SYNC
err(n)
2 ⋅ (FM[3:0] + 3) ⋅ FXTAL


PP[7:0] = round 8 ⋅
− 24

 12 ⋅ (LD[5:0] + 1) ⋅ F HSYNC
Figure 9 : Analogic PLL
%N
%M
VIII.1 - Programming of the PLL Registers
Frequency Multiplier (@3FF7)
This register gives the ratio between the crystal
frequency and the high frequency of the signal
used by the 2nd PLL to provide, by division, the pixel
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 frequency changes (new graphic standart). The relationshipbetween FM[3:0], PP[7:0],LD[5:0],FHSYNC
and FXTAL is :
VII - ROM Character Generator
The STV9425/25B/26 includes a ROM character
generator which is made of 128 alphanumeric or
graphic characters (see Table 1)
VCO
%D
Locking Condition Time Constant (@ 3FF4)
This register gives the constants AS[2:0] and
BS[2:0]used by the algo partof the PLL(see Figure
10) to calculate, from the phase error, err(n), the
new value, D(n), of the division of the high frequency signal to provide the pixel clock. These two
constants are used only in locking condition, which
is true, if the phase error is less than a fixed value
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], given by the next
register.
Capture Process Time Constant (@ 3FF5)
The choice between these two time constants
(locking condition or capture process) allows to
decreasethe capture processtime by changingthe
time response of the PLL.
9425-13.AI
add +
1
The second PLL, full digital (see Figure 10), provides a pixel frequency locked on the horizontal
synchro signal. The ratio between the frequencies
of these 2 signals is :
M = 12 x (LD[5:0] + 1)
Where LD[5:0] is the value of the LINE DURATION
register.
STV9425 - STV9425B - STV9426
FUNCTIONAL DESCRIPTION (continued)
In this case the PLL is stable if τ > 0.7 damping
coefficient).
VIII.2 - How to choose the value of the time
constant ?
The time response of the PLL is given by its characteristic equation which is :
Figure 12 : Time Response of the PLL/Characteristic Equation Solutions (with
Complex Solutions)
(x − 1)2 + (α + β) ⋅ (x − 1) + β = 0.
Where :
α = 3 ⋅ LD[5:0] ⋅ 2A − 11 and β = 3 ⋅ LD[5:0] ⋅ 2B − 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 2d time constant, BF or BS).
As you can see, the solution depend only on the
LINE DURATION and the TIME CONSTANTS
given by the I2C registers.
PLL
Frequency
f1
f0
Input
Frequency
If (α + β)2 − 4β ≥ 0 and 2α − β < 4, the PLL is stable and its response is like this presented on
Figure 11.
f0
f1
t
Input
Frequency
9425-14.AI
f0
t
If (α + β)2 − 4β ≤ 0, the response of the PLL is like
this presented on Figure 12.
t
The Table 2 gives some good values for A and B
constants for different values of the LINE DURATION.
PLL
Frequency
f1
9425-15.AI
f1
Figure 11 : Time Response of the PLL/Characteristic Equation Solutions (with
Real Solutions)
f0
t
Summary
For a good working of the PLL :
- A and B time constants must be chosen among
values for which the PLL is stable,
- B must be equal or greater than A and the difference between them must be less than 3,
- The greater (A, B) are, the faster the capture is.
An optimalchoice for the most of applicationsmight
be :
- For locking condition : AS = 0 and BS = 1,
- For capture process : AS = 2 and BS = 4.
But for each application the time constants can be
calculated by solving the characteristic equation
and choosing the best response.
B \ A
0
1
2
3
4
5
6
7
0
YYYY
YYYY
NYYY
NNNY
NNNN
NNNN
NNNN
NNNN
1
YYYY
YYYY
YYYY
YYYY
(1)
NYYY
NNNY
NNNN
NNNN
2
YYYY
YYYY
YYYY
YYYY
YYYY
YYYY
NYYY
NNNY
3
YYYN
YYYN
YYYN
YYYN
YYYN
YYYN
YYYN
YYYN
4
YNNN
YNNN
YNNN
YNNN
YNNN
YNNN
YNNN
YNNN
5
NNNN
NNNN
NNNN
NNNN
NNNN
NNNN
NNNN
NNNN
6
NNNN
NNNN
NNNN
NNNN
NNNN
NNNN
NNNN
NNNN
Note : 1. Case of A[2:0] = 1 (001) and B[2:0] = 4 (100) :
LD
Valid Time Constants
16
N
32
Y
48
Y
63
Y
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
Table meaning :
N = No possible capture
Y = PLL can lock
13/15
9425-05.TBL
Table 2 : Valid Time Constants Examples
STV9425 - STV9425B - STV9426
PACKAGE MECHANICAL DATA (STV9425 - STV9425B)
24 PINS - PLASTIC SHRINK DIP
E
A2
A
L
A1
E1
Stand-off
B
B1
e
e1
e2
c
D
E
13
.015
F
0,38
1
PMSDIP24.EPS
Gage Plane
12
e3
SDIP24
Dimensions
A
A1
B
B1
C
D
E
E1
e
e1
e2
e3
L
14/15
Min.
0.51
3.05
0.36
0.76
0.23
22.61
7.62
6.10
2.54
Millimeters
Typ.
3.30
0.46
1.02
0.25
22.86
6.40
1.778
7.62
3.30
Max.
5.08
4.57
0.56
1.14
0.38
23.11
8.64
6.86
10.92
1.52
3.81
Min.
0.020
0.120
0.0142
0.030
0.0090
0.890
0.30
0.240
0.10
e2
Inches
Typ.
0.130
0.0181
0.040
0.0098
0.90
0.252
0.070
0.30
0.130
Max.
0.20
0.180
0.0220
0.045
0.0150
0.910
0.340
0270
0.430
0.060
0.150
SDIP24.TBL
24
STV9425 - STV9425B - STV9426
PM-DIP16.EPS
PACKAGE MECHANICAL DATA (STV9426)
16 PINS - PLASTIC DIP
a1
B
b
b1
D
E
e
e3
F
I
L
Z
Min.
0.51
0.77
Millimeters
Typ.
Max.
1.65
Min.
0.020
0.030
0.5
0.25
Inches
Typ.
Max.
0.065
0.020
0.010
20
8.5
2.54
17.78
0.787
0.335
0.100
0.700
7.1
5.1
3.3
0.280
0.201
DIP16.TBL
Dimensions
0.130
1.27
0.050
Information furni shed is believed to be accurate and reliable. However, SGS-THOMSON Micr oelectronics assumes no responsibility
for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result
from its use. No licence is granted by implication or otherwise und erany patent or patent rights of SGS-THOMSON Microelectronics.
Specifications mentioned in this publication are subject to change without notice. This pu blication supersedes and replaces all
information previously supplied. SGS-THOMSON Microelectronics products are not authorized for use as critical components in life
support devices or systems without express written approval of SGS-THOMSON Microelectronics.
 1997 SGS-THOMSON Microelectronics - All Rights Reserved
Purchase of I 2C Components of SGS-THOMSON Microelectronics, conveys a license under the Philips
2
2
I C Patent. Rights to use these components in a I C system, is granted provided that the system conforms to
the I2C Standard Specifications as defined by Philips.
SGS-THOMSON Microelectronics GROUP OF COMPANIES
Australia - Brazil - Canada - China - France - Germany - Italy - Japan - Korea - Malaysia - Malta - Morocco
The Netherlands - Singapore - Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom - U.S.A.
15/15