Home arrow Support arrow Forums

Luminary Micro Forums

ckuecker

Expert Boarder
Click here to see the profile of this user

2008/06/25 10:42

Hibernate mode

Hello,

We are using the LM3S6965 device.

Now that we've decided to use hibernate to conserve power, I would like to get clarification on one thing.

If I read the data sheet correctly, hibernate essentially performs a cold boot of the processor, but also sets interrupt flags. I think i can set up a test of the flags at the start of my initialization code and bypass certain steps if I have a hibernate reset instead of a power-up reset.

Is this correct?

login or register to reply

cb1

Platinum Boarder
Click here to see the profile of this user

2008/06/25 21:32

Re:Hibernate mode

My read of the User Guide (UG) is the same as yours - you can Identify the source of Power-On Reset (Hibernate or other) AND you can determine if Hibernate's trigger was the "WAKE" Pin or an RTC "Match."

Using the Hibernate module's RTC you retain full usage of your other Timers and can wake from hibernation with 1 Second precision.
You have 32 bits - 86,400 bits = 1 Day - this will absorb 17 bits.

It should be a neat exercise to extract the RTC content and convert to a Seconds Update, Live RTC.

login or register to reply

ckuecker

Expert Boarder
Click here to see the profile of this user

2008/06/26 10:55

Re:Hibernate mode

Thanks. That's exactly our plan - if we can get the silly thing to oscillate with our crystal or run with the 32 kHz oscillators we have on order.

But that's another thread...

login or register to reply