Flash Latency and PWM Mode Bug
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-06-25 1:20 AM
Posted on June 25, 2014 at 10:20
Hi everybody,
I recently tried to port my STM32F4Disco poject to the new CubeMX firmware 1.2. The first issue I encountered was that the program did not pass the SystemClock_Config function. While debugging and comparing to the old firmware I noticed that only the flash latency setting is different. The old CubeMX firmware had it at 5, while the new one puts 0. You cannot change this setting in CubeMX, changing it manually in the sourcecode made it work. The second issue is the missing PWM mode 1&2 setting in CubeMX. Although it is still defined in the sourcecode, you cannot select it in CubeMX anymore.
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-07-07 3:44 AM
Posted on July 07, 2014 at 12:44
i've noticed the same Flash latency change from five to zero (or FLASH_LATENCY_5 to
FLASH_LATENCY_0), this happends occasionally when re-generating code from CubeMX. Try toggling the system clock mux-selector, from PLLCLK to HSI or HSE and then back and re-generate, have worked for me.