Renesas RL78/G1P Hardware User Manual page 614

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
16.2.2 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 the OSTS register after the
STOP mode is released.
When the high-speed on-chip oscillator clock is selected as the CPU clock, confirm with the oscillation stabilization time
counter status register (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 the OSTC register.
The OSTS register can be set by an 8-bit memory manipulation instruction.
Reset signal generation sets this register to 07H.
Figure 16-2. Format of Oscillation Stabilization Time Select Register (OSTS)
Address: FFFA3H
Symbol
7
OSTS
0
OSTS2
0
0
0
0
1
1
1
1
Cautions 1. To set the STOP mode when the X1 clock is used as the CPU clock, set the OSTS register before
executing the STOP instruction.
2. Before changing the setting of the OSTS register, confirm that the count operation of the OSTC
register is completed.
3. Do not change the value of the OSTS register during the X1 clock oscillation stabilization time.
4. The oscillation stabilization time counter counts up to the oscillation stabilization time set by
the OSTS register. If the STOP mode is entered and then released while the high-speed on-chip
oscillator clock is being used as the CPU clock, set the oscillation stabilization time as follows.
 Desired OSTC register oscillation stabilization time  Oscillation stabilization time set by
OSTS register
Note, therefore, that only the status up to the oscillation stabilization time set by the OSTS
register is set to the OSTC register after STOP mode is released.
5. The X1 clock oscillation stabilization wait time does not include the time until clock oscillation
starts ("a" below).
Remark f
: X1 clock oscillation frequency
X
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
After reset: 07H
R/W
6
5
0
0
OSTS1
OSTS0
0
0
0
1
1
0
1
1
0
0
0
1
1
0
1
1
STOP mode release
X1 pin voltage
waveform
CHAPTER 16 STANDBY FUNCTION
4
3
0
0
Oscillation stabilization time selection
f
X
8
2
/f
25.6
X
9
2
/f
51.2
X
10
102
s
2
/f
X
11
2
/f
204
s
X
13
2
/f
819
s
X
15
2
/f
3.27 ms
X
17
2
/f
13.1 ms
X
18
2
/f
26.2 ms
X
a
2
1
OSTS2
OSTS1
OSTS0
= 10 MHz
f
= 20 MHz
X
s
12.8
s
s
25.6
s
51.2
s
102
s
409
s
1.63 ms
6.55 ms
13.1 ms
0
595

Advertisement

Table of Contents
loading

Table of Contents