EasyManua.ls Logo

NXP Semiconductors MPC5606S - Page 683

NXP Semiconductors MPC5606S
1344 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FlexCAN
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor 681
HALT Halt FlexCAN
Assertion of this bit puts the FlexCAN module into Freeze mode. The CPU should clear it after
initializing the Message Buffers and Control Register. No reception or transmission is performed by
FlexCAN before this bit is cleared. While in Freeze mode, the CPU has write access to the Error
Counter Register, which is otherwise read-only. Freeze mode cannot be entered while FlexCAN is
in any of the low-power modes. See
Section 18.4.9.1, Freeze mode for more information.
0 No Freeze mode request.
1 Enters Freeze mode if the FRZ bit is asserted.
NOT_RDY FlexCAN Not Ready
This read-only bit indicates that FlexCAN is either in Disable mode or Freeze mode. It is negated
once FlexCAN has exited these modes.
0 FlexCAN module is in Normal mode, Listen-Only mode, or Loopback mode
1 FlexCAN module is in either Disable mode or Freeze mode
SOFT_RST Soft Reset
When this bit is asserted, FlexCAN resets its internal state machines and some of the
memory-mapped registers. The following registers are reset: MCR (except the MDIS bit), TIMER,
ECR, ESR, IMRL, IMRH, IFRL, and IFRH. Configuration registers that control the interface to the
CAN bus are not affected by soft reset. The following registers are unaffected:
•CTRL
RXIMR0–RXIMR63
RXGMASK, RX14MASK, RX15MASK
all Message Buffers
The SOFT_RST bit can be asserted directly by the CPU when it writes to the MCR register, but it is
also asserted when global soft reset is requested at MCU level. Since 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 SOFT_RST bit remains asserted while reset is pending, and is
automatically negated when reset completes. Therefore, software can poll this bit to know when the
soft reset has completed.
Soft reset cannot be applied while clocks are shut down in any of the low-power modes. The module
should be first removed from low-power mode, and then soft reset can be applied.
0 No reset request
1 Resets the registers marked as “affected by soft reset” in Tabl e 18-2.
FRZ_ACK Freeze Mode Acknowledge
This read-only bit indicates that FlexCAN is in Freeze mode and its prescaler is stopped. The Freeze
mode request cannot be granted until current transmission or reception processes have finished.
Therefore the software can poll the FRZ_ACK bit to know when FlexCAN has actually entered
Freeze mode. If Freeze mode request is negated, then this bit is negated once the FlexCAN
prescaler is running again. If Freeze mode is requested while FlexCAN is in any of the low-power
modes, then the FRZ_ACK bit will only be set when the low-power mode is exited. See
Section 18.4.9.1, Freeze mode for more information.
0 FlexCAN not in Freeze mode, prescaler running
1 FlexCAN in Freeze mode, prescaler stopped
SUPV Supervisor Mode
This bit configures some of the FlexCAN registers to be either in Supervisor or Unrestricted memory
space. The registers affected by this bit are marked as S/U in the Access Type column of Ta bl e 18-2.
Reset value of this bit is 1, so the affected registers start with Supervisor access restrictions.
0 Affected registers are in Unrestricted memory space
1 Affected registers are in Supervisor memory space—any access without supervisor permission
behaves as though the access was done to an unimplemented register location
Table 18-8. MCR field descriptions (continued)
Field Description

Table of Contents

Related product manuals