a question about low power

2 posts / 0 new
Last post
RandyYu
Offline
Last seen:2 years 8 months ago
加入:2015-01-28 08:49
a question about low power

my project is modified from DSPS device project,
there have a switch on my board,I use P1.2 to read the level,when the switch is on the pin will read high level.when off the level is low.
the problem is when the switch is on the current will increase 80μA。when device is in sleep mode,80μA is a large value,so this is a big probelm.
how can I handle this pin ,set it output high brfore go to sleep?But I don't think this is a good method to slove this problem

Device:
MT_dialog
Offline
Last seen:4 weeks 1 day ago
Staff
加入:2015-06-08 11:34
Hi RandyYu,

Hi RandyYu,

如果销连接ed the switch is configured a INPUT_PULLUP you will have some short of leakage, a solution would be to configure it as INPUT_PULDOWN when going to sleep in order to minimize it.

Thanks MT_dialog