製品 アプリケーション デザインセンター NXPについて
  • ログイン  DI
  •  日本語
    • English
    • 中文
    • 日本語
    • 한국어
ARM ® プロセッサ
  • Kinetis Cortex®-Mマイクロコントローラ
  • LPC Cortex-Mマイクロコントローラ
  • i.MXアプリケーション・プロセッサ
  • QorIQ ArmベースSoC
POWER ARCHITECTURE ®
プロセッサ
その他のプロセッサ
オートモーティブ関連製品
  • 車載ネットワーク
  • マイクロコントローラ、プロセッサ
  • セーフティ、パワーマネージメント
  • スマート・パワー・ドライバー
ANALOG
ID認証とセキュリティ
  • MIFARE
  • NFC
  • RFID
メディア/オーディオ・プロセッサ
パワーマネジメント
RF
センサ
ワイヤレス・コネクティビティ
開発者用リソース
リファレンスデザイン
ソフトウェア・センター

その他の製品情報
  • すべての製品
  • パッケージ
  • 長期製品供給プログラム
  • 製品検索
オートモーティブ 
  • コネクティビティ
  • ドライバー・アシスト
  • パワートレイン&車両駆動
  • 快適性
  • 車内ユーザー・エクスペリエンス
  • セキュア・ゲートウェイ&車内ネットワーク
インダストリアル 
  • ファクトリー・オートメーション
  • ヒューマン・マシン・インターフェース (HMI)
  • スマート・ホーム&スマート・ビルディング
  • インダストリアル・コネクティビティ
  • モーションおよびモータ制御
  • スマート・エネルギー
IOT (INTERNET OF THINGS) 
  • AI & 機械学習
  • Connected Things
  • エッジ・コンピューティング
  • Secure Things
  • Smart Things
NXPリファレンスデザイン・ライブラリ 

お客様の素早い設計とより早い製品化を実現する、技術情報と専門知識をご紹介します。

サポート
  • 技術サポート・コミュニティ
  • NXPプロフェッショナル・サービス
  • ソフトウェア・サポート&サービス
  • パートナー検索
  • すべてのサポート・オプション
  • NXPジャパン ニュースレター バックナンバー一覧
開発者用リソース
  • 評価/開発ボード
  • ソフトウェア・センター
  • NXPデザイン
  • ドキュメンテーション
  • すべての開発リソース
トレーニングとイベント
  • イベント
  • NXP Connect
  • NXP Technology Day
  • すべてのトレーニングとイベント
サンプル / 購入
  • 購入する
  • サンプルを発注する
  • 代理店
企業情報
  • 顧客
  • 投資家情報
  • メディア・センター
  • 世界の事業所
  • ブログ
  • お問い合わせ
  • 品質
企業責任
  • グリーン製品
  • 奴隷労働および人身取引防止に関する声明
  • 企業責任
採用情報
  • 開発ボード
    • アナログ・ツールボックス
    • 自動車開発プラットフォーム
    • 自動車のモータ制御ソリューション
    • Freedom開発ボード
    • LPCXpresso Boards
    • i.MX評価および開発ボード
    • タワー開発ボード
    • ラピッドプロトタイピング
    • RF回路コレクション
    • PROMETEO: Portable Diagnostic Tool for Automotive ICs
    • SJA1105Q-EVB
  • i.MX評価および開発ボード
    • 4K MIPI Camera
    • 4K MIPI CMOS Camera Module
    • 8CH-DMIC
    • Apalis i.MX 8 Embedded Vision Starter Kit
    • AUD-EXP-42448
    • G1120B0MIPI
    • i.MX25 | Product Development Kit
    • i.MX28 Evaluation Kit
    • i.MX31 | Lite Development Kit
    • i.MX35 | Product Development Kit (PDK)
    • i.MX50 Evaluation Kit
    • i.MX51 Evaluation Kit
    • i.MX53 | Quick Start Board
    • i.MX 6QP SABRE Board
    • i.MX 6Q SABRE Board
    • i.MX 6 SABRE Board for Infotainment
    • i.MX 6 SABRE Board for Infotainment AVB
    • i.MX 6SL Evalutaion Kit
    • i.MX 6SLL Evaluation Kit
    • i.MX 6SX SABRE Board
    • i.MX 6UL Evaluation Kit
    • i.MX 6ULL/6ULZ Evaluation Kit
    • i.MX 7Dual SABRE Board
    • i.MX 7ULP Evaluation Kit
    • i.MX 8M Evaluation Kit
    • i.MX 8M Mini Development Kit for Amazon Alexa Voice Service
    • i.MX 8M Mini評価キット
    • i.MX 8M Nano Evaluation Kit
    • i.MX 8M Nano UltraLite Evaluation Kit
    • i.MX 8M Plus評価キット
    • i.MX 8QuadMax/QuadPlus Multisensory Enablement Kit
    • i.MX 8QuadXPlus MEK
    • i.MX 8 Series Accessory Boards
    • i.MX 8XLite評価キット
    • i.MX 93評価キット
    • i.MX Audio Board
    • IMXEBOOKDC5 6-inch E-paper Panel Daughter Card
    • i.MX RT1010評価キット
    • i.MX RT1015評価キット
    • i.MX RT1020評価キット
    • i.MX RT1024評価キット
    • i.MX RT1040-EVK
    • i.MX RT1050評価キット
    • i.MX RT1060評価キット
    • i.MX RT1064評価キット
    • i.MX RT1160評価キット
    • i.MX RT1170 Evaluation Kit
    • i.MX RT600オーディオ評価キット
    • i.MX RT600 Evaluation Kit
    • RT595評価キット
    • SABRE Platform for Tablets based on i.MX53
  • RT595評価キット
    • Getting Started with the MIMXRT595-EVK
  • Getting Started with the MIMXRT595-EVK

