For the complete documentation index, see llms.txt. This page is also available as Markdown.

NU-40 DK

CONTENTS Downloads | Realistic View | Pin Layout | Arduino IDE Setup | VSCode Setup


Quick Start with NU-40 DK

Go Arduino IDE Setup to view the overview

Go VSCode Setup to view the overview

Downloads

Realistic View

  • NU-40 DK V2

Pin Layout

NU-40 DK V1 and NU-40 DK V2 use the same pin layout. Hardware connections, pin assignments, and expansion connector compatibility are identical between the two versions.

  • NU-40 DK V2

  • NU-40 DK V1

Arduino IDE Setup

1

Install Arduino IDE

Go to https://www.arduino.cc/en/software/ and install the latest Arduino IDE.

2

Add NU Board Manager URL

1) Open Arduino IDE preferences menu.

  • Windows / Linux: File → Preferences

  • macOS: Arduino IDE → Preferneces

2) Find Additional Boards Manager URLs and add the NU board package URL: https://raw.githubusercontent.com/Nucode01/Adafruit_nRF52_Arduino/refs/heads/master/package_nuduino_index.json

3) Click OK to save the setting.

3

Install NU Board Package

1) Open Tools → Board → Boards Manager.

2) Search NUBoard nRF52 by NUCODE and install it.

4

Select NU-40 DK

Select Tools → Board → NUBoards nRF52 → NU40DK nRF52840.

5

Start with Examples

After selecting the NU-40 DK board and the correct port, upload a basic example sketch to check that the Arduino IDE setup is working correctly.

You can check some Demo codes here.

VSCode Setup

1

Go to https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack and install the latest J-Link Software and Documentation Pack for your OS.

3

Install nRF Connect SDK

1) Install VS Code

Go to https://code.visualstudio.com/download and install Visual Studio Code.

2) Install nRF Connect Extension Pack

Open VS Code and install nRF Connect Extension Pack from the Extensions menu.

3) Install Toolchain and SDK

Open the nRF Connect menu in VS Code - Click Manage Toolchains and install the required toolchain - Click Manage SDKs and install the required nRF Connect SDK version.

4

Check SDK Path

After installation, check the installed SDK path.

Open the nRF Connect menu in VS Code - Click Manage SDKs - Click Open SDK directory - Check the folder path of the installed SDK version name, such as v3.4.0.

Example:

5

Set Zephyr Environment

Move to the path checked in Step 4 using the terminal and run the environment script.

macOS / Linux:

Windows:

6

Create NU Board Files

Open the nRF Connect menu in VS Code - Click Create a new board - Enter the board information:

Item
Value

Board name

NU40DK

Description

NU40DK

Vendor name

NUCODE

SoC

nRF52840-QIAA

Board root

Select the desired path

Click Create Board.

After creation, check that the boards folder and board definition files are generated.

7

Start with Examples

After creating the NU40 DK board files, start with a basic Zephyr sample to check that the VS Code setup is working correctly.

Last updated