Main Clock Oscillator Wait Control Register (Moscwtcr) - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
9.2.12

Main Clock Oscillator Wait Control Register (MOSCWTCR)

Address(es): 0008 00A2h
b7
b6
0
0
Value after reset:
Bit
Symbol
b4 to b0
MSTS[4:0]
b7 to b5
Note:
Set the PRCR.PRC1 bit to 1 (write enabled) before rewriting this register.
MSTS[4:0] Bits (Main Clock Oscillator Wait Time)
Set these bits to select the oscillation stabilization wait time of the main clock oscillator.
Set the main clock oscillation stabilization time to longer than or equal to the stabilization time recommended by the
oscillator manufacturer. When the main clock is externally input, set these bits to 00000b because the oscillation
stabilization time is not required.
The wait time set by the MSTS[4:0] bits is counted using the LOCO clock. The LOCO automatically oscillates when
necessary, regardless of the value of the LOCOCR.LCSTP bit.
After the set wait time has elapsed, supply of the main clock is started to the MCU internally and the
OSCOVFSR.MOOVF flag becomes 1. If the set wait time is short, supply of the main clock is started before oscillation
of the clock becomes stable.
Only rewrite the MOSCWTCR register when the MOSCCR.MOSTP bit is 1 and the OSCOVFSR.MOOVF flag is 0. Do
not rewrite this register under any other conditions.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b5
b4
b3
b2
MSTS[4:0]
0
0
0
1
Bit Name
Main Clock Oscillator Wait Time
Reserved
b1
b0
0
0
Description
b4
b0
0 0 0 0 0: Wait time = 2 cycles (0.5 μs)
0 0 0 0 1: Wait time = 1024 cycles (256 μs)
0 0 0 1 0: Wait time = 2048 cycles (512 μs)
0 0 0 1 1: Wait time = 4096 cycles (1.024 ms)
0 0 1 0 0: Wait time = 8192 cycles (2.048 ms)
0 0 1 0 1: Wait time = 16384 cycles (4.096 ms)
0 0 1 1 0: Wait time = 32768 cycles (8.192 ms)
0 0 1 1 1: Wait time = 65536 cycles (16.384 ms)
Settings other than above are prohibited.
Wait time when LOCO = 4.0 MHz (0.25 μs, TYP.)
These bits are read as 0. The write value should be 0.
9. Clock Generation Circuit
R/W
R/W
R/W
Page 144 of 1041

Advertisement

Table of Contents
loading

Table of Contents