34 character x15 rows software programmable
On Screen Dis play module with c olour, italic, underline, flash, transparent and fringe attribute
options
Digital Data Slicer extracting closed caption data
from video
8 8-bit PWM D/A outputs with repetition frequency 2 to 32kHz and 12V Open Drain
Capability
16 bit Timer wit h 8 bit Pres caler, able to be used
as a Watchdog Timer
16-bit programmable Slice Timer with 8-bit prescaler
3 channel Analog to Digital Converter, with integral sample and hold, fast 5.75µs conversion
time, 6-bit guaranteed resolution
Rich Instruct ion S et and 14 A ddressing modes
Division-by-Zero trap generati on
Versatile Development tools, including assembler,
linker, C-compiler, archiver, graphic oriented debugger and hardware emulators
Real Time Operating Sys tem
Windowed EPROM parts available for prototyp-
ing and pre-production development phases
(Ordering Information at the end of the Datasheet)
PSDIP42
PSDIP56
May 1993
This is Preliminary Data from SGS-THOMSON. Details are subject to change without notice.
The ST9294 is a ROM member of the ST9 fam ily of
microcontrollers, completely developed and produced by SGS-THOMSON Microelectronics using
a proprietary n-well HCMOS process.
The ROM parts are fully compatible with their
EPROM versions, which may be used for the prototyping and pre-production phases of development.
The nucleus of the ST9294 is the advanced Core
which includes the Central Processing Unit (C PU),
the Register File, a 16-bit Timer/Watchdog wit h 8bit Prescaler, a Serial P eripheral Interface support ing S-bus, I
2
C-bus and IM-bus Interface, plus two
8-bit I/O ports. The Core has independent m emory
and register buses allowing a high degree of pipelining to add to the efficiency of the code execution
speed of the extensive instruction s et.
The powerful I/O capabilities demanded by microcontroller applications are fulfilled by the ST9294
with up to 31/42 I/O lines dedicated to digital Input/Output. These lines are grouped into up to six
I/O Ports and can be configured on a bit basis under software control to provide timing, status sig-
ST9294
nals, timer inputs and outputs, analog inputs, external interrupts and serial or parallel I/O.
Three basic memory spaces are available to support this wide range of configurations: Program
Memory, Data Memory and the Register File,
which includes the control and status registers of
the on-chip peripherals.
The 16-bit Slice Timer with an 8-bit Presc aler.
The human interface is provided by the On S creen
Display module, this can produce up to 15 lines of
up to 34 characters from a ROM defined 128 character set. The 9x 13 charac ter can be modif ied by 4
different pixel sizes, with character rounding, and
formed into words with colour and format attributes.
Closed Caption control for the display of information transmitted through the video input is facilitated with the Data Slicer. This module has manual
and automatic Slicing levels for both Sync and
Data and allows the user to select the video line
containing the data relative to the Vertical synchronisation pulse.
Figure 1-2. ST9294 Block Diagram
12k / 24k Bytes
ROM
I/O PORT 0
8
Note : 42 SDIP shown
384 / 640 Bytes
RAM
MEMORY BUS ( Address & Data )
I/O PORT 2
( Analog Inputs )
6
256 Bytes
REGIST ER FILE
REGISTER BUS ( Address & Data )
A/D
CONVERTER
16-Bit TIMER / WATCHDOG + SPI
I/O PORT 3
7
VSYNC
CPU
ON SCREEN
DISPLAY
PLL
HSYNC
PLLR
PLLF
I/O PORT 4
P.W.M.
Outputs
AV
DD
SLICE
TIMER
P.W.M.
D/A
CONVERTER
8
DATA
SLICER
CC Video
I/O PORT 5
( SPI )
2
VR0A1749
3/6
ST9294
GENERAL DES CRIPTI ON (Continued)
Control of TV settings is able to be made with up to
eight 8-bit PWM outputs, with a frequency maximum of 23,437Hz at 8-bit resolution (INTCLK =
12MHz). Low resolutions with higher frequency operation can be programmed.
In addition th ere is a 3 cha nnel Analog to Digital Converter with integral sample and hold, fast 5.75µs conversion time and 6-bit guaranteed resolution.
1.2 PIN DESCRIPTI ON
VSYNC.
Vertical Synch.
Vertical video synchroni-
sation input to OSD. Positive or negative polarity.
HSYNC.
Horizontal Synch.
Horizontal video synchronisation input to OSD. Positive or negative polarity.
CCVideo.
Composite Video Input
. Input to Data
Slicer for Closed Caption extraction, 1V± 6dB or
2V± 3dB.
PLLF.
PLL Filter input.
Filter input for the OSD for
PLL feed-back.
PLLR .
PLL Resistor connection pin.
For resistor
connection to select the PLL gain adjust.
RESET.
ised by the Reset signal. With the deactivation of
Reset (input, active low).
The ST9 is initial-
RESET, program execution begins from the Program
memory location pointed to by the vector contained
in program memory locations 00h and 01h.
OSCIN, OSCOUT.
Oscillator (input and output).
These pins connect a parallel-resonant crystal
(24MHz maximum), or an external source to the
on-chip clock oscillator and buffer. OS CIN is the input of the oscillator inverter and internal clock ge nerator; OSCOUT is the output of the oscillator
inverter.
31/42 lines
grouped into I/O ports, bit programmable under
program control as general purpose I/O or as Alternate functions (see next section).
P4.0 - P4.7 are high voltage (12V) open drain
1.2.1I/O Port Alt ernate Fun ctions.
Each pin of the I/O ports of the ST9294 may assume software programmable Alternative Functions as shown in the Pin Configuration Drawings.
Table 1 shows the Functions alloc ated to e ach I/O
Port pin.
4/6
PIN DESCRIPTI ON (Continued)
Table 1-1. ST9294 I/O Port Alternative Function Summary
ST9294
I/O PORT
Port.bit9294J9294N
P0.0I/O1012
P0.1I/O911
P0.2I/O810
P0.3I/O79
P0.4I/O68
P0.5I/O56
P0.6I/O45
P0.7I/O34
P1.0I/O-52
P1.1I/O-51
P1.2I/O-50
P1.3I/O-49
P1.4I/O-48
P1.5I/O-47
P1.6I/O-46
P1.7I/O-45
P2.0INT7IExternal Interrupt 7 with Schmitt Trigger12
P2.1INT5IExternal Interrupt 5 with Schmitt Trigger421
P2.1AIN1IA/D Analog Input 1421
P2.2INT0IExternal Interrupt 04156
P2.2AIN2IA/D Analog Input 24156
P2.3INT6IExternal Interrupt 64055
P2.3SDOOMSPI Serial Data Output4055
P2.4NMIINon-Maskable Interrupt3954
P2.5AIN3IA/D Analog Input 33853
P3.0FBOFast Blanking OSD output1823
P3.1RORed Video Colour OSD output1722
P3.2GOGreen Video Colour OSD output1621
P3.3BOBlue Video Colour OSD output1520
NameFunctionAlternate Function
Pin Assignment
5/6
ST9294
PIN DESCRIPTI ON (Continued)
Table 1-1. ST9294 I/O Port Alternative Functi on Su mm ar y
1. The alternate functions of SCK/INT2 and SDIO may be swapped by using the SWAP Register Function.
2. Schmitt trigger options are available as a mask option for any input pin.
Information furnished is believed to be accurate and reliable. However, SGS-THOMSON Microelectronics assumes no responsability 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
license is granted by implication or otherwise under any patent or patent rights of SGS-THOMSON Microelectronics. Specifications mentioned
in this publicat ion are subject t o change without not ice. This publication sup erse des a nd replaces all information previously supplied.
SGS-THOMSON Microelectronics products are not au thor ized for use as critical components in life support devices or systems without the
express written approval of SGS-THOMSON Microelectronics.