HD64F7050 RENESAS [Renesas Technology Corp], HD64F7050 Datasheet - Page 422

no-image

HD64F7050

Manufacturer Part Number
HD64F7050
Description
32-Bit RISC Microcomputer SuperH RISC engine Family/
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD64F7050SFJ20
Manufacturer:
RENESAS
Quantity:
100
Part Number:
HD64F7050SFJ20
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD64F7050SFJ20
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD64F7050SFJ20V
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Section 13 Serial Communication Interface (SCI)
Receiving Serial Data (Asynchronous Mode): Figures 13.7 and 13.8 show a sample flowchart
for receiving serial data. The procedure is as follows (the steps correspond to the numbers in the
flowchart).
1. SCI initialization: Set the RxD pin using the PFC.
2. Receive error handling and break detection: If a receive error occurs, read the ORER, PER,
3. SCI status check and receive-data read: Read the serial status register (SSR), check that RDRF
4. Continue receiving serial data: Read the RDR and RDRF bit and clear RDRF to 0 before the
Rev. 5.00 Jan 06, 2006 page 402 of 818
REJ09B0273-0500
and FER bits of the SSR to identify the error. After executing the necessary error handling,
clear ORER, PER, and FER all to 0. Receiving cannot resume if ORER, PER or FER remain
set to 1. When a framing error occurs, the RxD pin can be read to detect the break state.
is set to 1, then read receive data from the receive data register (RDR) and clear RDRF to 0.
The RxI interrupt can also be used to determine if the RDRF bit has changed from 0 to 1.
stop bit of the current frame is received. If the DMAC is started by a receive-data-full interrupt
(RxI) to read RDR, the RDRF bit is cleared automatically so this step is unnecessary.
TDRE
TEND
Serial
Example: 8-bit data with parity and one stop bit
data
interrupt
request
1
TxI
Start
Figure 13.6 SCI Transmit Operation in Asynchronous Mode
bit
0
handler writes
data in TDR
TxI interrupt
TDRE to 0
and clears
D0 D1
1 frame
Data
D7
Parity
bit
0/1
request
TxI
Stop
bit
1
Start
bit
0
D0
D1
Data
D7 0/1
TEI interrupt request
Parity
bit
Stop
bit
1
(marking
state)
Idle
1

Related parts for HD64F7050