![](http://datasheet.mmic.net.cn/110000/M32186F8VFP_datasheet_3496152/M32186F8VFP_676.png)
13
CAN MODULE
13-66
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
13.2.9 CAN Cause of Error Registers
CAN0 Cause of Error Register (CAN0EF)
<Address: H’0080 1017>
CAN1 Cause of Error Register (CAN1EF)
<Address: H’0080 1417>
9
10
11
12
13
14
b15
b8
BITE1
BITE0
STFE
FORME CRCE
ACKE
00000000
RCVE
TRE
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
8
TRE
0: Error not detected
R (Note 1)
Transmit error detection bit
1: Transmit error detected
9
RCVE
0: Error not detected
R (Note 1)
Receive error detection bit
1: Receive error detected
10
BITE0
0: No bit error is detected
R (Note 1)
"0" sending bit error detection bit
1: Bit error is detected when sending a "0"
11
BITE1
0: No bit error is detected
R (Note 1)
"1" sending bit error detection bit
1: Bit error is detected when sending a "1"
12
STFE
0: Error not detected
R (Note 1)
Stuff error detection bit
1: Stuff error detected
13
FORME
0: Error not detected
R (Note 1)
Form error detection bit
1: Form error detected
14
CRCE
0: Error not detected
R (Note 1)
CRC error detection bit
1: CRC error detected
15
ACKE
0: Error not detected
R (Note 1)
ACK error detection bit
1: ACK error detected
Note 1: Only writing "0" is effective. Writing "1" has no effect; the bit retains the status it had before the write.
This register indicates error information when a communication error occurred.
Each bit in this register is set every time a communication error is detected, and is not cleared unless a program
writes a "0" to the relevant bit.
(1) TRE (Transmit Error Detection) bit (Bit 8)
This bit is set to "1" when a communication error is detected while operating as a transmit node. The bit is
cleared by writing a "0" in software.
(2) RCVE (Receive Error Detection) bit (Bit 9)
This bit is set to "1" when a communication error is detected while operating as a receive node. The bit is
cleared by writing a "0" in software.
(3) BITE0 ("0" Sending Bit Error Detection) bit (Bit 10)
This bit is set to "1" when a bit error is detected while sending a "0" from CTX. The bit is cleared by writing
a "0" in software.
(4) BITE1 ("1" Sending Bit Error Detection) bit (Bit 11)
This bit is set to "1" when a bit error is detected while sending a "1" from CTX. The bit is cleared by writing
a "0" in software.
13.2 CAN Module Related Registers