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

Cannot drive GPIO port using pin 5

I am using a custom board using the nRF52832. I have developed a number of applications using this board sucessfully using nRF5 SDK.,

I am porting a current application to NCS and have encountered a strange issue.

The custom board specifies GPIO0 pin 26 for a LED, however, if I change the pin to 5, it does not work.

I have included the custom board files.

All I do is to change the pin number on line 29 from 26 to 5. It works fine with 26, but the port does nothing if I change it to 5.

The same stuff works fine in nRF5 SDK.

Is there possibly a restriction on which pins may be used for LEDs.

I am using the Zephyr Blinky example with my project. Pin 26 drives a red LED whilst Pin 5 drives a relay. Both are done via a transistor.

mfp_nrf52832.zip

Parents Reply Children
No Data
Related