FlexCAN
MCF52277 Reference Manual, Rev. 1
23-6
Freescale Semiconductor
NOTE
The FlexCAN has no hard-wired protection against invalid bit/field
programming within its registers. Specifically, no protection is provided if
the programming does not meet CAN protocol requirements.
Programming the FlexCAN control registers is typically done during system initialization, prior to the
FlexCAN becoming synchronized with the CAN bus. The configuration registers can be changed after
synchronization by halting the FlexCAN module. This is done when the user sets the CANMCR[HALT]
bit. The FlexCAN responds by setting the CANMCR[NOTRDY] bit.
23.3.1
FlexCAN Configuration Register (CANMCR)
CANMCR defines global system configurations, such as the module operation mode and maximum
message buffer configuration. Most of the fields in this register can be accessed at any time, except the
MAXMB field, which should only be changed while the module is in freeze mode.
Supervisor/User Access Registers
0xFC02_0004 FlexCAN Control Register
(CANCTRL)
32
Y
N
R/W
0x0000_0000
0xFC02_0008 Free Running Timer (TIMER)
32
Y
Y
R/W
0x0000_0000
0xFC02_0010 Rx Global Mask (RXGMASK)
32
Y
N
R/W
0x1FFF_FFFF
0xFC02_0014 Rx Buffer 14 Mask (RX14MASk)
32
Y
N
R/W
0x1FFF_FFFF
0xFC02_0018 Rx Buffer 15 Mask (RX15MASK)
32
Y
N
R/W
0x1FFF_FFFF
0xFC02_001C Error Counter Register (ERRCNT)
32
Y
Y
R/W
0x0000_0000
0xFC02_0020 Error and Status Register
(ERRSTAT)
32
Y
Y
R/W
0x0000_0000
0xFC02_0028 Interrupt Mask Register (IMASK)
32
Y
Y
R/W
0x0000_0000
0xFC02_0030 Interrupt Flag Register (IFLAG)
32
Y
Y
R/W
0x0000_0000
0xFC02_0080 Message Buffers 0–15 (MB0–15)
2048
N
N
R/W
—
0xFC02_0880 Rx Individual Mask Registers
(RXIMR0–15)
2048
N
N
R/W
—
Table 23-1. FlexCAN Memory Map (continued)
Address
Register
Width
(bits)
Affected
by Hard
Reset
Affected
by Soft
Reset
Access
Reset Value
Section/Page
FlexCAN
Summary of Contents for MCF52277
Page 22: ...MCF52277 Reference Manual Rev 1 Freescale Semiconductor xxii...
Page 32: ...MCF52277 Reference Manual Rev 0 xxxii Freescale Semiconductor...
Page 60: ...Signal Descriptions MCF52277 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Page 128: ...Static RAM SRAM MCF52277 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Page 140: ...Clock Module MCF52277 Reference Manual Rev 1 7 12 Freescale Semiconductor...
Page 172: ...Chip Configuration Module CCM MCF52277 Reference Manual Rev 1 9 16 Freescale Semiconductor...
Page 180: ...Serial Boot Facility SBF MCF52277 Reference Manual Rev 1 10 8 Freescale Semiconductor...
Page 188: ...Reset Controller Module MCF52277 Reference Manual Rev 1 11 8 Freescale Semiconductor...
Page 210: ...Crossbar Switch XBS MCF52277 Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 542: ...FlexCAN MCF52277 Reference Manual Rev 1 23 32 Freescale Semiconductor...
Page 724: ...UART Modules MCF52277 Reference Manual Rev 1 30 34 Freescale Semiconductor...
Page 740: ...I2 C Interface MCF52277 Reference Manual Rev 1 31 16 Freescale Semiconductor...
Page 790: ...Debug Module MCF52277 Reference Manual Rev 1 32 50 Freescale Semiconductor...