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

int_rda during sleep?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ben_r



Joined: 26 Mar 2004
Posts: 4

View user's profile Send private message

int_rda during sleep?
PostPosted: Thu May 27, 2004 7:42 am     Reply with quote

Is it possible for int_rda to work when the PIC is sleeping - im a bit confused by reading the data sheet (18F2320).

What I want to do is to sleep until a byte is recevied, then wake and process it - but at the moment the PIC just sleeps forever (int_rda & int_global are enabled).

Im using a 10Mhz XTAL with the x4 PLL and the UART is running at 115.2KBaud (the UART works fine - untill it sleeps).
Gerrit



Joined: 15 Sep 2003
Posts: 58

View user's profile Send private message

PostPosted: Thu May 27, 2004 7:53 am     Reply with quote

Hi Ben_r,

When putting the microchip to sleep disables the uart as well from
functioning.

And you can't wakeup after detecting a start bit (via external int)
Takes to long to start.


Regards,

Gerrit
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group