ChipFind - документация

Электронный компонент: STPS16L40CT

Скачать:  PDF   ZIP
ST9293
FUNCTIONAL DESCRIPTION
This is Preliminary Data from SGS-THOMSON. Details are subject to change without notice.
May 1993
48K ROM HCMOS MCUs WITH
ON SCREEN DISPLAY AND A/D CONVERTER
Register oriented 8/16 bit CORE with
RUN, WFI and HALT modes
Minimum instruction cycle time: 500ns
(12MHz internal)
16 to 48K bytes of ROM,
256 to 768 bytes of RAM,
224 general purpose registers available as RAM,
accumulators or index registers (Register File)
42-lead Shrink DIP package
Interrupt handler and Serial Peripheral Interface
as standard features
31 fully programmable I/O pins
34 character x15 rows software programmable
On Screen Display module with colour, italic, un-
derline, flash, transparent and fringe attribute
options
16 bit Timer with 8 bit Prescaler, able to be used
as a Watchdog Timer
16-bit programmable Slice Timer with 8-bit pres-
caler
4 channel Analog to Digital Converter, with inte-
gral sample and hold, fast 5.75
s conversion
time, 6-bit guaranteed resolution
Rich Instruction Set and 14 Addressing modes
Division-by-Zero trap generation
Versatile Development tools, including assembler,
linker, C-compiler, archiver, graphic oriented de-
bugger and hardware emulators
Real Time Operating System
Windowed EPROM parts available for prototyp-
ing and pre-production development phases
Device
ROM
RAM
PACKAGE
ST9293J7
48K
768
PSDIP42
ST9293J5
32K
640
PSDIP42
ST9293J3
24K
512
PSDIP42
ST9293J1
16K
256
PSDIP42
DEVICE SUMMARY
PSDIP42
(Ordering Information at the end of the Datasheet)
1/4
Figure 1-1. ST9293 Block Diagram
CPU
16-Bit TIMER / WATCHDOG + SPI
SLICE
TIMER
256 Bytes
REGISTER FILE
I/O PORT 0
8
256 to 768
RAM
16 to 48k x 8
ROM
I/O PORT 3
5
ON SCREEN
DISPLAY
PLL
HSYNC
PLLR
PLLF
VSYNC
3
I/O PORT 4
( Analog Inputs )
A / D
CONVERTER
I/O PORT 2
( SPI )
8
I/O PORT 5
( Control Bus )
( Colour )
7
MEMORY BUS ( Address & Data )
REGISTER BUS ( Address & Data )
VR0B1749
AV
D D
ROM
RAM
J7
48K
768
J5
32K
640
J3
24K
512
J1
16K
256
1.1GENERAL DESCRIPTION
The ST9293 is a ROM member of the ST9 family of
microcontrollers, completely developed and pro-
duced 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 pro-
totyping and pre-production phases of develop-
ment, and can be configured as standalone
microcontrollers with 48K/32K/24K/16 bytes of on-
chip ROM.
The nucleus of the ST9293 is the advanced Core
which includes the Central Processing Unit (CPU),
the Register File, a 16-bit Timer/Watchdog with 8-
bit Prescaler, a Serial Peripheral Interface support-
ing S-bus, I
2
C-bus and IM-bus Interface, plus two
8-bit I/O ports. The Core has independent memory
and register buses allowing a high degree of pipe-
lining to add to the efficiency of the code execution
speed of the extensive instruction set.The powerful
I/O capabilities demanded by microcontroller appli-
cations are fulfilled by the ST9293 with up to 31/41
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 signals, timer in-
puts and outputs, analog inputs, external interrupts
and serial or parallel I/O.
Three basic memory spaces are available to sup-
port 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 Prescaler and 6
operating modes allows simple use for wavefor-
mgeneration and measurement, PWM functions
and many other system timing functions.
The human interface is provided by the On Screen
Display module, this can produce up to 8 lines of of
up to 34 characters from a ROM defined 128 char-
acter set. The 9x13 character can be modified by 4
different pixel sizes, with character rounding, and
formed into words with colour and format attrib-
utes.
In addition there is a 4 channel Analog to Digital
Converter with integral sample and hold, fast 5.5
s
conversion time and 6-bit guaranteed resolution.
ST9293
2/4
I/O PORT
Name
Function
Alternate Function
Pin
Assignment
Port.bit
9293J
P0.0
I/O
12
P0.1
I/O
11
P0.2
I/O
10
P0.3
I/O
9
P0.4
I/O
8
P0.5
I/O
7
P0.6
I/O
6
P0.7
I/O
5
P2.0
INT6
I
External Interrupt 6
39
P2.1
INT7
I
External Interrupt 7
40
P2.2
INT0
I
External Interrupt 0
41
Table 1-1. ST9293 I/O Port Alternate Function Summary
1.2 PIN DESCRIPTION
VSYNC.
Vertical Synch. Vertical video synchroni-
sation input to OSD. Positive or negative polarity.
HSYNC.
Horizontal Synch. Horizontal video syn-
chronisation input to OSD. Positive or negative po-
larity.
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.
Reset (input, active low). The ST9 is ini-
tialised by the Reset signal. With the deactivation
of RESET, program execution begins from the Pro-
gram 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. OSCIN is the in-
put of the oscillator inverter and internal clock gen-
erator; OSCOUT is the output of the oscillator
inverter.
AV
DD
. Analog V
DD
of PLL. This pin must be tied to
V
DD
externally to the ST9293.
V
DD
. Main Power Supply Voltage (5V
10%)
V
SS
, V
SS2
. Digital Circuit Ground, these pins must
be connected together externally to the ST9293.
P0.0-P0.7, P2.0-P2.7, P3.3-P3.7, P4.5-P4.7,
P5.0-P5.6
I/O Port Lines (Input/Output, TTL or
CMOS compatible). 31 lines grouped into I/O
ports, bit programmable under program control as
general purpose I/O or as Alternate functions (see
next section).
P3.3 and P3.4 are true 12V open drain outputs
when set in output mode.
1.2.1 I/O Port Alternate Functions.
Each pin of the I/O ports of the ST9293 may as-
sume software programmable Alternative Func-
tions as shown in the Pin Configuration Drawings.
Table 1 shows the Functions allocated to each I/O
Port pin.
ST9293
3/4
PIN DESCRIPTION (Continued)
I/O PORT
Name
Function
Alternate Function
Pin
Assignment
Port.bit
9293J
P2.3
INT3
I
External Interrupt 3
42
P2.4
WDOUT
O
T/WD Output
1
P2.4
EXTRG
I
External A/D Trigger
1
P2.5
SDO
O
MSPI Serial Data Output
2
P2.6
INT2
I
External Interrupt 2
3
P2.6
SCK
O
SPI Serial Clock
3
P2.7
SDO
O
SPI Serial Data Output
4
P2.7
SDI
I
SPI Serial Data Input
4
P3.3
O
(12V Open Drain Output)
34
P3.3
SLOUT
O
Slice Timer Output
34
P3.4
O
(12V Open Drain Output)
35
P3.4
SLIN
I
Slice Timer Input
35
P3.5
INT4
I
Schmitt Triggered Input Only
36
P3.6
WDIN
I
T/WD Input
37
P3.6
AIN4
I
A/D Analog Input 4
37
P3.7
NMI
I
Non-Maskable Interrupt
38
P4.5
AIN5
I
A/D Analog Input 5
27
P4.6
AIN6
I
A/D Analog Input 6
28
P4.7
AIN7
I
A/D Analog Input 7
29
P5.0
I/O
14
P5.1
I/O
15
P5.2
I/O
16
P5.3
FB
O
Fast Blanking OSD output
17
P5.4
B
O
Blue Video Colour OSD output
18
P5.5
G
O
Green Video Colour OSD output
19
P5.6
R
O
Red Video Colour OSD output
20
Table 1-2. ST9293 I/O Port Alternate Function Summary
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 publication are subject to change without notice. This publication 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 the
express written approval of SGS-THOMSON Microelectronics.
1995 SGS-THOMSON Microelectronics - All rights reserved.
Purchase of I
2
C Components by SGS-THOMSON Microelectronics conveys a license under the Philips I
2
C Patent.
Rights to use these components in an I
2
C system is granted provided that the system conforms to the I
2
C Standard
Specification as defined by Philips.
SGS-THOMSON Microelectronics Group of Companies
Australia - Brazil - France - Germany - Hong Kong - Italy - Japan - Korea - Malaysia - Malta - Morocco
The Netherlands - Singapore - Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom - U.S.A.
ST9293
4/4