Skip to main content
Graduate II
May 28, 2024
Solved

Nucleo-H755ZI Configure Power Supply

  • May 28, 2024
  • 3 replies
  • 2489 views

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?

    This topic has been closed for replies.
    Best answer by Imen.D

    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:

    ImenD_0-1716973338834.png

    So, reduce the core frequency to 400 MHz, then keep me informed about your update.

    3 replies

    Technical Moderator
    May 28, 2024

    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.

    ImenD_0-1716897365687.png

     

    Jack3Author
    Graduate II
    May 28, 2024

    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.

    javaw_ILdyQgn6zv.png

     

    Technical Moderator
    May 28, 2024

    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.

    Jack3Author
    Graduate II
    May 29, 2024

    Hi Imen,

    thnak you very much, I deleted the old CubeMX versions, and use the latest version.

    I now attached the ioc file.

    javaw_4TBkrLJoDY.png

     

     

    Imen.DAnswer
    Technical Moderator
    May 29, 2024

    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:

    ImenD_0-1716973338834.png

    So, reduce the core frequency to 400 MHz, then keep me informed about your update.

    Jack3Author
    Graduate II
    May 29, 2024

    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.

    javaw_dNzea9lCgQ.png