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

nRF52 dk gpio probelem

Hi, I'm using a nRF52 dk board as a switch to control a circuit. The problem is I not sure which gpio can be used to act as a switch to control the circuit. Thanks.

Parents
  • Hi,

    You can see a list of all the GPIOs on the nRF52832 here. On the nRF52832 Development Kit some of the GPIOs are occoupied.

    • The buttons and LEDs uses the GPIOs from P0.13 to P0.20.

    • The 32.768 kHz crystal uses P0.00 and P0.01.

    • If you enable the NRF_LOG function in the SDK, P0.05->P0.08 is by default used for printing the data over UART.

    • P0.21 is used as a reset if the CONFIG_GPIO_AS_PINRESET define is present.

    • If you use the NFC, the GPIOs P0.10 and P0.09 will be used by the NFC antenna.

    The above bulletpoints are illustrated in this drawing:

    image description

    If you really need to use the GPIOs used by the buttons, LEDs or the external crystal for something else, this can be done by shorting/cutting the solderbridges. All the other GPIOs are free to be used.

Reply
  • Hi,

    You can see a list of all the GPIOs on the nRF52832 here. On the nRF52832 Development Kit some of the GPIOs are occoupied.

    • The buttons and LEDs uses the GPIOs from P0.13 to P0.20.

    • The 32.768 kHz crystal uses P0.00 and P0.01.

    • If you enable the NRF_LOG function in the SDK, P0.05->P0.08 is by default used for printing the data over UART.

    • P0.21 is used as a reset if the CONFIG_GPIO_AS_PINRESET define is present.

    • If you use the NFC, the GPIOs P0.10 and P0.09 will be used by the NFC antenna.

    The above bulletpoints are illustrated in this drawing:

    image description

    If you really need to use the GPIOs used by the buttons, LEDs or the external crystal for something else, this can be done by shorting/cutting the solderbridges. All the other GPIOs are free to be used.

Children
Related