Getting Started with the MIMXRT595-EVK

    • フェイスブック
    • ツイッター
    • LinkedIn
    • プリンター

ジャンプ先

  • 1. Plug It In
    • 1.1 Get familiar with the Board
    • 1.2 Attach the USB Cable
    • 1.3 Run the Out-of-Box Demo
  • 2. Get Software
    • 2.1 Jump Start Your Design with the MCUXpresso SDK
    • 2.2 Install your toolchain
    • 2.3 MCUXpresso Config Tools
    • 2.4 LPCScrypt
    • 2.5 Serial terminal
    • 2.6 J-Link
    • 2.7 Install Xtensa Xplorer IDE and Tools
  • 3. Build, Run
    • 3.1 Explore the MCUXpresso SDK Example Code
    • 3.2 Building and debugging MCUXpresso SDK Examples
  • 4. Modify a SDK example
    • 4.1 Clone an example project from MCUXpresso SDK
    • 4.2 Use the Pin Tool
    • 4.3 Use the Clocks Tool
    • 4.4 Success
  • Projects and Tutorials 
    • Sensors
    • NFC
    • Wi-Fi
  • Get Help
    • Communities

RT595評価キットRT595評価キット
購入

Plug it In

Let's take your MIMXRT595-EVK for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions listed below.

1.1 Get familiar with the Board

Note: FXOS8700CQ accelerometer is in “End of Life” status. Your RT595-EVK may not have the accelerometer populated.

1.2 Attach the USB Cable

There are three micro-USB connectors on the board. Plug the USB cable into the one labeled Link USB (J40), as is shown in the photo below.

When the board is powered, the RGB LED D19 should flash on and off.

1.3 Run the Out-of-Box Demo

Your MIMXRT595-EVK comes loaded with a "LED blinky" demo, explained below, and a demo that exercises the Cortex M33, Fusion F1 DSP and the GPU. This out of the box demo will be shown in an Application Note.

When the board is powered, the RGB LED D19 should flash on and off.

Get Software

2.1 Jump Start Your Design with the MCUXpresso SDK

   Want to learn more about SDK

The MCUXpresso Software Development Kit (SDK) is complimentary and includes full source code under a permissive open-source license for all hardware abstraction and peripheral driver software.

Click below to download a pre-configured SDK release for the MIMXRT595-EVK.
Unzip the SDK into a directory path that does not contain any spaces.

Get MCUXpresso SDK

You can also use the online SDK Builder to create a custom SDK package for the MIMXRT595-EVK.

2.2 Install your toolchain

NXP offers a complimentary toolchain called MCUXpresso IDE. Please download MCUXpresso v11.3.0 or above.

Get MCUXpresso IDE

Want to use a different toolchain ?

Need help choosing

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

2.3 MCUXpresso Config Tools

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, or you can download it as a seperate tool if using different toolchain. MCUXpresso Config Tool v9.0 or above is needed to support the i.MXRT595.

Get MCUXpresso Config Tools

2.4 LPCScrypt

Drivers for the debugger and virtual COM port also need to be installed. They are part of the LPCScrypt package, which can be download below. The LPC-Link2 circuiit firmaware will also need to be updated to use the J-Link interface. The tutorial below will walk through the steps.

LPCScrypt Tutorial

LPCScrypt is a command-line based, fast flash, EEPROM, OTP and security programming tool for LPC microcontrollers. It is the recommended tool to program the latest CMSIS-DAP and J-Link firmware.

  1. Download the LPCScrypt tool using the button below, choose your platform (Windows, MAC OC X, Linux). After the download, run the installer. During the installation the DFU and VCOM drivers will be automatically installed for all platforms.
    Download
  2. Configure To update the LPC-Link2 debug circuit firmware, unplug the USB cable on J40 and then put on the DFULink jumper.
    • In the MIMXRT595-EVK, JP1 is the LPCXpresso DFU. Connect JP1 using the jumper.
    • Reconnect the board to your host computer over the debug link USB connector J40.
  3. Launch LPCScrypt by double-clicking on the “Boot LPCScrypt” file in the LPCScrypt install C:\ProgramData\Microsoft\Windows\Start Menu\Programs\LPCScrypt .
    • In the command shell, run the JLINK script to install the Jlink debug firmware

      Notes:

      • File paths in this document use Windows directory separators, on Linux or Mac OSX these must be replaced with ‘/.’
      • For Windows users, shortcuts to these scripts are available from the LPCScrypt entry on the Start menu.
  4. Verify once you select on firmware (in this case J-Link), LPCScrypt command window will show something like below in the console.
  5. Ready Once programming is complete, disconnect the board from the host. Remove the DFULink jumper, then reconnect the board to the host computer. You should see the probe enumerate on the host’s USB system.

2.5 Serial terminal

