Let's take your USB-KW38 for a test drive!
Your USB-KW38 Power green LED should stay ON when you connect the board.
In this step, we are going to guide you through the process to get the required software to enable the USB-KW38 dongle as a Bluetooth Low Energy sniffer. You can also use the USB-KW38 as a development platform. Select the option you want to accomplish with your USB-KW38.
MCUXpresso SDK for the USB-KW38 includes all the wireless connectivity stacks required to develop your solution using Generic FSK, and Bluetooth Low Energy.
Click below to download a pre-configured SDK release for the USB-KW38 that includes all the wireless connectivity stacks for the KW38.
You can also use the online SDK Builder to create a custom SDK package for the USB-KW38 using the SDK builder.
Wireshark is an Open-source network protocol analyzer. It can show you what is being sent over the air, and is a very useful tool for debugging communication between devices.
The Kinetis Protocol Analyzer Adapter is a software program that provides a bridge between the USB-KW38 board and Wireshark. It needs to be installed so that the USB-KW38 will appear to Wireshark as a network interface that can be sniffed. Click the button below to download and install this software on your computer.
USB-KW38 comes pre-programmed with sniffer firmware by default. However, if you erased the pre-programmed software in the USB-KW38, you can follow the steps provided in the guide below to reprogram the USB-KW38 with the sniffer application again.
MCUXpresso SDK for the USB-KW38 includes all the wireless connectivity stacks required to develop your solution using Generic FSK, and Bluetooth Low Energy.
Click below to download a pre-configured SDK release for the USB-KW38 that includes all the wireless connectivity stacks for the KW38.
You can also use the online SDK Builder to create a custom SDK package for the USB-KW38 using the SDK builder.
NXP offers a complimentary toolchain called MCUXpresso IDE.
Want to use a different toolchain?
No problem! MCUXpresso SDK connectivity stack software also supports IAR.
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 CMSIS-DAP debugger loaded onto the OpenSDA circuit of your USB-KW38.
The MCUXpresso Config Tool 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.
USB-KW38 comes pre-programmed with sniffer firmware by default. To flash the OpenSDA version again to the K2x of your USB-KW38, follow the steps provided in the guide below.
For futher information please refer to OpenSDA Serial and Debug Adapter
Configure your preferred terminal to 115200 baud rate, 8 data bits, no parity and 1 stop bit. To determine the port number of the USB-KW38'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:
These steps show how to program USB-KW38 with the sniffer application. In order to enable USB-KW38 as a sniffer, you need to program both devices (K22F and KW40).
The next tools are needed to be able to program USB-KW38:
It is assumed that user already know how to flash USB-KW38. This means that user already went through the "Update Software of the USB-KW38 QSG" document shown in the USB-KW38 "Getting Started" page when using this board as a development platform.
Sniffer binaries files are located in the next path:
After the binaries are located. Please copy and paste these binary files in the JLink installation path (i.e. "C:\Program Files (x86)\SEGGER\JLink_Vxxx").
NOTE: JLink_Vxxx folder name can be different, it is due to the JLink software version installed, please check the JLink_Vxxx supports KW38 device
Open “JLink.exe” (from the same path in step #1)
Open “JLink.exe” (from the same path in step #1
These steps show how to program USB-KW38 with the sniffer application. In order to enable USB-KW38 as a sniffer, you need to program both devices (K22F and KW37).
The next tools are needed to be able to program USB-KW38:
Sniffer binaries files are located in the next path:
Reprogram the USB-KW38 like an OpenSDA. First, go to www.nxp.com/opensda, then select the USB-KW38 board, finally follow steps 2 and 3.
Open a windows explorer to find out that the USB-KW38 it’s enumerated like a Mass Storage Device MSD name USB-KW37Z
Drag and Drop the “sniffer_usbkw38_kw37z.bin” in the “USB-KW37Z”
It’s time to program the MK22F microcontroller with the sniffer software, the MCU may be re-programmed using the bootloader feature used in step 1. To start your board into bootloader mode:
Drag and drop the file “sniffer_usbkw38_k22f_0x8000.bin” in the “DAPLINKBOOT” drive
Unplug and plug again the USB-KW38 to your PC. Now, the sniffer application has been programmed to your USB-KW38
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.
Each of the Our Wireless Connectivity Stack comes with a list of demo applications and driver examples ready to be compiled and run.
Generic FSK
The KW38 Wireless Connectivity Software package comes with a long list of demo applications for the
Bluetooth Low Energy protocol. To see what's available, browse to the
'examples' folder (
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.
Bluetooth Low Energy
The KW38 Wireless Connectivity Software package comes with a long list of Bluetooth LE demo
applications. To see what's available, browse to the 'examples' folder (
In order to use the Bluetooth Low Energy examples, the Kinetis BLE 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.
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.
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.
Navigate to the Connectivity Test IAR workspace (located at
After the workspace is open, select the project.
Click the Make button to build the project.
Connect your USB-KW38 board to your PC.
Click on the Download and Debug button (green arrow located on the toolbar).
Once the project has loaded, the debugger should stop at main(). Open a Terminal Emulator program and open a session to your USB-KW38 COM port.
Configure the terminal with these settings:
Click the Go button to resume operation.
The following output will be displayed in the serial terminal.
If you don’t see this output, verify your terminal settings and connections.
Refer to
Open up the MCUXpresso IDE
Switch to the Installed SDKs view within the MCUXpresso IDE window
Open Windows Explorer, and drag and drop the USB-KW38 SDK (unzipped) file into the Installed SDKs view.
You will get the following pop-up. Click on OK to continue the import:
The installed SDK will appear in the Installed SDKs view as shown below:
The following steps will guide you through opening the SMAC example.
Find the Quickstart Panel in the lower left hand corner
Then click on Import SDK examples(s)…
Click on the usbkw38 board to select that you want to import an example that can run on that board, and then click on Next.
Use the arrow button to expand the wireless_examples category, and then under the SMAC category expand the connectivity_test project and select the freertos version of project. To use the UART for printing (instead of the default semihosting), clear the “Enable semihost” checkbox under the project options. Then, click on Next.
On the Advanced Settings wizard, clear the checkbox “Redirect SDK “PRINTF” to C library “printf”“ in order to use the MCUXpresso SDK console functions for printing instead of generic C library ones. Then click on Finish.
Now build the project by clicking on the project name and then in the Quickstart Panel click on Build.
You can see the status of the build in the Console tab.
Now that the project has been compiled, you can now flash it to the board and run it.
Make sure the USB-KW38 board is plugged in, and click in the Quickstart Panel click on Debug ‘usbkw38_wireless_examples_smac_connectivity_test_freertos’ [Debug]
MCUXpresso IDE will probe for connected boards and should find the JLink debug probe that is part of the integrated OpenSDA circuit on the USB-KW38. Click on OK to continue.
You may see the following message if this is your first debug with JLink of the day. Click on the checkbox at the bottom to not display the message again, and then click on Accept
The firmware will be downloaded to the board and the debugger started
Hit the terminate icon to stop the debugger.
Now disconnect the board, and connect the second USB-KW38 board. Follow the same debugger steps to flash the connectivity software to that board so that both boards have the same firmware on them.
Now with both boards connected, open a Terminal Emulator program and
open a session to your USB-KW38 COM port for each
board.
Configure the terminal with these settings:
Hit the reset button on both boards
The following output will be displayed in each of the two serial terminals.
If you don’t see this output, verify your terminal settings and connections.
Refer to
These steps show how to:
The example used below is for the Bluetooth LE wireless UART demo , but these steps can be applied to any of the Wireless Connectivity demo applications. This demo requires one USB-KW38 board and IoT Toolbox Apps on a smartphone.
Navigate to the Bluetooth LE demo (w_uar) IAR workspace located the next path: “<sdk_dir> \boards\usbkw38\wireless_examples\bluetooth\w_uart\freertos\iar”
After the workspace is open, select the project.
Click the Make button to build the project.
Connect the first USB-KW38 board to your PC.
Click on the Download and Debug button (green arrow located on the toolbar).
Click the “Stop” button to stop debugging the application. At this point, we have programmed one board.
Open a Terminal Emulator program and open a session to one of the USB-KW38 COM ports.
Press the reset button board.
The next menu should be displayed in both terminals
Change the USB-KW38 dongle role pressing twice the SW1 Application button
Start Advertising from USB-KW38 pressing once the SW1 Application button
Open the NXP IoT Toolbox application on your mobile device and select “Wireless UART”
Verify that the device is listed in the IoT toolbox as shown in the picture
Select the listed device to make a connection. The IoT toolbox will enter in the wireless console. You can enter some text in the IoT tool box and press OK to see it displayed in the USB-KW38 terminal (e.g. ‘test’ here)
Refer to “<sdk_dir>\docs\wireless\Bluetooth\BLE Demo Applications User's Guide.pdf” – " Bluetooth® Low Energy Demo Applications User’s Guide" document for detailed instructions about the available Bluetooth LE demo applications.
These steps show how to:
The example used below is for the Bluetooth LE wireless UART demo , but these steps can be applied to any of the Wireless Connectivity demo applications. This demo requires one USB-KW38 board and IoT Toolbox Apps on a smartphone
Open up the MCUXpresso IDE
Switch to the Installed SDKs view within the MCUXpresso IDE window
Open Windows Explorer, and drag and drop the USB-KW38 SDK (unzipped) file into the Installed SDKs view.
You will get the following pop-up. Click on OK to continue the import:
The installed SDK will appear in the Installed SDKs view as shown below:
The following steps will guide you through opening the hybrid example. This project will be loaded to one board, while another project will be loaded on the 2nd board.
Find the Quickstart Panel in the lower left hand corner
Then click on Import SDK examples(s)…
Click on the USB-KW38 board to select that you want to import an example that can run on that board, and then click on Next.
In the search text box, type “wireless_uart” to filter the example projects. Use the arrow button to expand the list and locate the “wireless_uart” project (wireless_examples -> bluetooth -> w_uart), then, select the freertos version of the project and click “Finish”.
Now build the project by clicking on the project name and then in the Quickstart Panel click on Build.
You can see the status of the build in the Console tab.
Once the project has loaded, the debugger should stop at main(). Open a Terminal Emulator program and open a session to your USB-KW38 COM port. Configure the terminal with these settings:
NXP provides a project cloner tool which allows you to copy an existing demo to use as a base for your
own development, keeping the original demo app resources for reference. The cloner tool
is included in your software package download. It can be found in
Option A: Use the MCUXpresso IDE to clone an example project as shown in step 3.
Option B: Use the MCUXpresso Config Tool to clone an existing MCUXpresso SDK example for use with third party IDEs.
Now, let’s use the Pins tool that is part of the MCUXpresso Config Tool to show how to add a new GPIO pin to your project to blink an LED.
Next use the Clocks tool that is part of the MCUXpresso Config Tool to change the clock settings and change the rate that the LED blinks.
Note: this is an example to get the procedure. The Led SW example is not available in all SDKs
Note: this is an example to get the procedure. The Led SW example is not available in all SDKs
Now export the pin_mux.c and pin_mux.h files by clicking on the Sources tab on the right side to get to the Sources view, and selecting the export icon.
Select the directory to export the pin_mux.c and pin_mux.h files. In this example export to the “board” folder in the led_output project in the workspace that was created in the previous section.
(i.e. C:\nxp_workspace\usbkw38_driver_examples_gpio_led_output\board). Select Finish.
Select the directory to export the pin_mux.c and pin_mux.h files. In this example export to the “board” folder in the led_output project in the workspace that was created in the previous section.
(i.e. C:\nxp_workspace\usbkw38_driver_examples_gpio_led_output\board). Select Finish.
Explore beyond the USB-KW38 by integrating other NXP solutions and software to your project and interact with our worldwide design community
The KW37/38/39 is an ultra low power, highly integrated single-chip device that enables Bluetooth low energy (LE) ver. 5.0 and Generic FSK (at 250, 500, 1000 and 2000 kbps) RF connectivity for automotive embedded systems. Find out more at KW37/38/39 product page .
The TJA1057 is part of the Mantis family of high-speed CAN transceivers. It provides an interface between a Controller Area Network (CAN) protocol controller and the physical two-wire CAN bus. Learn more at TJA1057 product page.
The TJA1027 is the interface between the Local Interconnect Network (LIN) leader/follower protocol controller and the physical bus in a LIN network. Learn more at TJA1027 product page
Connect with other engineers and get expert advice on designing with Kinetis MCUs and Wireless Connectivity software. Join the community discussion in one of our two dedicated communities: Kinetis MCU Community or Wireless Connectivity Community
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:
The Carrier Sense test performs ED continuously until the ED value is above the CCA threshold and then transmit a packet which contains pseudo-random data with the payload size configured using 'n' and 'm' shortcuts.
The Transmission Control test displays a selection menu for number of packets identical with the one in PER TX test and then it prompts the user to enter the inter-packet delay. After that, the application will start sending the selected number of packets with the selected inter-packet delay, using pseudo-random data for the payload with the size configured with 'n' and 'm' shortcuts.
For additional details on how to run the Connectivity Test Application, please refer to the SMAC’s Demonstration Applications User’s Guide.
These steps show how to open a demo workspace in IAR Embedded Workbench, how to build the platform library required by the demo, and how to build the demo application. The example used below is for the hello_world demo, but similar steps can be applied to any demo in the KSDK.
Open demo workspace (*.eww file) in:
After the workspace is open, two projects are shown: one for the KSDK platform library and one for the demo. Also, the platform library project is bold, indicating that it is the active project. The active project can be changed at any time by right clicking on the desired project and selecting "Set as Active" or via the build target drop-down at the top of the workspace browser.
There are two project configurations (build targets) supported for each KSDK project:
Click the "Make" button, highlighted in red below.
When the build is complete, the library (libksdk_platform.a) is generated in one of the following directories, according to the chosen build target:
The KSDK demo applications are built upon the software building blocks provided in the Kinetis SDK platform library, built in the previous section. If the platform library is not present, the linker displays an error indicating that it cannot find the library. An easy way to check whether the library is present is to expand the Output folder in the ksdk_platform_lib project. If the platform library binary is not built and present, follow the steps on page 1 to build it. Otherwise, continue with the following steps to build the desired demo application.
If not already done, open the desired demo application workspace (*.eww file). This example's workspace file is located in:
Select the desired build target from the drop-down. For this example, select the "hello_world – Debug" target.
To build the demo application, click the "Make" button, highlighted in red below.
The build will complete without errors.
The FRDM-K64F board comes loaded with the mbed/CMSIS-DAP debug interface from the factory. If you have changed the debug OpenSDA application on your board, visit http://www.nxp.com/opensda for information on updating or restoring your board to the factory state.
Connect the development platform to your PC via USB cable between the "SDAUSB" USB port on the board and the PC USB connector.
Open the terminal application on the PC (such as PuTTY or TeraTerm) and connect to the debug COM port you determined earlier. Configure the terminal with these settings:
Click the "Download and Debug" button to download the application to the target.
The application is then downloaded to the target and automatically runs to the main() function.
Run the code by clicking the "Go" button to start the application.
The hello_world application is now running and a banner is displayed on the terminal. If this is not the case, check your terminal settings and connections.
These steps show how to:
Load and build the demo application in IAR Embedded Workbench.
Download and run the demo application.
The example used below is for the IEEE 802.15.4 "MyWirelessApplication" (mwa) demo, but these steps can be applied to any of the Wireless Connectivity demo applications.
Navigate to the mwa_coordinator IAR workspace (located at
After the workspace is open, select the project.
Click the Make button to build the project.
Connect your USB-KW38 board to your PC.
Click on the Download and Debug button (green arrow located on the toolbar).
Once the project has loaded, the debugger should stop at main(). At this point, we need to program an end device. So terminate this debug session by clicking the terminate button shown in the figure below.
Unplug this board and connect a second USB-KW38 board.
Navigate to the mwa_end_device IAR workspace (located at
After the workspace is open, select the project.
Click the Make button to build the project.
Connect your second USB-KW38 board to your PC (if not done so already).
Click on the Download and Debug button (green arrow located on the toolbar).
Once the project has loaded, the debugger should stop at main(). At this point, we need to run the coordinator and end device together. So terminate this debug session by clicking the terminate button shown in the figure below.
Unplug this board and connect both boards to your host PC.
Open a Terminal Emulator program and open a session to one of the USB-KW38 COM ports.
Open a second Terminal Emulator program and open a session to the other USB-KW38 COM port.
Configure the terminal with these settings:
Press the reset button on both boards.
The coordinator device should display the following screen:
The end device should display the following screen:
Press any switch on the coordinator board first. The screen should then display the following:
Then press any switch on the end device board. The end device should then connect and display the following screen.
You should now be able to type characters into either terminal and see the characters echoed in the opposite terminal.
Refer to
These steps show how to:
Load and build the demo application in IAR Embedded Workbench.
Download and run the demo application.
The example used below is for the Generic FSK Connectivity Test demo, but these steps can be applied to any of the Wireless Connectivity demo applications.
Navigate to the Connectivity Test IAR workspace (located at "<install_dir>\boards\USBKW38\wireless_examples\genfsk\connectivity_test\freertos\iar)"
After the workspace is open, select the project.
Click the Make button to build the project.
Connect your USB-KW38 board to your PC.
Click on the Download and Debug button (green arrow located on the toolbar).
Once the project has loaded, the debugger should stop at main(). Open a
Terminal Emulator program and open a session to your USB-KW38 COM
port.
Configure the terminal with
these settings:
Click the Go button to resume operation.
The following output will be displayed in the serial terminal.
If you don't see this output, verify your terminal settings and connections.
6. Refer to “<install_dir>\docs\wireless\GENFSK\Generic FSK Link Layer Quick Start Guide.pdf” – "MKW37A/MKW38A/MKW39A/MKW37Z/MKW38Z Generic FSK Link Layer Software" document for more information on this demo application.
These steps show how to:
Configure Kinetis Protocol Analyzer Adapter and Wireshark Network Analyzer.
Sniff IEEE 802.15.4 wireless applications.
Open the "Kinetis Protocol Analyzer Adapter".
Make sure, you have USB-KW38 connected to your PC when opening Kinetis Protocol Analyzer Adapter, it will start looking for Kinetis sniffer hardware. Once USB-KW38 is detected, KW38 device will be displayed.
Click on the Wireshark icon to open Wireshark Network Protocol Analyzer.
Wireshark Network Analyzer will be opened. On the "Capture" option of the main window, select the Local Area Connection that was created by the Kinetis Protocol Analyzer, in this example, Kinetis Protocol Analyzer created "Local Area Connection 2", then click "Start" button.
"Capture" window will be opened.
Select the desired IEEE 802.15.4 channel to scan in the Kinetis Protocol Analyzer Adapter window. In this guide, we are going to select channel 19 as an example.
USB-KW38 will start to sniff and upcoming data will be displayed in the "Capture" window of the Wireshark Network Protocol Analyzer.
Refer to the "Kinetis Protocol Analyzer Adapter User's Guide" for more
information about how to enable other features of your USB-KW38 sniffer.
Document can be found in the next
path:
These steps show how to:
Configure Kinetis Protocol Analyzer Adapter and Wireshark Network Analyzer.
Sniff BLE wireless applications.
Open the "Kinetis Protocol Analyzer Adapter".
Make sure, you have USB-KW38 connected to your PC when opening Kinetis Protocol Analyzer Adapter, it will start looking for Kinetis sniffer hardware. Once USB-KW38 is detected, KW38 device will be displayed.
Click on the Wireshark icon to open Wireshark Network Protocol Analyzer.
Wireshark Network Analyzer will be opened. On the "Capture" option of the main window, select the Local Area Connection that was created by the Kinetis Protocol Analyzer, in this example, Kinetis Protocol Analyzer created "Local Area Connection 2", then click "Start" button.
"Capture" window will be opened.
Select the desired advertising channel to scan in the Kinetis Protocol Analyzer Adapter window. In this guide, we are going to select All option to start sniffing on all advertising channels (37, 38 and 39). However, you could select different advertising channels of interest to sniff.
Address Filter is selected in this guide, hence, only data upcoming from the specified address will be displayed on the "Capture" window. If you are not interested on following any specific address, you can provide a Hopping interval to sniff any device in the advertising channels.
USB-KW38 will start to sniff and upcoming data will be displayed in the "Capture" window of the Wireshark Network Protocol Analyzer.
Refer to the "Kinetis Protocol Analyzer Adapter User's Guide" for more
information about how to enable other features of your USB-KW38 sniffer.
Document can be found in the next
path:
These steps show how to:
The example used below is for the Generic FSK Connectivity Test demo, but these steps can be applied to any of the Wireless Connectivity demo applications.
Open up the MCUXpresso IDE
Switch to the Installed SDKs view within the MCUXpresso IDE window
Open Windows Explorer and drag and drop the USB-KW38 SDK (unzipped) file into the Installed SDKs view.
You will get the following pop-up. Click on OK to continue the import:
The installed SDK will appear in the Installed SDKs view as shown below:
The following steps will guide you through opening the GenFSK example.
Find the Quickstart Panel in the lower left hand corner
Then click on Import SDK examples(s)…
Click on the USB-KW38 board to select that you want to import an example that can run on that board, and then click on Next.
In the search text box, type “connectivity_test” to filter the example projects. Use the arrow button to expand the list and locate the “connectivity_test” project (wireless_examples -> genfsk -> connectivity_test), then, select the freertos version of the project and click “Finish”.
Now build the project by clicking on the project name and then in the Quickstart Panel click on Build.
You can see the status of the build in the Console tab.
Open up the MCUXpresso IDE
Switch to the Installed SDKs view within the MCUXpresso IDE window
Open Windows Explorer, and drag and drop the USB-KW38 SDK (unzipped) file into the Installed SDKs view.
You will get the following pop-up. Click on OK to continue the import:
The installed SDK will appear in the Installed SDKs view as shown below:
The following steps will guide you through opening the 802.15.4 example.
Find the Quickstart Panel in the lower left hand corner
Then click on Import SDK examples(s)…
Click on the usbkw38 board to select that you want to import an example that can run on that board, and then click on Next.
Use the arrow button to expand the wireless_examples category, and then under the ieee_802_15_4 category expand the mwa_coordinator project and select the freertos version of project. To use the UART for printing (instead of the default semihosting), clear the “Enable semihost” checkbox under the project options. Then, click on Next.
On the Advanced Settings wizard, clear the checkbox “Redirect SDK “PRINTF” to C library “printf”“ in order to use the MCUXpresso SDK console functions for printing instead of generic C library ones. Then click on Finish.
Now build the project by clicking on the project name and then in the Quickstart Panel click on Build.
You can see the status of the build in the Console tab.
Now that the project has been compiled, you can now flash it to the board and run it.
Make sure the USB-KW38 board is plugged in, and click in the Quickstart Panel click on Debug ‘usbkw38_wireless_examples_ieee_802_15_4_maw_coordinator_freertos’ [Debug]
MCUXpresso IDE will probe for connected boards and should find the JLink debug probe that is part of the integrated OpenSDA circuit on the USB-KW38. Click on OK to continue.
You may see the following message if this is your first debug with JLink of the day. Click on the checkbox at the bottom to not display the message again, and then click on Accept
The firmware will be downloaded to the board and the debugger started
6. At this point, we need to program an end device. So terminate this debug session by clicking the terminate button shown in the figure below. Then unplug this board, and plug up your second board.
Connect your second USB-KW38 board to your PC (if not already done).
Import the wireless_demos->ieee_802_15_4->mwa_end_device_freertos demo using the same steps as you did for the coordinator demo.
Build and load the end device demo using the same steps as before so that the 2nd USB-KW38 has this firmware on it.
Stop the debugger.
Open a Terminal Emulator program and open a session to one of the USB-KW38
COM ports.
Configure the terminal with these settings:
Open a second Terminal Emulator program and open a session to the other
USB-KW38 COM port.
Configure the terminal with these settings:
Press the reset button on both boards.
The coordinator device should display the following screen:
The end device should display the following screen:
Press any switch on the coordinator board first. The screen should then display the following:
Then press any switch on the end device board. The end device should then connect and display the following screen.
You should now be able to type characters into either terminal and see the characters echoed in the opposite terminal.
Refer to
Click the small arrow next to the green bug icon.
Select Debug Configurations.
Select a project under the GDB Segger J-Link Debugging category, and then select the Debugger tab.
Then select “Variables…” next to the Executable box.
In the next dialog box, find the jlink_path variable, select it, and then select Edit Variables...
The Preferences dialog box will open. Select the jlink_path variable and then select Edit.
In the Edit Variable: jlink_path dialog box, ensure the path and description are as shown below.
Be sure to click “OK” when closing all dialog boxes.