Skip to content

STM32G431 bug #2727

Closed Answered by fpistm
Buldakov-A asked this question in Q&A
May 18, 2025 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

Well, I've tested a simple sketch with a Nucleo G431RG, set the HSE_VALUE to 24MHz, and configure the clock to use HSE and have a sysclock at 100MHz:

extern "C" void SystemClock_Config(void) {
  RCC_OscInitTypeDef RCC_OscInitStruct = {};
  RCC_ClkInitTypeDef RCC_ClkInitStruct = {};

  /** Configure the main internal regulator output voltage
  */
  HAL_PWREx_ControlVoltageScaling(PWR_REGULATOR_VOLTAGE_SCALE1);

  /** Initializes the RCC Oscillators according to the specified parameters
  * in the RCC_OscInitTypeDef structure.
  */
  RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI | RCC_OSCILLATORTYPE_HSE;
  RCC_OscInitStruct.HSEState = RCC_HSE_ON;
  RCC_OscInitStruct.HSIState = R…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@Buldakov-A
Comment options

@fpistm
Comment options

Comment options

You must be logged in to vote
1 reply
@fpistm
Comment options

Answer selected by fpistm
Comment options

You must be logged in to vote
2 replies
@fpistm
Comment options

@fpistm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
invalid This doesn't seem right
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy