Does Wakeup reset RAM values ?
When I exit from SLEEP mode, RAM variables are preserved ?
Does Wakeup have the same effect as a RESET ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Does Wakeup have the same effect as a RESET ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
http://www.parallax.com/dl/appnt/sx/An18Reset.pdf
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
·
I understand by this document that on a SX28AC wakeup process takes about 18ms and SRAM is preserved.
I think this may work well for my project. Thank you!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
but in some cases it may change states on you. Notice the direction registers on wakeup, and then watch your pin data
closely. In one of my programs/hardware I found I needed to shadow the pin data before going into a sleep, and reset
that data on wakeup. This 'feature' almost cost a bunch of time and $$$. I've seen reference to this before, but couldn't
seem to find it again.
-Dan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A saint-like quantity of patience is a help, if this is unavailable, a salty vocabulary works nearly as well." - A. S. Weaver