English
Language : 

SH7055S Datasheet, PDF (535/1002 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7000 Series
In transmitting serial data, the SCI operates as follows:
1. The SCI monitors the TDRE bit in SSR. When TDRE is cleared to 0 the SCI recognizes that
the transmit data register (TDR) contains new data, and loads this data from TDR into the
transmit shift register (TSR).
2. After loading the data from TDR into TSR, the SCI sets the TDRE bit to 1 and starts
transmitting. If the transmit-data-empty interrupt enable bit (TIE) in SCR is set to 1, the SCI
requests a transmit-data-empty interrupt (TXI) at this time.
Serial transmit data is transmitted in the following order from the TxD pin:
a. Start bit: one 0-bit is output.
b. Transmit data: seven or eight bits are output, LSB first.
c. Multiprocessor bit: one multiprocessor bit (MPBT value) is output.
d. Stop bit: one or two 1-bits (stop bits) are output.
e. Marking: output of 1-bits continues until the start bit of the next transmit data.
3. The SCI checks the TDRE bit when it outputs the stop bit. If TDRE is 0, the SCI loads data
from TDR into TSR, outputs the stop bit, then begins serial transmission of the next frame. If
TDRE is 1, the SCI sets the TEND bit in SSR to 1, outputs the stop bit, then continues output
of 1-bits in the marking state. If the transmit-end interrupt enable bit (TEIE) in SCR is set to 1,
a transmit-end interrupt (TEI) is requested at this time.
Figure 15.12 shows an example of SCI receive operation in the multiprocessor format.
1
Serial
data
Start
bit
0 D0
Multiprocessor
bit
Stop Start
Data
bit bit
D1 D7 0/1 1 0 D0
Multiprocessor
bit
Data
Stop
bit
1
D1 D7 0/1 1 Idling
(marking)
TDRE
TEND
TXI
interrupt
request
TXI interrupt
handler writes
data in TDR and
clears TDRE to 0
TXI
interrupt
request
TEI
interrupt
request
1 frame
Figure 15.12 SCI Multiprocessor Transmit Operation
(Example: 8-Bit Data with Multiprocessor Bit and One Stop Bit)
Rev.2.0, 07/03, page 497 of 960