EasyManua.ls Logo

Renesas M32R/ECU Series

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13
13-90
32180 Group Users Manual (Rev.1.0)
CAN MODULE
Reading out received data
Clear the TRFIN bit to 0
Read out from the message slot
Finished reading out
received data
Read the CAN Message Slot
Control Register
TRFIN bit = 0
YES
NO
Write H'AE or H'00
Figure 13.7.3 Procedure for Reading Out Received Data when Set for Remote Frame Transmission
13.7 Transmitting Remote Frames
(2) Reading out from the message slot
Read out a message from the message slot.
(3) Checking the TRFIN (Transmit/Receive Finished) bit
Read the CAN Message Slot Control Register to check the TRFIN (Transmit/Receive Finished) bit.
1) If TRFIN (Transmit/Receive Finished) bit = "1"
It means that new data was stored in the slot while still reading out a message from it in (2) above. In this
case, the data read out in (2) may contain an undefined value. Therefore, reexecute the above
procedure beginning with clearing of the TRFIN (Transmit/Receive Finished) bit in (1).
2) If TRFIN (Transmit/Receive Finished) bit = "0"
It means that the CAN module finished reading out from the slot normally.

Table of Contents

Related product manuals