CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 5 matches
CCS Forum Index
Author Message
  Topic: Pic18f87k22 wakeup
aria

Replies: 12
Views: 22357

PostForum: General CCS C Discussion   Posted: Thu Aug 11, 2016 4:22 pm   Subject: Pic18f87k22 wakeup
Many thanks guys; I'll give it a try.
  Topic: Pic18f87k22 wakeup
aria

Replies: 12
Views: 22357

PostForum: General CCS C Discussion   Posted: Wed Aug 10, 2016 9:25 am   Subject: Pic18f87k22 wakeup
Does anyone have an idea of how to start timer 4 after wake-up from a deep sleep?



Thanks
  Topic: Pic18f87k22 wakeup
aria

Replies: 12
Views: 22357

PostForum: General CCS C Discussion   Posted: Tue Aug 09, 2016 1:09 pm   Subject: Pic18f87k22 wakeup
Thanks for your response,

I do wake-up from sleep via serial data.
How do I get the timer 4 running again after wake-up from deep sleep?
  Topic: Pic18f87k22 wakeup
aria

Replies: 12
Views: 22357

PostForum: General CCS C Discussion   Posted: Tue Aug 09, 2016 4:54 am   Subject: Pic18f87k22 wakeup
enabling global interrupts did not help; I used this:
enable_interrupts(GLOBAL);
after enabling the timer4.


Here is my sleep steps:

shutdown();
clear_interrupt( ...
  Topic: Pic18f87k22 wakeup
aria

Replies: 12
Views: 22357

PostForum: General CCS C Discussion   Posted: Mon Aug 08, 2016 8:04 pm   Subject: Pic18f87k22 wakeup
Hi,
How do I start the timer4 interrupt to fire after wakeup via serial input?
This is what I have and timer4 does not fire:

disable_interrupts(INT_TIMER4);
clear_interrupt(INT_TIMER ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group