US38024-BAG1 Renesas Electronics America, US38024-BAG1 Datasheet - Page 399

no-image

US38024-BAG1

Manufacturer Part Number
US38024-BAG1
Description
DEV EVALUATION KIT H8/38024
Manufacturer
Renesas Electronics America
Series
H8®r
Type
MCUr
Datasheet

Specifications of US38024-BAG1

Contents
2G (Second-generation) Evaluation Board, HEW debugger support, Cable and CD-ROM
For Use With/related Products
H8/38024
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
• Simultaneous transmit/receive
Figure 10.15 shows an example of a flowchart for a simultaneous transmit/receive operation. This
procedure should be followed for simultaneous transmission/reception after initializing SCI3.
Figure 10.15 Example of Simultaneous Data Transmission/Reception Flowchart
transmission/reception?
Read receive data
Clear bits TE and
Sets bit SPC32 to
RE to 0 in SCR3
Read bit TDRE
Read bit RDRF
Write transmit
Continue data
Read bit OER
data to TDR
TDRE = 1?
RDRF = 1?
1 in SPCR
OER = 1?
in SSR
in RDR
in SSR
in SSR
Start
End
Yes
No
Yes
No
[3]
[2]
[1]
Yes
No
No
Yes
Overrun error
processing
(Synchronous Mode)
[4]
[1]
[2]
[3]
[4]
Read the serial status register (SSR) and
check that bit TDRE is set to 1, then write
transmit data to the transmit data register
(TDR). When data is written to TDR, bit
TDRE is cleared to 0 automatically.
Read SSR and check that bit RDRF is set
to 1. If it is, read the receive data in RDR.
When the RDR data is read, bit RDRF is
cleared to 0 automatically.
When continuing data transmission/reception,
finish reading of bit RDRF and RDR before
receiving the MSB (bit 7) of the current frame.
Before receiving the MSB (bit 7) of the current
frame, also read TDRE = 1 to confirm that a
write can be performed, then write data to TDR.
When data is written to TDR, bit TDRE is cleared
to 0 automatically, and when the data in RDR is
read, bit RDRF is cleared to 0 automatically.
If an overrun error has occurred, read bit OER
in SSR, and after carrying out the necessary
error processing, clear bit OER to 0. Transmis-
sion and reception cannot be resumed if bit
OER is set to 1.
See figure 10.13 for details on overrun error
processing.
Section 10 Serial Communication Interface
Rev. 8.00 Mar. 09, 2010 Page 377 of 658
REJ09B0042-0800

Related parts for US38024-BAG1