File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,23 @@ extern "C" {
171
171
172
172
/* *
173
173
* @brief System Clock Configuration
174
+ * The system Clock is configured as follow :
175
+ * System Clock source = PLL (HSI)
176
+ * SYSCLK(Hz) = 216000000
177
+ * HCLK(Hz) = 216000000
178
+ * AHB Prescaler = 1
179
+ * APB1 Prescaler = 4
180
+ * APB2 Prescaler = 2
181
+ * HSE Frequency(Hz) = 16000000
182
+ * PLL_M = 8
183
+ * PLL_N = 216
184
+ * PLL_P = 2
185
+ * PLL_Q = 9
186
+ * PLLSAI_N = 192
187
+ * PLLSAI_P = 2
188
+ * VDD(V) = 3.3
189
+ * Main regulator output voltage = Scale1 mode
190
+ * Flash Latency(WS) = 7
174
191
* @param None
175
192
* @retval None
176
193
*/
@@ -186,12 +203,12 @@ WEAK void SystemClock_Config(void)
186
203
__HAL_PWR_VOLTAGESCALING_CONFIG (PWR_REGULATOR_VOLTAGE_SCALE1);
187
204
188
205
/* Initializes the CPU, AHB and APB busses clocks */
189
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE ;
190
- RCC_OscInitStruct.HSEState = RCC_HSE_BYPASS ;
206
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI ;
207
+ RCC_OscInitStruct.HSIState = RCC_HSI_ON ;
191
208
RCC_OscInitStruct.HSICalibrationValue = 16 ;
192
209
RCC_OscInitStruct.PLL .PLLState = RCC_PLL_ON;
193
210
RCC_OscInitStruct.PLL .PLLSource = RCC_PLLSOURCE_HSI;
194
- RCC_OscInitStruct.PLL .PLLM = 4 ;
211
+ RCC_OscInitStruct.PLL .PLLM = 8 ;
195
212
RCC_OscInitStruct.PLL .PLLN = 216 ;
196
213
RCC_OscInitStruct.PLL .PLLP = RCC_PLLP_DIV2;
197
214
RCC_OscInitStruct.PLL .PLLQ = 9 ;
You can’t perform that action at this time.
0 commit comments