Freescale Semiconductor MCF5329 Reference Manual page 571

Devices supported: mcf5327; mcf5328; mcf53281; mcf5329
Table of Contents

Advertisement

Field
28
Halt FlexCAN. Setting this bit puts the FlexCAN module into freeze mode. It has the same effect as assertion of the
HALT
BKPT signal. This bit is set after reset and should be cleared after initializing the message buffers and control
registers. FlexCAN message buffer receive and transmit functions are inactive until this bit is cleared. While in
freeze mode, the CPU has write access to the error counter register (ERRCNT) that is otherwise read-only.
0 The FlexCAN operates normally
1 FlexCAN enters freeze mode if FRZ equals 1
27
FlexCAN not ready. This bit indicates that the FlexCAN is in disable or freeze mode. This bit is read-only and it is
NOTRDY
cleared after the FlexCAN exits these modes.
0 FlexCAN is in normal mode, listen-only mode, or loop-back mode.
h1FlexCAN is in disable or freeze mode.
26
Reserved, must be cleared.
25
Soft reset. When set, the FlexCAN resets its internal state machines (sequencer, error counters, error flags, and
SOFTRST
timer) and the host interface registers (CANMCR [except the MDIS bit], TIMER, ERRCNT, ERRSTAT, IMASK, and
IFLAG).
The configuration registers that control the interface with the CAN bus are not changed (CANCTRL, RXGMASK,
RX14MASK, RX15MASK). Message buffers are also not changed. This allows SOFTRST to be used as a debug
feature while the system is running.
Because soft reset is synchronous and has to follow a request/acknowledge procedure across clock domains, it
may take some time to fully propagate its effect. The SOFTRST bit remains set while reset is pending and is
automatically cleared when reset completes. The user should poll this bit to know when the soft reset has
completed.
0 Soft reset cycle completed
1 Soft reset cycle initiated
24
Freeze acknowledge. Indicates that the FlexCAN module has entered freeze mode. The user should poll this bit
FRZACK
after freeze mode has been requested, to know when the module has actually entered freeze mode. When freeze
mode is exited, this bit is cleared after the FlexCAN prescaler is enabled. This is a read-only bit.
0 The FlexCAN has exited freeze mode and the prescaler is enabled.
1 The FlexCAN has entered freeze mode, and the prescaler is disabled.
23
Supervisor/user data space. Places the FlexCAN registers in supervisor or user data space.
SUPV
0 Registers with access controlled by the SUPV bit are accessible in user or supervisor privilege mode.
1 Registers with access controlled by the SUPV bit are restricted to supervisor mode.
22–21
Reserved, must be cleared.
20
Low power mode acknowledge. Indicates that FlexCAN is disabled. Disabled mode cannot be entered until all
LPMACK
current transmission or reception processes have finished, so the CPU can poll the LPMACK bit to know when the
FlexCAN has actually entered low power mode. See
"Power Management,"
0 FlexCAN not disabled.
1 FlexCAN is in disabled mode.
19–4
Reserved, must be cleared.
3–0
Maximum number of message buffers. Defines the maximum number of message buffers that take part in the
MAXMB
matching and arbitration process. The reset value (0xF) is equivalent to16 message buffer (MB) configuration. This
field should be changed only while the module is in freeze mode.
Note:
Maximum MBs in Use = MAXMB + 1
Freescale Semiconductor
Table 23-2. CANMCR Field Descriptions (continued)
for more information. This bit is read-only.
MCF5329 Reference Manual, Rev 3
Description
Section 23.1.3.3, "Module Disabled Mode,"
FlexCAN
and
Chapter 8,
23-7

Advertisement

Table of Contents
loading

Table of Contents