![](http://datasheet.mmic.net.cn/230000/7544_datasheet_15567444/7544_10.png)
Rev.1.02 2003.06.25 page 10 of 53
7544 Group
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
[CPU mode register] CPUM
The CPU mode register contains the stack page selection bit.
This register is allocated at address 003B16.
Switching method of CPU mode register
Switch the CPU mode register (CPUM) at the head of program af-
ter releasing Reset in the following method.
Fig. 10 Switching method of CPU mode register
Fig. 9 Structure of CPU mode register
Oscillation mode selection bit (Note 1)
CPU mode register
16
, initial value: 80
16
)
Stack page selection bit
Clock division ratio selection bits
b7 b6
φ
) = f(X
IN
)/2 (High-speed mode)
0 1 : f(
φ
) = f(X
IN
)/8 (Middle-speed mode)
1 0 : applied from ring oscillator
φ
) = f(X
IN
) (Double-speed mode)(Note 2)
Ring oscillator oscillation control bit
0 : Ring oscillator oscillation enabled
1 : Ring oscillator oscillation stop
X
IN
oscillation control bit
0 : Ceramic/quartz-crystal or RC oscillation enabled
1 : Ceramic/quartz-crystal or RC oscillation stop
Processor Not available
1 1
b7 b0
2:
These bits are used only when a ceramic
oscillation is selected.
Do not use these when an RC oscillation is selected.
Note 1:
The bit can be rewritten only once after releasing reset. After rewriting
it is disable to write any data to the bit. However, by reset the bit is
initialized and can be rewritten, again.
(It is not disable to write any data to the bit for emulator MCU
“
M37544RSS
”
.)
After releasing reset
Switch the oscillation mode
selection bit (bit 5 of CPUM)
Switch the clock division ratio
selection bits (bits 6 and 7 of CPUM)
Main routine
Start with a built-in ring oscillator
An initial value is set as a ceramic/quartz-crystal
oscillation mode. When it is switched to an RC
oscillation, its oscillation starts.
Select 1/1, 1/2, 1/8 or ring oscillator.
Wait by ring oscillator operation until
establishment of oscillator clock
When using a ceramic/quartz-crystal oscillation, wait
until establlishment of oscillation from oscillation starts.
When using an RC oscillation, wait time is not required
basically (time to execute the instruction to switch from
a ring oscillator meets the requirement).