Many of the MCUXpresso SDK examples applications output data over the MCU UART. Install and configure your preferred terminal software to 115200 baud rate, 8 data bits, no parity and 1 stop bit. To determine the port number of the MIMXRT595-EVK’s virtual COM port, open the device manager and look under the "Ports (COM and LPT)" group.

Not sure how to use a terminal application? Try one of these tutorials:

MCUXpresso IDE Terminal Tutorial

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.

  1. Open the MCUXpresso IDE.
  2. Launch the MCUXpresso IDE terminal by clicking on the “Open a Terminal” button on the top of the IDE or press “Ctrl + Alt + Shift + T.”
  3. Select Serial Terminal
  4. Configure the serial port settings (using the LPC-Link2 COM port number) to 115200 baud rate, 8 data bits, no parity and 1 stop bit, then press “OK” button.
  5. Verify that the connection is open. If connected, MCUXpresso IDE will look like the figure below at the Terminal view.

  6. You're ready to go

Tera Term Tutorial

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.

  1. Download Tera Term from SourceForge. After the download, run the installer and then return to this webpage to continue.
  2. Download
  3. Launch Tera Term. The first time it launches, it will show you the following dialog. Select the serial option. Assuming your board is plugged in, there should be a COM port automatically populated in the list.
  4. Configure the serial port settings (using the COM port number identified earlier) to 115200 baud rate, 8 data bits, no parity and 1 stop bit. To do this, go to Setup -> Serial Port and change the settings.
  5. Verify that the connection is open. If connected, Tera Term will show something like below in it's title bar.

PuTTY Tutorial

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.

  1. Download PuTTY using the button below. After the download, run the installer and then return to this webpage to continue.
  2. Download
  3. Launch PuTTY by either double clicking on the *.exe file you downloaded or from the Start menu, depending on the type of download you selected.
  4. Configure In the window that launches, select the Serial radio button and enter the COM port number that you determined earlier. Also enter the baud rate, in this case 115200.
  5. Click Open to open the serial connection. Assuming the board is connected and you entered the correct COM port, the terminal window will open. If the configuration is not correct, PuTTY will alert you.
  6. You're ready to go

2.6 J-Link

You will need to download the neccessary J-Link drivers in order to debug the Fusion F1 DSP. Follow the next tutorial to see how to download and install this software.

SEGGER J-Link Tutorial

  1. Download J-Link software.

    Enter to SEGGER download page: https://www.segger.com/downloads/jlink/.

  2. Expand “J-Link Software and Documentation Pack” section.
  3. Select the software that matches your OS and download the newest version.

    Accept terms and download the software.

  4. Execute the .exe file you just downloaded by doing double-click. Follow the setup instructions until the J-Link installation is complete.
  5. You're ready to go.

2.7 Install Xtensa Xplorer IDE and Tools

To code and debug the DSP on the MIMXRT595-EVK, you will need to download Cadence Tensilica Xplorer. This is the only available development IDE for the DSP core of the MIMXRT595

Xtensa Xplorer Tutorial

Cadence® Tensilica® Xplorer is a complete development environment that helps users create application code for high-performance Tensilica® processors. Xplorer is the interface to powerful software development tools such as the XCC compiler, assembler, linker, debugger, code profiler and full set of GUI tools.

Xplorer (including both GUI and command line environment.) is the only available development IDE for the DSP core of MIMXRT500.

  1. Create a profile. This is needed to download the Tensilica Tools. Go to the URL https://tensilicatools.com/download/fusion-f1-dsp-sdk-for-rt500/ and login. If this is the first time to access, please register first.

    You will receive an email confirmation with the activation link from “Tensilica tools”. Click the activation link to complete the registration.

  2. Install Xtensa Xplorer IDE. Once registered, please login and you will see available materials.
    • Download and install “Xtensa Xplorer IDE 8.0.10” for your operating system.
    • Download “DSP Configuration” for your operating system. This will be installed later (Step 5).
  3. Download a License Key. To generate the correct license file, you should first identify the appropriate MAC for the computer you plan to run Xtensa tools on. Open a Command Prompt and type:

    Windows:

    Linux:

    Reload and return to the Tensilica URL: https://tensilicatools.com/download/fusion-f1-dsp-sdk-for-rt500/ and click on “Get a License Key for RT500 SDK”.

    Type your MAC address without ‘-’ or ‘:’ symbols.

  4. Install License Key. Once the license has been generated and downloaded, open Xplorer IDE and select on menu Help -> Xplorer License Keys -> License Options -> Install Software Keys. Select the license key file and click ‘Finish’.

    Note: The generated license file only supports debug/run on the RT500 device target. It does not support software simulation/Xplorer ISS. Please contact Cadence directly if you have special needs to run software simulations.

  5. Install RT500 DSP Build Configuration. The build configuration can be installed into the IDE using the ‘System Overview’ panel which is located on the lower left corner by default. If this panel is not visible, it can be toggled using menu item Window -> Show View -> System Overview.

    Search the configuration you downloaded at Step 2.

  6. Install Xtensa On Chip Debugger Deamon. The Xtensa On Chip Debugger Deamon (xt-ocd), is a powerful gdb-based debugging tool. It is not installed by default with the Xplorer IDE. A self-extracting executable installer is included with the IDE, it is located at:

    Windows:

    “C:\usr\xtensa\XtDevTools\downloads\RI2019.1\tools\xt-ocd-14.0.1-windows64-installer.exe”

    Linux:

    “~/xtensa/XtDevTools/downloads/RI2019.1/tools/xt-ocd-14.0.1-linux64-installer”

    At this moment xt-ocd supports J-Link and ARM RVI/DSTREAM probes over Serial Wire Debug (SWD) for RT500. xt-ocd installs support for J-Link probes but does not install the required J-Link drivers which must be installed separately. The RT500 requires J-Link software version 6.92 or newer.

    Linux Note: When installing xt-ocd on Linux, you must manually add a symlink to the installed J-Link driver:

    “ln -s <jlink-install-dir>libjlinkarm.so.6 <xocd-install-dir>/modules/libjlinkarm.so.6”

  7. Identify the Jlink serial number of your LPC-Link2. Run JLINK commander to check the serial number. It is located at: “C:\Program Files (x86)\SEGGER\JLink”.

    Every EVK/LPC-Link2 will have different Jlink S/N.

    Note: Please note that J-Link firmware needs to be installed to identify this serial number. If you hasn’t update the firmware, please refer to the step “2.4 LPCScrypt” on this guide.

    Edit topology file. xt-ocd is configured with an XML input file ‘topology.xml’. The file is located in the Xtensa OCD installation directory at “C:\Program Files (x86)\Tensilica\Xtensa OCD Daemon 14.01”

    You will need to modify this file for your debugger hardware. Using J-link as example, please use this topology.xml file to replace the original file. Or copy one of the examples below

    Please note that you need to replace ‘usbser’ section with your own Jlink serial number (9-digit number obtained on the previous step).

    Below is shown another topology.xml example fot ARM RealView ICE (RVI) and DSTREAM debug probes:

