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

GPIOTE, GPIO Abstraction and Selecting Output Drive Mode

Sorry I must have missed some crucial bit of documentation.

I have some code working using GPIOTE, however the inputs of the hardware, that will connected cannot be driven, they employ internal pull-ups.

1) How do I know the drive mode used by my GPIOTE output?

2) How can I change it if it's not what I need.

Am I forced to used the GPIO Abstraction to get this control?

  • Hi,

     

    1) How do I know the drive mode used by my GPIOTE output?

     

    You need to ensure that the GPIO you're using is configured correctly in the NRF_GPIO structure.

     

    2) How can I change it if it's not what I need.

    Am I forced to used the GPIO Abstraction to get this control?

    Note that the GPIOTE and the GPIO are two different peripherals. You must set the correct direction for each GPIO that you are using in combination with the GPIOTE peripheral.

     

    Best regards,

    Håkon

     

Related