# Inky Frame RTC Wakeup Problem

**URL:** <https://forums.pimoroni.com/t/inky-frame-rtc-wakeup-problem/21531>\
**Category:** Support\
**Created:** [February 22, 2023, 1:30am UTC](https://forums.pimoroni.com/t/inky-frame-rtc-wakeup-problem/21531 "2023-02-22T01:30:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DVK](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@DVK](https://forums.pimoroni.com/u/DVK)\
**Post date:** [February 22, 2023, 1:30am UTC](https://forums.pimoroni.com/t/inky-frame-rtc-wakeup-problem/21531/1 "2023-02-22T01:30:58Z")

</div>

I’ve a new Inky Frame 5.7 and am trying to essentially replicate the [photo gallery example](https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/examples/inky_frame/image_gallery/image_gallery_sd.py) with some tweaks.  
The idea is that the main.py chooses a random photo from the SD card, displays it, then goes to sleep for a while.  
This all works fine except that the RTC wakeup never seems to happen. Manually restarting the Pico or pressing one of the front buttons to generate a hardware interrupt gets it to run, but left to its own devices the system won’t wake.

Relevant code from main.py:

```auto
import inky_helper

activity_led = Pin(6, Pin.OUT)
activity_led.on()

#do stuff

activity_led.off()
inky_helper.sleep(5)

```

What am I missing?

---

<div class="post-metadata">

**Author:** ![DVK](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@DVK](https://forums.pimoroni.com/u/DVK)\
**Post date:** [February 28, 2023, 1:15am UTC](https://forums.pimoroni.com/t/inky-frame-rtc-wakeup-problem/21531/2 "2023-02-28T01:15:50Z")

</div>

Turns out that even whilst using inky\_helper for sleep stuff, I still needed to hold VSYS while running to stay awake.
