2024-05-28 03:33 AM - edited 2024-05-28 04:14 AM
For the Nucleo-H755ZI, I use the 'PWR_DIRECT_SMPS_SUPPLY' choice in 'HAL_PWREx_ConfigSupply', like:
HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY);
With this setting, the board works fine and keeps working after flashing.
If you choose for example 'PWR_LDO_SUPPLY', you would next un-brick your board, using STM32CubeProgrammer, selecting Mode 'Power Down' and erasing the chip.
That way you can flash it again within STM32CubeIDE, after correcting the power setting.
Since I can't find the 'PWR_DIRECT_SMPS_SUPPLY' option in STM32CubeMX, I always need to modify it manually.
In STM32CubeMX I only find these settings:
- PWR_LDO_SUPPLY
- PWR_EXTERNAL_SOURCE_SUPPLY
- PWR_SMPS_1V8_SUPPLIES_LDO
- PWR_SMPS_2V5_SUPPLIES_LDO
- PWR_SMPS_1V8_SUPPLIES_EXT_AND_LDO
- PWR_SMPS_2V5_SUPPLIES_EXT_AND_LDO
- PWR_SMPS_1V8_SUPPLIES_EXT
- PWR_SMPS_2V5_SUPPLIES_EXT
It seems I'm missing
- PWR_DIRECT_SMPS_SUPPLY
Do I overlook some other setting?
Solved! Go to Solution.
2024-05-29 01:58 AM - edited 2024-05-29 02:05 AM
Hi @Jack3 ,
This is a normal behavior, as you are using a core frequency above 400 MHz, which requires the use of the LDO and pushes "PWR_DIRECT_SMPS_SUPPLY" option disappear.
You can refer to the STM32H755 datasheet and check the Table 24. Supply voltage and maximum frequency configuration:
So, reduce the core frequency to 400 MHz, then keep me informed about your update.
2024-05-28 04:57 AM
Hello @Jack3 ,
Make sure to update and use the latest release of STM32CubeMX v6.11.1.
The "PWR_DIRECT_SMPS_SUPPLY" option is available with STM32CubeMX v6.11.1.
2024-05-28 12:51 PM - edited 2024-05-28 12:55 PM
Hi Imen, thanks for the quick repsonse!
I forgot to mention I'm using STM32CubeMX v6.11.1.
Somehow it's not in my STM32CubeMX v6.11.1.
2024-05-28 01:01 PM
Hi @Jack3 ,
It's strange! Please try delete old CubeMX versions and keep only the latest one to make sure that you are using properly the last release (v6.11.1).
Otherwise, please share your ioc file to check this case.
2024-05-29 01:21 AM
2024-05-29 01:58 AM - edited 2024-05-29 02:05 AM
Hi @Jack3 ,
This is a normal behavior, as you are using a core frequency above 400 MHz, which requires the use of the LDO and pushes "PWR_DIRECT_SMPS_SUPPLY" option disappear.
You can refer to the STM32H755 datasheet and check the Table 24. Supply voltage and maximum frequency configuration:
So, reduce the core frequency to 400 MHz, then keep me informed about your update.
2024-05-29 02:27 AM - edited 2024-05-29 03:13 AM
Hi Imen, I can confirm this was the issue.
Though I was alway able to adjust it outside of STM32CubeMX and then everything worked just fine.
I see the voltage should be 1.7V instead of 1.62V, indeed.
Perhaps I should run the board no higher than 400MHz to avoid issues.
One of the things is that I can't get LWIP working on that board, yet.