How to Use NX15 with the Arduino Platform
This guide targets the KORLINX NX15 Dev Kit, an evaluation board built around the nRF54L15-based NX15 module. KORLINX provides the NX15 board definition through KORLINX Zephyr Boards.
Arduino core release This guide was tested with KORLINX core 0.2.0, which adds the KORLINX NX15 (nRF54L15) board to Arduino IDE. Select version 0.2.0 when following this guide. The core is based on Arduino Core for Zephyr and is not affiliated with or endorsed by Arduino.
What you will build
Install the NX15 core, compile a sketch that switches the red user LED on and off every 500 ms, then verify a periodic message through the board's USB-to-UART interface.
The NX15 workflow uses two host connections:
- J-Link over SWD programs the Arduino loader and sketch.
- USB Type-C through the onboard USB-to-UART interface powers the Dev Kit and provides the
Serialconnection.
Supported host platforms
Arduino IDE 2.x is available for Windows, macOS, and Linux. KORLINX core 0.2.0 does not publish a validated host OS compatibility matrix, so confirm Arduino IDE and J-Link operation on the host used for development.
Before you begin
Required hardware
| Item | Requirement |
|---|---|
| Development board | NX15 Dev Kit; record its revision and fitted module model |
| USB cable | Data-capable cable matching the board's USB Type-C connector |
| Programming interface | SEGGER J-Link debug probe compatible with the nRF54L15 |
| Debug wiring | SWD cable or adapter for NRESET, SWDCLK, GND, SWDIO, and VTref (3V3) |
| Host computer | Operating system supported by both Arduino IDE and the selected core/uploader |
A bare NX15 module additionally needs a carrier, suitable power design, and accessible debug signals.
Use data-capable USB cables The NX15 Dev Kit and J-Link each connect to the host through USB. Use data-capable cables for both devices. A charge-only cable can power a device without exposing the USB serial port or debug probe to the host.
Required software
- Arduino IDE.
- KORLINX Zephyr Boards version 0.2.0, the version tested with this guide.
- SEGGER J-Link software when using a J-Link probe.
- USB-to-UART drivers if required by the host operating system.
A complete host OS compatibility matrix is not stated in the release notes.
Before connecting external hardware
The Arduino pin names below are software mappings from core 0.2.0. Check the NX15 Dev Kit Hardware guide before connecting external circuits, and confirm connector positions and electrical limits for the board revision in use.
Step 1: Install Arduino IDE
- Download Arduino IDE from the official software page.
- Install Arduino IDE 2.x using the normal procedure for the host operating system.
- Start Arduino IDE.
Step 2: Add the KORLINX board-package index
Use the package index published with the KORLINX ArduinoCore-zephyr release.
Add the Boards Manager URL
- Open Arduino IDE preferences:
- Windows or Linux: File > Preferences
- macOS: Arduino IDE > Settings
- Find Additional Boards Manager URLs.
- Add this URL. If other URLs are already configured, keep them and add this as a separate entry:
https://github.com/KORLINX/ArduinoCore-zephyr/releases/latest/download/package_korlinx_index.json
- Select OK to save the settings.
Add the complete KORLINX package-index URL under Additional Boards Manager URLs.
Install KORLINX Zephyr Boards
- Open Tools > Board > Boards Manager.
- Search for KORLINX Zephyr Boards.
- Select version 0.2.0, then select Install.
- Wait for the core and its tool dependencies to finish installing.
- Confirm that KORLINX NX15 (nRF54L15) appears under the KORLINX Zephyr Boards platform.
Confirm that KORLINX Zephyr Boards is installed and that the NX15 board is available.
When using a J-Link probe, also install the SEGGER J-Link Software and Documentation Pack.
Step 3: Connect NX15 to J-Link through SWD
Uploading to NX15 requires a programming connection in addition to the board's USB connection. This guide uses a SEGGER J-Link probe connected through SWD. The USB Type-C connection provides board power and access to the onboard USB-to-UART interface.

