This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Do the GPIO pins on the nrf52840 float during sleep? Or are they high/low?

Like it says in the title. I'm working on an embedded application where lifetime is pretty important, so I'm trying to get power consumption down as low as possible. I don't want current leaking through my GPIO pins if they're connected to some source or sink. I looked through the product spec, but I couldn't find any information specifically on the pins.

I've also thought about measuring the voltage on a sleeping chip myself, but all I have is the devkit, and I think there are enough peripherals on there as to confuse the measurement.

Parents
  • Hi

    The default configuration for the pins is input mode with the input buffers disconnected, which means that you should not have current flowing into or out of the chip even if you pull the pins high or low.

    You can measure the current going into the chip accurately by using the nRF Current Measurement header, as long as you cut the SB41 solder bridge first. Just be aware that only current flowing out of a pin would be included in the chip supply current, not current flowing into it.

    Best regards
    Torbjørn

Reply
  • Hi

    The default configuration for the pins is input mode with the input buffers disconnected, which means that you should not have current flowing into or out of the chip even if you pull the pins high or low.

    You can measure the current going into the chip accurately by using the nRF Current Measurement header, as long as you cut the SB41 solder bridge first. Just be aware that only current flowing out of a pin would be included in the chip supply current, not current flowing into it.

    Best regards
    Torbjørn

Children
Related