r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 473

no-image

r5f21368sdfp

Manufacturer Part Number
r5f21368sdfp
Description
Renesas Mcu R8c Family / R8c/3xt-a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21368sdfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Under development
R8C/36T-A Group
R01UH0240EJ0001 Rev.0.01
Apr 28, 2011
Figure 20.27
20.3.4.2
Figure 20.27 shows a Flowchart of Multiprocessor Data Reception. When the MPIE bit in the U2SMR5 register
is set to 1, communication data is ignored until data in which the multiprocessor bit is 1 is received.
Communication data with a 1 multiprocessor bit added is transferred to the U2RB register as receive data. At
this time, a reception complete interrupt request is generated. Other operations are the same as in universal
asynchronous receiver/transmitter mode (UART mode). Figure 20.28 shows a Receive Operation Example
during Multiprocessor Communication (with 8-Bit Data/Multiprocessor Bit/One-Stop Bit).
(1)
(2)
(3)
(4)
(5)
Check the RI bit in the U2C1 register
Check the RI bit in the U2C1 register
in the U2SMR5 register to 1
in the receive shift register
in the U2C1 register to 0
Preliminary document
Specifications in this document are tentative and subject to change.
Multiprocessor Reception
Flowchart of Multiprocessor Data Reception
in the U2RB register
Read receive data
Set the MPIE bit
data reception?
Own station ID?
Set the RE bit
Check data
Continue
RI = 1?
RI = 1?
Start
End
YES
YES
YES
NO
YES
NO
NO
NO
(1) Set the MPIE bit in the U2SMR5 register to 1.
(2) When the MPRB bit is detected to be 1, the MPIE bit
(3) When the data matches its own station ID, the next
(4) Check that the RI bit in the U2C1 register is 1. Then
(5) To stop reception, set the RE bit in the U2C0 register
is set to 0 and a reception complete interrupt request
is generated. Check that the RI bit in the U2C1
register is set to 1. If the RI bit is 1, read bits D0 to
D7 in the U2RB register and compare with its own
station ID. Reading data in the U2RB register sets
the RI bit to 0 automatically.
data reception starts. When the data does not match
the ID, return to the process in step (1).
read data in the U2RB register.
to 0. To continue reception, restart the procedure
from step (1).
20. Serial Interface (UART2)
Page 442 of 725

Related parts for r5f21368sdfp