2023-01-21 07:29 AM
Hello,
I am developing a bootloader that is entirely executed from RAM. If I run the code from a Nuceleo board the MCU is supplied with 3.3V, program executed fine. If i go to target hardware (which runs on 2.5V!!), the cycle speed is reduced by ~14%. (Program run always on external quartz and PLL). Anyhow Peripheral speed is corrects, so clock speed should also be fine. Is there a voltage dependence of the RAM executed code (0x20000000) on the STM32F4?
regards, Lorenz
2023-01-21 08:30 AM
You should check the datasheet for the RAM minimum voltage retention, and if any wait state is needed.
The STM32 can probably measure its Vdd through ADC Vref, and external clock frequency from the HSI.
2023-01-21 10:27 AM
Thank you for you hint