1
Plug It In2
Get Software3
Build, Run4
Modify an SDK ExampleSign in to save your progress. Don't have an account? Create one.

Let's take your KW45B41Z board for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions listed below.
The KW45B41Z board is pre-programmed with a diagnostic demo, which tests various features of the board. This program utilizes the MCU-LINK VCOM output, which is connected to the debug probe(J14), which acts a serial to USB bridge to a host computer, as well as providing the CMSIS-DAP debug interface.
Something went wrong! Please try again.
Most of the MCUXpresso SDK examples and this out-of-box demo set up for MCUXpresso IDE, IAR and Keil tools use the MCU UART for print output. If you are not sure how to use a terminal application try one of these: MCUXpresso Terminal Tutorial, Tera Term Tutorial, PuTTY Tutorial.
Something went wrong! Please try again.
Connect a micro USB cable from connector J14 to a host computer or power supply to power up the board and run the demo program. The demo can be tested with any Bluetooth® Smart Ready products available on the market. The IoT Toolbox can also be used to showcase the profile functionality. For the out-of-the box experience please download the IoT Toolbox on your smartphone from your device's APP store.
Something went wrong! Please try again.
Get familiar with the beacons by selecting the 'Beacons' icon once you have opened the IoT Toolbox App.
The beacons are non-connectable advertising packets that are sent on the three advertising channels. The latter contains the following fields.
Something went wrong! Please try again.
NXP offers a complimentary toolchain called MCUXpresso IDE. Please download MCUXpresso v11.6.0 or above.
No problem! The MCUXpresso SDK includes support for other tools such as IAR .
Something went wrong! Please try again.
The MCUXpresso SDK is complimentary and includes full source code under a permissive open-source license for all hardware abstraction and peripheral driver software.
You may install the MCUXpresso SDK directly form the MCUXpresso SDK website at mcuxpresso.nxp.com. Click on “Select Development Board” to search for the evaluation board.
In the Search for Hardware search box, type in the selected board “KW45B41Z-EVK”. Click on the board to select it.
On the right hand side you will see the option to build the SDK for the KW45B41Z-EVK. Click on this button to add the middleware needed.
To build the SDK, let's “Select All” for the middleware available. Then scroll down and press “Download SDK”. The Software Terms and Conditions will appear, select “I Agree” in order to begin the download.
Once the SDK package has been downloaded, drag and drop to the “Installed SDKs” window in the MCUXpresso IDE.
If you are using another toolchain, you can download the SDK release for the KW45B41Z-EVK using the link below.
Something went wrong! Please try again.
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. It is fully integrated as a part of MCUXpresso IDE and also as a separate tool if using a different IDE.
Click the Get MCUXpresso Config Tools below to get the Config Tools installer.
Something went wrong! Please try again.
MCU-Link is supported on host computers running on Windows 10, MacOS X, and Ubuntu Linux operating systems (OSs). For each OS, an MCU-Link firmware package is available that includes the host device drivers, MCU-Link firmware, and scripts to program CMSIS-DAP and J-Link firmware options.
To download and install the host device drivers and update the MCU-Link firmware, follow these steps:
MCU-LINK_installer_Vx_xxx directoryJP20J14 connector on the board to the USB port of the host computer through a USB micro-B cable. MCU-Link gets powered up in (USB) ISP mode. The board gets enumerated as a human interface device (HID) class deviceMCU-LINK_installer_Vx_xxx_directory. Use the scripts provided to program the CMSIS-DAP or J-Link firmware optionJP20 and reconnect the boardSomething went wrong! Please try again.
The MCUXpresso Secure Provisioning (SEC) Tool is a GUI-based application provided to simplify the generation and provisioning of bootable executables on NXP MCU devices. We recommend all users to begin with the MCUXpresso Secure Provisioning (SEC) tool for trial run and mass production use. It supports secure programming and device provisioning on NXP's microcontrollers at the production stage.
After downloading the tool, you can find the user guide under the ‘Help’ tab. Follow the instructions for your board in the ‘Processor-specific workflow’ chapter.
Note: For advanced users that need a more customizable set-up we also offer a command-line tool that is useful when interfacing with a custom or partner programming tool. The Secure Provisioning SDK (SPSDK) is an open source development kit with its source code released on GitHub and PyPI.
Something went wrong! Please try again.
The KW45B41Z Wireless Connectivity software comes with a list of demo applications and driver examples ready to be compiled and run for each connectivity stack.
A short video is provided to walk you through this process or you can follow along the steps below.
The MCUXpresso SDK comes with a long list of example applications code. To see what's available, browse to the SDK boards folder of your SDK installation and select KW45B41Z ( <SDK_Install_Directory>/boards/KW45B41Z ).
To learn more about specific example code, open the readme.txt file in an example's directory.
Something went wrong! Please try again.
If one or more of the demo applications or driver examples sounds interesting, you're probably wanting to know how you can build and debug yourself. The Getting Started with MCUXpresso SDK guide provides easy, step-by-step instructions on how to configure, build and debug demos for all toolchains supported by the SDK.
Use the guide below to learn how to open, build and debug an example application using the MCUXpresso IDE.
The KW45B41Z SDK provides a collection of example applications.
The following steps will guide you through the hello_world demo application using MCUXpresso IDE for the Cortex-M33 application. The MCUXpresso IDE installation can be found at the section “2. Get Software” of this Getting Started guide.
J14 'LINK USB' port
Using a different toolchain?
This demo is also available for IAR.
The following steps will guide you through opening the hello_world application. This application consists of code for both the Cortex M33 and the DSP core. The instructions for compiling and debugging the Cortex M33 core are covered in the instructions below.
Instructions for compiling and debugging the DSP code can be found in Section 2 of the “Use MCUXpresso IDE” tutorial. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.
Please use IAR Embedded Workbench for Arm version 9.10 or above.
<install_dir>/boards/<sdk_board_name>/<example_type>/<application_name>/iar Using the mu_polling demo as an example, the path is:
<install_dir>/boards/KW45B41Z/dsp_examples/hello_world/cm33/iarhello_world - Debug” target
*Note: In case of building errors, make sure that the correct board is selected, right click in the project → Options → General Options → Target → Device, Select the NXP KW45B41Z83; this board is supported in IAR Embedded Workbench for Arm version 8.50.9 or Higher.
J14 “Link USB”
main() function
hello_world application is now running on the Cortex-M33To build and debug the code for the DSP part of this application, open the “Use MCUXpresso IDE” tutorial and follow the instructions starting at “2. Build and Debug the DSP Application”.
Something went wrong! Please try again.
Alert code:
It is necessary to work with the matching NBU image for the SDK version of the application you are
working with. This means that when you download your SDK, prior to loading any wireless SDK example,
update your NBU image with the provided binaries in the following folder of the SDK:
../middleware/wireless/ble-controller/bin.
This feature is available only for processors with radio. The NBU firmware is distributed within the MCUXpresso.
SDK as an .sb3 file or as a binary file (*.xip), in folder
middleware\wireless\ble_controller\bin\.
There are two options to update the NBU firmware. First, use a prepared SB file with NBU firmware. It can be
used for the EVK and FRDM boards with provisioned NXP keys. The other way is to prepare a custom SB file
that will load the NBU firmware.
KW45xx/K32W1xx/MCXW71xx/KW47xx/MCXW72xx KW45xx/K32W1xx/MCXW71xx/KW47xx/MCXW72xx with the custom keys that were
provisioned to the devicesource_images\nbu_firmware.xip update-nbu-firmwareSomething went wrong! Please try again.
A short video is provided to walk you through this process, or you can follow along the steps below.
Option A: Use the MCUXpresso IDE to import an example project.
The following steps will guide you through the manipulation of the general-purpose outputs. The example it will be a wireless uart.
wireless_examples category, then expand the bluetooh examples, click on the check box next to w_uart to select it. To use the UART for printing (instead of the default semihosting), Select UART as the SDK Debug Console checkbox under the project options. Then, click on Finish
KW45B41Zevk_wireless_uart_bm” project in the Project Explorer View and build, compile and run the demo as described previously
Note: On “Use Pin Tool” tutorial you will learn how to change the configuration of the board.
Option B: Use the MCUXpresso Config Tool to clone an existing MCUXpresso SDK example for use with third party IDEs.
The following steps will guide you through the manipulation of the general-purpose outputs. The example sets up a Led blinky project and change a LED brightness.
Then select the project to clone. For this example, we want to use the gpio led output project. You can filter for this by typing “led” in the filter box and then selecting the “led_blinky” example project. You can then also specify where to clone the project and the name. Then click on Finish.
Note: On “Use Pin Tool” tutorial you will learn how to change the LED output pin of the board.
Something went wrong! Please try again.
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.
Note: Previously, you had to clone an SDK project like in the previous step.
pin_mux.c and pin_mux.h files that are generated by the Pins tool. Click on Update Project in the menu bar
Note: The clocks and other files may also be tagged as being updated since the header has been changed.
pin_mux.c file under board folder
Something went wrong! Please try again.
The most recent versions of MCUXpresso IDE count with a terminal emulation application. This tool can be used to display information sent from your NXP development platform's virtual serial port.





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.
Install Your Toolchain
Jump Start Your Design with the MCUXpresso SDK
MCUXpresso Config Tools
Install Drivers
Programming and Provisioning Tools