ST62T15CM6 STMicroelectronics, ST62T15CM6 Datasheet - Page 38

8BIT MCU OTP 2K, SMD, 62T15, SOIC20

ST62T15CM6

Manufacturer Part Number
ST62T15CM6
Description
8BIT MCU OTP 2K, SMD, 62T15, SOIC20
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST62T15CM6

Controller Family/series
ST6
Core Size
8bit
No. Of I/o's
20
Program Memory Size
2KB
Ram Memory Size
64Byte
Cpu Speed
8MHz
Oscillator Type
External Only
No. Of Timers
1
Digital Ic Case
RoHS Compliant
Peripherals
ADC,
Rohs Compliant
No
Processor Series
ST62T1x
Core
ST6
Data Bus Width
8 bit
Program Memory Type
EPROM
Data Ram Size
64 B
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
20
Number Of Timers
2
Operating Supply Voltage
3 V to 6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
SOP-28
Development Tools By Supplier
ST62GP-EMU2, ST62E2XC-EPB/110, ST62E6XC-EPB/US, STREALIZER-II
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit
Lead Free Status / Rohs Status
In Transition

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST62T15CM6
Manufacturer:
STM
Quantity:
2 508
Part Number:
ST62T15CM6
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
ST62T15CM6
Quantity:
24 000
Part Number:
ST62T15CM6/SWD
Manufacturer:
ST
0
ST6215C/ST6225C
8 I/O PORTS
8.1 INTRODUCTION
Each I/O port contains up to 8 pins. Each pin can
be programmed independently as digital input
(with or without pull-up and interrupt generation),
digital output (open drain, push-pull) or analog in-
put (when available).
The I/O pins can be used in either standard or al-
ternate function mode.
Standard I/O mode is used for:
Alternate function mode is used for:
The generic I/O block diagram is shown in
23.
8.2 FUNCTIONAL DESCRIPTION
Each port is associated with 3 registers located in
Data space:
– Data Register (DR)
– Data Direction Register (DDR)
– Option Register (OR)
Each I/O pin may be programmed using the corre-
sponding register bits in the DDR, DR and OR reg-
isters: bit x corresponding to pin x of the port.
8
can be selected by user software.
During MCU initialization, all I/O registers are
cleared and the input mode with pull-up and no in-
terrupt generation is selected for all the pins, thus
avoiding pin conflicts.
8.2.1 Digital Input Modes
The input configuration is selected by clearing the
corresponding DDR register bit.
In this case, reading the DR register returns the
digital value applied to the external I/O pin.
Different input modes can be selected by software
through the DR and OR registers, see
External Interrupt Function
38/105
1
illustrates the various port configurations which
– Transfer of data through digital inputs and out-
– External interrupt generation
– Alternate signal input/output for the on-chip
puts (on specific pins):
peripherals
Table
Figure
Table
8.
All input lines can be individually connected by
software to the interrupt system by programming
the OR and DR registers accordingly. The inter-
rupt trigger modes (falling edge, rising edge and
low level) can be configured by software for each
port as described in the Interrupt section.
8.2.2 Analog Inputs
Some pins can be configured as analog inputs by
programming the OR and DR registers according-
ly, see
ed to the on-chip 8-bit Analog to Digital Converter.
Caution: ONLY ONE pin should be programmed
as an analog input at any time, since by selecting
more than one input simultaneously their pins will
be effectively shorted.
8.2.3 Output Modes
The output configuration is selected by setting the
corresponding DDR register bit. In this case, writ-
ing to the DR register applies this digital value to
the I/O pin through the latch. Then, reading the DR
register returns the previously stored value.
Two different output modes can be selected by
software through the OR register: push-pull and
open-drain.
DR register value and output pin status:
Note: The open drain setting is not a true open
drain. This means it has the same structure as the
push-pull setting but the P-buffer is deactivated.
To avoid damaging the device, please respect the
V
Electrical Characteristics section.
8.2.4 Alternate Functions
When an on-chip peripheral is configured to use a
pin, the alternate function (timer input/output...) is
not systematically selected but has to be config-
ured through the DDR, OR and DR registers. Re-
fer to the chapter describing the peripheral for
more details.
OUT
DR
0
1
absolute maximum rating described in the
Table
8. These analog inputs are connect-
Push-pull
V
V
DD
SS
Open-drain
Floating
V
SS

Related parts for ST62T15CM6