2019-07-01 07:52 AM
I think I've found a bug on CubeMX.
When generating the code for STM32F072C8T6, the number of wait states is wrong.
It seems that the code generator checks HCLK frequency instead of SYSCLK frequency.