Skip to main content
Visitor II
January 21, 2023
Question

STM32F401: Voltage dependence of RAM

  • January 21, 2023
  • 2 replies
  • 804 views

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

    This topic has been closed for replies.

    2 replies

    Visitor II
    January 21, 2023

    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.1Author
    Visitor II
    January 21, 2023

    Thank you for you hint