2021-04-13 08:57 PM
I am using the example for a LWIP HTTP server, given by STM here. However, the clock configuration configures the supply to be PWR_LDO_SUPPLY. However, my board is configured to accept PWR_SMPS_DIRECT_SUPPLY, and I do not have the tools to reconfigure my board. Could someone explain how I can change this option in the example? I tried doing it directly but it has way more dependencies elsewhere and there is no .ioc configuration to generate it automatically.
I am new to STM32 boards and lower level MCU in general, so please keep that in mind.
Solved! Go to Solution.
2021-05-25 06:48 AM
Hello @SRugg.1 ,
You just have to replace HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY) ; by HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY) ; in the SystemClock_Config() function.
Take a look at this link it might be helpful.
BeST Regards,
Walid
2021-05-25 06:48 AM
Hello @SRugg.1 ,
You just have to replace HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY) ; by HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY) ; in the SystemClock_Config() function.
Take a look at this link it might be helpful.
BeST Regards,
Walid