NX15 SWD connection points and the connection to a SEGGER J-Link probe through a compatible flat cable or adapter.
Connect the J-Link probe to the labeled NX15 SWD pads as follows:
| J-Link signal | NX15 pad | Function |
|---|---|---|
nRESET | NRESET | Target reset |
SWCLK | SWDCLK | SWD clock |
GND | GND | Common ground |
SWDIO | SWDIO | Bidirectional SWD data |
VTref | 3V3 | Target-voltage reference |
- Disconnect the NX15 Dev Kit and J-Link probe from USB before making the SWD connections.
- Connect each J-Link signal to the corresponding NX15 pad shown in the table. Check the pinout of the specific J-Link cable or adapter before wiring it.
- Connect the NX15 Dev Kit to the host through USB Type-C to power the board and enable the USB-to-UART interface.
- Connect the J-Link probe to the host through USB.
- Check that both USB connections are secure before uploading a sketch.
The J-Link VTref connection senses the board's 3.3 V I/O level. Power the board through its intended power input; do not configure the probe to supply target power unless the hardware documentation for the exact probe and board setup explicitly permits it. See the NX15 SWD preparation guide for additional connection precautions.
Programming and serial communication A visible USB serial port confirms USB-to-UART enumeration. It does not by itself establish a serial firmware-upload path. Use the programming method specified by the validated NX15 core. The NX40 UF2/DFU bootloader procedure is not an NX15 procedure.
Step 4: Select the board and uploader
- Select Tools > Board > KORLINX Zephyr Boards > KORLINX NX15 (nRF54L15).
- Keep these board options for the first test:
- Debug:
Standard - Link mode:
Dynamic
- Debug:
- Confirm that the J-Link connected in Step 3 remains connected to the host and NX15 SWD interface.
- Select the USB serial port when using Serial Monitor. This port is not the J-Link programming connection.
Select KORLINX NX15 and the USB serial port used by Serial Monitor.
Use Debug mode when loader diagnostics are needed. Use Static link mode only when the application specifically requires it; it produces a different upload artifact from the default Dynamic mode.
The core uses pyOCD to discover and program supported debug probes. If several probes are connected, disconnect the probes that are not used before uploading.
Step 5: Prepare the Blink sketch
Open File > Examples > 01.Basics > Blink, then save the sketch as nx15_blink.

Open the built-in Blink example before replacing it with the NX15-specific sketch.
Core 0.2.0 defines the built-in LED as LED_BUILTIN and its active level as LED_STATE_ON:
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, LED_STATE_ON);
delay(500);
digitalWrite(LED_BUILTIN, 1 - LED_STATE_ON);
delay(500);
}
The release also defines LED_RED, LED_BLUE, LED_GREEN, and LED_RUN. Start with LED_BUILTIN to verify the core and upload path.
Step 6: Compile and program
After installing the core and connecting J-Link:
- Select Verify and wait for compilation to complete without errors.
- Confirm that KORLINX NX15 (nRF54L15), Standard, and Dynamic remain selected.
- Confirm that J-Link is connected and detected, then select Upload.
- Wait until the upload output reports
Upload finished.
NX15 has no USB bootloader in this workflow. Core 0.2.0 uses its included uploader with J-Link to write the Arduino Zephyr loader from 0x00000000 and the user sketch from 0x00060000. During later uploads, the uploader checks the installed loader and writes it again only when it differs from the packaged loader.
The first upload can therefore take longer than a sketch-only update. The upload output reports either Uploading the Arduino firmware and the sketch. or The Arduino firmware on the board is up to date; uploading the sketch only.

