Skip to main content
jmpo
Associate
October 26, 2017
Question

STM32F0 SRAM DOUBT

  • October 26, 2017
  • 4 replies
  • 957 views
Posted on October 26, 2017 at 15:57

I'm using STM32F0 Discovery and need to store values in SRAM when MCU is powered off.

I already removed SB1 shunt. Then VBAT is not powered from VDD but pin3 of P1 (VBAT pin supplied with 3V).

When I turn off my STM23f0 device and turn on again the values are not stored.

It is possible to do this in this device?

If it is possible, someone can help me?

Thanks!

    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    October 26, 2017
    Posted on October 26, 2017 at 16:03

    Look to see if there is some BKPRAM, or what remains powered in STANDBY mode...

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    jmpo
    jmpoAuthor
    Associate
    October 26, 2017
    Posted on October 26, 2017 at 16:26

     ,

     ,

    Thanks for your answer , ♯ Clive One.

     ,

     ,

    There are only 5 backup registers, but I needed at least 6...

    :(

     ,

     ,

    I can't do this with this MCU.
    Tesla DeLorean
    Guru
    October 26, 2017
    Posted on October 26, 2017 at 17:11

    The STM32F051 has 20-bytes of user space, perhaps you don't need the full 32-bit range for the data you want to store.

    Might also want to consider the use of L0 or L4 series parts in new applications.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..