cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

 hello!!

I´m want to know if  is possible keep  the microcontroller slept until I press a Button and how can I  make it

Regards!!! 🙂

0 Likes
Reply
1 Solution
Esteemed Contributor II

Yes, that is possible, but not quite uncomplicated.

   

You should get acquainted to interrupt-handling in PSoC1 which has to be entered manually into boot.tpl, compiler handbook shows a #pragma for interrupt routines.

   

Look here http://www.cypress.com/?rID=56620 for sleep mode informations.

   

 

   

Bob

View solution in original post

0 Likes
Reply
8 Replies
Anonymous
Not applicable

 Sorry for double posting, i did not mention that  I'm using PSoC 1
 

0 Likes
Reply
Esteemed Contributor II

Yes, that is possible, but not quite uncomplicated.

   

You should get acquainted to interrupt-handling in PSoC1 which has to be entered manually into boot.tpl, compiler handbook shows a #pragma for interrupt routines.

   

Look here http://www.cypress.com/?rID=56620 for sleep mode informations.

   

 

   

Bob

View solution in original post

0 Likes
Reply
Esteemed Contributor II

You are here in a PSoC1 forum, quite correct.

   

 

   

Bob

Esteemed Contributor

Some additional -

   

 

   

1) At bottom of Bob's post is a good ap note on sleep in PSOC 1     www1.cypress.com/

   

 

   

2) Use TRM, do a search on "sleep", there are several sections discussing sleep related issues.

   

 

   

3) Use www.psocdeveloper.com and this forum, there are a number of threads dealing with sleep issues.

   

 

   

Regards, Dana.

Anonymous
Not applicable

This App. note is useful as well

   

http://www1.cypress.com/?rID=2903

   

 

   

🙂

Anonymous
Not applicable

thank you all  answer are very clear, Now I will try to do my example

   

Thanks and regards! 

0 Likes
Reply
Esteemed Contributor II

You are always welcome!

   

 

   

Bob

Esteemed Contributor

A couple of precautions on GPIO interrupts here -

   

 

   

      www.cypress.com/

   

 

   

Regards, Dana.