Posted on June 04, 2014 at 14:57The HAL_GetTick() is used implement timeouts within the HAL library with code similar to: /* Get timeout */ timeout = HAL_GetTick() + HSE_TIMEOUT_VALUE; /* Wait till HSE is disabled */ whil...
Posted on June 04, 2014 at 18:06Since you're not using the PLL, be sure to set:RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;In your sample code PLLState is uninitialized and may be causing HAL_RCC_OscConfig() to do something you don't expect.
Posted on June 04, 2014 at 16:52SysTick may not be active at this point - I simply copied the first example of this timeout structure I saw. There are about 150 places throughout the HAL with this defect.So the developer must assume that any call th...