ST ST72141 User Manual

查询ST72141供应商
8-BIT MCU WITH 8K ROM/OTP/EPROM, 256 BYTES RAM,
ELECTRIC-MOTOR CONTROL, ADC, WDG, SPI AND 2 TIMERS
User Program Memory (ROM/OTP/EPROM):
8K bytes
stack
Master Reset and Power-On Reset
Run and Power Saving modes
Low Voltage Detector (LVD) Reset
14 multifunctional bidirectional I/O lines: – 14 interrupt inputs on 2 independent lines
– 8 analog alternate inputs – 3 high sink outputs – 13 alternate functions – EMI filtering
Software or Hardware Watchdog (WDG)
Motor Control peripheral featuring:
– 6 PWM output channels – Emergency pin to force outputs to HiZ state – 3 analog inputs for rotor position detection
with no need of additional sensors
– Comparator for current control or limitation
Two 16-bit Timers, each featuring:
– 2 Input Captures – 2 Output Compares – External Clock input – PWM and Pulse Generator modes
Synchronous Serial Peripheral Interface (SPI)
8-bit ADC with 8 channels
8-bit Data Manipulation
63 basic Instructions
17 main Addressing Modes
8 x 8 Unsigned Multiply Instruction
True Bit Manipulation
Complete Development Support on DOS/
WINDOWSTMReal-Time Emulator
Full Software Package on DOS/WINDOWS (C-Compiler, Cross-Assembler, Debugger)
TM
ST72141
PRODUCT OVERVIEW
PSDIP32
CSDIP32W
SO34
Device Summary
Features ST72141K2
Program Memory - bytes 8K RAM (stack) - bytes 256 (64)
Peripherals Operating Supply 4.5 to 5.5 V
CPU Frequency
Temperature Range - 40°Cto+85°C Package SO34 - PSDIP32
MotorControl, Watchdog,
Timers, SPI, ADC
8 or 4 MHz
(16 or 8MHz oscillator)
Rev. 1.1
July 1998 1/13
Thisispreliminary information onanewproduct in development orundergoing evaluation.Detailsaresubjecttochangewithout notice.
1
ST72141
1 GENERAL DESCRIPTION
1.1 INTRODUCTION
The ST72141 Microcontroller Unit (MCU) is a member of the ST7 family of Microcontrollers. The device is based on an industry-standard 8-bit core and features an enhanced instruction set. The de­vice is operated at an 8 or 16MHz oscillator fre­quency. Under software control, the ST72141 may be placed in either Wait, Slow or Halt modes, thus reducing power consumption. The enhanced in­struction set and addressing modes afford real programming potential. In addition to standard 8­bit data management, the ST72141 features true bit manipulation, 8x8 unsigned multiplication and indirect addressing modes. The device includes a low consumption and fast start on-chip oscillator,
Figure 1.ST72E14 Block Diagram
Internal
OSCIN
OSCOUT
V
DD
V
RESET
SS
OSC
POWER
SUPPLY
CONTROL
CLOCK
DIV
LVD
CPU, ROM/OTP/EPROM, RAM, 14 I/O lines and the following on-chip peripherals: Analog-to-Digital converter (ADC) with 8 multiplexed analog inputs, Motor Control (MTC) peripheral, industry standard synchronous SPI serial interface, digital Watch­dog, two independent 16-bit Timers featuring Clock Inputs, Pulse Generator capabilities, 2 Input Captures and 2 Output Compares.
The MTC peripheral is designed to control electric brushless motors, with or without sensors. An example of application is givenFigure 2 for 6-step control of Permanent Magnet Direct Current (PMDC) motor.
PORT A
ADDRESS A ND DATA BUS
8-BIT ADC
TIMER B
TIMER A
PA7-PA0
(8 bits)
OC1A
2/13
8-BIT CORE
ALU
Program Memory
8KBytes
RAM
256 Bytes
MOTOR CTRL
PORT B
SPI
WATCHDOG
MCO5-MCO0
MCIA-C MCES
MICCFI
PB5-PB0
(6 bits)
2
Figure 2.Example of a 6-step-controlled Motor
ST72141
ST7
MTC
MCCFI
MCO5-0
MCIB
MCIA MCIC
6
Current feedback
300V
T0
T2
T4
B
I
T5
6
I
3
I
C
2
T1
I
1
I
4
A
I
5
T3
Step
Switch
T0 T1 T2 T3 T4 T5
Node
A
B
C
300V 150V 0
300V 150V 0
300V 150V 0
Σ
Σ
Σ
Σ
Σ
Σ
Σ
Σ
1
2
3
4
5
6
1
Σ
2
3
3/13
3
ST72141
1.2 PIN DESCRIPTION Figure 3.34-Pin SO Package Pinout
MCO5 MCO4 MCO3 MCO2 MCO1 MCO0 MCES
MISO / EI2 / PB5
NC
MOSI / EI2 / PB4
SCK/ EI2 /PB3
SS/ EI2 / PB2 EXTCLK_B/ EI2 /PB1 EXTCLK_A/ EI2 /PB0
OSCIN
OSCOUT
RESET
Factory fixed OpenDrain (Push-Pullprogramming notavailable) - HighSink
Figure 4.32-Pin SDIP Package Pinout
1 2 3 4 5 6 7 8 9 10 11 12 13
14 15 16 17
MCIA
34
MCIB
33
MCIC
32
MCCFI
31
V
30 29 28 27 26 25 24 23 22 21 20 19 18
DD
V
SS
TEST/V OCP1A NC PA7 / AIN7 / EI1/ OCP2A PA6 / AIN6 / EI1/ ICP1A PA5 / AIN5 / EI1/ ICP2A PA4 / AIN4 / EI1/ OCP1B PA3 / AIN3 / EI1/ OCP2B PA2 / AIN2 / EI1/ ICP1B PA1 / AIN1 / EI1/ ICP2B PA0 / AIN0 / EI1
PP
MCO5 MCO4 MCO3 MCO2 MCO1 MCO0
MCES MISO / EI2/ PB5 MOSI / EI2/ PB4
SCK/ EI2 / PB3
SS/EI2 / PB2 EXTCLK_B/ EI2 /PB1 EXTCLK_A/ EI2 /PB0
OSCIN
OSCOUT
RESET
Factory fixedOpen Drain(Push-Pull programming not available) - High Sink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
32
MCIA
31
MCIB
30
MCIC
29
MCCFI
28
V
27
V
26
TEST/V
25
OCP1A
24
PA7 / AIN7 /EI1 / OCP2A
23
PA6 / AIN6 /EI1 / ICP1A
22
PA5 / AIN5 /EI1/ ICP2A
21
PA4 / AIN4 /EI1/ OCP1B
20
PA3 / AIN3 /EI1/ OCP2B
19
PA2 / AIN2 /EI1/ ICP1B
18
PA1 / AIN1 /EI1/ ICP2B
17
PA0 / AIN0 /EI1
DD
SS
PP
4/13
4
Loading...
+ 9 hidden pages