Build, Run

3.1 Explore the MCUXpresso SDK Example Code

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 MIMXRT595-EVK. ( <SDK_Install_Directory>/boards/evkmimxrt595).

To learn more about specific example code, open the readme.txt file in an example’s directory.

3.2 Building and debugging MCUXpresso SDK Examples

If one or more of the demo application or driver examples sounds interesting, you're probably wanting to know how you can build and debug yourself. The Getting Started with 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 in MCUXpresso IDE.

Use MCUXpresso IDE

Building and running a DSP demo

The RT500 SDK provides a collection of DSP example applications. Each DSP example has two source directories, one for the ARM CM33 and one for the DSP Fusion F1.

In order to debug a DSP demo you will need to follow two processes. The first one is to build and flash the CM33 application to your MIMXRT595-EVK. The second one is to build and debug the DSP application using Xtensa Xplorer IDE.

  1. Build and Flash Cortex-M33 Application

    The following steps will guide you through the mu_polling 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.

    1. Open the MCUXpresso IDE.
    2. Switch to the Installed SDKs view within the MCUXpresso IDE window.
    3. Drag and drop the MIMXRT595-EVK SDK (zipped) file into the Installed SDKs view.
    4. You will get the following pop-up. Click on OK to continue the import:
    5. The installed SDK will appear in the Installed SDKs view as shown below:
    6. Find the Quickstart Panel in the lower left-hand corner.
    7. Then click on Import SDK example(s)…
    8. Click on the evkmimxrt595 board to select that you want to import an example that can run on that board, and then click on Next.
    9. Use the arrow button to expand the dsp_examples category, and then click the checkbox next to dsp_mu_polling_cm33 to select that project. 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.
    10. Verify the DSP_IMAGE_COPY_TO_RAM macro value. To do this, go to project properties doing right click on the project.
    11. Open C/C++ Build option and select Settings.
    12. Once in there, into the Tool Settings, select the Preprocessor folder and change the value of DSP_COPY_IMAGE_TO_RAM to 0.
    13. Apply and Close.
    14. Select the project and build it.
    15. The project will build without problems.
    16. Connect the board to your computer with the micro USB to J40 ‘LINK USB’ port.
    17. Download the application to your MIMXRT595-EVK.
    18. Select the J-Link debug probe.
    19. Run the application.
  2. Build and Debug the DSP application

    The following steps will guide you through the mu_polling application using Xtensa Xplorer IDE for the DSP. The Xtensa Xplorer IDE installation can be found at the section “2. Get Software” of this Getting Started guide.

    1. Open Xtensa Xplorer IDE.
    2. Import the “mu_polling” demo on your workspace. File -> Import
    3. Select Existing Projects into Workspace.
    4. Use the Browse button and select the mu_polling dsp demo on the SDK. Make sure the path name does not contain any spaces.
      The path is:

      “<SDK install dir> \boards\evkmimxrt595\dsp_examples\mu_polling\dsp”

    5. Once imported, you will see ‘dsp_mu_polling_fusionf1’ in the Project Explorer. This project includes the code for the DSP. You can see the main function at source -> main_dsp.c.
    6. To build the DSP application you must set the following configuration (use the drop down buttons on the menu bar):
    7. Build the application by doing click on the “Build Active” button
    8. The build should complete without errors. If there are errors, verify that the SDK directory path does not contain any spaces.
    9. Open a command prompt on the following location: “C:\Program Files (x86)\Tensilica\Xtensa OCD Daemon 14.01” and execute the following command: “xt-ocd.exe -c topology.xml”. You should see the following:
    10. Open the terminal application on the PC (such as PuTTY or Tera Term) and connect to the debug COM port you determined earlier. Configure the terminal with these settings:
      • 115200 baud rate
      • No parity
      • 8 data bits
      • 1 stop bit
    11. Go to Xtensa Xplorer IDE and use the Debug action button to open the Debug Configuration.
    12. Please select the dsp_mu_polling Xtensa On Chip Debug. And Click on Debug.
    13. A new window will be opened asking to download the application to the core 0. Click Yes.
    14. Xtensa Xplorer will transition to the Debug perspective.
    15. Click on ‘Resume’ button to start the program.
    16. You should see the RED RGB LED D19 blinking and the following on the terminal:
    17. Click on ‘Terminate’ button to stop the debugging session on Xtensa Xplorer IDE.
    18. Stop the debugger on the MCUXpresso IDE running the CM33 application.

