Can Cause Of Error Registers - Renesas M32R/ECU Series User Manual

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

Advertisement

13

13.2.9 CAN Cause of Error Registers

CAN0 Cause of Error Register (CAN0EF)
CAN1 Cause of Error Register (CAN1EF)
b0
1
2
ETR
0
0
0
b
Bit Name
0–1
No function assigned. Fix to "0".
2
ETR
Transmit/receive error judgment bit
3
BITE
Bit error detection bit
4
STFE
Stuff error detection bit
5
FORME
Form error detection bit
6
CRCE
CRC error detection bit
7
ACKE
ACK error detection bit
This register indicates error information when a communication error occurred.
(1) ETR (Transmit/Receive Error Judgement) bit (Bit 2)
This bit is set to "1" if the CAN module was operating as a reception node when a communication error
occurred. The bit is cleared to "0" by a read of this register.
(2) BITE (Bit Error Detection) bit (Bit 3)
This bit is set to "1" when a bit error was detected. The bit is cleared to "0" by a read of this register.
(3) STFE (Stuff Error Detection) bit (Bit 4)
This bit is set to "1" when a stuff error was detected. The bit is cleared to "0" by a read of this register.
(4) FORME (Form Error Detection) bit (Bit 5)
This bit is set to "1" when a form error was detected. The bit is cleared to "0" by a read of this register.
(5) CRCE (CRC Error Detection) bit (Bit 6)
This bit is set to "1" when a CRC error was detected. The bit is cleared to "0" by a read of this register.
(6) ACKE (ACK Error Detection) bit (Bit 7)
This bit is set to "1" when an ACK error was detected. The bit is cleared to "0" by a read of this register.
Note: • Depending on the error status, two or more bits may be set at the same time.
3
4
5
6
BITE
STFE FORME CRCE
0
0
0
0
13.2 CAN Module Related Registers
b7
ACKE
0
Function
0: Error detected when sending
1: Error detected when receiving
0: Bit error not detected
1: Bit error detected
0: Stuff error not detected
1: Stuff error detected
0: Form error not detected
1: Form error detected
0: CRC error not detected
1: CRC error detected
0: ACK error not detected
1: ACK error detected
13-45
CAN MODULE
<Address: H'0080 1017>
<Address: H'0080 1417>
<After reset: H'00>
R
0
R
R
R
R
R
R
32180 Group User's Manual (Rev.1.0)
W
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents