6.6.3 Clocks

The Boot ROM executes using the default clock source: a 4 MHz clock derived from OSCHF (GCLK_MAIN). This clock is automatically enabled by the hardware following any type of reset (e.g., Power-On Reset, External Reset, Watchdog Reset).

This 4 MHz clock is the fixed and non-configurable clock source for Boot ROM execution. It ensures consistent and deterministic behavior during the early boot phase, prior to any user-configurable clock initialization.

The Boot ROM does not support switching to any alternative clock sources. Any clock configuration changes must be performed by the user application after control is transferred from the Boot ROM.

Once control is transferred to the user application, the 4 MHz GCLK_MAIN can be reconfigured as needed to meet the requirements of the target end application.

After the boot sequence is finished, the Boot ROM bus clock (CLK_BROM_AHB) can be enabled and disabled in the Main Clock. The default state of bus clocks can be found in the Peripheral Clock Masking section in the MCLK – Main Clock chapter.