Skip to content

Samples and Demos๐Ÿ”—

General Information๐Ÿ”—

The nRF Connect SDK comes with a broad range of sample applications that run on a multitude of evaluation boards.

In general you should be able to run these sample applications on the PAN1783 evaluation board without further modifications. For example you can compile, flash and run the popular Bluetooth: Peripheral UART sample application as explained in the Getting Started guide.

Unfortunately, there are some exceptions for more hardware-oriented sample applications and/or sample applications that have characteristics that depend on the evaluation board that they are run on. Specifically for multi-image builds, there are several points that need to be considered. See Multi-image builds using child and parent images documentation for further information.

The sample applications in the nRF Connect SDK contain all the additional configuration files, but only for Nordic's own nRF5340 development kits, not for any 3rd party evaluation boards like the PAN1783 evaluation board. Because of this, it is usually necessary to copy some configuration files before the sample application can be built.

The following sections contain detailed instructions how to build some of the most useful sample applications for the PAN1783 evaluation board.

Radio test (short-range)๐Ÿ”—

The Radio test (short-range) sample demonstrates how to configure the 2.4 GHz short-range radio in a specific mode and then test its performance.

  1. Set up the project using the Radio Test sample application as explained in the Getting Started guide.

  2. Open the Visual Studio Code command Terminal. Make sure that the working directory is the base directory of the project.

  3. Copy the following files to complete the project setup.

    cp boards/nrf5340dk_nrf5340_cpunet.conf \
      boards/pan1783_evb_nrf5340_cpunet.conf
    cp boards/nrf5340dk_nrf5340_cpunet.overlay \
      boards/pan1783_evb_nrf5340_cpunet.overlay
    cp sysbuild/remote_shell/boards/nrf5340dk_nrf5340_cpuapp.overlay \
      sysbuild/remote_shell/boards/pan1783_evb_nrf5340_cpuapp.overlay
    

  4. Configure the build configuration and build the application as explained in the Getting Started guide, but make sure to use pan1783_evb/nrf5340/pan1783_evb_netapp for the Board setting in the configuration step instead.

Bluetooth: Direct Test Mode๐Ÿ”—

The Bluetooth: Direct Test Mode sample enables the Direct Test Mode functions described in Bluetoothยฎ Core Specification: Version 5.2, Vol. 6, Part F.

  1. Set up the project using the Bluetooth LE Direct Test Mode sample application as explained in the Getting Started guide.

  2. Use the Visual Studio Code Explorer and open the file prj.conf and append the following configuration settings at the end of the file:

    # Enable serial driver
    CONFIG_SERIAL=y
    

  3. Open the Visual Studio Code command Terminal. Make sure that the working directory is the base directory of the project.

  4. Copy the following files to complete the project setup.

    cp boards/nrf5340dk_nrf5340_cpunet.conf \
      boards/pan1783_evb_nrf5340_cpunet.conf
    cp boards/nrf5340dk_nrf5340_cpunet.overlay \
      boards/pan1783_evb_nrf5340_cpunet.overlay
    cp sysbuild/remote_shell/boards/nrf5340dk_nrf5340_cpuapp.overlay \
      sysbuild/remote_shell/boards/pan1783_evb_nrf5340_cpuapp.overlay
    

  5. Configure the build configuration and build the application as explained in the Getting Started guide, but make sure to use pan1783_evb/nrf5340/pan1783_evb_netapp for the Board setting in the configuration step instead.

Matter: Light bulb๐Ÿ”—

The Matter: Light bulb sample demonstrates the usage of the Matter application layer to build a white dimmable light bulb device.

  1. Set up the project using the Matter Light Bulb sample application as explained in the Getting Started guide.

  2. Open the Visual Studio Code command Terminal. Make sure that the working directory is the base directory of the project.

  3. Copy the following files to complete the project setup.

    cp pm_static_nrf5340dk_nrf5340_cpuapp.yml \
      pm_static_pan1783_evb_nrf5340_cpuapp.yml
    cp boards/nrf5340dk_nrf5340_cpuapp.overlay \
      boards/pan1783_evb_nrf5340_cpuapp.overlay
    cp sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.conf \
      sysbuild/mcuboot/boards/pan1783_evb_nrf5340_cpuapp.conf
    cp sysbuild/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.overlay \
      sysbuild/mcuboot/boards/pan1783_evb_nrf5340_cpuapp.overlay
    cp sysbuild/ipc_radio/boards/nrf5340dk_nrf5340_cpunet.conf \
      sysbuild/ipc_radio/boards/pan1783_evb_nrf5340_cpunet.conf
    

  4. Configure the build configuration and build the application as explained in the Getting Started guide. Use the default pan1783_evb/nrf5340/pan1783_evb_cpuapp for the Board setting in the configuration step.