20.3.1.1 Changing System Frequencies
After ROM code execution, the system clock is set as follows:
- MAINCK is fed by the main RC oscillator i.e., 12 MHz.
- CPUPLL is set to 570 MHz.
- MCK0 is set to CPUPLL/4 i.e., 142 MHz.
- SYSPLL is set to 378 MHz.
- MCK1 is set to SYSPLL/2 i.e., 189 MHz.
- MCK4 is set to SYSPLL i.e., 378 MHz.
This is illustrated in the following figure.
To avoid any overclocking during system clock modification, it is recommended to change system frequencies in two steps.
The first step leads to a known and basic intermediate state where all clocks are in a low-frequency range.
For example, the following sequence can be performed:
- Set MCK0 to MAINCK, i.e., 12 MHz.
- Set MCK1 to MCK0 i.e., 12 MHz.
- Set MCK4 to MCK0 i.e., 12 MHz.
- Set MAINCK to Crystal Oscillator, typically 24 MHz. MCK0, MCK1 and MCK4 then run at 24 MHz.
- Set CPUPLL to 1 GHz.
- Set SYSPLL to 400 MHz.
This intermediate state is illustrated in the following figure.
The second step leads to the final expected state.
Perform the following sequence:
- Set MCK0 to CPUPLL/5 i.e., 200 MHz.
- Set MCK1 to SYSPLL/2 i.e., 200 MHz.
- Set MCK4 to SYSPLL i.e., 400 MHz.
The final state is illustrated in the following figure.