Clocks
114
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Architecture
2.4
Clocks
This section describes the clocking structure of the RM48x microcontrollers.
2.4.1 Clock Sources
The devices support up to 7 clock sources. These are shown in
. The electrical specifications as
well as the timing requirements for each of the clock sources in
is specified in the device
datasheet.
Table 2-9. Clock Sources
Clock Source #
Clock Source Name
Description
0
OSCIN
Main oscillator. This is the primary clock for the microcontroller and is the
primary input to the phase-locked loops. The oscillator frequency must be
between 5 and 20 MHz.
1
PLL1
This is the output of the main PLL. The PLL is capable of modulating its
output frequency in a controlled manner to reduce the radiated emissions.
2
Not implemented
This clock source is not available and must not be enabled or used as source
for any clock domain.
3
EXTCLKIN1
External clock input 1. A square wave input can be applied to this device input
and used as a clock source inside the device.
4
LF LPO
(Low-Frequency LPO)
(CLK80K)
This is the low-frequency output of the internal reference oscillator. This is
typically an 80 KHz signal (CLK80K) that is used by the real-time interrupt
module for generating periodic interrupts to wake up from a low power mode.
5
HF LPO
(High-Frequency LPO)
(CLK10M)
This is the high-frequency output of the internal reference oscillator. This is
typically a 10 MHz signal (CLK10M) that is used by the clock monitor module
as a reference clock to monitor the main oscillator frequency.
6
PLL2
This is the output of the second PLL. There is no option of modulating this
PLL’s output signal. This separate non-modulating PLL allows the generation
of an asynchronous clock source that is independent of the CPU clock
frequency.
7
EXTCLKIN2
External clock input 2. A square wave input can be applied to this device input
and used as a clock source inside the device.
2.4.1.1
Enabling / Disabling Clock Sources
Each clock source can be independently enabled or disabled using the set of Clock Source Disable
registers – CSDIS, CSDISSET and CSDISCLR.
Each bit in these registers corresponds to the clock source number indicated in
. For example,
setting bit 1 in the CSDIS or CSDISSET registers disables the PLL#1.
NOTE:
Disabling the Main Oscillator or HF LPO
By default, the clock monitoring circuit is enabled and checks for the main oscillator
frequency to be within a certain range using the HF LPO as a reference. If the main oscillator
and/or the HF LPO are disabled with the clock monitoring still enabled, the clock monitor will
indicate an oscillator fault. Clock monitoring must be disabled before disabling the main
oscillator or the HF LPO clock source(s).
A clock source is only disabled once there is no active clock domain that is using that clock source. Also,
see
for more information on enabling/disabling the oscillator and PLL.
On the RM48x microcontrollers, the clock sources 0, 4, and 5 are enabled by default.