Quick Start Demo¶
Overview¶
The Quick Start Demo application enables you to test various features of the nRF54L15 Connect Kit such as Zephyr Shell, LED, Button, NFC tag, and Bluetooth Low Energy connectivity.
Tip
The nRF54L15 Connect Kit comes pre-programmed with the Quick Start Demo application, enabling you to explore its various features right out of the box.
Requirements¶
Before you start, check that you have the required hardware and software:
- 1x nRF54L15 Connect Kit
- 1x U.FL cabled 2.4 GHz Antenna (included in the box)
- 1x U.FL cabled 13.56 MHz NFC Antenna (included in the box)
- 1x USB-C Cable
- A smartphone or a tablet with NFC support
- A computer running macOS, Ubuntu, or Windows 10 or newer
Installing nRF Blinky App¶
nRF Blinky is a simple mobile app for developers new to Bluetooth Low Energy. It can:
Scan and connect to a peripheral device advertising with the proprietary/vendor-specific LED Button Service (LBS) UUID
Write to the LED Characteristic to change the state of an LED
Be notified when the Button Characteristic changes state because of a button press
Setting up your board¶
Attach the U.FL cabled 2.4 GHz Antenna.
Attach the U.FL cabled 13.56 MHz NFC Antenna.
Connect the nRF54L15 Connect Kit to the computer with a USB-C cable.
Building the application¶
To build the application, follow the instructions in Getting Started Guide to set up your preferred building environment.
Use the following steps to build the Quick Start Demo application on the command line.
-
Open a terminal window.
-
Go to
NCS-Project/nrf54l15-connectkit
repository cloned in the Getting Started Guide. -
Build the application using the
west build
command, specifying the board (following the-b
option) asnrf54l15_connectkit/nrf54l15/cpuapp
.Tip
The
-p
always option forces a pristine build, and is recommended for new users. Users may also use the-p auto
option, which will use heuristics to determine if a pristine build is required, such as when building another application. -
After building the application successfully, the firmware with the name
merged.hex
can be found in thebuild
directory.
Flashing the firmware¶
Flash the application firmware using west flash
:
Tip
In case you wonder, the west flash
will execute the following command:
Testing¶
After programming the application, test it by performing the following steps:
Connecting to Zephyr Shell¶
Once the board is connected, it exposes two COM ports, the primary COM port is connected to the Zephyr Shell whose terminal prompt appears as uart:~$
.
Open up a serial terminal, specifying the Zephyr Shell COM port:
- Start PuTTY.
-
Configure the correct serial port and click Open:
Press the DFU/RST button to reset the nRF54L15. Observe the output of the terminal. You should see the output, similar to what is shown in the following:
Type Tab to list all supported commands. When you type a command with --help
, the terminal shows its usage, for example gpio --help
:
LED Blinking Test¶
Now you can blink the Green LED using GPIO commands in the Zephyr Shell.
-
To control the Green LED, configure the GPIO pin P0.2 as an output:
-
Blink the Green LED using the
gpio blink
command: -
The Green LED starts to blink. Observe the output of the terminal. You should see the output, similar to what is shown in the following:
-
Hit any key in the Shell to stop the LED blinking.
Button Input Test¶
When the application starts, it prints any input event using the Input APIs. Press the USR button and observe the output of the terminal. You should see the output, similar to what is shown in the following:
NFC Tag Test¶
When the application starts, it initializes the NFC tag and generates a URI message with a URI record containing the URL "https://makerdiary.com". Test it by performing the following steps:
-
Touch the NFC antenna with the smartphone or tablet.
-
Observe that the smartphone or tablet tries to open the URL "https://makerdiary.com" in a web browser.
BLE Connectivity Test¶
The application exposes a Nordic LED Button Service (LBS). It sends the state of USR button on the board to the connected device, such as a phone or tablet. The nRF Blinky app can display the received button state and control the state of Green LED on the board. Test it by performing the following steps:
-
Open the nRF Blinky app, observe that the board is advertising with the Device Name Nordic_LBS.
-
Tap Nordic_LBS to establish a connection with the board, then:
- Toggle the LED switch in the app to turn the Green LED ON/OFF
- Press the USR button on the board, and the app will show its state (Pressed/Released)