Use IAR EWARM

Running a demo using IAR Embedded Workbench IDE

  1. Build an Example Application

    The following steps will guide you through opening the mu_polling 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 8.50.9 or above.

    1. First, unzip the previously downloaded RT500 SDK package.
    2. Open the desired example application workspace. Most example application workspace files can be located using the following path:

      <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/evkmimxrt595/dsp_examples /mu_polling/cm33/iar

    3. Select the desired build target from the drop-down. For this example, select the “dsp_mu_polling_cm33 – debug” target.
    4. Change DSP_IMAGE_COPY_TO_RAM macro value to 0. Open the project properties by doing a right-click on the project and selecting Options.
    5. Click on C/C++ Compiler and select Preprocessor. Change the DSP_IMAGE_COPY_TO_RAM to 0.
    6. Now go to Assembler, select the Preprocessor option, and change the same macro.
    7. Now go to the Debugger section and change the debugger driver to Jlink. Press the OK button.
    8. To build the application, click the “Make” button, highlighted in red below.
    9. The build will complete without errors.

      *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 MIMXRT595S_M33; this board is supported in IAR Embedded Workbench for Arm version 8.50.9 or higher.

  2. Run an Example Application

    The LPC-Link2 circuit on the board should have been updated to use the J-Link interface during Step 2.4 “LPCScrypt” of the Getting Started website. See that section of the Getting Started website for more details on using LPCScrypt to update the debug firmware on the board to use the J-Link interface if this has not already been done.

    1. Connect the development platform to your PC via USB cable to J40 “Link USB”. Ensure the DFULink jumper (JP1) is removed when powering the board.
    2. Click the "Download and Debug" button to download the application to the target.
    3. The application is then downloaded to the target and automatically runs to the main() function.
    4. Run the code by clicking the "Go" button to start the application.
    5. The mu_polling_cm33 application is now running on the Cortex-M33.
  3. Build and Debug the DSP Application

    To 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”.

Use Keil® MDK

Running a demo using Keil ® MDK/µVision ®

  1. Install CMSIS device pack

    After the MDK tools are installed, Cortex ® Microcontroller Software Interface Standard (CMSIS) device packs must be installed to fully support the device from a debug perspective. These packs include things such as memory map information, register definitions and flash programming algorithms. Follow these steps to install the appropriate CMSIS pack.

    Please use MDK-Arm Microcontroller Development Kit (Keil)® version 5.33 or above.

    1. Open the MDK IDE, which is called µVision. Inside the IDE, select the "Pack Installer" icon.
    2. In the Pack Installer window, search for “imxrt595” to bring up the MIMXRT595 family. Click on the MIMXRT595S name, and then in the right-hand side you’ll see the NXP::MIMXRT595S_DFP pack. Click on the “Install” button next to the pack. This process requires an internet connection to successfully complete.
    3. After the installation finishes, close the Pack Installer window and return to the µVision IDE.
  2. Build the Example Application

    The following steps will guide you through opening the mu_polling application. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.

    1. If not already done, open the desired demo application workspace in:

      <install_dir>/boards/<sdk_board_name>/<example_type>/<application_name>/mdk

      The workspace file is named <application_name>.uvmpw, so for this specific example, the actual path is:

      <install_dir>/boards/evkmimxrt595/dsp_examples/mu_polling/cm33/mdk/dsp_mu_polling_cm33.uvmpw

    2. Select debug configuration.
    3. Do right click on the project and select the project options:
    4. Select the C/C++ option and change the DSP_IMAGE_COPY_TO_RAM to 0.
    5. Open Asm option and change the same macro to 0.
    6. Now, go to the Debug option and select J-LINK. Click on Ok button.
    7. To build the demo project, select the "Rebuild" button, highlighted in red.
    8. The build will complete without errors.
  3. Run an Example Application

    The MIMXRT595-EVK board comes loaded with the CMSIS-DAP debug interface from the factory. If you have not changed the debug LPC-LINK2 application on your board, check the LPCScrypt tutorial describe in the past section.

    1. Connect the development platform to your PC via USB cable to J40 “Link USB”. Ensure the DFULink jumper (JP1) is removed when powering the board to boot the debug probe from internal flash.
    2. Open the terminal application on the PC (such as PuTTY or Tera Term) and connect to the debug COM port you determined earlier. Configure the terminal with these settings:
      • 115200 baud rate
      • No parity
      • 8 data bits
      • 1 stop bit
    3. After the application is properly built, click the "Download" button to download the application to the target.
    4. Click on “Start/Stop Debug Session” to open the debug view.
    5. Run the code by clicking the "Run" button to start the application.
    6. The mu_polling_cm33 application is now running
  4. Build the DSP Application

    To build and debug the DSP application follow the instructions of chapter “2. Build the DSP Application” at MCUXpresso tutorial on this same section.

