Preface
MPC5565 Microcontroller Reference Manual, Rev. 1.0
21-20
Freescale Semiconductor
Table 21-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
18
ACKERR
Acknowledge error. Indicates that an acknowledge error has been detected by the transmitter node; that
is, a dominant bit has not been detected during the ACK SLOT. A read clears ACKERR.
0 No such occurrence
1 An ACK error occurred since last read of this register
19
CRCERR
Cyclic redundancy code error. Indicates that a CRC error has been detected by the receiver node; that is,
the calculated CRC is different from the received. A read clears CRCERR.
0 No such occurrence
1 A CRC error occurred since last read of this register.
20
FRMERR
Form error. Indicates that a form error has been detected by the receiver node; that is, a fixed-form bit field
contains at least one illegal bit. A read clears FRMERR.
0 No such occurrence
1 A form error occurred since last read of this register
21
STFERR
Stuffing error. Indicates that a stuffing error has been detected. A read clears STFERR.
0 No such occurrence.
1 A stuffing error occurred since last read of this register.
22
TXWRN
TX error counter. This status bit indicates that repetitive errors are occurring during message transmission.
0 No such occurrence
1 TXECTR
≥
96
23
RXWRN
RX error counter. This status bit indicates when repetitive errors are occurring during messages reception.
0 No such occurrence
1 RXECTR
≥
96
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...