m30833fjgp Renesas Electronics Corporation., m30833fjgp Datasheet - Page 99

no-image

m30833fjgp

Manufacturer Part Number
m30833fjgp
Description
Renesas 16/32-bit Single-chip Microcomputer M16c Family / M32c/80 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m30833fjgp D5
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
m30833fjgp#U3
Manufacturer:
NXP
Quantity:
1 003
Part Number:
m30833fjgp#U3
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
m30833fjgp#U5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R
R
M
e
E
3
. v
J
2
0
8.1.3 On-chip Oscillator Clock
1
C
9
3 .
B
8 /
On-chip oscillator generates the on-chip oscillator clock. The 1MHz on-chip oscillator clock becomes a
clock source for the CPU clock and peripheral function clock.
The on-chip oscillator clock stops after reset. When the CM21 bit in the CM2 register is set to "1" (on-chip
oscillator clock), the on-chip oscillator starts oscillating. Instead of the main clock, the on-chip oscillator
clock becomes the clock source for the CPU clock and peripheral function clock.
0
1
8.1.3.1 Oscillation Stop Detect Function
8.1.3.2 How to Use Oscillation Stop Detect Function
3
0
When the main clock is terminated by external factors, the on-chip oscillator automatically starts oscil-
lating to generate another clock.
When the CM 20 bit is set to "1" (oscillation stop detect function enabled), the oscillation stop detect
interrupt request is generated as soon as the main clock stops. Simultaneously, the on-chip oscillator
starts oscillating. The on-chip oscillator clock takes place of the main clock as the clock source for the
CPU clock and peripheral function clock. Associated bits are set as follows:
3
J
G
4
• The oscillation stop detect interrupt shares vectors with the watchdog timer interrupt. When both
• When the main clock resumes running after an oscillation stop is detected, set the main clock as the
• In low-speed mode, when the main clock is stopped by setting the CM20 bit to "1", the oscillation
• To enter wait mode while the oscillation stop detect interrupt function is in use, set the CM02 bit to
• When the oscillation stop detect interrupt request is generated in wait mode, wait mode cannot be
• The oscillation stop detect function is provided to handle main clock stop caused by external fac-
• When the main clock frequency is 2MHz or less, the oscillation stop detect function is not available.
a
0 -
o r
n
oscillation stop detect interrupt and watchdog timer interrupt are used, read the CM22 bit with an
interrupt service routine to determine which interrupt request has been generated.
clock source for the CPU clock and peripheral function clock. Figure 8.11 shows the procedure to
switch the on-chip oscillator clock to the main clock.
stop detect interrupt request is generated. Simultaneously, the on-chip oscillator starts oscillating.
The sub clock remains the CPU clock. The on-chip oscillator clock becomes the clock source for
the peripheral function clock.
"0" (peripheral function clock does not stop in wait mode).
exited by the oscillation stop detect interrupt. After the microcomputer exits wait mode, the oscilla-
tion stop detect interrupt is acknowledged first, followed by the interrupt used to exit wait mode.
tors. Set the CM20 bit to "0" (oscillation stop detect function disabled) when the main clock is
terminated by program, i.e., entering stop mode or setting the CM05 bit is set to "1" (main clock
oscillation stop).
Set the CM20 bit to "0".
• CM21 bit = 1 (on-chip oscillator clock becomes the clock source of the CPU clock.)
• CM22 bit = 1 (main clock stop is detected.)
• CM23 bit = 1 (main clock stops) (See Figure 8.15)
3 .
1
u
3
, 1
p
1
(
2
M
0
0
3
6
2
C
8 /
Page 76
, 3
M
3
2
C
f o
8 /
4
3
8
) T
8
8. Clock Generation Circuit

Related parts for m30833fjgp