Sleep timer

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

cross mob
Anonymous
Not applicable

 hi developers,

   

                              i have a confusion in the basics. What is the function of a PSoC system sleep timer. how is it different from the watchdog timer. please help me out

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

The sleep-timer comes up on a regular base and interrupts your running program. This interrupt can be used to wake a PSoC1 from "Sleep-Mode" which is a low-power-state where neither CPU nor most of the peripherals / modules are not running and so not consuming power. The interrupt gives the ability to check the outer world and if nothing happened, go to sleep again.

   

Additionally the sleep-timer-component can be used to wait, time loops and similar jobs.

   

The watchdog must be reset by the program from time to time. If this is not done, it will reset the PSoC and start all over again. Watchdog is ment to capture a situation where the CPU goes into an infinite-loop and to restart without human interaction.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 bob, 

   

  thanks for the reply. but i am yet to understand the sleep mode completely. can you suggest any document which describes the "sleep" mode in detail. like how a device enters a sleep mode, what actually is the CPU doing in the sleep mode. and how a device comes out of the sleep mode etc.

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

Have a look at An 47310 : http://www.cypress.com/?rID=34189 

   

Bob

0 Likes
MR_41
Employee
Employee
First like received

Check out AN2223.  This shows how a naked op amp can be created using an SC block. Though this does not give you all the three terminals of the op amp on pins, maybe you could use this op amp for your application.

   

Best Regards,

   

Ganesh

0 Likes
MR_41
Employee
Employee
First like received

Sorry.  Posted the response in the wrong thread.  This response was supposed to be in this thread.

   

 

   

http://www.cypress.com/?app=forum&id=1573&rID=59779

   

 

   

Best Regards

   

Ganesh

0 Likes