Continuos Sleep

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

cross mob
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
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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
8 Replies
Anonymous
Not applicable

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

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You are here in a PSoC1 forum, quite correct.

   

 

   

Bob

ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You are always welcome!

   

 

   

Bob

ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

A couple of precautions on GPIO interrupts here -

   

 

   

      www.cypress.com/

   

 

   

Regards, Dana.