![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 556](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898556.webp)
Chapter 22 FlexCAN
MPC5602P Microcontroller Reference Manual, Rev. 4
556
Freescale Semiconductor
Table 22-18. Error and Status Register (ESR) field description
Field
Description
14
TWRN_INT
Tx Warning Interrupt Flag
If the WRN_EN bit in MCR is asserted, the TWRN_INT bit is set when the TX_WRN flag transition
from 0 to 1, meaning that the Tx error counter reached 96. If the corresponding mask bit in the
Control Register (TWRN_MSK) is set, an interrupt is generated to the CPU. This bit is cleared by
writing it to 1. Writing 0 has no effect.
0 No such occurrence.
1 The Tx error counter transitioned from < 96 to
96.
15
RWRN_INT
Rx Warning Interrupt Flag
If the WRN_EN bit in MCR is asserted, the RWRN_INT bit is set when the RX_WRN flag transition
from 0 to 1, meaning that the Rx error counters reached 96. If the corresponding mask bit in the
Control Register (RWRN_MSK) is set, an interrupt is generated to the CPU. This bit is cleared by
writing it to 1. Writing 0 has no effect.
0 No such occurrence.
1 The Rx error counter transitioned from < 96 to
96.
16
BIT1_ERR
Bit1 Error
This bit indicates when an inconsistency occurs between the transmitted and the received bit in a
message.
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
BIT0_ERR
Bit0 Error
This bit indicates when an inconsistency occurs between the transmitted and the received bit in a
message.
0 No such occurrence.
1 At least one bit sent as dominant is received as recessive.
18
ACK_ERR
Acknowledge Error
This bit 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.
0 No such occurrence.
1 An ACK error occurred since last read of this register
19
CRC_ERR
Cyclic Redundancy Check Error
This bit indicates that a CRC Error has been detected by the receiver node, that is, the calculated
CRC is different from the received.
0 No such occurrence.
1 A CRC error occurred since last read of this register.
20
FRM_ERR
Form Error
This bit 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.
0 No such occurrence.
1 A Form Error occurred since last read of this register.
21
STF_ERR
Stuffing Error
This bit indicates that a Stuffing Error has been detected.
0 No such occurrence.
1 A Stuffing Error occurred since last read of this register.