Getting Started with the QN9080SIP-DK

Last Modified: 2019-03-25 23:40:01Supports QN9080SIP Development Kit

Contents of this document

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build, Run

1. Plug It In

Let's take your QN9080SIP-DK board for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions list below.

1.1 Getting Started with the QN9080SIP-DK Development Kit

1.2 Attach the USB Cable

QN9080-1

QN9080-1

1.3 Run the Out-of-Box Demo

Your QN9080SIP-DK board comes loaded with a demo that will repeatedly flash an LED when you connect the board.

QN9080-2

QN9080-2

2. Get Software

2.1 Installing Software for the QN9080SIP-DK

2.2 Download MCUXpresso SDK with Connectivity Software

Want to learn about SDK?

MCUXpresso SDK for the QN9080SIP-DK integrates the MCUXpresso Software Development Kit with all the wireless connectivity stacks required to develop your solution with Bluetooth Low Energy.

Click below to download a pre-configured SDK release for the QN9080SIP-DK that includes the wireless connectivity Bluetooth Low Energy stack for the QN9080.

MCUXPRESSO-SDK-TN

Get MCUXpresso SDK

2.3 Install Your Toolchain

NXP offers a complimentary toolchain called MCUXpresso IDE.

MCUXpresso IDE

Get MCUXpresso IDE

Want to use a different toolchain?

No problem! The MCUXpresso SDK includes support for other tools such as IAR  and Keil .

IAR, Keil Logos

2.4 MCUXpresso Config Tools

The MCUXpresso Config Tools is an integrated suite of configuration tools that guides users in creating new MCUXpresso SDK projects, and also provides pin and clock tools to generate initialization C code for custom board support. This tool is integrated into MCUXpresso IDE, but if you are using a different IDE, you can download this tool below.

MCUXpresso Config Tools

Get MCUXpresso Config Tools

2.5 QN9080SIP-DK Drivers

Drivers for the debugger and virtual COM port also need to be installed. They are part of the LPCScrypt package, which can be download below. Once the LPScrypt is installed, ensure that the QN9080SIP-DK board is connected to your computer, and then go to C:\NXP\LPCScrypt\Drivers and double click on lpc_driver_installer.exe to install the drivers.

Download Driver

2.6 Terminal Configuration

Configure your preferred terminal to 115,200 baud rate, 8 data bits, no parity and 1 stop bit. To determine the port number of the QN9080SIP-DK's virtual COM port, open the device manager and look under the "Ports" group.

Not sure how to use a terminal application? Try one of these tutorials: Tera Term Tutorial, PuTTY Tutorial.

3. Build, Run

The QN9080 Wireless Connectivity Stack comes with a list of demo applications and driver examples ready to be compiled and run.

3.1 Build and Run Demos on the Q9080SIP-DK

3.2 Explore the Connectivity Example Codes

The QN9080 Wireless Connectivity Software package comes with a long list of BLE examples. To see what's available, browse to the 'wireless_examples' folder (<sdk_install_directory>\boards\qn908xcdk\wireless_examples\bluetooth).

If you are interested in running the preprogrammed example that comes with your board, click here.

3.3 Download the BLE Toolbox for your Smartphone

In order to use the Bluetooth Low Energy examples, the NXP IoT Toolbox needs to be installed on a smartphone. This application provides several examples that can be used in conjunction with the connectivity stack to connect your phone to the development board over BLE.

Get it on Google Play

3.4 Build, Run and Debug Wireless Connectivity Examples

You probably want to build and debug a demo by yourself. Use the guide below to learn how to build and debug an example application from the Wireless Connectivity Stacks in the MCUXpresso IDE or IAR Embedded Workbench IDE.

Tera Term Tutorial

Tera Term Tutorial

Tera Term is a very popular open source terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.

  1. Download Tera Term from SourceForge. After the download, run the installer and then return to this webpage to continue
  2. Download

  3. Launch Tera Term. The first time it launches, it will show you the following dialog. Select the Serial option. Assuming your board is plugged in, there should be a COM port automatically populated in the list
  4. Tera-Term-Connection
  5. Configure the serial port settings (using the COM port number identified earlier) to 115,200 baud rate, 8 data bits, no parity and 1 stop bit. To do this, go to Setup → Serial Port and change the settings
  6. Verify that the connection is open. If connected, Tera Term will show something like below in its title bar
  7. Tera-Term-Console
  8. You're ready to go

PuTTY Tutorial

PuTTY Tutorial

PuTTY is a popular terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.

  1. Download PuTTY using the button below. After the download, run the installer and then return to this webpage to continue
  2. Download

  3. Launch PuTTY by either double clicking on the *.exe file you downloaded or from the Start menu, depending on the type of download you selected
  4. Configure in the window that launches, select the Serial radio button and enter the COM port number that you determined earlier. Also, enter the baud rate, in this case 115,200
  5. PUTTY-Configuration
  6. Click Open to open the serial connection. Assuming the board is connected, and you entered the correct COM port, the terminal window will open. If the configuration is not correct, PuTTY will alert you
  7. You're ready to go

Proximity Application

Proximity Application

The demo application programmed out of the box for the QN9080SIP-DK board is the Proximity Reporter demo. It implements a GATT server and the following profile and services.

  • Proximity Profile v1.0.1
  • Immediate Alert Service v1.0
  • TX Power Service v1.0
  • Link Loss Service v1.0.1
  • Battery Service v1.0
  • Device Information Service v1.1

Running the Demo

  1. First, you will need to download and install the IoT Toolbox smartphone app from the Google Play  or App Store
  2. After powering on the board, press Button1 to begin advertising, and the blinking light should turn red. Open the IoT Toolbox app and click on the Proximity icon
  3. popup-3-1
  4. Look for the "FSL_PXR" name and tap to connect
  5. popup-3-1-1
  6. Experiment with the different options on the Proximity screen and move your phone away from and toward the board to see the "RSSI" values change
  7. popup-3-1-2

For additional details on how to run the Proximity Reporter application, please refer to the "BLE Demo Applications User's Guide".

Design Resources

Additional Resources

Sensors

Explore the world with a full assortment of NXP sensor solutions. From accelerometers, pressure sensors, touch sensors, and many more, NXP has a sensor solution for your project. Find out more at Sensors.

NFC

Near Field Communication is a simple, intuitive technology that lets you interact securely with the world around you with a simple touch. Learn more about NXP's NFC solutions at NFC - Near Field Communication.

Support

Forums

Connect with other engineers and get expert advice on designing with the QN90xx MCUs and the Wireless Connectivity software. Join the community discussion in the Wireless Connectivity Community .