Reception Procedure - Renesas RZ/A Series User Manual

Hide thumbs Also See for RZ/A Series:
Table of Contents

Advertisement

RZ/A1L Group, RZ/A1LU Group, RZ/A1LC Group
21.10.2

Reception Procedure

21.10.2.1 Receive Buffer Reading Procedure
When the processing to store received messages in a receive buffer starts, the RMNSq flag in the
RSCAN0RMNDy register (y = 0, q = 0 to 31) is set to 1 (receive buffer q contains a new message).
Messages can be read from the RSCAN0RMIDq, RSCAN0RMPTRq, RSCAN0RMDF0q, and
RSCAN0RMDF1q registers. If the next message has been received before the current message is read
from the receive buffer, the message is overwritten. Figure 21.22 shows the receive buffer reading
procedure.
Figure 21.22
R01UH0437EJ0600 Rev.6.00
Jan 29, 2021
Has a new message been received?
(Is the RMNSq flag in
the RSCAN0RMNDy register 1?)
Set the RMNSq flag in the RSCAN0RMNDy register to 0.
Read a message from the RSCAN0RMIDq,
RSCAN0RMPTRq, RSCAN0RMDF0q and
RSCAN0RMDF1q registers.
Are all RMNSq flags in
the RSCAN0RMNDy register 0?
y = 0
q = 0 to 31
Receive Buffer Reading Procedure
Start
Yes
Yes
End
21. CAN Interface
No
No
21-148

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/a1 seriesRz/a1lu seriesRz/a1lc series

Table of Contents