h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 444

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 16 Serial Communication Interface (SCI, IrDA, and CRC)
Notes: 1. SCICR is not available in SCI_0 or SCI_2.
16.3.1
RSR is a shift register used to receive serial data that converts it into parallel data. When one
frame of data has been received, it is transferred to RDR automatically. RSR cannot be directly
accessed by the CPU.
16.3.2
RDR is an 8-bit register that stores receive data. When the SCI has received one frame of serial
data, it transfers the received serial data from RSR to RDR where it is stored. After this, RSR can
receive the next data. Since RSR and RDR function as a double buffer in this way, continuous
receive operations be performed. After confirming that the RDRF bit in SSR is set to 1, read RDR
for only once. RDR cannot be written to by the CPU.
16.3.3
TDR is an 8-bit register that stores transmit data. When the SCI detects that TSR is empty, it
transfers the transmit data written in TDR to TSR and starts transmission. The double-buffered
structures of TDR and TSR enables continuous serial transmission. If the next transmit data has
already been written to TDR when one frame of data is transmitted, the SCI transfers the written
data to TSR to continue transmission. Although TDR can be read from or written to by the CPU at
all times, to achieve reliable serial transmission, write transmit data to TDR for only once after
confirming that the TDRE bit in SSR is set to 1.
16.3.4
TSR is a shift register that transmits serial data. To perform serial data transmission, the SCI first
transfers transmit data from TDR to TSR, then sends the data to the TxD pin. TSR cannot be
directly accessed by the CPU.
Rev. 3.00 Jan 25, 2006 page 392 of 872
REJ09B0286-0300
Serial interface control register (SCICR) *
Serial enhanced mode register (SEMR) *
Serial RFU enable register (SCIDTER) *
2. SEMR and SCIDTER are not available in SCI_1.
Receive Shift Register (RSR)
Receive Data Register (RDR)
Transmit Data Register (TDR)
Transmit Shift Register (TSR)
2
2
1

Related parts for h8s-2158