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

GPIO Current Drive

My application uses the nRF51822 with a GPIO configured as output and another GPIO is configured as input. Connected to the GPIO_OUT is a resistive load (Rload) which then connected to GPIO_IN. When GPIO_OUT drives a '1' and if the load has low resistance, we would expecte a '1' at GPIO_IN.

GPIO_OUT ------------------ Rload -----------------------GPIO_IN 

Per spec, the VDD is 3.3V.

With GPIO_PIN_CNF_DRIVE is set to S0S1, the spec say this would drive 0.5mA. The max Rload measdured to be around 6K ohm.

When GPIO_PIN_CFG_DRIVE is set to H0H1, we get the same result.

I would expect the high-drive to allow for more resistance on the load. 

Is this correct? Why would the S0S1 and H0H1 have the same result?

Parents
  • The way you use the word "load" is suspicious.

    The connection you've shown would not normally be described as a "load":

    GPIO_OUT ------------------ Rload -----------------------GPIO_IN 

    That is simply a resistor connecting the OUT to the IN.

    As said, the IN has a very high impedance - so virtually no current wil flow through the "load"

    But does that diagram fully represent your situation?

    Why are you calling this thing a "load" ?

    Are the OUT and IN pins on the same nRF51822 chip?

    Can you post a full schematic of your setup?

    Or some good, clear, in-focus photographs.

  • Thanks for your response. I used the word load loosely. Let's call them external resistor whose resistance varies depending on the amount  of chemical substances it interacted with. The circuit is exactly as shown. Both gpios or on the same nrf51822.  For our purpose, if there is no chemical substances, the external resistor is 1M ohm. With chemical present, the resistance is 20K ohm. 

Reply
  • Thanks for your response. I used the word load loosely. Let's call them external resistor whose resistance varies depending on the amount  of chemical substances it interacted with. The circuit is exactly as shown. Both gpios or on the same nrf51822.  For our purpose, if there is no chemical substances, the external resistor is 1M ohm. With chemical present, the resistance is 20K ohm. 

Children
Related