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 support@ccsinfo.com

How to make low power app with 16f777

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







How to make low power app with 16f777
PostPosted: Wed May 25, 2005 3:56 am     Reply with quote

I want to save power im my applikation so i need to put the chip into sleep and switch to 31KHz. How can i do that?
Ttelmah
Guest







PostPosted: Wed May 25, 2005 4:11 am     Reply with quote

When the chip is asleep, the oscillator stops. Oscillator switching, and sleep mode, are complimentary techniques. One uses low power while the chip stays running, while the other suspends execution.
Use the 'sleep();' instruction to put the processor to sleep.
The 'setup_oscillator' function controls the speed of the oscillator. Look in the include file for the processor, to see the values that can be used with this.

Best Wishes
Jurgens
Guest







PostPosted: Wed May 25, 2005 7:45 am     Reply with quote

I have two options :
16LF777 or 16F819.

There are both using nano-watt tehnology and in the datasheet of 16F819 is writen that the LP osc will work in the sleep mode.

Maybe i get this wrong but you are telling me this:

1.) If i go into sleep all functions and counting are down, while in this mode.

2.) If i go to LP i will save some power but not as much as im sleep.

What would you do when you have to use one of those chips and you need low power and continues program run ( counting, functions and so on) ?
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