2259364_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2259364_en-US

2259364_en-US

Stop Mode Behavior on S08PB16 (Using CodeWarrior 11.1)

In Stop Mode, all system clocks, including the crystal oscillator (if used), are typically halted to minimize power consumption. Because of this, external circuitry is often required to:
• Control the duration of Stop Mode.
• Issue a wake-up signal to the MCU when it's time to resume processing.

Example Setup
• MCU: S08PB16
• Development Kit: S08PB16-EVK
• IDE: CodeWarrior 11.1

Enabling Stop Mode
To enter Stop Mode correctly:
1. Enable Stop Mode in the System Options Register 1 (SYS_SOPT1).
2. If Stop Mode is disabled and a STOP instruction is executed, the MCU will trigger an illegal opcode reset.

STOP Instruction
The STOP assembly instruction:
• Enables interrupts.
• Halts processing and enters Stop Mode.

Watchdog Behavior in Stop Mode

The watchdog timer's behavior depends on the selected clock source:
Bus Clock Counter does not increment
LP, IRCLK, EXTCLK Counter is reinitialized to zero and starts counting again upon exiting Stop Mode

Tags (1)
No ratings
Version history
Last update:
‎12-10-2025 10:42 AM
Updated by: