File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
targets/TARGET_NUVOTON/TARGET_NANO100 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ void mbed_sdk_init(void)
64
64
* T2. <1 ms with HIRC-clocked PLL as HCLK clock source
65
65
* T1 will fail Greentea test which requires max 10 ms wake-up time.
66
66
*
67
- * If we just call CLK_SetCoreClock(FREQ_42MHZ ) to configure HCLK to 42 MHz,
67
+ * If we just call CLK_SetCoreClock(FREQ_48MHZ ) to configure HCLK to 48 MHz,
68
68
* it will go T1 with HXT already enabled in front. So we manually configure
69
69
* it to choose HXT/HIRC-clocked PLL.
70
70
*/
@@ -76,10 +76,10 @@ void mbed_sdk_init(void)
76
76
#endif
77
77
78
78
#if (NU_CLOCK_PLL == NU_HXT_PLL )
79
- CLK_EnablePLL (CLK_PLLCTL_PLL_SRC_HXT , FREQ_42MHZ * 2 );
79
+ CLK_EnablePLL (CLK_PLLCTL_PLL_SRC_HXT , FREQ_48MHZ * 2 );
80
80
CLK_SetHCLK (CLK_CLKSEL0_HCLK_S_PLL , CLK_HCLK_CLK_DIVIDER (2 ));
81
81
#elif (NU_CLOCK_PLL == NU_HIRC_PLL )
82
- CLK_EnablePLL (CLK_PLLCTL_PLL_SRC_HIRC , FREQ_42MHZ * 2 );
82
+ CLK_EnablePLL (CLK_PLLCTL_PLL_SRC_HIRC , FREQ_48MHZ * 2 );
83
83
CLK_SetHCLK (CLK_CLKSEL0_HCLK_S_PLL , CLK_HCLK_CLK_DIVIDER (2 ));
84
84
#endif
85
85
You can’t perform that action at this time.
0 commit comments