Figure 13. Config3 - SMPS and LDO cascaded
Figure 14. Config4 - External SMPS
Caution: A deadlock occurs if the board SMPS/LDO firmware PWR configuration does not match its hardware
configuration: after the reset, the ST-LINK cannot connect the target anymore.
The firmware PWR configuration must be set as follows in function SystemClock_Config in file main.c:
• If the hardware configuration is Direct SMPS (Default configuration):
HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY);
• If the hardware configuration is LDO:
HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);
UM2662
Power supply
UM2662 - Rev 1
page 21/95