Mitsubishi Electric M32R Series User Manual page 650

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

Advertisement

13
(3) RM (Remote) bit (D2)
To handle remote frames in the message slot, set this bit to 1. The message slot may be set to
handle remote frames in following two ways:
• Set for remote frame transmission
The data set in the message slot is transmitted as a remote frame. When the CAN module
finished transmitting, the slot is automatically changed to a data frame receive slot. However,
if a data frame is received before the CAN module finished sending a remote frame, the data is
stored in the message slot and the remote frame is not transmitted.
• Set for remote frame reception
Remote frames are received. The processing to be performed after receiving a remote frame
is selected by RL (automatic response inhibit) bit.
(4) RL (Automatic Response Inhibit) bit (D3)
This bit is effective when the message slot has been set as a remote frame receive slot. It selects
the processing to be performed after receiving a remote frame. When this bit is set to 0, the
message slot automatically changes to a transmit slot after receiving a remote frame and
transmits the data set in it as a data frame. When this bit is set to 1, the message slot stops
operating after receiving a remote frame.
Note: Always set this bit to 0 unless the message slot is set for remote frame reception.
(5) RA (Remote Active) bit (D4)
This bit functions differently for slots 0-13 and slots 14 and 15.
• Slots 0-13
This bit is set to 1 when the message slot is set for remote frame transmission (reception).
Then it is cleared to 0 when remote frame transmission (reception) is completed.
• Slots 14, 15
The function of this bit differs depending on how the CAN Control Register's BCM (BasicCAN
mode) bit is set. If BCM = 0 (normal operation), this bit is set to 1 when the message slot is set
for remote frame transmission (reception). If BCM = 1 (BasicCAN), this bit shows which type of
frame is received. In BasicCAN mode, the received data is stored in slots 14 and 15 for both
data frame and remote frame. If RA = 0, it means that the frame stored in the slot is a data
frame; if RA = 1, it means that the frame stored in the slot is a remote frame.
13.2 CAN Module Related Registers
13-36
CAN MODULE
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents