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

PSoC™ 4 Forum Discussions

AnCo_2736831
Level 4
25 likes received 10 likes received 10 likes given
Level 4

I get advice not to use CyDelay and so I tried to use Timer. But I do not see any current savings while using Timer. What is the current consumption of Timer?

0 Likes
1 Solution
AlanH_86
Employee
100 replies posted 50 replies posted 25 solutions authored
Employee

Timer(s) ... or more specifically TCPWMs ... do not run in Deep Sleep... so you cant use it as a source of wakeup

Here is a beautiful app note about low power.

http://www.cypress.com/file/121271/download

View solution in original post

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

Every component's datasheet has a chapter where the current consumption is listed as a function of clock frequency.  There your timer (whichever you use) will be explained.

CyDelay uses a CPU loop which will consume less power than a CPU action and a timer component. The question is: What does the CPU while the timer is running???

Bob

AnCo_2736831
Level 4
25 likes received 10 likes received 10 likes given
Level 4

Thanks Bob,

15uA current consumes for Timer at 3MHz

In my application I want to wakeup DeepSleep using one shot timer.

How do I use the wakeup interrupt?

CY_ISR(WakeUp_Isr)

{

// ModeSwitch_ClearInterrupt();  /* Clears the PICU interrupt   */

    OneShotHandler_ClearInterrupt(); // What is the syntex for this?

}

0 Likes
AlanH_86
Employee
100 replies posted 50 replies posted 25 solutions authored
Employee

Timer(s) ... or more specifically TCPWMs ... do not run in Deep Sleep... so you cant use it as a source of wakeup

Here is a beautiful app note about low power.

http://www.cypress.com/file/121271/download

AnCo_2736831
Level 4
25 likes received 10 likes received 10 likes given
Level 4

Thanks for the information Timers do not run with DeepSleep. So only the WDT will do.

0 Likes
Anonymous
Not applicable

Yes. WDTs are the timers to use for deep sleep

0 Likes