1
Plug It In2
Get Software3
Build, Run4
CreateSign in to save your progress. Don't have an account? Create one.
Let's take your FRDM-KW019032 for a test drive!
Note: This page is made available for historical reference only.
Something went wrong! Please try again.
In this step, you will be guided to download the software and tools required to build and run the connectivity solutions.
The KW01 Connectivity Software package integrates the Kinetis Software Development Kit 1.3 and all the wireless connectivity stacks required to develop your solution using IEEE 802.15.4 and SMAC wireless connectivity stacks.
Download the KW01 Connectivity Software v1.0.0 for your computer.
Something went wrong! Please try again.
IAR Embedded Workbench for Arm (EWARM) version 7.40.2 or later is the development toolchain used to deploy software applications using the NXP connectivity stacks. NXP provides example EWARM workspace projects for you to start your development.
Get IAR Embedded Workbench for Arm
Right now, the only supported toolchain is IAR Embedded Workbench for Arm; we are currently working on the enablement of NXP KDS for connectivity stacks.
Something went wrong! Please try again.
Many of the example applications output data over the MCU UART so you'll want to make sure that the driver for the board's virtual COM port is installed. Before you run the driver installer, you MUST have the board plugged in to your PC.
With the serial port driver installed, run your favorite terminal application to view the serial output from the MCU's UART. Configure the terminal to 115,200 baud rate, 8 data bits, no parity and 1 stop bit. To determine the port number of the FRDM-KW019032'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.
Something went wrong! Please try again.
Each of the Wireless Connectivity Stack comes with a list of demo applications and driver examples ready to be compiled and run.
Select the Connectivity Stack that you want to explore.
Browse to the examples\smac
folder to see the application demos:
<connectivitysoftware_install_folder>\KW01_Connectivity_Software_v1.0.0\ConnSw\examples\smac
If you are interested in running the preprogrammed connectivity test demo that comes with your board, go to Connectivity Test Application.
Browse to the examples\ieee_802_15_4
folder to see the application demos:
<connectivitysoftware_install_folder>\KW01_Connectivity_Software_v1.0.0\ConnSw\examples\ieee_802_15_4
If you are interested in running the preprogrammed TSCH Application that comes with your board, go to MKW01 Connectivity Test Application.
Something went wrong! Please try again.
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 using one of the Wireless Connectivity Stacks provided by NXP.
These steps show how to:
The example used below is for the SMAC Connectivity Test demo, but these steps can be applied to any of the Wireless Connectivity demo applications.
Connectivity_Test.eww
IAR workspace<connectivitysoftware_install_folder>\KW40Z_Connectivity_Software_<version>\ConnSw\examples\smac\Connectivity_Test\usbkw40z\FreeRTOS\build\iar\Connectivity_Test.eww
Note: If you select another project, don't forget to build the required KSDK libraries for that project.
Open a Terminal Emulator program and open a session to your FRDM-KW019032 COM port. Configure the terminal with these settings:
The following output will be displayed
If you don't see this output, verify your terminal settings and connections
<connectivitysoftware_install_folder>
\KW01_Connectivity_Software_v1.0.0\ConnSw\doc\MKW01SMACDAUG.pdf
-
"KW01 Simple Media Access Controller (SMAC) Demonstration Applications"
document for instructions on how
to run all the demo applications
These steps show how to:
The example used below is for "MyWirelessApp" application demo, but these steps can be applied to any of the Wireless Connectivity demo applications.
MyWirelessAppCoordinator.eww
IAR workspace<connectivitysoftware_install_folder>\KW01_Connectivity_Software_v1.0.0\ConnSw\examples\ieee_802_15_4\MyWirelessApp\Coordinator\frdmkw019032\FreeRTOS\build\iar\MyWirelessAppCoordinator.eww
Note: If you select another project, don't forget to build the required KSDK libraries for that project.
Open a Terminal Emulator program and open a session to your FRDM-KW019032 COM port. Configure the terminal with these settings:
The following output will be displayed
If you don't see this output, verify your terminal settings and connections
<connectivitysoftware_install_folder>\KW01_Connectivity_Software_v1.0.0\ConnSw\doc\802154MPDAUG.pdf
- "NXP 802.15.4 Media Access Controller (MAC) Demo
Applications" document for instructions on how to run all the demo applicationsSomething went wrong! Please try again.
NXP provides a tool called "Project Cloner" which will allow you to copy an existing demo to use it as a base for your own development, keeping the original demo app sources for reference.
Something went wrong! Please try again.
To create a clone of an example project:
<connectivitysoftware_install_folder>\ConnSw\tools\project_cloner\project_cloner.exe
Something went wrong! Please try again.
Your new project will be located in path specified in the previous step. Open the project in IAR Embedded Workbench for Arm by using the same process described in Section 3.
Something went wrong! Please try again.
Modify your recently cloned application to start your own design!
For more information about the application and the APIs available, please, look at the "Applications Development Guide".
Something went wrong! Please try again.
The Wireless Connectivity Stack platforms make use of the Kinetis SDK low level drivers, take a look into the SDK Demo Applications if you want to add a driver that is not currently used on the Connectivity Demo Applications.
Something went wrong! Please try again.
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.
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.
The Connectivity Test Application is a SMAC based Demo Application which provides the user with means to test basic transmission-reception functionalities along with several advanced testing features based on the ASP and SMAC APIs.
The runtime configuration is performed using shortcut keys which are available in most of the application's menus. The menus or tests will change their behavior based on what settings are applied.
The Connectivity Test Application has four main features:
Your FRDM-KW019032 boards are loaded with a MAC TSCH demo that allows network nodes to hop on a set of channels based on a time division manner, the mechanism being Time Slotted Channel Hopping (TSCH). TSCH allows networks nodes to exchange data frames on various frequencies being recommended for regions where local regulations limit the continuous transmission time on a frequency of a node to a certain duration.
The TSCH demo will start with a sequence of LEDs indicating that the application is in the pre-MAC start state.
Two FRDM-KW01 boards are needed to run this demo.
The available demo applications are:
SW1
, the RGB LED will turn on Red
indicating that the device was configured as a coordinatorSW2
or SW3
or SW4
, the RGB LED will
turn on Blue indicating that the device was configured as an End Device
After configuring both devices as a Coordinator and as an End Device respectively, the
application will start in a moment. In both boards, the RGB LED will toggle with a
reception and
D8
LED will toggle with a transmission. To monitor the traffic, one or multiple sniffers
can be used set on the channels the two devices hop on (US ISM Band).
This application also can be used to test the range of the boards by watching that the LEDs continue toggling with the distance.
Connect with other engineers and get expert advice on designing with the FRDM-KW019032 on one of our community sites.