
7/86
ST62T30B ST62E30B
1.2 PIN DESCRIPTIONS
V
and V
. Power is supplied to the MCU via
these two pins. V
is the power connection and
V
SS
is the ground connection.
OSCin and OSCout.
These pins are internally
connected to the on-chip oscillator circuit. A quartz
crystal, a ceramic resonator or an external clock
signal can be connected between these two pins.
The OSCin pin is the input pin, the OSCout pin is
the output pin.
RESET
. The active-low RESET pin is used to re-
start the microcontroller.
TEST/V
.
The TEST must be held at V
for nor-
mal operation. If TEST pin is connected to a
+12.5V
level
during
the
EPROM/OTP programming Mode is entered.
NMI.
The NMI pin provides the capability for asyn-
chronous interruption, by applying an external non
maskable interrupt to the MCU. The NMI input is
falling edge sensitive with Schmitt trigger charac-
teristics. The user can select as option the availa-
bility of an on-chip pull-up at this pin.
reset
phase,
the
PA0-PA5.
These 6 lines are organised as one I/O
port (A). Each line may be configured under soft-
ware control as inputs with or without internal pull-
up resistors, interrupt generating inputs with pull-
up resistors, open-drain or push-pull outputs.
PA2/OVF, PA3/PWM, PA4/CP1 and PA5/CP2 can
be used respectivelyas overflow output pin, output
compare pin, and as two input capture pins for the
embedded 16-bit Auto-Reload Timer.
In addition, PA4-PA5 can also be used as analog
inputs for the A/D converter while PA0-PA3 can
sink 20mA for direct LED or TRIAC drive.
PB4-PB6.
These 3 lines are organised as one I/O
port (B). Each line may be configured under soft-
ware control as inputs with or without internal pull-
up resistors, interrupt generating inputs with pull-
up resistors, open-drain or push-pull outputs, an-
alog inputs for the A/D converter.
PC4-PC7
. These 4 lines are organised as one I/O
port (C). Each line may be configured under soft-
ware control as input with or without internal pull-
up resistor, interrupt generating input with pull-up
resistor, analog input for the A/D converter, open-
drain or push-pull output.
PD1-PD7
. These 7 lines are organised as one I/O
port (portD). Each line may be configured under
software control as input with or without internal
pull-up resistor, interrupt generating input with
pull-up resistor, analog input open-drain or push-
pull output. In addition, the pins PD5/TXD1 and
PD4/RXD1
can
be
used
(PD5/TXD1) orUART input (PD4/RXD1). The pins
PD3/Sout, PD2/Sin and PD1/SCL can also be
used respectively as data out, data in and Clock
pins for the on-chip SPI.
as
UART
output
TIMER
. This is the TIMER 1 I/O pin. In input mode,
it is connected to the prescaler and acts as ex-
ternal timer clock or as control gate for the internal
timer clock.In output mode, the TIMER pin outputs
the data bit when a time-out occurs.The user can
select as option the availability of an on-chip pull-
up at this pin.