Renesas H8/38024 Hardware Manual page 396

8-bit single-chip microcomputer h8 family/h8/300l super low power series
Hide thumbs Also See for H8/38024:
Table of Contents

Advertisement

Sets bit SPC32 to
1 in SPCR
Read bit TDRE
TDRE = 1?
Set bit MPBT
Write transmit
data to TDR
Continue data
transmission?
Read bit TEND
TEND = 1?
Break output?
Set PDR = 0,
PCR = 1
Clear bit TE to
0 in SCR3
Figure 10.17 Example of Multiprocessor Data Transmission Flowchart
Rev. 6.00, 08/04, page 366 of 628
Start
[1]
in SSR
No
Yes
in SSR
[2]
Yes
No
in SSR
No
Yes
[3]
No
Yes
End
[1]
Read the serial status register (SSR)
and check that bit TDRE is set to 1,
then set bit MPBT in SSR to 0 or 1 and
write transmit data to the transmit data
register (TDR). When data is written to
TDR, bit TDRE is cleared to 0 automatically.
[2]
When continuing data transmission, be
sure to read TDRE = 1 to confirm that a
write can be performed before writing data
to TDR. When data is written to TDR, bit
TDRE is cleared to 0 automatically.
[3]
If a break is to be output when data
transmission ends, set the port PCR to 1
and clear the port PDR to 0, then clear bit
TE in SCR3 to 0.

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/38024f-ztatH8/38124H8/38024s

Table of Contents