Remote Frame Transmit Operation - Renesas M32R/ECU Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

13
Figure 13.7.1 Remote Frame Transmit Procedure

13.7.2 Remote Frame Transmit Operation

The following describes remote frame transmit operation. The operations described below are automatically
performed in hardware.
(1) Setting the RA (Remote Active) bit
The RA (Remote Active) bit is set to "1" at the same time H'A0 (Transmit Request, Remote) is written to the
CAN Message Slot Control Register, indicating that the corresponding slot is to handle remote frames.
(2) Selecting a transmit frame
The CAN module checks slots which have transmit requests (including data frame transmit slots) every
intermission to determine the frame to transmit. If two or more transmit slots exist, frames are transmitted in
order of slot numbers beginning with the smallest.
(3) Transmitting a remote frame
After determining the transmit slot, the CAN module sets the corresponding CAN Message Slot Control
Register's TRSTAT (Transmit/Receive Status) bit to "1" and starts transmitting.
Remote frame
transmit procedure
Initialize the CAN Message Slot
Control Register
Read the CAN Message Slot
Control Register
NO
TRSTAT bit = 0
YES
Set ID in the message slot
Set the Extended ID Register
Set the CAN Message Slot
Control Register
End of setting
13.7 Transmitting Remote Frames
Write H'00
Confirm that transmission is idle
Standard ID or extended ID
Write H'A0 (transmit request, remote)
13-87
CAN MODULE
32180 Group User's Manual (Rev.1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents