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

nrf51822 GPIO direct source with high drive setting

I directly connect GPIO pin with 24ohm resistor as follows. And I set GPIO pin as high drive,

NRF_GPIO->PIN_CNF[MY_PIN_NO] |= (GPIO_PIN_CNF_DRIVE_H0H1 << GPIO_PIN_CNF_DRIVE_Pos);

When I measure the current, I got 38mA. But it should not exceed 15mA ? What am I wrong?

Thank you.

image description

Related