MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
1273
Preliminary—Subject to Change Without Notice
The FlexCAN module stores CAN messages for transmission and reception using a Message Buffer
structure. Each individual MB is formed by 16 bytes mapped on memory as described in
shows a Standard/Extended Message Buffer (MB0) memory map, using 16 bytes total
($80
–
$8F space).
28.4.2
Message Buffer Structure
The Message Buffer structure used by the FlexCAN module is represented in
. Both Extended
and Standard Frames (29-bit Identifier and 11-bit Identifier, respectively) used in the CAN specification
(Version 2.0 Part B) are represented.
Table 28-2. Module Memory Map
Address
Use
Access
Type
Affected
by Hard
Reset
Affected
by Soft
Reset
Base + $0000
Module Configuration (MCR)
S
Yes
Yes
Base + $0004
Control Register (CTRL)
S/U
Yes
No
Base + $0008
Free Running Timer (TIMER)
S/U
Yes
Yes
Base + $000C
Reserved
Base + $0010
Rx Global Mask (RXGMASK)
S/U
Yes
No
Base + $0014
Rx Buffer 14 Mask (RX14MASK)
S/U
Yes
No
Base + $0018
Rx Buffer 15 Mask (RX15MASK)
S/U
Yes
No
Base + $001C
Error Counter Register (ECR)
S/U
Yes
Yes
Base + $0020
Error and Status Register (ESR)
S/U
Yes
Yes
Base + $0024
Interrupt Masks 2 (IMASK2)
S/U
Yes
Yes
Base + $0028
Interrupt Masks 1 (IMASK1)
S/U
Yes
Yes
Base + $002C
Interrupt Flags 2 (IFLAG2)
S/U
Yes
Yes
Base + $0030
Interrupt Flags 1 (IFLAG1)
S/U
Yes
Yes
Base + $0034–$005F
Reserved
Base + $0060–$007F
Reserved
Base + $0080–$017F
Message Buffers MB0
–
MB15
S/U
No
No
Base + $0180–$027F
Message Buffers MB16
–
MB31
S/U
No
No
Base + $0280–$047F
Message Buffers MB32
–
MB63
S/U
No
No
Base + $0480-087F
Reserved
Base + $0880-$08BF
Rx Individual Mask Registers RXIMR0-RXIMR15
S/U
No
No
Base + $08C0-$08FF
Rx Individual Mask Registers RXIMR16-RXIMR31
S/U
No
No
Base + $0900-$097F
Rx Individual Mask Registers RXIMR32-RXIMR63
S/U
No
No
Table 28-3. Message Buffer MB0 Memory Mapping
Address Offset
MB Field
$80
Control and Status (C/S)
$84
Identifier Field
$88
–
$8F
Data Field 0
–
Data Field 7 (1 byte each)