R01UH0136EJ0210 Rev.2.10
Page 84 of 800
Jul 31, 2012
M16C/64A Group
8. Clock Generator
Figure 8.1
System Clock Generator
Oscillator stop
detect reset
Main
Clock
Oscillator Stop/Restart Detector
Oscillator stop/
restart detect
interrupt signal
CM21 switch signal
CM27 = 0
CM27 = 1
Charge/
discharge
circuit
Reset
generator
Oscillator stop/
restart detect
interrupt
generator
Clock edge
detector,
pulse generator
for charge/
discharge control
Phase
comparator
Charge
pump
Voltage
control
oscillator
(VCO)
PLL clock
Main
Clock
Divider
1/32 or 1/48
Internal
lowpass filter
PLL Frequency Synthesizer
Reference
clock divider
CM00 to CM02, CM04 to CM07
: Bits in the CM0 register
CM10, CM11, CM14, CM16, CM17
: Bits in the CM1 register
PCLK5
: Bit in the PCLKR register
CM21, CM27
: Bits in the CM2 register
PM00, PM01
: Bits in the PM0 register
PM24
: Bit in the PM2 register
XOUT
Main clock
oscillator
CM02
CM04
CM10 = 1
(stop mode)
Q
S
R
WAIT
instruction
CM05
Q
S
R
Software reset
fC
CPU clock
CM07
Divider
a
1/2
1/2
1/2
1/2
CM06 = 0, CM17 to CM16 = 00b
CM06 = 0
CM17 to
CM16 = 01b
CM06 = 0
CM17 to CM16
= 10b
CM06 = 1
CM06 = 0
CM17 to CM16 = 11b
d
a
Divider Details
Sub clock oscillator
XCIN
XCOUT
XIN
c
b
b
1/2
c
1/2
1/4
1/8
1/16
1/32
PLL frequency
synthesizer
CM21
PLL clock
Sub clock
BCLK
Main clock
CLKOUT
PM01 to PM00 = 00b, CM01 to CM00 = 01b, PCLK5 = 0
PM01 to PM00 = 00b,
CM01 to CM00 = 10b, PCLK5 = 0
CM01 to CM00 = 00b, PCLK5 = 0
I/O ports
PM01 to PM00 = 00b,
CM01 to CM00 = 11b, PCLK5 = 0
Oscillator
stop/restart
detector
f8
f32
NMI
d
Interrupt request level judgment
output
RESET
PM24
Voltage monitor 0 reset
Voltage monitor 1 reset
Voltage monitor 2 reset
Voltage monitor 1 interrupt
Voltage monitor 2 interrupt
Watchdog timer reset
Oscillator stop detect reset
CM14
125 kHz
on-chip
oscillator
PM01 to PM00 = 00b,
CM01 to CM00 = 00b,
PCLK5 = 1
CM11
fOCO-S
Peripheral
function
clock
0
1
0
1
0
1
fC32
f1
1/32
fOCO-S
fC
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...