AnsweredAssumed Answered

Cube 4.20 bug with F7

Question asked by john doe on Mar 9, 2017
Latest reply on Jul 12, 2017 by Luca R

when generating code for an stm32f769i-discovery with rcc set to enable external clock, the latest version does this:

 

  RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSE;

 

which causes a fault when it hits HAL_RCC_OscConfig(). the fix, and the behavior in previous versions, is to not try to choose both clocks at once.

 

 RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;

Outcomes