Hardware layout and configuration UM2408
24/51 UM2408 Rev 2
Figure 15. Supply configuration 3: Internal SMPS and LDO cascaded
Figure 16. Supply configuration 4: external SMPS
Warning: Board SMPS/LDO FW PWR configuration must match with 
the HW configuration. If not, the user faces a deadlock: after 
the reset, STLINK can't connect the target anymore. 
 
The FW PWR configuration corresponds with the following in 
the main.c, in the function SystemClock_Config: 
- In the case of “Direct SMPS” HW configuration (Default): 
HAL_PWREx_ConfigSupply (PWR_DIRECT_SMPS_SUPPLY); 
- In the case of “LDO” HW configuration: 
HAL_PWREx_ConfigSupply (PWR_LDO_SUPPLY);  
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.