- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
great support , thank you that works