Getting Started with FRDM-RW612

上次修改时间: Aug 21, 2026 new 支持 FRDM-RW612|MCUXpresso|Wi-Fi 6|三频

本文档内容

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build, Run
  • 4

    Create
  • 5

    MCUXpresso Developer Experience

1. Plug It In

Watch this video to get a quick overview of what you can expect from this Getting Started guide.

1.1 Get Familiar with the Board

The FRDM-RW612 board is pre-programmed with a Wi-Fi CLI Demo. This serves as a sanity check to verify that the device is working as expected, right out of the box.

Getting Started with FRDM-RW612 Image 1.1

1.2 Plug in the Board

  1. Connect the FRDM-RW612 board (J10) to a Host computer using the USB Type-C® cable to power up the board and run the demo program
  2. Getting Started with FRDM-RW612 Image 1.2
  3. Open an instance of any serial terminal using the following configuration. For this example, Tera Term is used, but you can use any serial interface of your preference
  4. Getting Started with FRDM-RW612 Image 1.3
  5. Press the reset button. You should see the wifi cli application running allowing you to explore and test different commands
  6. Getting Started with FRDM-RW612 Image 1.4

2. Get Software

2.1 MCUXpresso Installer (Recommended)

The MCUXpresso Installer is the recommended starting point for NXP microcontroller unit (MCU) development. It provides a single, streamlined installation process that brings together all the essential tools and components you need to get up and running quickly. Whether you are using Visual Studio (VS) Code, working from the command line with GNU compiler collection GCC or using partner integrated development environment (IDEs) from IAR or Arm (Keil), the installer helps you set up the needed components. Using this resource, you can also find other tools available for use with NXP products.

This installer is ideal for developers who want a ready-to-use environment without manually downloading and configuring multiple packages. We offer the installer for the following operating systems:

  1. Run the Installer Double-click the downloaded "MCUXpresso Installer" file to launch the installation wizard
  2. Select "Components" in the component selection screen, choose the features you want to install or update. If you already have some components installed, the wizard will show which ones are up to date and which have an update available. The recommended minimum components for this guide are MCUXpresso SDK Developer, ARM GNU Toolchain, Link Server and MCUXpresso Config Tools
  3. Press Install and Complete Setup Click "Install" to start the process. Once installation finishes, you can close the MCUXpresso Installer window to exit

2.2 MCUXpresso for VS Code

MCUXpresso for VS Code supports NXP MCUs based on Arm® Cortex®-M. It allows developers the flexibility to work on projects from Zephyr, Matter or the MCUXpresso software development kit (SDK.) The VS Code extension organizes relevant information including installed SDK repositories, available debug probes, user projects and links to help you get started:

  1. Open VS Code Launch VS Code on your system. VS Code is automatically installed using MCUXpresso Installer under MCUXpresso SDK Developer
  2. Go to Extensions Marketplace Click on the Extensions icon in the left sidebar (or press Ctrl+Shift+X)
  3. Search for "MCUXpresso" Type "MCUXpresso," in the search bar to locate the official extension from NXP
  4. Install the Extension Click "Install." Once installed, restart VS Code if prompted

2.3 MCUXpresso SDK

The MCUXpresso SDK is inherently compatible with MCUXpresso for VS Code and also supports example projects for MCUXpresso IDE, IAR Embedded Workbench, Keil microcontroller development kit (MDK) and GCC with CMake + Kconfig. It includes production‑grade software with optional integrated real-time operating system (RTOS), enabling software technologies (stacks and middleware), reference software and more. Partner middleware and software can be integrated through custom west manifests.

The MCUXpresso SDK Developer component in the MCUXpresso Installer will download all required dependencies.

The NXP extension for VS Code allows you to add software repositories from four sources:

  • Remote Git URL – Downloads the main repository, including all supported products
  • Remote Archive Folder – Downloads an archive package for your chosen development board
  • Local Git Repository – Uses an existing local Git repository previously downloaded to your PC
  • Local Archive Folder – Uses an archive package previously downloaded from the SDK Builder

