Skip to main content
SPetr.6
Associate II
June 4, 2025
Solved

Cannot configure MbedTLS in CubeMX for H755

  • June 4, 2025
  • 2 replies
  • 673 views

When trying to setup MBedTLS through CubeMX for the NUCLEO-H755ZI-Q, CubeMX does not give the option to select LWIP as the TCP/IP stack in the MBEDTLS "Version and modes" configuration tab. The only options given are "None" and "User defined". Additionally, for the "RNG dependency", the only options are "SW RNG(no entropy)" and "Custom RNG(Custom entropy)". It does not detect that I have enabled hardware level RNG. If I try setting up a project for NUCLEO-H745ZI-Q, I have the same issue. I tried setting up the project so the Ethernet stack was on the M7 only, the M4 only, and both the M7 and M4 and none of these variations made a difference.

However, if I try setting up a project for any single core F4 or H7 variant, like the NUCLEO-H753ZI, I am able to select LWIP and HW RNG(ST entropy). In fact, when I enable MbedTLS, they are auto selected. Please see the attached screenshots.

 

This is the order always followed:

  1. Enable Ethernet RMII
  2. Enable RNG
  3. Enable FreeRTOS
  4. Enable LWIP
  5. Enable MBEDTLS

 

So it seems that MBEDTLS configuration for dual core MCUs with CubeMX does not work correctly or I am missing a step.

Best answer by Souhaib MAZHOUD

Hello @SPetr.6 

For RNG dependency, I found that RNG was not enabled in your ioc, by enbling it I was able to select HW RNG(ST entropy).
For the TCP/IP stack issue, I have submitted an internal ticket (212599 This is an internal tracking number and is not accessible or usable by customer) with the CubeMX team to fix it.

KR,

Souhaib

2 replies

Technical Moderator
June 11, 2025

Hello @SPetr.6 

Could you provide an IOC file illustrating the problem in order to investigate the issue?

KR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
SPetr.6
SPetr.6Author
Associate II
June 17, 2025

Souhaib,

Please see the attached IOC file. Thank you.

 

Kind regards,

Sam Petrocelli

Souhaib MAZHOUDBest answer
Technical Moderator
June 19, 2025

Hello @SPetr.6 

For RNG dependency, I found that RNG was not enabled in your ioc, by enbling it I was able to select HW RNG(ST entropy).
For the TCP/IP stack issue, I have submitted an internal ticket (212599 This is an internal tracking number and is not accessible or usable by customer) with the CubeMX team to fix it.

KR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Visitor II
November 27, 2025

Hello, I have same problem. Any update on ticket 212599 you mentioned opened on CubeMX Team.

Regards

Technical Moderator
November 27, 2025

Hello @mcayir 

The issue has been fixed in the latest version of STM32CubeMX 6.16.0.

KR, Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.