CANx_MCR field descriptions (continued)
Field
Description
This bit configures the FlexCAN to be either in Supervisor or User mode. The registers affected by this bit
are marked as S/U in the Access Type column of the module memory map. Reset value of this bit is 1, so
the affected registers start with Supervisor access allowance only. This bit can be written only in Freeze
mode because it is blocked by hardware in other modes.
0
FlexCAN is in User mode. Affected registers allow both Supervisor and Unrestricted accesses.
1
FlexCAN is in Supervisor mode. Affected registers allow only Supervisor access. Unrestricted access
behaves as though the access was done to an unimplemented register location.
22
SLFWAK
Self Wake Up
This bit enables the Self Wake Up feature when FlexCAN is in a low-power mode other than Disable
mode. When this feature is enabled, the FlexCAN module monitors the bus for wake up event, that is, a
recessive-to-dominant transition.
If a wake up event is detected during Doze mode, FlexCAN requests to resume its clocks and, if enabled
to do so, generates a Wake Up interrupt to the CPU.
If a wake up event is detected during Stop mode, then FlexCAN generates, if enabled to do so, a Wake
Up interrupt to the CPU so that it can exit Stop mode globally and FlexCAN can request to resume the
clocks.
When FlexCAN is in a low-power mode other than Disable mode, this bit cannot be written as it is blocked
by hardware.
0
FlexCAN Self Wake Up feature is disabled.
1
FlexCAN Self Wake Up feature is enabled.
21
WRNEN
Warning Interrupt Enable
When asserted, this bit enables the generation of the TWRNINT and RWRNINT flags in the Error and
Status Register 1 (ESR1). If WRNEN is negated, the TWRNINT and RWRNINT flags will always be zero,
independent of the values of the error counters, and no warning interrupt will ever be generated. This bit
can be written in Freeze mode only because it is blocked by hardware in other modes.
0
TWRNINT and RWRNINT bits are zero, independent of the values in the error counters.
1
TWRNINT and RWRNINT bits are set when the respective error counter transitions from less than 96
to greater than or equal to 96.
20
LPMACK
Low-Power Mode Acknowledge
This read-only bit indicates that FlexCAN is in a low-power mode (Disable mode, Doze mode, Stop mode).
A low-power mode cannot be entered until all current transmission or reception processes have finished,
so the CPU can poll the LPMACK bit to know when FlexCAN has actually entered low power mode. This
bit is not affected by soft reset.
NOTE: LPMACK will be asserted within 180 CAN bits from the low-power mode request by the CPU, and
negated within 2 CAN bits after the low-power mode request removal (see Section "Protocol
Timing").
0
FlexCAN is not in a low-power mode.
1
FlexCAN is in a low-power mode.
19
WAKSRC
Wake Up Source
This bit defines whether the integrated low-pass filter is applied to protect the Rx CAN input from spurious
wake up. This bit can be written only in Freeze mode because it is blocked by hardware in other modes.
0
FlexCAN uses the unfiltered Rx input to detect recessive to dominant edges on the CAN bus.
1
FlexCAN uses the filtered Rx input to detect recessive to dominant edges on the CAN bus.
Table continues on the next page...
Memory map/register definition
KV4x Reference Manual, Rev. 2, 02/2015
1090
Preliminary
Freescale Semiconductor, Inc.
Содержание freescale KV4 Series
Страница 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Страница 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Страница 82: ...JTAG Controller Configuration KV4x Reference Manual Rev 2 02 2015 82 Preliminary Freescale Semiconductor Inc...
Страница 88: ...System Register file KV4x Reference Manual Rev 2 02 2015 88 Preliminary Freescale Semiconductor Inc...
Страница 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Страница 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Страница 150: ...Pinout diagrams KV4x Reference Manual Rev 2 02 2015 150 Preliminary Freescale Semiconductor Inc...
Страница 170: ...Functional description KV4x Reference Manual Rev 2 02 2015 170 Preliminary Freescale Semiconductor Inc...
Страница 212: ...Functional description KV4x Reference Manual Rev 2 02 2015 212 Preliminary Freescale Semiconductor Inc...
Страница 284: ...Functional description KV4x Reference Manual Rev 2 02 2015 284 Preliminary Freescale Semiconductor Inc...
Страница 294: ...Functional description KV4x Reference Manual Rev 2 02 2015 294 Preliminary Freescale Semiconductor Inc...
Страница 330: ...Functional description KV4x Reference Manual Rev 2 02 2015 330 Preliminary Freescale Semiconductor Inc...
Страница 450: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 450 Preliminary Freescale Semiconductor Inc...
Страница 512: ...Interrupts and DMA Requests KV4x Reference Manual Rev 2 02 2015 512 Preliminary Freescale Semiconductor Inc...
Страница 520: ...Memory Map and Register Descriptions KV4x Reference Manual Rev 2 02 2015 520 Preliminary Freescale Semiconductor Inc...
Страница 580: ...Initialization Application information KV4x Reference Manual Rev 2 02 2015 580 Preliminary Freescale Semiconductor Inc...
Страница 660: ...Functional description KV4x Reference Manual Rev 2 02 2015 660 Preliminary Freescale Semiconductor Inc...
Страница 1038: ...Example configuration for chained timers KV4x Reference Manual Rev 2 02 2015 1038 Preliminary Freescale Semiconductor Inc...
Страница 1074: ...Functional description KV4x Reference Manual Rev 2 02 2015 1074 Preliminary Freescale Semiconductor Inc...
Страница 1168: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1168 Preliminary Freescale Semiconductor Inc...
Страница 1264: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1264 Preliminary Freescale Semiconductor Inc...
Страница 1336: ...Functional description KV4x Reference Manual Rev 2 02 2015 1336 Preliminary Freescale Semiconductor Inc...
Страница 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...