The NX15 Blink sketch after a successful upload through the connected J-Link debug probe.
Step 7: Confirm the result
The LED selected by the confirmed mapping should be on for approximately 500 ms and off for approximately 500 ms, repeatedly. Observe the user LED rather than the power or charging indicator.
If it stays unchanged, check the programmed image, selected board, GPIO mapping, polarity, and reset behavior.
Optional: Verify UART output
Create a separate sketch named nx15_uart. Core 0.2.0 routes Serial through the onboard USB-to-UART interface:
void setup() {
Serial.begin(115200);
}
void loop() {
Serial.println("KORLINX NX15 Arduino is running");
delay(1000);
}
Program the sketch using the confirmed workflow. Open Tools > Serial Monitor on the USB serial port and select 115200 baud. Expected application text:
KORLINX NX15 Arduino is running
The screenshot below shows the expected message repeated in Arduino IDE Serial Monitor.
The USB Serial Monitor displays the NX15 test message approximately once per second.
Arduino pin aliases in core 0.2.0
Use symbolic names in sketches where the core provides them. These mappings come from the NX15 variant included in KORLINX core 0.2.0.
| Arduino symbol or object | Dev Kit function | Core mapping |
|---|---|---|
LED_RED | Red user LED | Arduino pin 11 / P1.09, active-high |
LED_BLUE | Blue user LED | Arduino pin 8 / P0.04, active-high |
LED_GREEN | Green user LED | Arduino pin 19 / P2.03, active-high |
LED_RUN | Run LED | Arduino pin 14 / P2.01, active-high |
PIN_BUTTON1 | User button | Arduino pin 7 / P1.10, active-low |
Serial | Onboard USB-to-UART interface | RX pin 21 / P1.12; TX pin 22 / P1.13 |
Wire | I²C | SDA pin 6 / P2.02; SCL pin 23 / P1.15 |
A0–A4 | Core analog aliases; J3 exposes A0 and A1 | A0=P1.04, A1=P1.05, A2=P1.06, A3=P1.07, A4=P1.11 |
A5 / PIN_VBAT | Battery-divider input | P1.14; not a general external analog input |
PIN_6D_INT1 | IMU interrupt | Arduino pin 12 / P2.04 |
PIN_6D_CS | IMU chip select | Arduino pin 17 / P2.05; held high for I²C mode |
The core also defines charger-control and status aliases. Review the board schematic and core source before changing charger pins or using pins connected to onboard devices. Hardware presence alone does not confirm that a compatible Arduino library is available.
NX15 code examples
The samples directory in the KORLINX Arduino core provides the following examples for learning the APIs available on NX15.
| Example | What it demonstrates |
|---|---|
analog_input | Reads an analog input and reports the converted value |
attach_interrupt | Handles a GPIO interrupt with attachInterrupt() |
blinky_arduino | Blinks an LED with the Arduino API |
button_press_led | Reads the user button and controls an LED |
fade | Changes LED brightness with PWM |
hello_arduino | Prints a basic Arduino application message |
i2cdemo | Demonstrates I²C communication through Wire |
serial_event | Processes incoming serial data with a serial event handler |
spi_controller | Uses NX15 as an SPI controller |
threads_arduino | Runs Arduino work in multiple Zephyr threads |
Open an example directory to review its source and project files. Confirm the required wiring and pin aliases against the NX15 Dev Kit hardware page before connecting an external circuit.
Troubleshooting
| Symptom | What to check |
|---|---|
| NX15 board entry is missing | Confirm the package index URL and install KORLINX Zephyr Boards 0.2.0 |
| Arduino IDE cannot access J-Link | Check both USB data cables, SEGGER software, host permissions, and the J-Link USB connection |
| Probe cannot detect the target | Check target power, 3V3/VTref, common ground, SWDIO, SWDCLK, NRESET, and nRF54L15 support |
| Upload fails when several probes are connected | Disconnect unused debug probes and retry with only the intended J-Link attached |
| USB serial port appears but upload fails | Confirm the programming interface and core upload recipe |
| Programming succeeds but no LED blinks | Check target, image, pin mapping, polarity, and reset |
| Serial Monitor is blank | Check the USB serial port, baud rate, UART object, pin routing, and flow control |
| Sensor example fails | Check exact sensor, library compatibility, bus routing, and power |