Use ARM GCC

  1. Set Up Toolchain

    This section contains the steps to install the necessary components required to build and run a KSDK demo application with the ARM GCC toolchain, as supported by the MCUXpresso SDK. There are many ways to use ARM GCC tools, but this example focuses on a Windows environment. Though not discussed here, GCC tools can also be used with both Linux OS and Mac OSX.

    Please use GCC ARM Embedded version 9-2020-q2.

    Install GNU-RM ARM Embedded Toolchain

    Download and run the installer from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads. This is the GNU Arm Embedded Toolchain (i.e., compiler, linker, etc.) which includes the GNU compiler (GCC).

    Install MinGW

    The Minimalist GNU for Windows (MinGW) development tools provide a set of tools that are not dependent on third party C-Runtime DLLs (such as Cygwin). The build environment used by the KSDK does not utilize the MinGW build tools, but does leverage the base install of both MinGW and MSYS. MSYS provides a basic shell with a Unix-like interface and tools.

    1. Download the latest MinGW mingw-get-setup installer from sourceforge.net/projects/mingw/files/Installer/.
    2. Run the installer. The recommended installation path is C:\MinGW, however, you may install to any location.

      Note: The installation path cannot contain any spaces.

    3. Ensure that the "mingw32-base" and "msys-base" are selected under Basic Setup.
    4. Click "Apply Changes" in the "Installation" menu and follow the remaining instructions to complete the installation.
    5. Add the appropriate item to the Windows operating system Path environment variable. It can be found under Control Panel -> System -> Advanced System Settings in the "Environment Variables..." section. The path is:

      <mingw_install_dir>\bin

      Assuming the default installation path, C:\MinGW, an example is shown below. If the path is not set correctly, the toolchain does not work.

      Note: If you have "C:\MinGW\msys\x.x\bin" in your PATH variable (as required by KSDK 1.0.0), remove it to ensure that the new GCC build system works correctly.

      Add a New Environment Variable for ARMGCC_DIR

      Create a new system environment variable and name it ARMGCC_DIR. The value of this variable should point to the ARM GCC Embedded tool chain installation path, which, for this example, is:

      C:\Program Files (x86)\GNU Tools ARM Embedded\<version>

      Reference the installation folder of the GNU ARM GCC Embedded tools for the exact path name of your installation.

      Install CMake

      1. Download the newest version of CMake from https://cmake.org/download/.
      2. Install CMake, ensuring that the option "Add CMake to system PATH" is selected when installing. It's up to the user to select whether it's installed into the PATH for all users or just the current user. In this example, the assumption is that it's installed for all users.
      3. Follow the remaining instructions of the installer.
      4. You may need to reboot your system for the PATH changes to take effect.
  2. Build an Example Application

    To build an example application, follow these steps.

    1. Open the next directory on the file explorer ‘<SDK Install dir> \boards\evkmimxrt595\dsp_examples\mu_polling\cm33\armgcc’ and open flags.cmake file.
    2. Edit the next sections, changing the value of DDSP_IMAGE_COPY_TO_RAM to 0:
      1. CMAKE_ASM_FLAGS_DEBUG
      2. CMAKE_C_FLAGS_DEBUG
    3. If not already running, open a GCC ARM Embedded tool chain command window. To launch the window, from the Windows operating system Start menu, go to “Programs -> GNU Tools ARM Embedded <version>” and select “GCC Command Prompt”.
    4. Change the directory to the example application project directory, which has a path like this:

      <install_dir>/boards/<board_name>/<example_type>/<application_name>/armgcc

      For this guide, the exact path is:

      <install_dir>/boards/evkmimxrt685/dsp_examples/mu_polling/cm33/armgcc

    5. Type “build_debug.bat” on the command line or double click on the "build_debug.bat" file in Windows operating system Explorer to perform the build. The output is shown in this figure:

      When finished, a .elf will be created inside a folder named ‘debug’ on the project directory.

  3. Run an Example Application

    The GCC tools require a J-Link debug interface. To update the OpenSDA firmware on your board to the latest J-Link app, visit www.nxp.com/opensda. After installing the J-Link OpenSDA application, download the J-Link driver and software package from www.segger.com/downloads.html.

    1. Connect the development platform to your PC via USB cable to J40 “Link USB”. Ensure the DFULink jumper (JP1) is removed when powering the board.
    2. Open the J-Link GDB Server application. Assuming the J-Link software is installed, the application can be launched by "C:\Program Files (x86)\SEGGER\ J-Link <version> \ J-Link GDB Server".
    3. Modify the target device selection chosen for this example to “MIMXRT595S_M33” and use the SWD interface.

      *Your device serial number may be different. You can obtain the device serial number, by opening Jlink.exe (with your MIMXRT595 already connected through J40).

    4. After it is connected, the screen should resemble this figure:
    5. If not already running, open a GCC ARM Embedded tool chain command window. To launch the window, from the Windows operating system Start menu, go to "Programs -> GNU Tools ARM Embedded <version>" and select "GCC Command Prompt".
    6. Change to the directory that contains the demo application output. The output can be found in using one of these paths, depending on the build target selected:

      <install_dir>/boards/<board_name>/<example_type>/<application_name>/armgcc/debug

      <install_dir>/boards/<board_name>/<example_type>/<application_name>/armgcc/release

      For this guide, the path is:

      <install_dir>/boards/evkmimxrt595\dsp_examples\mu_polling\cm33\armgcc\debug

    7. Run the command "arm-none-eabi-gdb.exe <demo_name>.elf". For this example, it is "arm-none-eabi-gdb.exe dsp_mu_polling_cm33.elf".
    8. Run the next gdb commands:
      • "target remote localhost:2331"
      • "load"
      • “monitor reset”
    9. Execute the "monitor go" command to start the example application.

      The mu_polling cm33 application is now running.

  4. Build the DSP Application

    To build and debug the DSP application follow the instructions of chapter “2. Build the DSP Application” at MCUXpresso tutorial on this same section.

