STM32U599xxxQ LDO <-> SMPS switch
- September 21, 2023
- 3 replies
- 1814 views
Hi all,
I'm unable to switch the internal regulator from the default LDO to the SMPS on the STM32U599NIH6Q. The function "HAL_PWREx_ConfigSupply" timeouts.
The same binary file, when flashed on the two different STM32U5 dev kits (NUCLEO-595ZJ-Q and STM32U5A9J-DK) works well (the voltage on the 2u2 capacitors changes slightly depending on the currently selected regulator).
That unfortunately does not happen on my target board(s).
The hardware design follows hardware recommendations (AN5373). Although is not excluded that there is a hardware mistake, the sample is tested on a few target boards and it fails every time.
My question is regarding the "HAL_PWREx_ConfigSupply" functions. What happens in hardware when the PWR_CR3_REGSEL bit is set/cleared and what should happen (some internal voltage reached ??) when the PWR_SVMSR_REGS reflects the selected regulator?
Attached is the demo code and SMSP-related schematics.
Regards,
Krunoslav