476
CHAPTER 23 CAN CONTROLLER
23.6.4
Receive and Transmit Error Counters (RTEC)
The receive and transmit error counters indicate the counts for transmission errors and
reception errors defined in the CAN specifications. These registers can only be read.
■
Receive and Transmit Error Counters (RTEC)
Figure 23.6-5 Configuration of the Receive and Transmit Error Counters
■
Receive and Transmit Error Counters (RTEC) Contents
15
b
it
b
it
14
1
3
12
11
10
9
8
Initi
a
l v
a
l
u
e
0 0 0 0 0 0 0 0
B
R
R
R
R
R
R
R R
Addre
ss
:
H
CAN0: 00
3
705
CAN1: 00
3
905
CAN2: 00
3
B05
CAN
3
: 00
3
D05
CAN4: 00
3
F05
H
H
H
H
RTEC (
u
pper)
Initi
a
l v
a
l
u
e
0 0 0 0 0 0 0 0
B
Addre
ss
:
H
CAN0: 00
3
704
CAN1: 00
3
904
CAN2: 00
3
B04
CAN
3
: 00
3
D04
CAN4: 00
3
F04
H
H
H
H
RTEC (lower)
R
R
R
R
R
R
R R
TEC7 TEC6 TEC5 TEC4 TEC
3
TEC2 TEC1 TEC0
REC7 REC6 REC5 REC4 REC
3
REC2 REC1 REC0
7
6
5
4
3
2
1
0
Table 23.6-5 Function of Each Bit of the Receive and Transmit Error Counters (RTEC)
Bit name
Function
bit15 to
bit8
TEC7 to TEC0:
Transmit error
counter bits
These are transmit error counters.
TEC7 to TEC0 values indicate 0 to 7 when the counter value is more than 256, and the
subsequent increment is not counted for counter value. In this case, Bus Off is indicated
for the node status (NS1 and NS0 of control status register CSR = 11
B
).
bit7 to bit0
REC7 to REC0:
Receive error
counter bits
These are receive error counters.
REC7 to REC0 values indicate 0 to 7 when the counter value is more than 256, and the
subsequent increment is not counted for counter value. In this case, Error Passive is
indicated for the node status (NS1 and NS0 of control status register CSR = 10
B
).
Summary of Contents for MB90390 Series
Page 2: ......
Page 4: ......
Page 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Page 18: ...xiv ...
Page 132: ...104 CHAPTER 5 CLOCKS ...
Page 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Page 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Page 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Page 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Page 274: ...246 CHAPTER 15 WATCH TIMER ...
Page 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Page 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Page 364: ...336 CHAPTER 19 UART0 UART1 ...
Page 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Page 432: ...404 CHAPTER 20 UART2 UART3 ...
Page 482: ...454 CHAPTER 22 SERIAL I O ...
Page 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Page 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Page 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Page 722: ...694 APPENDIX ...
Page 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Page 740: ......