cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F401: Voltage dependence of RAM

LGrüb.1
Associate II

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

2 REPLIES 2
S.Ma
Principal

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.

LGrüb.1
Associate II

Thank you for you hint