Modify a SDK example

4.1 Clone an example project from MCUXpresso SDK

Option A: Use the MCUXpresso IDE to clone an example project.

Option B: Use the MCUXpresso Config Tool to clone an existing MCUXpresso SDK example for use with third party IDEs. Please use MCUXpresso Config Tool v9.0 or above.

4.2 Use the Pin Tool

Now, let’s use the Pins tool that is part of the MCUXpresso Config Tool to change the LED that is blinking to a different LED color.

4.3 Use the Clocks Tool

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.

4.4 Success

With the application modified, you will see the MIMXRT595-EVK green RGB LED blinking.

Use MCUXpresso IDE

  1. Build an Example Application

    The following steps will guide you through the manipulation of the general-purpose outputs. The example sets up a SCTimer to generate a PWM signal and change a LED brightness.

    1. Find the Quickstart Panel in the lower left-hand corner
    2. Then click on Import SDK examples(s)…
    3. Click on the evkmimxrt595 board to select that you want to import an example that can run on that board, and then click on Next.
    4. Use the arrow button to expand the driver_examples category, then expand the sctimer examples, click on the check box next to sctimer_pwm_with_dutycycle_change 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.
    5. Click on the “evkmimxrt595_sctimer_pwm_with_duty_cycle_change” project in the Project Explorer View and build, compile, and run the demo as described previously
    6. You should see the RED LED changing the brightness.

      Note:. On “Use Pin Tool” tutorial you will learn how to change the LED output pin of the board.

    7. Terminate the debug session.

Use MCUXpresso Config Tool

The following steps will guide you through the manipulation of the general-purpose outputs. The example sets up a SCTimer to generate a PWM signal and change a LED brightness.

  1. Open the MCUXpresso Config Tool.
  2. In the wizard that comes up, select the “Create a new configuration based on an SDK example or hello word project” radio button and click on Next.
  3. On the next screen, select the location of the MCUXpresso SDK that you had unzipped earlier. Then select the IDE that is being used. Note that only IDEs that were selected in the online SDK builder when the SDK was built will be available and click on clone select example.

    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 “sctimer” in the filter box and then selecting the “sctimer_pwm_with_dutycycle_change” example project. You can then also specify where to clone the project and the name. Then click on Finish.

  4. After cloning go to the directory you selected and open the project for your IDE. Import, compile, and run the project as done in previous sections.
  5. You should see the RED LED changing the brightness.

    Note: On “Use Pin Tool” tutorial you will learn how to change the LED output pin of the board.

  6. Terminate the debug session.

Use MCUXpresso IDE Pins Tools

Note: Previously, you had to clone an SDK project like in the previous step.

  1. To open pin tools in MCUXpresso IDE
    1. Open the pins tool by right clicking on the “evkmimxrt595_sctimer_pwm_with_dutycycle_change” project, and selecting “MCUXpresso Config Tools” and then “Open Pins”
    2. The pins tool should now display the pin configuration for the sct project.
  2. To open pin tools in MCUXpresso Config tools:
    1. Open the MCUXpresso Config Tool.
    2. In the wizard that comes up, select the “Open existing configuration” radio button, then select the project that you had clone and click on Next.
    3. Open the pins tool by selecting Tools->Pins from the toolbar.
    4. The pins tool should now display the pin configuration for the sctimer project.
  3. Use the pins tools to modify the LED routed pin:
    1. We’ll use MCUXpresso IDE for the rest of the instructions, but the same steps can be done in MCUXpresso Config tools for third party IDEs. In the Pins view deselect “Show dedicated pins” and “Show no routed pins” checkboxes to see only the routed pins. Routed pins have a check in a green box next to the pin name. The functions selected for each routed pin are highlighted in green.
    2. In the current configuration, PIO0_14 is routed as a SCT0_OUT0. Let’s disable, PIO0_14, and change the mux setting of PIO1_0 to use its SCT0_OUT7 functionality.
    3. Disable PIO0_14 by clicking the “SCT0_OUT0” field under the SCT column. A new window will appear. Deselect the SCT0_OUT0 checkbox and click on Done. The pin will then be disabled (pin will no longer have check in box) and thus disappear from the list.
    4. Now, route PIO1_0 as a SCT_OUT7. First, select the “Show not routed pins” so that all the pins are displayed again. Then, search PIO1_0 in the pins view. Finally, click the box under the SCT column “SCT_OUT7”. The box will highlight in green, and a check will appear next to the pin.
    5. Now it’s time to implement these changes into the project by exporting the new updated pin_mux.c and pin_mux.h files that are generated by the Pins tool. Click on Update Project in the menu bar.
    6. 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 overwrite the new files into your project.

      Note: The clocks and other files may also be tagged as being updated since the header has been changed.

    7. Now inside the IDE, open the pin_mux.c file under board folder.
    8. Search for BOARD_InitPins(void) function. Note that when we change the sct routed pin in the tool the PIO0_14 was selected and configured as SCT_OUT (red led). Now, we have the declaration of PIO1_0 and configured as SCT_OUT (green led).
    9. Open sctimer_update_dutycycle.c file and change macro DEMO_SCTIMER_OUT to kSCTIMER_Out_7.
    10. Build and download the project as done in the previous section.
    11. Run the application. You should now see the GREEN LED changing the brightness.
    12. Terminate the debug session.