This section describes how to import the MCUXpresso SDK using the Remote Archive option:

  1. Open the MCUXpresso Extension. Click the MCUXpresso icon in VS Code
  2. Start Import. Go to the "QUICKSTART PANEL" tab and click "Import Repository." A new import window will appear
  3. Choose Remote Archive Source. Select "Remote Archive" as the source for SDK files
  4. Select Package and Version. Choose the development board and SDK version that you intend to use
  5. Set Name and Destination Folder. Select a folder to store SDKs (e.g., "C:\SDK") and enter a name for the SDK (e.g., "mcuxsdk")
  6. Import and Wait. Click "Import" and wait for the process to complete

2.4 MCUXpresso Config Tool

The MCUXpresso Config Tool is an integrated suite that provides pin, clock, peripheral and trusted environment execution/configuration tools to generate initialization C code for custom board support. it is integrated as a part of MCUXpresso for VS Code and as a separate tool if using a different IDE such as IAR or Keil.

Install it using our MCUXpresso Installer described above:

  1. Open MCUXpresso Extension. In VS Code, click the MCUXpresso icon on the Activity Bar on the left side
  2. Launch "Config Tools". In the "Projects" tab, select and right-click your project, then click "Open Config Tools."

2.5 MCUXpresso Secure Provisioning Tools

NXP provides two complementary tools for secure programming and device provisioning on MCU devices. Both are fully supported for development and production workflows:

  1. Secure Provisioning SEC Graphical User Interface (GUI) Tool: A user-friendly graphical tool for secure programming and provisioning, ideal for both development and mass production. The GUI can be installed using the MCUXpresso Installer. Learn how to create a secure image in just 6 clicks
  2. Secure Provisioning Software Development Kit (SPSDK) Command-Line Interface (CLI): An open-source command-line toolkit for automation and integration, fully suitable for development and production workflows

Alternative Tools

MCUXpresso for VS Code is recommended for new designs.

Still want to use a different toolchain?

To help you choose the right one, explore the MCUXpresso Suite of Software and Tools.

The MCUXpresso SDK includes support for other tools such as MCUXpresso IDE,IAR ,KEIL  and command-line GCC.

3. Build, Run

3.1 MCUX VS Code: Build and Flash

The following steps guide you through the hello_world demo application using MCUXpresso for VS Code IDE. But before you get started, you must download the Remote Archive SDK referenced in Section 2.3 of the Get Software step of this guide.

  1. Open Quickstart Panel: Click the MCUXpresso icon in VS Code, then select the "Quickstart Panel" tab
  2. Getting Started with FRDM-RW612 Image 3.1
  3. Import Example: Click "Import example from Repository."
  4. Getting Started with FRDM-RW612 Image 3.2
  5. Select Archive Folder: From the "Repository" dropdown, choose your downloaded archive folder FRDM-RW612 SDK
  6. Getting Started with FRDM-RW612 Image 3.3
  7. Choose Board: From the Board dropdown, choose "FRDM-RW612"
  8. Getting Started with FRDM-RW612 Image 3.4
  9. Select Template: Select "demo_apps/hello_world" from the Template dropdown
  10. Getting Started with FRDM-RW612 Image 3.5
  11. Select Freestanding Project and Location: Select the location which the project will be saved on your PC
  12. Getting Started with FRDM-RW612 Image 3.6
  13. Choose the Toolchain: Select the latest ARM GNU toolchain available
  14. Getting Started with FRDM-RW612 Image 3.7
  15. Import: Click "Import"
  16. Getting Started with FRDM-RW612 Image 3.8
  17. Build the Project: Expand Projects, right-click your project and select "Build Project" (or click the build icon)
  18. Getting Started with FRDM-RW612 Image 3.9
  19. Connect Board: Plug the board into your PC using the micro-USB cable on the MCU-LINK port
  20. Getting Started with FRDM-RW612 Image 3.10
  21. Debug the Project: Right-click the project and select "Debug" (or click the debug icon) to download the app to the board
  22. Getting Started with FRDM-RW612 Image 3.11
  23. Open Serial Monitor: In VS Code, open "Serial Monitor," select "COMx - MCU-Link VCom Port," set baud rate to 115200, and click "Start Monitoring."
  24. Getting Started with FRDM-RW612 Image 3.12
  25. Run and View Output: Click "Continue" to run the app and view output in the Serial Monitor
  26. Getting Started with FRDM-RW612 Image 3.13

