Design is completed and can't be changed, beside there's no available I/O pin left.
IDLE power consumption is actually from the PIC and not from the peripherals.
Design is completed and can't be changed, beside there's no available I/O pin left.
IDLE power consumption is actually from the PIC and not from the peripherals.
I managed to reduce consumption to less than 50uA.
Here is main part of the code.
That would be pretty good! I will have a look at how you managed to get that and will let you know. Thanks for the help!
Took me too long to edit the previous post, I got locked!
I have downloaded the XLP LowPower App note from microchip and it is helpful. The 14K50 does not allows for deep sleep, but regular sleep should do.
Obviously IDLE mode consumes 25% less than the normal run power, so I will have to make the Sleep mode to work while getting the PIC to resume from it. However there's probably something else that I have to find out, as 900µA seems to be abnormal for IDLE at 250kHz... I'll have to double check if the peripherals are also turning into low power too. I have also reduced the power supply to 2.2V (the regulator is able to switch from 3.3V for USB operation to 2.2V - TPS780330220 from TI). that should help a bit with consumption.
Could the I2C pullup be a problem? I have used 6.8k resistors which is pretty much the maximum, at 10k and beyond the operation of the I2C bus is unstable.
Last edited by aberco; - 9th November 2010 at 00:39.
If the two resistors are grounded, then the current through them, is close to 900uA.
Make sure the pins that these are connected, are set to high or z-state before sleep.
Ioannis
Bookmarks