SLAU846A June 2023 – October 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1
The SYSOSC can shift from base frequency (32 MHz) to low frequency (4 MHz), or low frequency back to base frequency, in a single SYSOSC clock cycle with the frequency change being phase aligned to minimize jitter. This feature is particularly well suited for low power, low cost microcontroller applications because it allows a single oscillator to be used to generate two frequencies:
When a high-speed clock is needed (for example, in RUN and SLEEP modes), SYSOSC can run at its base frequency to provide high performance. In such a case, SYSOSC can be used directly to source MCLK so that MCLK can be used by the CPU, DMA, and peripherals clocked by the bus. For peripherals that run continuously but do not require the high clock frequency, the middle frequency system clock (MFCLK) is provided at 4 MHz by taking the 32-MHz SYSOSC and dividing down by 8.
When the fast 32-MHz clock is not needed (for example, if the CPU has completed processing data), then in STOP mode SYSOSC can be gear shifted down to 4 MHz in one cycle, and MFCLK switches to being clocked directly by SYSOSC- keeping a continuously running 4-MHz clock, but with a reduction in SYSOSC current and no need for a separate oscillator to provide the 4-MHz clock. When the CPU is again needed, SYSOSC can be switched back from 4 MHz to 32 MHz. This transition also occurs in one SYSOSC clock cycle. During the gear shift up, MFCLK switches back to SYSOSC/8 to keep the 4-MHz constant frequency. The timing transition between base frequency (32 MHz) and low frequency (4 MHz) during a gearshift down request is shown in Figure 2-6.
The SYSOSC gearshift mode is tightly integrated with the power management scheme and is controlled by SYSCTL. Gearshift mode can be used when switching between RUN mode and STOP mode (gear down) and STOP mode and RUN mode (gear up). To use gearshift in STOP mode to reduce SYSOSC current, set the USE4MHZSTOP bit in the SYSOSCCFG register. Note that if SYSOSC is configured for 4-MHz operation in RUN and SLEEP mode as well as STOP mode (no gear shift), then the USE4MHZSTOP bit does not need to be set to keep the SYSOSC at 4 MHz when entering STOP mode.