Field
Function
STFERR
This bit indicates that a stuffing error has been detected in a non-FD message or else in an FD
message's arbitration or data phase by the receiver node.
This bit is updated when FlexCAN returns to Normal mode from Pretended Network mode.
0b - No such occurrence.
1b - A stuffing error occurred since last read of this register.
9
TXWRN
TX Error Warning
This bit indicates when repetitive errors are occurring during message transmission and is affected by the
value of TXERRCNT in ECR register only. This bit is not updated during Freeze mode.
0b - No such occurrence.
1b - TXERRCNT is greater than or equal to 96.
8
RXWRN
Rx Error Warning
This bit indicates when repetitive errors are occurring during message reception and is affected by the
value of RXERRCNT in ECR register only. This bit is not updated during Freeze mode.
Additionally, it is updated when FlexCAN returns to Normal mode from Pretended Networking mode.
0b - No such occurrence.
1b - RXERRCNT is greater than or equal to 96.
7
IDLE
IDLE
This bit indicates when CAN bus is in IDLE state. See the table in the overall ESR1 register description.
0b - No such occurrence.
1b - CAN bus is now IDLE.
6
TX
FlexCAN In Transmission
This bit indicates if FlexCAN is transmitting a message. See the table in the overall ESR1 register
description.
0b - FlexCAN is not transmitting a message.
1b - FlexCAN is transmitting a message.
5-4
FLTCONF
Fault Confinement State
This 2-bit field indicates the confinement state of the FlexCAN module.
If CTRL1[LOM] is asserted, after a delay that depends on the CAN bit timing, ESR1[FLTCONF] will
indicate Error Passive. The very same delay affects the way that ESR1[FLTCONF] reflects an update to
ECR register by the CPU. It may be necessary to wait up to one CAN bit time to get them coherent again.
This bit field is affected by soft reset, but if the LOM bit is asserted, its reset value lasts just one CAN bit.
After this time, ESR1[FLTCONF] reports Error Passive.
00b - Error Active
01b - Error Passive
1xb - Bus Off
3
RX
FlexCAN In Reception
This bit indicates if FlexCAN is receiving a message. See the table in the overall ESR1 register
description.
0b - FlexCAN is not receiving a message.
1b - FlexCAN is receiving a message.
2
BOFFINT
Bus Off Interrupt
This bit is set when FlexCAN enters Bus Off state. If the corresponding mask bit in the Control Register 1
(CTRL1[BOFFMSK]) is set, an interrupt is generated to the CPU. This bit is cleared by writing it to 1.
Writing 0 has no effect.
0b - No such occurrence.
Table continues on the next page...
Chapter 49 FlexCAN
MWCT101xS Series Reference Manual, Rev. 3, 07/2019
NXP Semiconductors
1597
Содержание MWCT101 S Series
Страница 2: ...MWCT101xS Series Reference Manual Rev 3 07 2019 2 NXP Semiconductors...
Страница 42: ...MWCT101xS Series Reference Manual Rev 3 07 2019 42 NXP Semiconductors...
Страница 50: ...Conventions MWCT101xS Series Reference Manual Rev 3 07 2019 50 NXP Semiconductors...
Страница 70: ...Aliased bit band regions MWCT101xS Series Reference Manual Rev 3 07 2019 70 NXP Semiconductors...
Страница 78: ...Pinout diagrams MWCT101xS Series Reference Manual Rev 3 07 2019 78 NXP Semiconductors...
Страница 96: ...WCT101xS safety concept MWCT101xS Series Reference Manual Rev 3 07 2019 96 NXP Semiconductors...
Страница 130: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 130 NXP Semiconductors...
Страница 200: ...Initialization application information MWCT101xS Series Reference Manual Rev 3 07 2019 200 NXP Semiconductors...
Страница 284: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 284 NXP Semiconductors...
Страница 430: ...Functional Description MWCT101xS Series Reference Manual Rev 3 07 2019 430 NXP Semiconductors...
Страница 472: ...Application Information MWCT101xS Series Reference Manual Rev 3 07 2019 472 NXP Semiconductors...
Страница 508: ...Reset memory map and register descriptions MWCT101xS Series Reference Manual Rev 3 07 2019 508 NXP Semiconductors...
Страница 528: ...Module clocks MWCT101xS Series Reference Manual Rev 3 07 2019 528 NXP Semiconductors...
Страница 634: ...SRAM configuration MWCT101xS Series Reference Manual Rev 3 07 2019 634 NXP Semiconductors...
Страница 696: ...Initialization and application information MWCT101xS Series Reference Manual Rev 3 07 2019 696 NXP Semiconductors...
Страница 818: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 818 NXP Semiconductors...
Страница 960: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 960 NXP Semiconductors...
Страница 970: ...Memory Map and Register Definition MWCT101xS Series Reference Manual Rev 3 07 2019 970 NXP Semiconductors...
Страница 992: ...ADC calibration scheme MWCT101xS Series Reference Manual Rev 3 07 2019 992 NXP Semiconductors...
Страница 1118: ...Application information MWCT101xS Series Reference Manual Rev 3 07 2019 1118 NXP Semiconductors...
Страница 1294: ...Initialization Procedure MWCT101xS Series Reference Manual Rev 3 07 2019 1294 NXP Semiconductors...
Страница 1348: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1348 NXP Semiconductors...
Страница 1366: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1366 NXP Semiconductors...
Страница 1514: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1514 NXP Semiconductors...
Страница 1726: ...Debug and security MWCT101xS Series Reference Manual Rev 3 07 2019 1726 NXP Semiconductors...
Страница 1740: ...Initialization application information MWCT101xS Series Reference Manual Rev 3 07 2019 1740 NXP Semiconductors...
Страница 1760: ...MWCT101xS Series Reference Manual Rev 3 07 2019 1760 NXP Semiconductors...