 |
 |
| View previous topic :: View next topic |
| Author |
Message |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Nov 02, 2005 11:57 am |
|
|
| Quote: |
My problem is this, that keypad relies on the port_b_pullups and they
are inherently going to waste alot of power during sleep. |
How ? Do you have a load on them ? i.e., is there a ground connection
to the Port B pins, or is some other device holding one or more pins
at a logic low level ? If not, there's no problem. |
|
 |
jecottrell
Joined: 16 Jan 2005 Posts: 559 Location: Tucson, AZ
|
|
Posted: Wed Nov 02, 2005 12:20 pm |
|
|
Uhhhhh, I guess I may be misunderstanding some things I've read previously. One post mentioned and the datasheet lists the pull-ups use 50-400uA @ 5V that translates into 33-266uA @ 3.3V.
Now, from your response it's got me thinking. If the pins are interconnected the way they are in the keypad I've implemented, there's essentially nothing to sink that current.... Is that what you're saying?
A sincere thanks for the thought provoking responses.
John
GED EE Technology
CCS Forums University |
|
 |
Eugeneo
Joined: 30 Aug 2005 Posts: 155 Location: Calgary, AB
|
|
Posted: Wed Nov 02, 2005 6:38 pm |
|
|
| jecottrell wrote: | Uhhhhh, I guess I may be misunderstanding some things I've read previously. One post mentioned and the datasheet lists the pull-ups use 50-400uA @ 5V that translates into 33-266uA @ 3.3V.
|
Now you've got me thinking. I thought that was the current just to latch the pull-up feature per pin.
Microchip should set this feature as a "fuse", that way it wouldn't consume any power.
| jecottrell wrote: |
2. Put an extremely high pull-up (1M+ ?) on the columns to wake the PIC from sleep without using the internal pull-ups during sleep. This would also solve a problem I noticed when I disable the pull-ups prior to sleep. When I disable the port_b_pullups prior to sleep, the PIC wakes as the pull-ups drain....essentially creating a PIC with sleep apnia. (And not to mention the keypad can't wake the PIC.)
John |
That sounds like the best solution if your worried about the 33-266 uA the pullups consume, but now when your scanning the keypad, it's going to consume more current. |
|
 |
|
|
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
|