14.2.5 System Clock Tree

The ROM code configures the system clock tree according to the value of the GPBR[15] word:

Name: System Clock Tree
Reset: 

Bit 3130292827262524 
 KEY[23:16] 
Access  
Reset  
Bit 2322212019181716 
 KEY[15:8] 
Access  
Reset  
Bit 15141312111098 
 KEY[7:0] 
Access  
Reset  
Bit 76543210 
 CPU_CK[3:0]PATCH_BYPASSBR_57600MCK0DIV2MCK0DIV 
Access  
Reset  

Bits 31:8 – KEY[23:0]

The ROM code ignores the value of GPBR[15] word unless the value of KEY is 0x524F4D. For any other value, the ROM code configures the system clock tree from its default settings:

  • CPU_CK: 0
  • MCK0DIV: 1
  • MCK0DIV2: 1
  • BR_57600: 0
  • PATCH_BYPASS: 1

Bits 7:4 – CPU_CK[3:0] CPU Clock Frequency

ValueDescription
0

CPU clock frequency is 200 MHz

1

CPU clock frequency is 100 MHz

2 CPU clock frequency is 50 MHz
Others CPU clock frequency is 200 MHz

Bit 3 – PATCH_BYPASS Flash Patch Bypass

When the ROM code configures the system clock tree, it sets the value of the PATCH_BYPASS bit from the GPBR[15] word into the SFR_FLASH register.

Bit 2 – BR_57600 ROM Code Console Baud Rate is 57600

Depending on the system clock tree, the FLEXCOM0 USART baud rate cannot reach the targeted 115200 baud rate. In such cases, the baud rate should be reduced to 57600.
ValueDescription
0 ROM code console baud rate is 115200
1 ROM code console baud rate is 57600

Bit 1 – MCK0DIV2

When the ROM code configures the system clock tree, it sets the value of the MCK0DIV2 bit from the GPBR[15] word into the PMC_CPU_CKR register.

Bit 0 – MCK0DIV

When the ROM code configures the system clock tree, it sets the value of the MCK0DIV bit from the GPBR[15] word into the PMC_CPU_CKR register.