13
(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.
Figure 13.7.3 Procedure for Reading Out Received Data when Set for Remote Frame Transmission
Reading out received data
Clear the TRFIN bit to 0
Read out from the message slot
Read the CAN Message Slot
Control Register
NO
TRFIN bit = 0
YES
Finished reading out
received data
13-90
CAN MODULE
13.7 Transmitting Remote Frames
Write H'AE or H'00
32180 Group User's Manual (Rev.1.0)