CubeMx is missing the PWR_DIRECT_SMPS_SUPPLY option under RCC->SupplySource
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-14 5:17 PM
When I generate a new project in CubeMx 5.3.0 for the STM32H745I-DISCO board for IAR toolchain, I get the following code:
HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);
The example projects in CubeH7 package use this code instead:
HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY);
With the code generated by CubeMx, when I unplug the USB cable (which supplies power to the board) from the STLK port, plugging it back in causes the code not to run.
With the code from the examples, the code runs ok.
I believe the code generated by CubeMx misconfigures the FW for the STM32H745I-DISCO board.
Anyone else have this issue?
- Labels:
-
Power
-
STM32CubeMX
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-14 5:50 PM
>>Anyone else have this issue?
https://community.st.com/s/question/0D50X0000B45FHiSQM/stm32h745idisco-crash-at-systemclockconfig
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-15 12:02 AM
​Hello @Community member​ , this issue will be fixed in the next release.
Best Regards,
Khouloud.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-15 2:51 AM
Hi,
Just to tell that I still have this issue with STM32CubeMX integrated in STM32CubeIDE (STM32CubeMX Version: 5.6.0-RC6 Build: 20200218-1639 (UTC)) and STM32CubeH7 Firmware Package V1.7.0 / 14-February-2020)
Regards,
lquinet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-15 3:14 AM
Hi @Loïc Quinet​
Issue has been already fixed from the 5.4.0 MX version.
Try with the 5.6.1 version.
Best regards,
Khouloud​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-15 7:15 AM
Thanks a lot @Khouloud ZEMMELI​ I didn't notice the option!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-14 12:00 PM
PWR_DIRECT_SMPS_SUPPLY is still missing in STM32CubeIDE 1.14.0.
