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

GPIO Drive on NRF51822

Hi Nordic

I don't fully understand the drive settings for the GPIO. For example S0H1 means when the pin is CLEARED, it will use standard drive (can sink 0.5mA) and when it is SET, it will use high drive ( can supply 5mA). Is this correct so far? What is the implication of setting the drive to disconnect? Does S0D1, fo example, mean standard drive '0' and that you cannot set the pin to '1'?

Thanks in advance

  • S0D1 means that the output is disconnected on a logical 1, so that the output won't be pulled high or low.

    This is often used when you have several devices connected to a bus, and you don't want the devices to pull the bus lines when they are not active.

    I2C works in this fashion. Any device that outputs a logical 0 will pull the I2C line low, while any device outputing a logical 1 will leave the I2C line alone allowing other devices to communicate.

Related