Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 30th October 2009, 09:39 PM   #1
Default What's the power consumption of a PIC chip in reset?

Hey Guys.

I had a question that I couldnt work out using the datasheet.

Im currently designing something with the 16f630.
If I hold it in reset by pulling MCLR to ground, is the power consumption reduced like its in sleep mode?

If so, I could save a pin and a little code on my design which would be really handy.

Cheers
John
__________________
The first rule of mstechca club is do not talk about mstechca club.
http://www.electro-tech-online.com/s...induser&u=1245

Last edited by 2camjohn; 30th October 2009 at 09:40 PM.
2camjohn is offline  
Old 31st October 2009, 12:00 AM   #2
Default

No reset is not the same as sleep mode, not sure what the energy usage in reset is cause you're not really supposed to do that.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 31st October 2009, 07:45 AM   #3
Default

I believe it's very similar to sleep mode. The oscillator shuts down, the PORT pins go high impedance etc. The power consumption *should* be very similar to sleep mode. A quick test with a multimeter set to microamps would give a better answer...
Mr RB is offline  
Old 31st October 2009, 07:01 PM   #4
Default

You can always program the MCLR pin to be an input with wake-on-pin change and implement the sleep in your code. Then you know the chip is actually "asleep" when you pull the pin low.
kpatz is offline  
Old 1st November 2009, 01:15 AM   #5
Default

If you do that you can't use ICSP can you?
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 1st November 2009, 02:00 AM   #6
Default

Quote:
Originally Posted by Sceadwian View Post
If you do that you can't use ICSP can you?
Yes you can... even if the pin is programmed as an input instead of MCLR it still works as the Vpp pin (high voltage on it puts the chip into programming mode).

You just have to make sure not to put more than Vdd on it when used as an input, or the chip will enter programming mode in your application.

Last edited by kpatz; 1st November 2009 at 02:02 AM.
kpatz is offline  
Old 1st November 2009, 02:49 AM   #7
Default

High voltage programming is not ICSP programming. Especially not if that high voltage fries the sensor you were attaching to that input...
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 1st November 2009, 11:22 AM   #8
Default

Quote:
Originally Posted by Sceadwian View Post
High voltage programming is not ICSP programming. Especially not if that high voltage fries the sensor you were attaching to that input...
ICSP can be either high or low voltage programming, but in the VAST majority of cases it would be high voltage.

As with any ICSP design you need to design it properly, so that the programming system doesn't affect anything else.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Reply

Tags
chip, consumption, pic, power, reset

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
IGBT power consumption Electronics4you General Electronics Chat 8 24th April 2007 07:30 PM
Power Consumption Badar General Electronics Chat 8 14th March 2007 07:30 PM
Power consumption Dr.EM Electronic Projects Design/Ideas/Reviews 4 18th March 2005 12:33 PM
Power-On Reset & Brown-Out Reset hantto Micro Controllers 5 31st August 2004 12:14 PM
PIC power consumption with internal rc DaKandEKid Electronic Projects Design/Ideas/Reviews 0 2nd September 2003 02:50 AM



All times are GMT. The time now is 09:06 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker