Is safe to attach an ISR to the same GPIO used for Light Sleep Wake up?

Mdb
Posts: 10
Joined: Mon Oct 17, 2016 3:29 pm

Is safe to attach an ISR to the same GPIO used for Light Sleep Wake up?

Postby Mdb » Fri Dec 02, 2016 5:56 pm

I wonder it is considered best practice attaching an ISR to the same GPIO used for light sleep wake up.
I am having experiments with NON OS SDK 2.0.0 and my goal is to start a task just after exiting ( periodically ) from light sleep.
In other words, which is the best solution to do something like a data transmission every time the module exits from Light sleep?
Maybe another gpio used as ext interrupt ?
Or is there a way to sync Light Sleep wake up ? I am using automatic light sleep mode..
Thanks In Advance.
Mdb

Mdb
Posts: 10
Joined: Mon Oct 17, 2016 3:29 pm

Re: Is safe to attach an ISR to the same GPIO used for Light Sleep Wake up?

Postby Mdb » Mon Dec 05, 2016 6:58 pm

Using NON OS SDK V 2.0.0 it appears not reliable, if you need to synchronize some operations you need another external line.

Who is online

Users browsing this forum: No registered users and 57 guests