92
CHAPTER 3 CLOCK GENERATOR AND CONTROLLER
3.10.1 Stop State

This section provides information on transition to and returning from the stop state.

Figure 3.10.1 shows a stop controller block diagram.

Stop Controller Block Diagram
Figure 3.10-1 Stop Controller Block Diagram
Transition to Stop State
Transition to the stop state using an instruction
Write "1" to bit 7 of the STCR register to cause a transition to the stop state.
A stop request is issued, and when the CPU no long er uses the internal bus, the clo cks are
stopped in the following order:
CPU clock --> internal bus clock --> internal DMA clock --> internal peripheral clock
The oscillation circuit stops when the internal peripheral clock stops.
<Notes>
Proce ed as follows to cause a transition to the stop state using an instruction.
Before w riting to t he ST CR, set th e same va lue in CCK1 /CCK0 an d PC K1/PCK 0 of the GC R
to match the CPU clock and peripheral clock gear ratios.
Do not cause a trans ition to the s top s tate while the GCR CHC bit is "0 " (operating with PLL).
Before causing a transition to the stop state, always set the GCR CHC bi t to "1" (divide-by-
two frequency system) to change the clock.
At least six con secutive NOP instructions must be pr ovided immediately after writin g to the
STCR.
STCR
STOP
clear
.or.
Internal bus
Internal interrupt
Internal reset
CPU hold enabled
CPU hold request
Stop state
indication signal
State transition control circuit
Stop state transition request signal
Stop signal
State decoder
CPU clock
generation
Internal
bus clock
generation
Internal
DMA clock
generation
Internal
peripheral
clock
generation
Clock stop
request signal Clock release
request signal
Internal clock generation circuit
CPU clock
Internal bus clock
Internal DMA clock
External bus clock
Internal peripheral clock