FlexCAN Module
Freescale Semiconductor
24-49
PXR40 Microcontroller Reference Manual, Rev. 1
•
Initialize the Message Buffers
–
The Control and Status word of all Message Buffers must be initialized
–
If FIFO was enabled, the 8-entry ID table must be initialized
–
Other entries in each Message Buffer should be initialized as required
•
Initialize the Rx Individual Mask Registers
•
Set required interrupt mask bits in the IMASK Registers (for all MB interrupts), in
FLEXCAN_x_CTRL Register (for Bus Off and Error interrupts)
•
Negate the HALT bit in FLEXCAN_x_MCR
Starting with the last event, FlexCAN attempts to synchronize to the CAN bus.
24.5.2
FlexCAN Addressing and RAM size configurations
There are 3 RAM configurations that can be implemented within the FlexCAN module. The possible
configurations are:
•
For 16 MBs: 288 bytes for MB memory and 64 bytes for Individual Mask Registers
•
For 32 MBs: 544 bytes for MB memory and 128 bytes for Individual Mask Registers
In each configuration the user can program the maximum number of MBs that will take part in the
matching and arbitration processes using the MAXMB field in the FLEXCAN_x_MCR Register. For 16
MB configuration, MAXMB can be any number between 0–15.For 32 MB configuration, MAXMB can
be any number between 0–31.For 64 MB configuration, MAXMB can be any number between 0
–
63.
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...