Note: Previously, you had to clone an SDK project like in the past step.

  1. To open clock tools in MCUXpresso IDE:
    1. Open the Clock tool by right clicking on the “evkmimxrt595_sctimer_pwm_with_dutycycle_change” project and selecting “MCUXpresso Config Tools” and then “Open Clocks”.
    2. The clock tool should now display the clock configuration for the project.
  2. To open clock tools in MCUXpresso Config tools:
    1. Open the MCUXpresso Config Tool.
    2. In the wizard that comes up, select the “Open existing configuration” radio button, then select the project that you had clone and click on Next.
    3. Open the clocks tool by selecting Tools->clocks from the toolbar.
    4. The pins tool should now display the clock configuration for the project.
  3. Use the clock tools to modify the system clock:
    1. We’ll use MCUXpresso IDE for the rest of the instructions, but the same steps can be done in MCUXpresso Config tools for third party IDEs. Switch to the Clocks Diagram view by clicking the tab in the upper left corner.
    2. Make sure that you are in the functional group called “BOARD_BootClockRUN”.
    3. By default, the MIMXRT595 is running at 198MHz. Change the core clock frequency to 99MHz by clicking in the SYSCPUAHBCLKDIV field and select “/4” option. You’ll see all the other clock values automatically change as well to adjust to this slower speed. It will look like this when done:
    4. Now it’s time to implement these changes into the project by exporting the new updated clock_mux.c and clock_mux.h files that are generated by the Pins tool. Click on Update Project in the menu bar.
    5. 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 Clock tool. Click on “OK” to overwrite the new files into your project.

      Note: The Pins files may also be tagged as being updated since the header has been changed.

    6. Build and download the project as done in the previous section. You can confirm the changes at clock_config.c on the following lines:
    7. Run the application. You should see that the led changes the brightness slowly.
    8. Terminate the debug session.

Sensors

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 http://nxp.com/sensors

NFC

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 http://nxp.com/nfc

Wi-Fi

Getting Started with NXP Wi-Fi modules using i.MX RT platform - Let's take your Wi-Fi module for a test drive. This guide uses the Wi-Fi modules and i.MX RT platforms!

Get Help

Communities

Connect with other engineers and get expert advice on designing with i.MX processors and MCUXpresso Software and Tools. Join the community discussion in one of our two dedicated communities: i.RT Community or MCUXpresso Software and Tools Community


プレスリリース  2023年8月8日 |  TSMC、 ボッシュ、インフィニオン、NXP の4社、欧州に先端半導体製造の合弁会社を設立 TSMC、 ボッシュ、インフィニオン、NXP の4社、欧州に先端半導体製造の合弁会社を設立 続きを読む

プレスリリース  2023年8月8日 |  TSMC、 ボッシュ、インフィニオン、NXP の4社、欧州に先端半導体製造の合弁会社を設立 TSMC、 ボッシュ、インフィニオン、NXP の4社、欧州に先端半導体製造の合弁会社を設立 続きを読む

プレスリリース  2023年7月19日 | NXP、シャープと日本市場におけるUWB技術のエコシステム拡大 続きを読む

プレスリリース  2023年6月4日 | NXP、5G無線子局の小型化を実現する新しいRFパワー向けTop-Side Coolingを発表 続きを読む

プレスリリース  2023年5月29日 | NXP、セキュリティとエネルギー効率に優れた新しいi.MX 91ファミリを発表し、 Linux機能の拡充で数千ものエッジ・アプリケーションに対応 続きを読む

プレスリリース  2023年5月15日 | NXPとTSMC、16 nm FinFETを使用した業界初の車載用組み込みMRAMの提供へ 続きを読む

NXP
  • NXPについて
  • 採用情報
  • 投資家向け情報
  • プレスリリース、製品ニュース
  • お問い合わせ
  • 会員登録
  • LinkedIn
  • Twitter
  • Facebook
  • プライバシー
  • ご利用規約
  • 販売条件
  • 現代奴隷制報告書
  • アクセシビリティ
  • webサイトのフィードバック

©2006-2023 NXP Semiconductors. All rights reserved.