3.2 Alt Tools: Build and Flash

MCUXpresso IDE offers developers an easy-to-use, eclipse-based development environment for legacy NXP MCUs that are based on Arm® Cortex®-M cores. The preferred development environment is MCUXpresso for VSCode. However, MCUXpresso IDE remains fully supported for legacy products and SDKs that require MCUXpresso IDE. For those products that are not supported by MCUXpresso IDE, please refer to the SDK Documentation . Learn how to build and flash an application with MCUXpresso IDE .

Using a different toolchain?

This demo is also available for IAR  and KEIL .

4. Create

4.1 MCUX VS Code: Modify SDK

The following steps will guide you through the manipulation of a general-purpose input/output (GPIO). The example sets up a CTimer to generate a PWM signal and change between two LEDs. Using the config tool, you will change the pin configuration to add a third LED (Green) such that the example will cycle between blue and yellow (red + green).

  1. Select Template: Follow the same steps as the previous section, but this time select driver_examples/ctimer/ctimer_match_interrupt_example from the Template dropdown
  2. Getting Started with FRDM-RW612 Image 4.1
  3. Import: Click "Import"
  4. Getting Started with FRDM-RW612 Image 4.2
  5. Build the Project: Expand Projects, then right-click your project and select "Build Project" (or click the build icon)
  6. Getting Started with FRDM-RW612 Image 4.3
  7. Connect Board: Plug the board into your PC using the micro-USB cable on the MCU-LINK port
  8. Getting Started with FRDM-RW612 Image 4.4
  9. Debug the Project: Right-click the project and select "Debug" (or click the debug icon) to download the app onto the board
  10. Getting Started with FRDM-RW612 Image 4.5
  11. Run and View Output: Click "Continue" to run the app and view the RGB LED blinking
  12. Getting Started with FRDM-RW612 Image 4.6
  13. Stop Debug Session: Click on the stop debug session icon
  14. Getting Started with FRDM-RW612 Image 4.7
  15. Open MCUXpresso Config Tool: Right-click on the project and select "Open" with MCUXpresso Config Tools
  16. Getting Started with FRDM-RW612 Image 4.8
  17. Filter Pins: In the Pins view, uncheck "Show dedicated pins" and "Show not routed pins" to display only the routed pins (highlighted in green)
  18. Getting Started with FRDM-RW612 Image 4.9
  19. Enable GREEN LED: Let's add the pin configuration to enable the GREEN LED. The following steps will route the CTIMER0 MATCH2 signal to the GREEN LED. Check "Show not routed pins" to view the available options. Find the CTIMER column and click within the box to open the signal configuration
  20. Getting Started with FRDM-RW612 Image 4.10
  21. After clicking the box for which aligns with the CTIMER function of GPIO_12, select CTIME0:MATCH,2 signal and click "done"
  22. Getting Started with FRDM-RW612 Image 4.11
  23. Set Pin as Output: Confirm in "Routing Details" that the pin is configured as "Output."
  24. Getting Started with FRDM-RW612 Image 4.12
  25. Export Updated Files: Save changes by clicking "Update Code" and the new pin_mux.c and pin_mux.h files will be generated, overwriting the original ones
  26. Getting Started with FRDM-RW612 Image 4.13
  27. The screen that pops up will show the files that are changing and you can click on "diff" to see the difference between the current file and the new file generated by the Pins tool. Click on "OK" to forward the changes to the VSCode Extension
  28. Getting Started with FRDM-RW612 Image 4.14
  29. Within VSCode, a popup to apply the changes to the project will appear. Click "OK" to apply the changes
  30. Getting Started with FRDM-RW612 Image 4.15
  31. Update Application Code within the project folder: In app.h, add macros to enable the third ctimer output (1), add the function prototype for the match2 callback (2), and add the callback to the callback table (3)
  32. Getting Started with FRDM-RW612 Image 4.16
  33. In simple_match_interrupt.c add a variable for the Channel 2 Configuration
  34. Getting Started with FRDM-RW612 Image 4.17
  35. In simple_mach_interrupt.c add the callback function for ctimer_match2 (it will be very similar to the other callback functions)
  36. Getting Started with FRDM-RW612 Image 4.18
  37. In the main function: add the initialization and setup of match2 configuration
  38. Getting Started with FRDM-RW612 Image 4.19
  39. Build the Project: Expand Projects, then right-click your project and select "Build Project" (or click the build icon)
  40. Getting Started with FRDM-RW612 Image 4.20
  41. Debug the Project: Right-click the project and select "Debug" (or click the debug icon) to download the app to the board
  42. Getting Started with FRDM-RW612 Image 4.21
  43. Run and View Output: Click "Continue" to run the app and view the LED cycling between Blue, and Yellow

