NEC 78K0 Series User Manual page 145

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

Advertisement

(8) Oscillation stabilization time select register (OSTS)
This register is used to select the X1 clock oscillation stabilization wait time when the STOP mode is released.
When the X1 clock is selected as the CPU clock, the operation waits for the time set using OSTS after the STOP
mode is released.
When the internal high-speed oscillation clock is selected as the CPU clock, confirm with OSTC that the desired
oscillation stabilization time has elapsed after the STOP mode is released. The oscillation stabilization time can
be checked up to the time set using OSTC.
OSTS can be set by an 8-bit memory manipulation instruction.
Reset signal generation sets OSTS to 05H.
Figure 6-8. Format of Oscillation Stabilization Time Select Register (OSTS)
Address: FFA4H
After reset: 05H
Symbol
7
OSTS
0
OSTS2
0
0
0
1
1
Cautions 1. To set the STOP mode when the X1 clock is used as the CPU clock, set OSTS
Remark f
CHAPTER 6 CLOCK GENERATOR
R/W
6
5
0
0
OSTS1
OSTS0
0
1
1
0
1
1
0
0
0
1
Other than above
before executing the STOP instruction.
2. Do not change the value of the OSTS register during the X1 clock oscillation
stabilization time.
3. The oscillation stabilization time counter counts up to the oscillation
stabilization time set by OSTS. If the STOP mode is entered and then released
while the internal high-speed oscillation clock is being used as the CPU clock,
set the oscillation stabilization time as follows.
• Desired OSTC oscillation stabilization time ≤ Oscillation stabilization time
set by OSTS
Note, therefore, that only the status up to the oscillation stabilization time set by
OSTS is set to OSTC after STOP mode is released.
4. The X1 clock oscillation stabilization wait time does not include the time until
clock oscillation starts ("a" below).
STOP mode release
X1 pin voltage
waveform
: X1 clock oscillation frequency
X
Preliminary User's Manual U17260EJ3V1UD
4
3
0
0
OSTS2
Oscillation stabilization time selection
f
= 10 MHz
X
µ
11
2
/f
204.8
X
µ
13
2
/f
819.2
X
14
2
/f
1.64 ms
X
15
2
/f
3.27 ms
X
16
2
/f
6.55 ms
X
Setting prohibited
a
2
1
0
OSTS1
OSTS0
f
= 20 MHz
X
µ
s
102.4
s
µ
s
409.6
s
µ
819.2
s
1.64 ms
3.27 ms
145

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents