
CANx_ESR1 field descriptions (continued)
Field
Description
6
TX
FlexCAN In Transmission
This bit indicates if FlexCAN is transmitting a message. See the table in the overall CAN_ESR1 register
description.
0
FlexCAN is not transmitting a message.
1
FlexCAN is transmitting a message.
5–4
FLTCONF
Fault Confinement State
This 2-bit field indicates the Confinement State of the FlexCAN module.
If the LOM bit in the Control Register 1 is asserted, after some delay that depends on the CAN bit timing
the FLTCONF field will indicate “Error Passive”. The very same delay affects the way how FLTCONF
reflects an update to CAN_ECR register by the CPU. It may be necessary 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, FLTCONF reports "Error Passive".
00
Error Active
01
Error Passive
1x
Bus Off
3
RX
FlexCAN In Reception
This bit indicates if FlexCAN is receiving a message. See the table in the overall CAN_ESR1 register
description.
0
FlexCAN is not receiving a message.
1
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
(CAN_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.
0
No such occurrence.
1
FlexCAN module entered Bus Off state.
1
ERRINT
Error Interrupt
This bit indicates that at least one of the Error Bits (BIT1ERR, BIT0ERR, ACKERR. CRCERR, FRMERR
or STFERR) is set. If the corresponding mask bit CAN_CTRL1[ERRMSK] 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
Indicates setting of any Error Bit in the Error and Status Register.
0
WAKINT
Wake-Up Interrupt
This field applies when FlexCAN is in low-power mode under Self Wake Up mechanism:
• Doze mode
• Stop mode
When a recessive-to-dominant transition is detected on the CAN bus and if the CAN_MCR[WAKMSK] bit
is set, an interrupt is generated to the CPU. This bit is cleared by writing it to 1.
When CAN_MCR[SLFWAK] is negated, this flag is masked. The CPU must clear this flag before disabling
the bit. Otherwise it will be set when the SLFWAK is set again. Writing 0 has no effect.
Table continues on the next page...
Chapter 43 Flex Controller Area Network (FlexCAN)
KV4x Reference Manual, Rev. 2, 02/2015
Freescale Semiconductor, Inc.
Preliminary
1107
Summary of Contents for freescale KV4 Series
Page 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Page 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Page 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Page 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Page 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...