®
STV9936P/S
120-MHz On-Screen Display for Monitors
with 4 True Independent Window Displays
PDIP16 (Plastic Dual In line Package)
ORDER CODE: STV9936P
SO16 Narrow (Plastic Micropackage)
ORDER CODE: STV9936S
Main Features
s
Horizontal frequency up to 150 kHz
s
On-chip Pixel Clock Generator from 7.68 MHz
to 120 MHz, without crystal oscillator
s
16-pin Narrow SO or DIP packages
s
Programmable horizontal resolutions from
384 to 1524 dots per scan line
s
4 independent windows all with character
display
s
Overlapping windows with automatic control
of display priorities and scrolling menu
effects
s
Independent and programmable displays,
positions and sizes for each window
s
Transparent or 8 programmable background
colors for each window
s
Window size up to 16 rows of 32 characters
s
Each window has its own bordering or
shadowing effects with programmable color,
height and width
s
Each window can be separately erased
s
Programmable common positioning to easily
control centered display
s
256 standard and 16 multi-color characters or
graphic fonts in ROM. Character fonts can be
customized using a mask-programmable
ROM
q
q
q
s
Characters
q
Common character height and row space.
Character height from 18 to 127 lines and
space lines from 0 to 62 split above and below
character rows
12 x 18 dot matrix per character
Display of up to 704 characters
Programmable shadow/border effects for
characters in each separate window
32 programmable background, foreground,
blinking character colors for each character (8
possibilities per window)
8 selectable colors for standard characters
Transparent and 8 selectable colors for
background
Fade-in/Fade-out effects
Possibility of full-screen display with a
selectable color
q
q
q
s
On-Screen Effects
q
q
s
I²C interface for microcontrollers with slave
address BA(h) in Read and Write modes
September 2003
Version 3.3
1/48
STV9936P/S
Table of Contents
Chapter 1
1.1
General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Pin Description ................................................................................................................... 7
Chapter 2
2.1
Register Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
I²C Protocol .......................................................................................................................... 8
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
Data to Write ........................................................................................................................................8
Transmission Formats ..........................................................................................................................8
Format, Window and Row Address (FWR) ..........................................................................................9
Format, Attribute and Column Address (FAC) .....................................................................................9
Control Data, Color Codes or Character Codes (D) ..........................................................................10
Configuration of Transmission Formats ............................................................................................10
2.2
2.3
2.4
Format Changing ............................................................................................................... 10
Read Mode ......................................................................................................................... 11
Addressing Map ................................................................................................................. 11
Chapter 3
3.1
3.2
Window Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Enable Display ................................................................................................................... 13
Origin Positions for the 4 Windows .................................................................................... 13
3.2.1
3.2.2
General Horizontal Delay (HD) ..........................................................................................................13
General Vertical Delay (VD) ...............................................................................................................13
3.3
Window Positions in the Frame .......................................................................................... 14
3.3.1
3.3.2
Window Horizontal Delay ...................................................................................................................14
Window Vertical Delay .......................................................................................................................14
3.4
Window Size: Number of Character Rows and Character Columns .................................. 15
3.4.1
3.4.2
Window Horizontal Size .....................................................................................................................15
Window Vertical Size .........................................................................................................................15
3.5
3.6
Window Background Color ................................................................................................. 16
Window Bordering and Shadowing Effects ........................................................................ 16
3.6.1
3.6.2
3.6.3
3.6.4
Enable Bordering or Shadowing Effects ............................................................................................16
Bordering or Shadowing Selection ....................................................................................................16
Border or Shadow Color ....................................................................................................................17
Bordering or Shadowing Size ............................................................................................................17
3.7
Window Display Priority Management ............................................................................... 18
Chapter 4
4.1
4.2
4.3
Character Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
General Description ........................................................................................................... 19
Horizontal Resolution ........................................................................................................ 19
Character Height ............................................................................................................... 19
2/48
STV9936P/S
4.4
4.5
Row Height (Space Lines) ................................................................................................. 20
Character Colors ................................................................................................................ 21
4.5.1
4.5.2
4.5.3
Character Background Color .............................................................................................................21
Character Color .................................................................................................................................22
Character Blinking Effect ...................................................................................................................23
4.6
4.7
4.8
Multicolor Characters ......................................................................................................... 23
Character Shadowing ......................................................................................................... 23
Character Font ................................................................................................................... 25
Chapter 5
5.1
5.2
5.3
5.4
RAM Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Character Coding ............................................................................................................... 28
Window Memory Allocation ................................................................................................ 28
Memory Size Allocation ...................................................................................................... 28
Window Reset .................................................................................................................... 30
Chapter 6
Chapter 7
7.1
7.2
7.3
7.4
7.5
Pixel Clock Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
General OSD Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Enable OSD ....................................................................................................................... 32
Fade-in and Fade-out Effect .............................................................................................. 32
Full Screen Display ............................................................................................................ 32
Signal Polarity and Triggering ........................................................................................... 33
Reset .................................................................................................................................. 34
Chapter 8
8.1
Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
Register Specification ........................................................................................................ 35
Chapter 9
9.1
Application Hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
Software Hints .................................................................................................................... 38
9.1.1
9.1.2
Programming Recommendations ......................................................................................................38
Examples of Programming .................................................................................................................38
9.2
Hardware Hints .................................................................................................................. 39
Chapter 10
Chapter 11
11.1
11.2
Application Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
Electrical and Timing Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
Absolute Maximum Ratings ............................................................................................... 42
Operating Conditions ......................................................................................................... 42
3/48
STV9936P/S
11.3
11.4
Electrical and Timing Characteristics ................................................................................. 42
I²C Bus Characteristics ...................................................................................................... 43
Chapter 12
12.1
12.2
Package Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
SO16 Narrow Plastic Micropackage .................................................................................. 44
Dual In-line Plastic Package ..............................................................................................45
Chapter 13
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
4/48
STV9936P/S
General Description
1
General Description
The STV9936 is a new On-Screen Display (OSD) device with multiple menu displays for monitor
applications.
In addition to the standard features of an OSD, the special features of the STV9936 are listed below:
q
Simultaneous display of up to 4 menus anywhere on the screen. Each of the 4 independent
windows, all displaying characters, can be overlapped and display priorities are automatically
controlled. Window sizes and positions are independently programmable as well as scrolling
menu effects.
Programming of the general OSD and of the 4 windows is controlled by an I²C bus in Read and
Write modes, to suit the various CRT displays.
Associated with an easily programmable character height, the internal PLL generates the
programmable pixel clock, without using a crystal oscillator, that defines the character width
making the device suitable for multi-sync applications.
A maximum of 704 characters, defined in the mask-programmable ROM, are distributed among
the 4 windows and displayed simultaneously.
Figure 1: Multi-window Concept with Character Display
q
q
q
The STV9936 introduces a new “Multi Windows”
concept allowing you to display and program up to
4 color-boxes independently, with overlapping and
priority management.
5/48