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

NRF_GPIO_PIN_PULLUP Input remains low

Hi,

I have configured pin 10 (STATUS_BUTTON) on my own design board using a nRF52832 chop as follows:

  nrf_gpio_cfg(
    STATUS_BUTTON,
    NRF_GPIO_PIN_DIR_INPUT,
    NRF_GPIO_PIN_INPUT_CONNECT,
    NRF_GPIO_PIN_PULLUP,
    NRF_GPIO_PIN_S0S1,
    NRF_GPIO_PIN_SENSE_LOW);

I am intending to use the internal pull-up resistor to pull the pin high. However the pin remains low.

I thought I could use the internal pullup resistor and I did not connect any external resistor on my board. Is that correct? The button is connected as follows to P0.10

Thanks for your help

Related