4.2 Alt Tools: Modify Project

MCUXpresso IDE offers developers an easy-to-use, eclipse-based development environment for legacy NXP MCUs based on Arm® Cortex®-M cores. The preferred development environment is MCUXpresso for VSCode. However, MCUXpresso IDE remains fully supported for legacy products and SDKs that require MCUXpresso IDE. For those products that are not supported by MCUXpresso IDE, please refer to the SDK Documentation . Learn how to modify a project using the Config Tools in MCUXpresso IDE .

Using a different toolchain?

This demo is also available for IAR and KEIL .

5. MCUXpresso Developer Experience

Check out each of the following sections to learn about the ecosystem provided to you for flexible protyping and development. In the video below, you will be introduced to the FRDM platform, the full-featured evaluation kit (EVK) and the compatible shields for extended capabilities. In addition, you will be guided through our Application Code Hub (ACH) portal where you will be provided numerous application examples through NXP's GitHub.

5.1 FRDM, EVK and Shields

For quick prototyping platforms, we offer both the low-cost FRDM platform and the full-featured EVK.

FRDM Development Boards come with standard form factor and headers, easy access to MCU I/Os, on-board MCU-Link debugger and a USB-C cable. Our full-featured EVKs include extended I/O and interface access, extendable with WiFi and additional MCU-Link features.

There are also many compatible Click Board and/or Arduino shields. For those that are supported with an Open Cortex®-microcontroller software interface standard (CMSIS) Pack, examples may be available in the ACH. However, this is not the case if not many of them are easy to use via serial interface such as inter-integrated circuit (I²C), serial peripheral interface (SPI) or universal asynchronous receiver/transmitter (UART), for which we provide drivers with examples in the MCUXpresso SDK.

5.2 Application Code Hub

The ACH further enhances our MCUXpresso Developer Experience by giving developers an interactive dashboard to quickly locate software. Explore the ACH  today to discover additional details and the benefits of the new interactive Application Code Hub.

Software accessible from ACH is located in NXP's GitHub repository  where it can be easily accessed and cloned directly from that location.

5.3 Demo Walkthrough

The following demo walks you through importing a project from ACH using a system based on the FRDM platform with a motor-control shield and a low-cost LCD. Although your evaluation board may differ from this system, the following steps can be replicated and used accordingly for all supported platforms.

5.4 FreeMASTER Run-Time Debugging Tool

FreeMASTER is a user‑friendly, real‑time debug monitor and data visualization tool that enables runtime configuration and tuning of embedded software applications. It supports non‑intrusive monitoring of variables on a running system and can display multiple variables on oscilloscope‑like views, standard widgets (gauges, sliders and more) or in text form, offering simple‑to‑use data recorders.

MCUXpresso Installer provides the FreeMASTER component for easy download and update.

5.5 GUI Guider

GUI Guider's drag-and-drop editor makes it easy to utilize the many features of the light and versatile graphics library (LVGL) such as widgets, animations and styles to create a GUI with minimal to no coding. It is a user-friendly GUI development tool from NXP that enables the rapid development of high-quality displays using the open-source LVGL.

MCUxpresso Installer offers the GUI Guider component that you can easily download and update.