5 Replies Latest reply on Feb 28, 2012 12:49 AM by MR_41

    Sleep timer

       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

        • 1. Re: Sleep timer
          JoMe_264151

          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

          • 2. Re: Sleep timer

             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.

            • 3. Re: Sleep timer
              JoMe_264151

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

                 

              Bob

              • 4. Re: Sleep timer
                MR_41

                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

                • 5. Re: Sleep timer
                  MR_41

                  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