PICU with Hibernate mode

A catchall for PSoC3 discussions not captured by the other forums.

Moderator: ericb

PICU with Hibernate mode

Postby tylerjaywilson » Thu Jun 26, 2014 12:21 pm

I am trying to enter the Hibernate mode and wake up when a button is pressed. I am able to enter the Hibernate mode using CyPmHibernate(). Occasionally I can wake my device up using a pin interrupt but sometimes it fails to work. Here is my interrupt code where I simply reset the software code when the wake up button is pressed.
Code: Select all
CySoftwareReset();
//powerCount = 0;
//displayCount = 0;   
//WakeSleep_ClearInterrupt();


Below are attachments of the setup for my pin interrupt. Any thoughts as to why I cannot wake my device consistently. I thought that it could be a bouncing issue? Ideas?
Attachments
pindetails.jpg
pindetails.jpg (49.16 KiB) Viewed 7694 times
pininterrupt.jpg
pininterrupt.jpg (13.83 KiB) Viewed 7694 times
tylerjaywilson
Bite-Size Cheese
Bite-Size Cheese
 
Posts: 14
Joined: Tue Jul 16, 2013 1:52 pm

Re: PICU with Hibernate mode

Postby tylerjaywilson » Thu Jun 26, 2014 1:27 pm

Also, externally, I have the pin tied high in a pull-up configuration. On the scope, I can see the pin is held high and then goes low when the wake button is pressed.
tylerjaywilson
Bite-Size Cheese
Bite-Size Cheese
 
Posts: 14
Joined: Tue Jul 16, 2013 1:52 pm

Re: PICU with Hibernate mode

Postby bobmarlowe » Wed Jul 02, 2014 9:32 am

In hybernate the digital logic (De-bouncer) is powered off, so troubles are programmed.

Bob
User avatar
bobmarlowe
The Big Cheese
The Big Cheese
 
Posts: 1490
Joined: Thu Oct 06, 2011 2:03 am
Location: Germany


Return to “%s” PSoC3 General

Who is online

Users browsing this forum: No registered users and 2 guests