Conditions Before Clock Oscillation Is Stopped - NEC 78K0 Series User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

Table 6-8. Maximum Time Required for Main System Clock Switchover
Set Value Before Switchover
MCM0
Caution When switching the internal high-speed oscillation clock to the high-speed system clock, bit 2
(XSEL) of MCM must be set to 1 in advance. The value of XSEL can be changed only once after a
reset release.
Remarks 1. The number of clocks listed in Table 6-8 is the number of main system clocks before switchover.
2. Calculate the number of clocks in Table 6-8 by removing the decimal portion.
Example When switching the main system clock from the internal high-speed oscillation clock to the

6.6.9 Conditions before clock oscillation is stopped

The following lists the register flag settings for stopping the clock oscillation (disabling external clock input) and
conditions before the clock oscillation is stopped.
Table 6-9. Conditions Before the Clock Oscillation Is Stopped and Flag Settings
Clock
Internal high-speed
oscillation clock
X1 clock
External main system clock
XT1 clock
External subsystem clock
168
CHAPTER 6 CLOCK GENERATOR
0
1
1 + 2f
/f
XH
RH
high-speed system clock (@ oscillation with f
= 1 + 2 × 8/10 = 1 + 2 × 0.8 = 1 + 1.6 = 2.6 → 2 clocks
1 + 2f
/f
RH
XH
Conditions Before Clock Oscillation Is Stopped
(External Clock Input Disabled)
MCS = 1 or CLS = 1
(The CPU is operating on a clock other than the internal high-speed
oscillation clock)
MCS = 1 or CLS = 1
(The CPU is operating on a clock other than the high-speed system clock)
CLS = 0
(The CPU is operating on a clock other than the subsystem clock)
Preliminary User's Manual U17260EJ3V1UD
Set Value After Switchover
MCM0
0
1 + 2f
RH
clock
= 8 MHz, f
RH
1
/f
clock
XH
= 10 MHz)
XH
Flag Settings of SFR
Register
RSTOP = 1
MSTOP = 1
OSCSELS = 0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents