Enabling hardware wakeup

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

cross mob
Anonymous
Not applicable

Hello All,

   

I have connected a push button at the wakeup pin P2.2 of PRoC IC. How to enable the wakeup interrupt for this pin at rising edge? Do I have to use interrupt tool from right hand side of PSoC creator?

   

 

   

Thanks

   

Ashutosh

0 Likes
2 Replies
Anonymous
Not applicable

Ashutosh, 

   

If you have configure the P2.2 as a digital input, then you have the option to configure the interrupt as rising edge. You can do so in the GUI of cy_pins-> input tab-> interrupt dropdown to select.  The interrupt will be read in the stop mode to wakeup the device, but if you are not in stop mode, then you will have to write your own function to read the interrupt and call the isr. I hope this helps!

   

-Nishant

0 Likes
Anonymous
Not applicable

Thanks Nishant. After some going around, i found the solution as u suggested. 🙂

0 Likes