Hi, thank you for your response.
Would this BOARD_BootClockRUN() function work to initialize the clock that way or do I need to initialize anything else?
void BOARD_BootClockRUN(void) {
const sim_clock_config_t simConfig = {
.pllFllSel = 1U, /* PLLFLLSEL select PLL. */
.er32kSrc = 0U, /* ERCLK32K selection, use LPO. */
.clkdiv1 = 0x10010000U, /* SIM_CLKDIV1. */
};
CLOCK_SetSimSafeDivs();
CLOCK_BootToFeiMode(kMCG_Dmx32Default,kMCG_DrsLow,NULL);
CLOCK_SetInternalRefClkConfig(kMCG_IrclkEnable, kMCG_IrcSlow, 0);
CLOCK_SetSimConfig(&simConfig);
}
Gustavo.