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

Total Power Consumption
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ZZX
Guest







PostPosted: Sat May 13, 2006 3:27 am     Reply with quote

yes, i can turn it off using a fet, since wakeup time is much smaller than the pinging gap. One last thing, is there any difference between not using certain peripheral and turning them off. Cuz if u arnt using them,do they still are consume current. If yes, then how to turn off certain peripherals not in use. Also can i calculate the total power consumed by my pic?
Ttelmah
Guest







PostPosted: Sat May 13, 2006 8:40 am     Reply with quote

If you look at the setup commands for the peripherals (setup_adc for example), there is an 'ADC_OFF' option, which stops this peripheral. The same is true for many (most) of the extra bits.
Now you don't say 'which' PIC?. The data sheet generally has lists of the consumption at various rates, wth different supply voltages, and with various combinations of peripherals enabled (for things like the WDT), and seperately figures for the individual 'extras', like the ADC. These can be interpolated for other clock rates, and added together to give the chip consumption. On top of this though is any external drive. So (for instance), if you are driving a FET, you need to know the clock rate of the signal, capacitance, and likely 'driven time' (what percentage of the time the chip will be actually driving high), to work out how much extra current this circuit will use. The same is true for every output pin. Now as an example, most PICs, draw perhaps around 5mA 'themselves' (ignoring extra peripherals), at 40MHz, The same chip draws perhaps 80uA at 32KHz. This is why oscillator switching is such a useful tool when dealing with saving power.

Best Wishes
ZZX
Guest







PostPosted: Mon May 15, 2006 11:17 pm     Reply with quote

Thanks a lot for all this help Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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