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

PIC18FXX20 NEW POWER MGMT MODES, ANY PRIOR EXP?

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

ALSO, DO YOU THINK THAT CCS SHOULD PROVIDE SOME ENHANCEMENT FOR THIS?
YES
100%
 100%  [ 1 ]
NO
0%
 0%  [ 0 ]
Total Votes : 1

Author Message
robroy_1



Joined: 10 Sep 2003
Posts: 9

View user's profile Send private message

PIC18FXX20 NEW POWER MGMT MODES, ANY PRIOR EXP?
PostPosted: Wed Oct 08, 2003 6:01 pm     Reply with quote

HELLO;

I AM LOOKING AT THE 18F1320 SPECIFICALLY AT THE NEW POWER MANAGEMENT MODES USING THE INTERNAL RC. I AM INTERESTED IN HALTING THE PROCESSOR BUT KEEPING TIMER1 COUNTING AT A 31.5KHZ RATE. IT LOOKS LIKE IT IS DOABLE AND CAN REDUCE MY PART COUNT AND COST IF IT WORKS RELIABLY...WHICH BARES THE QUESTION DO ANY OF YOU HAVE EXPERIENCE TO RELATE WITH CHANGING FROM RC_IDLE TO PRI_RUN?

ALSO, DO YOU THINK THAT CCS SHOULD PROVIDE SOME ENHANCEMENT FOR THIS AND IF SO HOW SHOULD IT BE DONE?

THANKS..

ROB
_________________
Rob
Darren Rook



Joined: 06 Sep 2003
Posts: 287
Location: Milwaukee, WI

View user's profile Send private message Send e-mail

Re: PIC18FXX20 NEW POWER MGMT MODES, ANY PRIOR EXP?
PostPosted: Thu Oct 09, 2003 10:46 am     Reply with quote

robroy_1 wrote:

ALSO, DO YOU THINK THAT CCS SHOULD PROVIDE SOME ENHANCEMENT FOR THIS AND IF SO HOW SHOULD IT BE DONE?


You can support anything with:

#ASM, #BYTE, #BIT ...
etc.
Andre Jr. Richard



Joined: 23 Sep 2003
Posts: 6

View user's profile Send private message

PostPosted: Tue Nov 18, 2003 8:58 am     Reply with quote

Try this...

#fuses INTRC_IO, ...

#byte OSCCON = 0xFD3

OSCCON = 0b01110000; Crystal at 8Mhz
// you can change the speed during the program running Smile
OSCCON = 0b00000000; Crystal at 32khz

I made that and it work perfectly. Wink

Andr�
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