Skip to content
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