Datasheet
ST10F269 14 - SERIAL CHANNELS
95/184
14 - SERIAL CHANNELS
Serial communication with other microcontrollers,
microprocessors, terminals or external peripheral
components is provided by two serial interfaces:
the asynchronous / synchronous serial channel
(ASCO) and the high-speed synchronous serial
channel (SSC). Two dedicated Baud rate
generators set up all standard Baud rates without
the requirement of oscillator tuning. For
transmission, reception and erroneous reception,
3 separate interrupt vectors are provided for each
serial channel.
14.1 - Asynchronous / Synchronous Serial
Interface (ASCO)
The asynchronous / synchronous serial interface
(ASCO) provides serial communication between
the ST10F269 and other microcontrollers,
microprocessors or external peripherals.
A set of registers is used to configure and to
control the ASCO serial interface:
– P3, DP3, ODP3 for pin configuration
– SOBG for Baud rate generator
– SOTBUF for transmit buffer
– SOTIC for transmit interrupt control
– SOTBIC for transmit buffer interrupt control
– SOCON for control
– SORBUF for receive buffer (read only)
– SORIC for receive interrupt control
– SOEIC for error interrupt control
14.1.1 - ASCO in Asynchronous Mode
In asynchronous mode, 8 or 9-bit data transfer,
parity generation and the number of stop bit can
be selected. Parity framing and overrun error
detection is provided to increase the reliability of
data transfers. Transmission and reception of data
is double-buffered. Full-duplex communication up
to 1.25M Bauds (at 40MHz f
CPU
on PQFP144
devices) and up to 1MBaud (at 32MHz f
CPU
on
TQFP144 devices) is supported in this mode.
Figure 44 : Asynchronous Mode of Serial Channel ASC0
Pin
2
CPU
Clock
S0R
Baud Rate Timer
Reload Register
16
Clock
Serial Port Control
Shift Clock
S0M S0STP S0FE S0OE
S0PE
S0REN
S0FEN
S0PEN
S0OEN
S0LB
S0RIR
S0TIR
S0EIR
Receive Interrupt
Request
Transmit Interrupt
Request
Error Interrupt
Request
Transmit Shift
Register
Receive Shift
Register
TXD0 / P3.10
Transmit Buffer
Register S0TBUF
Receive Buffer
Register S0RBUF
SamplingMUX
0
1
Pin
Input
Internal Bus
RXD0/P3.11
Output