English
Language : 

R8C32A Datasheet, PDF (374/603 Pages) Renesas Technology Corp – MCU M16C FAMILY / R8C/Tiny SERIES
Under development Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/32A Group
22. Serial Interface (UART2)
22.6.1 Multiprocessor Transmission
Figure 22.19 shows a Sample Flowchart of Multiprocessor Data Transmission. Set the MPBT bit in the U2TB
register to 1 for ID transmission cycles. Set the MPBT bit in the U2TB register to 0 for data transmission cycles.
Other operations are the same as in universal asynchronous receiver/transmitter mode (UART mode).
Start
(1) Read the TI bit in the U2C1 register
No
TI = 1?
Yes
Set the MPBT bit in the U2TB register
Write transmit data to
the U2TB register
Read the TXEPT bit
in the U2C0 register
No
(2)
TXEPT = 1?
Yes
(3)
Continue
Yes
data transmission?
No
Set the TE bit
in the U2C1 register to 0
End
(1) Read the U2C1 register to confirm that the TI bit is
set to 1. Then set the MPBT bit in the U2TB register
to 0 or 1 and write transmit data to the U2TB
register.
Writing data to the U2TB register sets the TI bit to 0
automatically.
(2) When transmission completes, the TXEPT bit is set
to 1 automatically.
(3) To continue data transmission, read that the TI bit is 1
and write data tot the U2TB register. Writing data to
the U2TB register sets the TI bit to 0 automatically.
Figure 22.19 Sample Flowchart of Multiprocessor Data Transmission
REJ09B0458-0010 Rev.0.10 Apr 01, 2008
Page 346 of 572