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

Gpio pull up.

in my pca10001 board,

once i made led pin 18 and 19 pin as internal pull up.

led is not on,and i probe it also but not high.

here my config in blinky example.

NRF_GPIO->PIN_CNF[18] = (GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos) | (GPIO_PIN_CNF_DRIVE_S0S1 << GPIO_PIN_CNF_DRIVE_Pos) | (GPIO_PIN_CNF_PULL_Pullup << GPIO_PIN_CNF_PULL_Pos) | (GPIO_PIN_CNF_INPUT_Connect << GPIO_PIN_CNF_INPUT_Pos) | (GPIO_PIN_CNF_DIR_Output << GPIO_PIN_CNF_DIR_Pos);

Kindly tell me ,how to make sw pull up. so led on.

Regards Balaji

Related