
52
MITSUBISHI MICROCOMPUTERS
3807 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
CM4 : Port Xc switch bit
0 : I/O port function (stop oscillating)
1 : XCIN-XCOUT oscillating function
CM5 :
=
Main clock (XIN- XOUT) stop bit
0 : Operating
1 : Stopped
CM7,CM6 : Main clock division ratio selection bit
b7 b6
0
0 :
f(XIN)/2 ( High-speed mode)
0
1 :
f(XIN)/8 (Middle-speed mode)
1
0 :
f(XCIN)/2 (Low-speed mode)
1
1 : Not available
Note
Reset
CM
4
"1
"
"0
"
CM
4
"0
"
"1
"
CM
6
"1
"
"0
"
CM
4
"1
"
"0
"
CM
6
"1
"
"0
"
CM
7
"1
"
"0
"
CM
4
"1
"
"0
"
CM
5
"1
"
"0
"
CM6
"1 "
"0 "
CM6
"1 "
"0 "
CPU mode register
(CPUM : address 003B16)
b7
b4
CM
7
"0
"
"1
"
CM
6
"1
"
"0
"
CM 7=0
CM 6=1
CM 5=0(8MHz oscillating)
CM 4=0(32kHz stopped)
1:Switch the mode by the allows shown between the mode blocks. (Do not switch between the mode directly without an allow . )
2:The all modes can be switched to the stop mode or the wait mode and return to the source mode when the stop mode or the wait
mode is ended.
3:Timer operates in the wait mode.
4:When the stop mode is ended, a delay of approximately 1 ms occurs by Timer 1 and Timer 2 in middle/high-speen mode.
5:When the stop mode is ended, a delay of approximately 0.25 s occurs by Timer 1 and Timer 2 in low-speed mode.
6:Wait until oscillation stabilizes after oscillating the main clock XIN before the switching from the low-speed mode to middle/high-
speed mode.
7:The example assumes that 8 MHz is being applied to the XIN pin and 32 kHz to the XCIN pin.
φ indicates the internal clock.
Middle-speed mode
(f( ) =1 MHz)
CM 7=0
CM 6=1
CM 5=0(8MHz oscillating)
CM 4=1(32kHz oscillating)
Middle-speed mode
(f( ) =1MHz)
CM 7=0
CM 6=0
CM 5=0(8MHz oscillating)
CM 4=0(32kHz stopped)
High-speed mode
(f( ) =4MHz)
CM7=0
CM6
=0
CM5
=0(8MHz oscillating)
CM4=1(32kHz oscillating)
High-speed mode
(f( ) =4MHz)
CM 7=1
CM 6=0
CM 5
=0(8MHz oscillating)
CM 4
=1(32kHz oscillating)
Low-speed mode
(f( ) =16 kHz)
CM 7=1
CM 6=0
CM 5=1(8MHz stopped)
CM 4=1(32kHz oscillating)
Low-speed mode
(f( ) =16 kHz)
Fig. 58. State transitions of system clock
=