2017-03-22 03:04 PM
When I generate code for STM32L151CBTx (FW v1.6.0) using CubeMX it enables MCI clock (RCC_ORCILLATORTYPE_MSI) in SystemClock_Config even if only HSI is enabled in the CubeMX clock configuration UI. Similar problem does not exist for other chip versions e.g. L152CBTx.
This misconfiguration causes HAL_RCC_OscConfig to fail.
#cubemx-bugSolved! Go to Solution.
2017-04-28 02:08 AM
Hello
ismoman
I would like to thank you for your bug report.
I tested with CubeMX4.1 and this issue cannot be reproduced.
This version correct a clock configuratin regression that has passed through all our validation tests.
I recommend you to update your CubeMX to the 4.1 version.
Kind regards
Sirma
2017-03-23 03:31 AM
Hello,
I confirm this bug which is already reported internally to our CubeMx team and will be fixed soon in the new patch release.
Sorry for the inconvenience it may bring.
Imen
2017-04-28 02:08 AM
Hello
ismoman
I would like to thank you for your bug report.
I tested with CubeMX4.1 and this issue cannot be reproduced.
This version correct a clock configuratin regression that has passed through all our validation tests.
I recommend you to update your CubeMX to the 4.1 version.
Kind regards
Sirma