Skip to content

Commit 86b27bf

Browse files
author
Arto Kinnunen
authored
Merge pull request #13391 from liugang-gavin/feature-wisun
targets: clock: change default core clock to 528M
2 parents 04d8eeb + 75fb6bd commit 86b27bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MIMXRT1050/TARGET_EVK/fsl_clock_config.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ called_from_default_init: true
139139
* Variables for BOARD_BootClockRUN configuration
140140
******************************************************************************/
141141
const clock_arm_pll_config_t armPllConfig_BOARD_BootClockRUN = {
142-
.loopDivider = 100, /* PLL loop divider, Fout = Fin * 50 */
142+
.loopDivider = 88, /* PLL loop divider, Fout = Fin * 44 */
143143
.src = 0, /* Bypass clock source, 0 - OSC 24M, 1 - CLK1_P and CLK1_N */
144144
};
145145
const clock_sys_pll_config_t sysPllConfig_BOARD_BootClockRUN = {
@@ -467,5 +467,5 @@ void BOARD_BootClockRUN(void)
467467
/* Set GPT2 High frequency reference clock source. */
468468
IOMUXC_GPR->GPR5 &= ~IOMUXC_GPR_GPR5_VREF_1M_CLK_GPT2_MASK;
469469
/* Set SystemCoreClock variable. */
470-
SystemCoreClock = BOARD_BOOTCLOCKRUN_CORE_CLOCK;
470+
SystemCoreClock = CLOCK_GetCpuClkFreq();
471471
}

0 commit comments

Comments
 (0)