kasjer opened a new issue #2193: Broken STM32F4xx clock configuration URL: https://github.com/apache/mynewt-core/issues/2193 Commit 5cc9e6910045d425f813496f3c2eb2e047237dfb (Add initial STM32WBxx MCU support) introduced error in clock configuration that can result in infinite loop during system startup. Culprit is partially uninitialized variable RCC_OscInitTypeDef osc_init in SystemClock_Config(). Few fields in osc_init.PLL are not initialized and when osc_init.PLL.PLLState will happen to be 2 HAL_RCC_OscConfig() will try to configure PLL with other values from PLL variable that are uninitialized and that will result in infinite loop waiting for PLL to become ready while it never happen due to wrong parameters. I'm not sure what is correct fix for this but having osc_init.PLL.PLLState = RCC_PLL_NONE; fixes the problem for me. I home this will be easy for you Fabio
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
