Skip to main content
ADank.2
Associate II
February 21, 2022
Solved

BACKUP SRAM affects the other tasks

  • February 21, 2022
  • 2 replies
  • 1028 views

Hi,

I am using backup sram in stm32f429zi. Data Read write in backup sram section is executing properly and data will retain after power down. But when we do the power UP then my program is not executing from main loop. so my code is not working as required. As soon as I do the hardware reset then my code worked as per requirement and data also retaining in backupsram. so my question is that how can we recognize that the Power is up without using hardware reset?

Thanks,

Anagha

This topic has been closed for replies.
Best answer by TDK

> But when we do the power UP then my program is not executing from main loop. so my code is not working as required.

Attach a debugger without resetting the chip and see where the code is it. It's executing code somewhere.

The chip always resets after power comes up. No changing that.

I'm assuming you still have VBAT connected, as backup SRAM is lost without any power.

2 replies

TDK
TDKBest answer
February 21, 2022

> But when we do the power UP then my program is not executing from main loop. so my code is not working as required.

Attach a debugger without resetting the chip and see where the code is it. It's executing code somewhere.

The chip always resets after power comes up. No changing that.

I'm assuming you still have VBAT connected, as backup SRAM is lost without any power.

"If you feel a post has answered your question, please click ""Accept as Solution""."
ADank.2
ADank.2Author
Associate II
February 24, 2022

Solved!

PDR_ON Pin connected to GND and VDD through resistor. It should be connected to only VDD. So by desoldering the resistor connected between GND and PDR_ON my issue is resolved.