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-KW41Z for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions list below.
Note: K32W061/41 is preferred for any new Zigbee®, Thread and Bluetooth® LE 5.0 design. No new software releases planned.
Something went wrong! Please try again.
Something went wrong! Please try again.
Your FRDM-KW41Z comes loaded with a demo that flashes the multicolored LEDs when you connect the board. If you do not see the LEDs flashing, first unplug and replug in the board. If that does not resolve the issue, try contacting us through the NXP Community .
Something went wrong! Please try again.
Choose a Development Path:
Note: Selecting Zephyr OS will direct you to the Zephyr OS developer website.
Note: Selecting Mbed will direct you to the Mbed developer website.
Something went wrong! Please try again.
MCUXpresso SDK for the FRDM-KW41Z includes all the wireless connectivity stacks required to develop your solution using Thread, IEEE 802.15.4, Generic FSK, and Bluetooth Low Energy.
Click below to download a preconfigured SDK release for the FRDM-KW41Z that includes all the wireless connectivity stacks for the KW41Z.
You can also use the online SDK Builder to create a custom SDK package for the FRDM-KW41Z using the SDK builder.
Something went wrong! Please try again.
NXP offers a complimentary toolchain called MCUXpresso IDE.
No problem! MCUXpresso SDK connectivity stack software also supports IAR .
Something went wrong! Please try again.
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.
Something went wrong! Please try again.
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 FRDM-KW41Z'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.
The KW41Z Wireless Connectivity software comes with a list of demo applications and driver examples ready to be compiled and run for each connectivity stack.
Select the Connectivity Stack that you want to explore: SMAC, IEEE 802.15.4, Gen FSK or Hybrid (Bluetooth Low Energy + Thread).
Something went wrong! Please try again.
The KW41Z Wireless Connectivity Software package comes with a long list of demo applications for the
SMAC protocol. To see what's available, browse to the 'examples' folder: <connectivity_software_install_folder>\boards\frdmkw41z\wireless_examples\smac
.
The KW41Z Wireless Connectivity Software package comes with a long list of demo applications for the
IEEE 802.15.4 protocol. To see what's available, browse to the 'examples' folder: <connectivity_software_install_folder>\boards\frdmkw41z\wireless_examples\ieee_802_15_4
.
The KW41Z Wireless Connectivity Software package comes with the Connectivity Test demo application
for Generic FSK protocol. To see what's available, browse to the 'examples'
folder: <connectivity_software_install_folder>\boards\frdmkw41z\wireless_examples\genfsk
.
The KW41Z Wireless Connectivity Software package comes with a long list of hybrid demo applications
(Thread + Bluetooth Low Energy). To see what's available, browse to the 'examples'
folder: <connectivity_software_install_folder>\boards\frdmkw41z\wireless_examples\hybrid
.
If you are interested in running the preprogrammed Connectivity Test Application that comes with your board, click here.
Something went wrong! Please try again.
In order to use the Bluetooth Low Energy and Hybrid examples, the Kinetis Bluetooth Low Energy Toolbox needs to be installed on a smartphone. This application provides several examples that can be used with the connectivity stack to connect your phone to the development board over Bluetooth Low Energy.
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 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 <install_dir>\boards\frdmkw41z\wireless_examples\smac\connectivity_test\FreeRTOS\iar
)
<connectivitysoftware_install_folder>\docs\wireless\SMAC\MKW41Z SMAC Demo Applications User's Guide.pdf
document for instructions on how to run all the demo
applications
The following steps will guide you through opening the SMAC example.
<mcuxpresso sdk directory>\docs\wireless\SMAC\MKW41Z SMAC
Demo Applications User's Guide.pdf
document for instructions on how to
run all the demo applications
These steps show how to:
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.
<install_dir>\boards\frdmkw41z\wireless_examples\ieee802_15_4\mwa_coordinator\FreeRTOS\iar
)
<install_dir>\boards\frdmkw41z\wireless_examples\ieee802_15_4\mwa_end_device\FreeRTOS\iar
)
<connectivitysoftware_install_folder>\docs\wireless\IEEE 802.15.4\
IEEE 802.15.4 MAC Demo Applications User's Guide.pdf
document for
instructions on how to run all the demo applications
The following steps will guide you through opening the IEEE 802.15.4 example.
<mcuxpresso sdk directory>\docs\wireless\IEEE 802.15.4\IEEE
802.15.4 MAC Demo Applications User's Guide.pdf
document for
instructions on how to run all the demo applications
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.
<install_dir>\boards\frdmkw41z\wireless_examples\genfsk\connectivity_test_genfsk\FreeRTOS\iar
)
<connectivitysoftware_install_folder>
\docs\wireless\GENFSK\Generic FSK Link Layer Quick Start
Guide.pdf
document for more information on this demo
application
The following steps will guide you through opening the GenFSK example.
<mcuxpresso sdk directory>\docs\wireless\GENFSK\Generic FSK
Link Layer Quick Start Guide.pdf
document for more information on this
demo application
The following steps will guide you through creating a simple Thread network. A hybrid Bluetooth Low Energy + Thread project will be loaded onto the 1st board, so that the board can be controlled via a Bluetooth smartphone application. While a Thread-only project will be loaded onto the 2nd board and controlled via a serial terminal.
<install_dir>\boards\frdmkw41z\wireless_examples\hybrid\ble_thread_router_wireless_uart\freertos\iar
)
The Hybrid board needs a Thread node to communicate with, so Thread firmware needs to be loaded onto the second board. The Router Eligible End Device project will be loaded onto board #2.
<install_dir>\boards\frdmkw41z\wireless_examples\thread\router_eligible_device\freertos\iar
)
Inside the smartphone app terminal, type in the command to toggle the LED
coap CON POST <ip_address>/led toggle
<mcuxpresso sdk directory>\docs\wireless\Thread\Kinetis
Thread Stack Demo Applications User's Guide.pdf
document for
more information on this demo application
The following steps will guide you through creating a simple Thread network. A hybrid Bluetooth Low Energy + Thread project will be loaded onto the 1st board, so that the board can be controlled via a Bluetooth smartphone application. While a Thread-only project will be loaded onto the 2nd board and controlled via a serial terminal.
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.
The Hybrid board needs a Thread node to communicate with, so Thread firmware needs to be loaded onto the second board. The Router Eligible End Device project will be loaded onto board #2.
Inside the smartphone app terminal, type in the command to toggle the LED
coap CON POST <ip_address>/led toggle
<mcuxpresso sdk directory>\docs\wireless\Thread\Kinetis
Thread Stack Demo Applications User's Guide.pdf
document for
more information on this demo application
Something went wrong! Please try again.
Something went wrong! Please try again.
Option A: Use the MCUXpresso IDE to clone an example project.
Option B: Use the MCUXpresso Config Tools to clone an existing MCUXpresso SDK example for use with third-party IDEs.
Something went wrong! Please try again.
Now, let's use the Pins Tool that is part of the MCUXpresso Config Tools to show how to add a new GPIO pin to your project to blink an LED.
PTC1
is routed as a GPIO to toggle the
red LED. Let's disable PTC1
, and change the MUX setting of PTA18
to
use its GPIO functionality to drive the blue LED
PTC1
(red LED) as a GPIO by clicking the PTC1
field under
the GPIO column. The pin will then be disabled (pin will no longer
have check in box) and thus disappear from the list
PTA18
as a GPIO. First, deselect the "Show Routed
All/Pins" so that all the pins are displayed again. Then, search
PTA18
in the Pins view. Finally, click the box under the GPIO
column. The box will highlight in green, and a check will appear
next to the pin
PTB21
also appears in the Routed Pins tab and PTB22
has been removed. The pin_mux.c file has been updated to reflect the
change as well
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
C:\nxp_workspace\frdmkw41z_driver_examples_gpio_led_output\board
).
Select Finish
Something went wrong! Please try again.
Next, use the Clocks Tool that is part of the MCUXpresso Config Tools to change the clock settings and change the rate that the LED blinks.
C:\nxp_workspace\frdmkw41z_driver_examples_gpio_led_output\board
).
Select Finish
Something went wrong! Please try again.
With the application modified, you will see the FRDM-KW41Z's blue LED slowly blinking. You can also view terminal output using the terminal program.
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.
Figure 1. Connectivity Test Shortcuts Menu.
The Connectivity Test Application has four main features:
For additional details on how to run the Connectivity Test Application, please refer to the "SMAC's Demonstration Applications User's Guide".
The NXP modular IoT Gateway reference design enables large node networks (LNNs) with preintegrated, tested, and RF certified support for a wide array of wireless communications protocols including: Thread, ZigBee, and Wi-Fi. This range of capability allows developers to easily build gateways based on this solution, using their choice of wireless protocols for end-to-end wireless communications in LNN configurations with supporting cloud options such as Amazon Web Services (AWS).
Thread is an IPv6-based mesh networking protocol developed by industry leading technology companies, like NXP®, for connecting products around the home and in buildings to each other, to the internet and to the cloud. Thread networks are simple to install, highly secure, scalable to hundreds of devices and developed to run on low-power IEEE 802.15.4 chipsets. Find out more at: Thread Networking Protocol and Thread Group .
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.
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.
Connect with other engineers and get expert advice on designing with Kinetis MCUs and Wireless Connectivity software. Go to Support or join the community discussion in one of our two dedicated communities:
Getting Started with the FRDM-KW41Z Development Board
Attach the USB Cable
Run the Out-of-Box Demo
Installing Software for the FRDM-KW41Z
Download MCUXpresso SDK with Connectivity Software
Install Your Toolchain
MCUXpresso Config Tools
Terminal Configuration
Build and Run Connectivity Demos on the FRDM-KW41Z
Explore the Connectivity Example Codes
Download the Bluetooth Low Energy Toolbox for your Smartphone
Build, Run, and Debug Wireless Connectivity Examples