Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit029f9d6

Browse files
committed
Merge branch 'main' into variant/RAK3172-Module
2 parentsdf9bd73 +31e562d commit029f9d6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎variants/STM32F4xx/F401R(B-C-D-E)T/variant_NUCLEO_F401RE.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,13 @@ WEAK void SystemClock_Config(void)
115115
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE2);
116116

117117
/* Initializes the CPU, AHB and APB busses clocks*/
118-
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
119-
RCC_OscInitStruct.HSEState = RCC_HSE_BYPASS;
118+
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
119+
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
120+
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
120121
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
121-
RCC_OscInitStruct.PLL.PLLSource =RCC_PLLSOURCE_HSE;
122+
RCC_OscInitStruct.PLL.PLLSource =RCC_PLLSOURCE_HSI;
122123
RCC_OscInitStruct.PLL.PLLM =8;
123-
RCC_OscInitStruct.PLL.PLLN =336;
124+
RCC_OscInitStruct.PLL.PLLN =168;
124125
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV4;
125126
RCC_OscInitStruct.PLL.PLLQ =7;
126127

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp