Closed akudlacek closed 2 years ago
Hi @akudlacek,
Thank you for your contribution. After investigation, the point you reported is related to the CubeMX
generation problem.
This point has ben reported to CubeMX development teams
who will take in charge the issue.
An internal tracker has been logged and a fix will be implemented and made available in the frame of a future release of CubeMX
.
Thank you once again for your contribution.
With regards,
ST Internal Reference: 110035
I tested on STM32F429I-DISC1 board and one of my own design. IDE: STM32CubeIDE V1.6.1 MCU: STM32F429ZITx FW Package: STM32Cube FW_F4 V1.26.1
How To Reproduce
Additional context System timebase source has to be different than systick. This is not the first occurrence of this bug see: STM32CubeF4 closed issue
This has also been seen on other cubemx MCU families STM32CubeF1 STM32CubeF7
A work around is to set uwTickPrio to 15 between HAL_Init() and SystemClock_Config() in main.c
I think this should be enough and since it appears to have been fixed in STM32CubeF7 I think the same could be applied here although I did not look to see what that looked like.