nRF5340 DK v1.0.0

Buttons and LEDs

The four buttons and four LEDs on the nRF5340 DK are connected to dedicated GPIOs on the nRF5340 System on Chip (SoC).

Table 1. Button and LED connection
Part GPIO Solder bridge
Button 1 P0.23 -
Button 2 P0.24 -
Button 3 P0.08 -
Button 4 P0.09 -
LED 1 P0.28 SB5
LED 2 P0.29 SB6
LED 3 P0.30 SB7
LED 4 P0.31 SB8

If P0.28P0.31 are needed elsewhere, the LEDs can be disconnected by cutting the short on SB5SB8. See Disconnecting the LEDs for more information.

Figure 1. Disconnecting the LEDs
Disconnecting the LEDs by shorting SB5-SB8 on nRF5340 DK

The buttons are active low, meaning that the input will be connected to ground when the button is activated. The buttons have no external pull-up resistor, and therefore, to use the buttons, the P0.08, P0.09, P0.23, P0.24 pins must be configured as input with an internal pull-up resistor.

The LEDs are active low, meaning that writing a logical zero (0) to the output pin will illuminate the LED.

Figure 2. Button and LED configuration
Button and LED configuration on nRF5340 DK