Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/03/05 12:03
Read: times


 
#92796 - non-caveats
Responding to: ???'s previous message
Also, you need to make sure the mcu won't attempt to write into EEPROM until the big cap is fully charged - most of the time this is fulfilled but with short pulses on the AC mains you might get into trouble.
This apply to power-up an is totally irrelevant, When the supervisor drop the reset there is no problem writing.

An another thing, you need to make sure that the peripherals won't "suck out" the "big cap" too early - even if they are not connected directly to the . Beware, this behaviour can/will change depending on their state and the connected "outer word".
two solutions
a) set them "low power" on the power down int
b) supply only the uC an memory from the "big cap"

I did not say this can not be done, as I don't say the IRAM backup cannot be done (in powerdown mode). My point is, that each of these is not completely trivial and you need to consider carefully all the circumstances of your particular application.
I have done it several times and have yet to actually have calculated the "big cap". You can back up all you need in a millisecond and to hold enough for the 7805 to function for ONR millisecond + a power cycle (10 or 8 ms) is no big deal.

The voltage drop will be the same a (ripple on the "big cap" *2) if you take 10 ms to back up at 50 Hz (bridge recitified).

Jan, you are making a mountain out of a molehill.

Erik

The real caveat: If you try to be fancy and do something like a "machine shutdown cycle" or such all Jans reservations apply. What I discuss is keeping power for the few milliseconds it takes to move a few bytes to an EEPROM.



List of 24 messages in thread
TopicAuthorDate
Troubles in POWER DOWN mode            01/01/70 00:00      
   what's exactly the problem?            01/01/70 00:00      
      the problem...            01/01/70 00:00      
         that's bad...            01/01/70 00:00      
            you are right...            01/01/70 00:00      
               the problem            01/01/70 00:00      
                  A possible solution?            01/01/70 00:00      
                     on chip permanent storage            01/01/70 00:00      
                     caveat            01/01/70 00:00      
                        no caveat when done right            01/01/70 00:00      
                           79 ?            01/01/70 00:00      
                              oh well            01/01/70 00:00      
                           caveat            01/01/70 00:00      
                              non-caveats            01/01/70 00:00      
                  "1" when v.supervisor is not powered            01/01/70 00:00      
                     use open pin            01/01/70 00:00      
   ideas            01/01/70 00:00      
      your idea...            01/01/70 00:00      
         it seems to me,it is working...            01/01/70 00:00      
            please do not            01/01/70 00:00      
   I had an idea...            01/01/70 00:00      
      i tried this...            01/01/70 00:00      
         wow that's bad            01/01/70 00:00      
            i tried this...            01/01/70 00:00      

Back to Subject List