Re: Return value of gpio_getPinInput (con't)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Juar_2150386
Level 4
Level 4
5 likes given First like received First like given

Hi jakewtorres

Per the dialog here: Return value of gpio_getPinInput

I have try your code because i have a problem whith my code, deep sleep aborted!

Deep sleep mode (after 30sec time out) and wake up with GPIO are good but when I start a second deep sleep (after 30sec time out), it failed.

Same problem with your code:

pastedImage_0.png

in attachement, the code which generate the problem.

Thanks for your help

0 Likes
1 Solution
ShawnA_01
Employee
Employee
10 questions asked 5 comments on KBA First comment on KBA

What do you have attached to P0 pin?  See this posting:  How does P0 and keyscan affect deep sleep?

View solution in original post

0 Likes
2 Replies
ShawnA_01
Employee
Employee
10 questions asked 5 comments on KBA First comment on KBA

What do you have attached to P0 pin?  See this posting:  How does P0 and keyscan affect deep sleep?

0 Likes

I have remove R26 and insert a 10kohms resistor in pull-up and configure P0 as an output.

It's work better.
Thanks for your help