CMS32L051 User Manual |Chapter 4 Clock Generation Circuit
www.mcu.com.cn 87 / 703
4.6 Clock control
4.6.1 Example of setting up a high-speed internal oscillator
The CPU/peripheral hardware clock (fCLK) must run at the high-speed internal oscillator clock after
a reset has been released. The frequency of the high-speed internal oscillator can be selected from
64MHz, 48MHz, 32MHz, 24MHz, 16MHz, 12MHz, 8MHz, 6MHz, 4MHz, 3MHz and 2MHz via 4 bits
FRQSEL0 to FRQSEL of the option byte (000C2H). In addition, the frequency can be changed via the
high-speed internal oscillator's frequency selection register (HOCODIV).
【Option byte setting】
Address: 000C2H
The options
7 6 5 4 3 2 1 0
byte
(000C2H)