Download Print this page

Functions Used - Renesas Asynchronous SH7145F Application Note

Asynchronous serial data transmission/reception

Advertisement

2

Functions Used

In this task example the SCI (Serial Communication Interface) is used to perform asynchronous
serial data transmission/reception. Figure 2 shows a block diagram of channel 1 (ch1) of the SCI
module. The functions of the elements shown in figure 2 are described below.
SCI1 clock I/O pin
(SCK1)
External
clock
SCI1 transmit data
output pin
(TXD1)
SCI1 receive data
input pin
(RXD1)
Asynchronous Mode
Serial data communication is performed using synchronization by character unit. This allows
serial communication with a standard dedicated asynchronous communication chip such as a
Universal Asynchronous Receiver/Transmitter (UART) or Asynchronous Communication
Interface Adapter (ACIA). In addition, the asynchronous mode supports serial communication
among multiple processors (multiprocessor communication function).
REJ06B0357-0100O/Rev.1.00
Asynchronous Serial Data Transmission/Reception
SCI0 synchronous serial transfer function block
Transfer rate generator
Baud rate generator
Clock
Transmit/receive operation control settings
Transmit/receive
control circuit
Transmit shift register 1
(TSR_1)
Receive shift register 1
(RSR_1)
Figure 2 SCI (ch1) Block Diagram
March 2004
Bit rate register 1
Serial mode register 1
(SMR_1)
Serial control register 1
(SCR_1)
Serial status register 1
(SSR_1)
Serial direction control register 1
(SDCR_1)
Transmit data control
Transmit data register 1
Receive data control
Receive data register 1
(BRR_1)
(TDR_1)
(RDR_1)
SH7145F
On-chip
peripheral clock
P /128
P /32
P /8
P 1
Interrupt
requests
TEI_1
TXI_1
RXI_1
ERI_1
Page 3 of 17

Advertisement

loading