This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Pull-up current usage

In an answer to this question about current usage of pull-ups here , RK and Vidar comment:

Is the GPIO you have configured as a pull up, being pulled down? If so you'd expect to see 3v or so across the 15k or so pull up resistor which is about 200uA

My (probably daft) questions are:

  • Suppose the GPIO was configured as pull-up, and was not being pulled-down, would it still consume 200uA?
  • Is this the same when the gpio is configured as a 'sense' input and the mcu is asleep?
    • If the GPIO is configured with a pull-up, and not being pulled to GND, there will not flow any current through the resistor, and therefore it will not consume 200µA.

    • If you configure the input as sense low with a pull-up, current will only flow when you pull the pin down, i.e. to wake up the chip. (or vice versa)

Related