English
Language : 

MC68HC908GZ60 Datasheet, PDF (146/352 Pages) Freescale Semiconductor, Inc – Microcontrollers
MSCAN08 Controller (MSCAN08)
During sleep mode, the SLPAK flag is set. The application software should use SLPAK as a handshake
indication for the request (SLPRQ) to go into sleep mode. When in sleep mode, the MSCAN08 stops its
internal clocks. However, clocks to allow register accesses still run. If the MSCAN08 is in bus-off state, it
stops counting the 128*11 consecutive recessive bits due to the stopped clocks. The CANTX pin stays in
recessive state. If RXF = 1, the message can be read and RXF can be cleared. Copying of RxGB into
RxFG doesn’t take place while in sleep mode. It is possible to access the transmit buffers and to clear the
TXE flags. No message abort takes place while in sleep mode.
The MSCAN08 leaves sleep mode (wakes-up) when:
• Bus activity occurs, or
• The MCU clears the SLPRQ bit, or
• The MCU sets the SFTRES bit
NOTE
The MCU cannot clear the SLPRQ bit before the MSCAN08 is in sleep
mode (SLPAK=1).
After wakeup, the MSCAN08 waits for 11 consecutive recessive bits to synchronize to the bus. As a
consequence, if the MSCAN08 is woken-up by a CAN frame, this frame is not received. The receive
message buffers (RxFG and RxBG) contain messages if they were received before sleep mode was
entered. All pending actions are executed upon wakeup: copying of RxBG into RxFG, message aborts
and message transmissions. If the MSCAN08 is still in bus-off state after sleep mode was left, it continues
counting the 128*11 consecutive recessive bits.
12.8.2 MSCAN08 Soft Reset Mode
In soft reset mode, the MSCAN08 is stopped. Registers can still be accessed. This mode is used to
initialize the module configuration, bit timing and the CAN message filter. See 12.13.1 MSCAN08 Module
Control Register 0 for a complete description of the soft reset mode.
When setting the SFTRES bit, the MSCAN08 immediately stops all ongoing transmissions and
receptions, potentially causing CAN protocol violations.
NOTE
The user is responsible to take care that the MSCAN08 is not active when
soft reset mode is entered. The recommended procedure is to bring the
MSCAN08 into sleep mode before the SFTRES bit is set.
12.8.3 MSCAN08 Power-Down Mode
The MSCAN08 is in power-down mode when the CPU is in stop mode.
When entering the power-down mode, the MSCAN08 immediately stops all ongoing transmissions and
receptions, potentially causing CAN protocol violations.
NOTE
The user is responsible to take care that the MSCAN08 is not active when
power-down mode is entered. The recommended procedure is to bring the
MSCAN08 into sleep mode before the STOP instruction is executed.
To protect the CAN bus system from fatal consequences resulting from violations of the above rule, the
MSCAN08 drives the CANTX pin into recessive state.
In power-down mode, no registers can be accessed.
MC68HC908GZ60 • MC68HC908GZ48 • MC68HC908GZ32 Data Sheet, Rev. 6
146
Freescale Semiconductor