Clock Switching Flowchart And Register Setting; Switching From Ring-Osc Clock To X1 Input Clock; Switching From Ring-Osc Clock To X1 Input Clock (Flowchart) - NEC 78K0 User Manual

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

Advertisement

6.8

Clock Switching Flowchart and Register Setting

6.8.1

Switching from Ring-OSC clock to X1 input clock

Figure 6-14. Switching from Ring-OSC Clock to X1 Input Clock (Flowchart)
Register initial
value after reset
X1 oscillation stabilization
time has not elapsed
Ring-OSC clock
operation
Ring-OSC
clock operation
(dividing set PCC)
X1 input clock
operation
Note Check the oscillation stabilization wait time of the X1 oscillator after reset release using the OSTC register
and then switch to the X1 input clock operation after the oscillation stabilization wait time has elapsed. The
OSTS register setting is valid only after STOP mode is released by interrupt during X1 input clock operation.
CHAPTER 6 CLOCK GENERATOR
After reset release
PCC = 00H
RCM = 00H
MCM = 00H
MOC = 00H
OSTC = 00H
Note
OSTS = 05H
Each processing
Note
OSTC check
*
X1 oscillation stabilization time has elapsed
PCC setting
MCM.0 ← 1
X1 input clock operation
User's Manual U15947EJ2V0UD
; f
= f
CPU
R
; Ring-OSC oscillation
; Ring-OSC clock operation
; X1 oscillation
; Oscillation stabilization time status register
; Oscillation stabilization time f
; X1 oscillation stabilization time status check
MCM.1 (MCS) is changed from 0 to 1
16
/2
XP
163

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents