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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hello,

I want complete a capsense project example from cypress (CE210291) with a simple blinking LED via Timer.

In another topic ( simple Timer (one shot), programm-code interrupt? ) user "moto" has noticed that the blinking LED is only working if we exclude the code "EnterDeepSleepLowPowerMode();"

Now I don't want miss the DeepSleep Mode so I'm looking for solution how to wakeup the Timer after this DeepSleep Mode.

I have try to attach on different position a Timer_Wakup(); but without success.

Maybe somebody has another idea, input?

thank you

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
ShanmathiN_06
Employee
Employee
100 replies posted 50 replies posted 25 replies posted

Hello,

The following piece of code enables the PWM, after deep sleep mode.

  Timer_Sleep();

  EnterDeepSleepLowPowerMode();

  Timer_Wakeup();

I have increased the clock frequency of PWM, so as to visually check if the LED is blinking. You have to ensure that PWM interrupt is triggered and that the system stays in active power mode long enough for the PWM interrupt to get triggered.

I have modified the project you had attached earlier. You could check it.

I hope this helps.

Thanks,
Shanmathi

View solution in original post

0 Likes
2 Replies
lock attach
Attachments are accessible only for community members.
ShanmathiN_06
Employee
Employee
100 replies posted 50 replies posted 25 replies posted

Hello,

The following piece of code enables the PWM, after deep sleep mode.

  Timer_Sleep();

  EnterDeepSleepLowPowerMode();

  Timer_Wakeup();

I have increased the clock frequency of PWM, so as to visually check if the LED is blinking. You have to ensure that PWM interrupt is triggered and that the system stays in active power mode long enough for the PWM interrupt to get triggered.

I have modified the project you had attached earlier. You could check it.

I hope this helps.

Thanks,
Shanmathi

0 Likes
Anonymous
Not applicable

great support , thank you that works

0 Likes