Deep Sleep , Wakeup of Teensey 4.1

Status
Not open for further replies.

c172jeff

Well-known member
I am trying to reimplement some code that I had working on an arduino in a Teensey 4.1 implementation. The code on the arduino used an external RTC clock to wake up the arduino some point after it was set to sleep.

This chip delivered an interrupt that "woke" the arduino.

How is this done in Teensey 4.1? Or better, what is the best direction to head in? I can use the external clock chip, but rather not since the teensey already has a clock. not sure about an alarm function though?

Its nice that the teensey 4.1 has an included rtc, but can it also generate an interrupt after some elapsed time?

If it cannot do that, then can what is the best way to program the teensey 4.1 to sleep for a few hours and then wake up to do useful work? Obviously, when it is sleeping, i would trying to put things in a low power burn state, hopefully these things dont prevent it from waking?

Thanks,
jeff
 
I am not sure how to delete this post. After a little searching, I think the snooze library will work fine.

Jeff
 
Status
Not open for further replies.
Back
Top