|
ST72321 Datasheet, PDF (99/185 Pages) STMicroelectronics – 8-BIT MCU WITH NESTED INTERRUPTS, FLASH, 10-BIT ADC, FIVE TIMERS, SPI, SCI, I2C INTERFACE | |||
|
◁ |
ST72321
10.6 SERIAL COMMUNICATIONS INTERFACE (SCI)
10.6.1 Introduction
The Serial Communications Interface (SCI) offers
a flexible means of full-duplex data exchange with
external equipment requiring an industry standard
NRZ asynchronous serial data format. The SCI of-
fers a very wide range of baud rates using two
baud rate generator systems.
10.6.2 Main Features
s Full duplex, asynchronous communications
s NRZ standard format (Mark/Space)
s Dual baud rate generator systems
s Independently programmable transmit and
receive baud rates up to 500K baud.
s Programmable data word length (8 or 9 bits)
s Receive buffer full, Transmit buffer empty and
End of Transmission flags
s Two receiver wake-up modes:
â Address bit (MSB)
â Idle line
s Muting function for multiprocessor configurations
s Separate enable bits for Transmitter and
Receiver
s Four error detection flags:
â Overrun error
â Noise error
â Frame error
â Parity error
s Five interrupt sources with flags:
â Transmit data register empty
â Transmission complete
â Receive data register full
â Idle line received
â Overrun error detected
s Parity control:
â Transmits parity bit
â Checks parity of received data byte
s Reduced power consumption mode
10.6.3 General Description
The interface is externally connected to another
device by two pins (see Figure 61):
â TDO: Transmit Data Output. When the transmit-
ter and the receiver are disabled, the output pin
returns to its I/O port configuration. When the
transmitter and/or the receiver are enabled and
nothing is to be transmitted, the TDO pin is at
high level.
â RDI: Receive Data Input is the serial data input.
Oversampling techniques are used for data re-
covery by discriminating between valid incoming
data and noise.
Through these pins, serial data is transmitted and
received as frames comprising:
â An Idle Line prior to transmission or reception
â A start bit
â A data word (8 or 9 bits) least significant bit first
â A Stop bit indicating that the frame is complete.
This interface uses two types of baud rate generator:
â A conventional type for commonly-used baud
rates,
â An extended type with a prescaler offering a very
wide range of baud rates even with non-standard
oscillator frequencies.
99/185
|
▷ |