
FlexCAN
Freescale Semiconductor
23-9
14
ERRMSK
Error interrupt mask.
0 Error interrupt disabled
1 Error interrupt enabled
13
CLK_SRC
Clock source. Selects the clock source for the CAN interface to be fed to the prescalar. This bit should only be
changed while the module is disabled.
0 Clock source is EXTAL
1 Clock source is the internal bus clock, f
sys/3
12
LPB
Loop back. Configures FlexCAN to operate in loop-back mode. In this mode, FlexCAN performs an internal loop
back that can be used for self test operation. The bit stream output of the transmitter is fed back internally to the
receiver input. The Rx CAN input pin is ignored and the Tx CAN output goes to the recessive state (logic 1).
FlexCAN behaves as it normally does when transmitting, and treats its own transmitted message as a message
received from a remote node. In this mode, FlexCAN ignores the bit sent during the ACK slot in the CAN frame
acknowledge field, generating an internal acknowledge bit to ensure proper reception of its own message. Transmit
and receive interrupts are generated.
0 Loop back disabled
1 Loop back enabled
11–8
Reserved, must be cleared.
7
SMP
Sampling mode. Determines whether the FlexCAN module samples each received bit one time or three times to
determine its value.
0 One sample, taken at the end of phase buffer segment 1, is used to determine the value of the received bit.
1 Three samples are used to determine the value of the received bit. The samples are taken at the normal sample
point and at the two preceding periods of the S-clock; a majority rule is used.
6
BOFFREC
Bus off recovery mode. Defines how FlexCAN recovers from bus off state. If this bit is cleared, automatic recovering
from bus off state occurs according to the CAN Specification 2.0B. If the bit is set, automatic recovering from bus
off is disabled and the module remains in bus off state until the bit is cleared by the user. If the bit is cleared before
128 sequences of 11 recessive bits are detected on the CAN bus, then bus off recovery happens as if the
BOFFREC bit had never been set. If the bit is cleared after 128 sequences of 11 recessive bits occurred, FlexCAN
re-synchronizes to the bus by waiting for 11 recessive bits before joining the bus. After clearing, the BOFFREC bit
can be set again during bus off, but it is only effective the next time the module enters bus off. If BOFFREC was
cleared when the module entered bus off, setting it during bus off is not effective for the current bus off recovery.
0 Automatic recovering from bus off state enabled, according to CAN Spec 2.0B
1 Automatic recovering from bus off state disabled
5
TSYN
Timer synchronize mode. Enables the mechanism that resets the free-running timer each time a message is
received in Message Buffer 0. This feature provides the means to synchronize multiple FlexCAN stations with a
special SYNC message (global network time).
0 Timer synchronization disabled.
1 Timer synchronization enabled.
Note: There can be a bit clock skew of four to five counts between different FlexCAN modules that are using this
feature on the same network.
4
LBUF
Lowest buffer transmitted first. Defines the ordering mechanism for message buffer transmission.
0 Message buffer with lowest ID is transmitted first
1 Lowest numbered buffer is transmitted first
Table 23-3. CANCTRL Field Descriptions (continued)
Field
Description
MCF5329 Reference Manual, Rev 3
Summary of Contents for MCF5329
Page 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...