Information
The complete memory map for a FlexCAN module is shown in the following table.
The address space occupied by FlexCAN has 128 bytes for registers starting at the
module base address, followed by embedded RAM starting at address 0x0080.
Each individual register is identified by its complete name and the corresponding
mnemonic. The access type can be Supervisor (S) or Unrestricted (U). Most of the
registers can be configured to have either Supervisor or Unrestricted access by
programming the SUPV bit in the MCR Register. These registers are identified as S/U in
the Access column of Table 45-2.
The registers IFLAG2 and IMASK2 are considered reserved space depending on the
number of Mailboxes available in the device.
Table 45-2. Module Memory Map
Register Access Type
Affected by
Hard Reset
Affected by
Soft Reset
Module Configuration Register (MCR) S Yes Yes
Control 1 Register (CTRL1) S/U Yes No
Free Running Timer Register (TIMER) S/U Yes Yes
Rx Mailboxes Global Mask Register (RXMGMASK) S/U No No
Rx Buffer 14 Mask Register (RX14MASK) S/U No No
Rx Buffer 15 Mask Register (RX15MASK) S/U No No
Error Counter Register (ECR) S/U Yes Yes
Error and Status 1 Register (ESR1) S/U Yes Yes
Interrupt Masks 2 Register (IMASK2) S/U Yes Yes
Interrupt Masks 1 Register (IMASK1) S/U Yes Yes
Interrupt Flags 2 Register (IFLAG2) S/U Yes Yes
Interrupt Flags 1 Register (IFLAG1) S/U Yes Yes
Control 2 Register (CTRL2) S/U Yes No
Error and Status 2 Register (ESR2) S/U Yes Yes
Individual Matching Elements Update Register (IMUER) S/U Yes Yes
Lost Rx Frames Register (LRFR) S/U Yes Yes
CRC Register (CRCR) S/U Yes Yes
Rx FIFO Global Mask Register (RXFGMASK) S/U No No
Rx FIFO Information Register (RXFIR) S/U No No
Message Buffers S/U No No
Rx Individual Mask Registers S/U No No
Chapter 45 CAN (FlexCAN)
K20 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc. 1125
