STM32U5 generated code voltage scaling
If I generate projects for the STM32U5A9 with sysclks/hclks of 4/48/90/160 Mhz.
Then HAL_PWREx_ControlVoltageScaling is always ran early on including with an argument off PWR_REGULATOR_VOLTAGE_SCALE2 for 90 MHz.
However the function HAL_PWREx_ControlVoltageScaling has a note/comment
"Before moving to voltage scaling 2, it is mandatory to ensure that the system frequency is between 50 and 100 MHz."
However I cannot identify any generated code that raises the frequency from 4Mhz before running this function?
