Can Message Control Registers 00 To 31 (M_Ctrl00 To M_Ctrl31) - NEC Renesas V850/SC1 User Manual

32-bit single-chip microcontrollers
Hide thumbs Also See for Renesas V850/SC1:
Table of Contents

Advertisement

19.5.2

CAN message control registers 00 to 31 (M_CTRL00 to M_CTRL31)

The M_CTRLn register is used to control operation of CAN message buffer n (n = 00 to 31).
These registers can be read/written in 8-bit units.
After reset: Undefined
7
M_CTRLn
RMDE1
(n = 00 to 31)
RMDE1
0
1
• When the RMDE1 bit is set, the setting of the RMDE0 bit is irrelevant.
• If a remote frame is received on the transmit message buffer when the RMDE1 and
RMDE0 bits have not been set (1), the CPU is not notified, nor are other operations
performed.
RMDE0
0
1
• The RMDE0 bit's setting is used only for transmit message buffers.
• When the RTR bit has been set (1) (when the receive message or transmit message has
a remote frame), the RMDE0 bit is processed as RMDE0 = 0. This prevents transmission
of the same remote frame during remote frame reception. If the same remote frame is
transmitted under the worst conditions, the bus load reaches 100%.
ATS
0
1
• The ATS bit is used only for transmit messages.
• When the ATS bit has been set (1) and the data length code specifies at least two bytes,
the last two bytes are replaced by a time stamp (see Table 19-12). The added time
stamp counter value is sent to the bus via the message's SOF. When this occurs, the last
two bytes (which are defined as a data field) are ignored.
Notes 1. RFU (Reserved for Future Use) indicates a reserved bit. Always set this bit to 0
Remark DN: Bit 2 of M_STATm (see 19.5.7 CAN message status registers 00 to 31
CHAPTER 19
FCAN CONTROLLER (V850/SC3)
R/W
Address: See Table 19-4
6
5
RMDE0
ATS
Specifies operation of DN flag when remote frame is received on a transmit
DN flag not set (1) when remote frame is received
DN flag set (1) when remote frame is received
Specification of set/clear status of remote frame auto acknowledge function
Remote frame auto acknowledge function cleared
Remote frame auto acknowledge function set
Specifies whether or not to add a time stamp when transmitting
Time stamp not added when transmitting
Time stamp added when transmitting
when writing.
2. The value of the r1 bit on the CAN bus is set during reception.
3. The value of the r0 bit on the CAN bus is set during reception.
(M_STAT00 to M_STAT31).)
User's Manual U15109EJ3V0UD
4
3
2
Notes1, 2
IE
MOVR
RFU
message buffer
(1/2)
1
0
Notes1, 3
RFU
RTR
577

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents