ST62E32BF1 STMicroelectronics, ST62E32BF1 Datasheet - Page 59

no-image

ST62E32BF1

Manufacturer Part Number
ST62E32BF1
Description
8-bit Microcontrollers - MCU UV EPROM 8K SPI/UART
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST62E32BF1

Product Category
8-bit Microcontrollers - MCU
Core
ST6
Data Bus Width
8 bit
Maximum Clock Frequency
8 MHz
Program Memory Size
7948 B
Data Ram Size
192 B
On-chip Adc
Yes
Package / Case
SDIP-42
Mounting Style
Through Hole
A/d Bit Size
8 bit
A/d Channels Available
21
Data Rom Size
128 B
Interface Type
SPI, UART
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
0 C
Number Of Programmable I/os
30
Number Of Timers
1 x 8 bit
Program Memory Type
EPROM
Factory Pack Quantity
13
Supply Voltage - Max
5 V
Supply Voltage - Min
4.5 V
4.5 U. A. R. T. (Universal Asynchronous Receiver/Transmitter)
The UART provides the basic hardware for asyn-
chronous serial communication which, combined
with an appropriate software routine, gives a serial
interface providing communication with common
baud rates (up to 38,400 Baud with an 8MHz ex-
ternal oscillator) and flexible character formats.
Operating in Half-Duplex mode only, the UART
uses 11-bit characters comprising 1 start bit, 9 data
bits and 1 Stop bit. Parity is supported by software
only for transmit and for checking the received par-
ity bit (bit 9). Transmitted data is sent directly, while
received data is buffered allowing further data
characters to be received while the data is being
read out of the receive buffer register. Data trans-
mit has priority over data being received.
The UART is supplied with an MCU internal clock
that is also available in WAIT mode of the processor.
Figure 35. UART Block Diagram
f
INT
BAUD RATE x 8
INTERRUPTS
WRITE
READ
RX and TX
D8 D7 D6 D5 D4 D3 D2 D1 D0
DIN
CONTROL REGISTER
RECEIVE BUFFER
PROGRAMMABLE
DATA SHIFT
BAUD RATE
DETECTOR
REGISTER
REGISTER
DIVIDER
START
UARTOE
DOUT
D9
TXD
4.5.1 PORTS INTERFACING
RXD reception line and TXD emission line are
sharing the same external pins as two I/O lines.
Therefore, UART configuration requires to set
these two I/O lines through the relevant ports reg-
isters. The I/O line common with RXD line must be
defined as input mode (with or without pull-up)
while the I/O line common with TXD line must be
defined as output mode (Push-pull or open drain).
The transmitted data is inverted and can therefore
use a single transistor buffering stage. Defined as
input, the RXD line can be read at any time as an
I/O line during the UART operation. The TXD pin
follows I/O port registers value when UARTOE bit
is cleared, which means when no serial transmis-
sion is in progress. As a consequence, a perma-
nent high level has to be written onto the I/O port in
order to achieve a proper stop condition on the
TXD line when no transmission is active.
DR
1
0
MUX
ST62T32B ST62E32B
TXD1
RXD1
VR02009
59/83

Related parts for ST62E32BF1