2009-06-08 04:27 AM
Ram data not init after power off for seconds
2011-05-17 06:03 AM
Dear all,
I'm now working on stm8af51bb macro chip.According to user manual,wo could keep data in a special RAM area and left the data uninitialized after a chip reset. Truely we've realized this function. But now comes up another problem: Once chip is normally working, a sudden low power pulse occurs----I mean chip may lose power supply for seconds,then how could I keep the data in a specific RAM area uninitialized? Need a special circuit support to realize this function? Thx for all.2011-05-17 06:03 AM
Hello floodever,
from your description, the problem is not very clear. I guess that you mean the following: - the RAM shall keep the data you have written previously, even if the supply voltage is going down. Is this correct ? If yes, then you need to consider that keeping the RAM content cannot be guaranteed below 2.6V. It is undefined what happens to the RAM below this voltage. In order to keep data over a voltage brown out, you need to - either ensure that the VDD of the micro does not drop below 2.6V during this time - or use the internal NVM (data EEPROM) to store the data. It then is important how frequently you update the concerned data in the RAM.2011-05-17 06:03 AM
Dear alexanderc,
Great thanks for your detailed reply. Nowadays I'm busy on IAP program,so the issue was postponed to deal with.I'll do some test based on your last reply and then send you more details. By the way,our system power supply is 3.3v(VDD),so is the threshold voltage for keeping RAM data still 2.6v? I'm sorry that we didn't have detailed electrical characteristics on this micro chip(STM8AF51BB,100pin,256KBytes flash). Thansk & Best regards.