The code in SetSysClock() should auto-select clock source. But it didn't work when I tried to use 8MHz crystal.
There is a systick timer being used as timeout counter. When timeout happens in RCC configuration, the program will move on to use 8MHz crystal. But After setting the HSE, the return value of HAL_GetTick() never increases.
Then program hangs!
That may because the code of mbed reconfigured the HAL tick using a standard timer instead of systick.
Hi, please report this issue to [[https://github.com/mbedmicro/mbed]]. Thanks
Issue type: Defect
Severity: Default
Created 9 years, 3 months ago.Updated 9 years, 3 months ago.
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
Hi, please report this issue to https://github.com/mbedmicro/mbed. Thanks