
MPC5566 Microcontroller Reference Manual, Rev. 2
22-20
Freescale Semiconductor
,” for more details.
NOTE
A read clears BIT1ERR, BIT0ERR, ACKERR, CRCERR, FRMERR, and
STFERR, therefore these bits must not be read speculatively. For future
compatibility, the TLB entry covering the CAN
x
_ESR must be configured
to be guarded.
Address: Base + 0x0020
Access: User R/W
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
TWRN
INT
RWRN
INT
W
w1c
w1c
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R BIT1
ERR
BIT0
ERR
ACK
ERR
CRC
ERR
FRM
ERR
STF
ERR
TX
WRN
RX
WRN
IDLE TXRX
FLTCONF
0
BOFF
INT
ERR
INT
0
W
w1c
w1c
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 22-9. Error and Status Register (CAN
x
_ESR)
Table 22-12. CAN
x
_ESR Field Descriptions
Field
Description
0–13
Reserved.
14
TWRNINT
If the WRNEN bit in CAN
x
_MCR is asserted, the TWRNINT bit is set when the TXWRN flag transitions
from 0 to 1, meaning that the TX error counter reached 96. If the corresponding mask bit in the
Control Register (TWRNMSK) is set, an interrupt is generated to the CPU. This bit is cleared by
writing to 1. Writing 0 has no effect.
0 No such occurrence
1 TXECTR
≥
96
15
RWRNINT
If the WRNEN bit in CAN
x
_MCR is asserted, the RWRNINT bit is set when the RXWRN flag transitions
from 0 to 1, meaning that the RX error counter reached 96. If the corresponding mask bit in the
Control Register (RWRNMSK) is set, an interrupt is generated to the CPU. This bit is cleared by
writing to 1. Writing 0 has no effect.
0 No such occurrence
1 RXECTR
≥
96
16
BIT1ERR
Bit 1 error. Indicates when an inconsistency occurs between the transmitted and the received message in
a bit. A read clears BIT1ERR.
0 No such occurrence
1 At least one bit sent as recessive is received as dominant
Note:
This bit is not set by a transmitter in case of arbitration field or ACK slot, or in case of a node sending
a passive error flag that detects dominant bits.
17
BIT0ERR
Bit 0 error. Indicates when an inconsistency occurs between the transmitted and the received message in
a bit. A read clears BIT0ERR.
0 No such occurrence
1 At least one bit sent as dominant is received as recessive
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...