50.4.9 Error and Status 1 register (CANx_ESR1)
This register reports various error conditions detected in the reception and transmission of
a CAN frame, some general status of the device and it is the source of some interrupts to
the CPU.
The reported error conditions are BIT1ERR, BIT0ERR, ACKKERR, CRCERR,
FRMERR and STFERR.
An error detected in a single CAN frame may be reported by one or more error flags.
Also, error reporting is cummulative in case more error events happen in the next frames
while the CPU does not attempt to read this register.
TXWRN, RXWRN, IDLE, TX, FLTCONF, RX and SYNCH are status bits.
BOFFINT, BOFFDONEINT, ERRINT, WAKINT, TWRNINT and RWRNINT are
interrupt bits. It is recommended that CPU use the following procedure when servicing
interrupt requests generated by these bits:
• Read this register to capture all error condition and status bits. This action clear the
respective bits that were set since the last read access.
• Write 1 to clear the interrupt bit that has triggered the interrupt request.
• Write 1 to clear the ERR_OVR bit if it is set.
Starting from all error flags cleared, a first error event sets the ERRINT (provided the
corresponding mask bit is asserted). If other error events in subsequent frames happen
before the CPU to serve the interrupt request, the ERR_OVR bit is set to indicate that
errors from different frames had accumulated.
SYNCH
IDLE
TX
RX
FlexCAN State
0
0
0
0
Not synchronized to
CAN bus
1
1
x
x
Idle
1
0
1
0
Transmitting
1
0
0
1
Receiving
NOTE
Refer to Fault confinement in the CAN Protocol standard (ISO
11898-1) for details.
Memory map/register definition
Kinetis KE1xF Sub-Family Reference Manual, Rev. 4, 06/2019
1406
NXP Semiconductors
Содержание KE1xF Series
Страница 2: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 2 NXP Semiconductors...
Страница 60: ...SysTick Clock Configuration Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 60 NXP Semiconductors...
Страница 114: ...Initialization application information Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 114 NXP Semiconductors...
Страница 138: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 138 NXP Semiconductors...
Страница 320: ...Private Peripheral Bus PPB memory map Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 320 NXP Semiconductors...
Страница 342: ...Functional Description Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 342 NXP Semiconductors...
Страница 360: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 360 NXP Semiconductors...
Страница 490: ...Interrupts Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 490 NXP Semiconductors...
Страница 550: ...Memory map and register definition Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 550 NXP Semiconductors...
Страница 562: ...Boot Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 562 NXP Semiconductors...
Страница 662: ...Power supply supervisor Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 662 NXP Semiconductors...
Страница 694: ...On chip resource access control mechanism Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 694 NXP Semiconductors...
Страница 706: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 706 NXP Semiconductors...
Страница 724: ...Application Information Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 724 NXP Semiconductors...
Страница 736: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 736 NXP Semiconductors...
Страница 750: ...Debug and Security Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 750 NXP Semiconductors...
Страница 798: ...Functional description Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 798 NXP Semiconductors...
Страница 808: ...Functional description Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 808 NXP Semiconductors...
Страница 866: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 866 NXP Semiconductors...
Страница 1164: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1164 NXP Semiconductors...
Страница 1178: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1178 NXP Semiconductors...
Страница 1380: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1380 NXP Semiconductors...
Страница 1472: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1472 NXP Semiconductors...
Страница 1482: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1482 NXP Semiconductors...