Getting Started with IMXRT685-AUD-EVK Development Platform

Last Modified: 2022-11-16 14:33:09Supports i.MX RT600 Audio Evaluation Kit

1. Plug It In

Let's take your IMXRT685-AUD-EVK for a test drive. You have the choice of watching a series of short videos at the beginning of each section or following the detailed instructions outlined below each video.

1.1 Get Started with IMXRT685-AUD-EVK Development Platform

1.2 Get Familiar with the Board

FXOS8700CQ accelerometer is in end-of-life status. Your RT685-AUD-EVK may not have the accelerometer populated.

Getting Started MIMXRT685-EVK get familiar

Getting Started MIMXRT685-EVK get familiar

1.3 Attach the USB Cable

There are three micro USB connectors on the board. Plug the USB cable into the one labeled "Link USB" (J5), as shown below.

Getting started MIMXRT685-EVK Attach the cable

Getting started MIMXRT685-EVK Attach the cable

1.4 Run the Out-of-Box Demo

The IMXRT685-AUD-EVK comes loaded with a "LED blinky" demo, explained below and a demo that exercises the Cortex-M33 and the HiFi 4 DSP, described in the next section. When the board is powered, the red LED D9 should flash on and off.

Getting Sarted - MIMXRT685-EVK-OUT-OF-BOX

Getting Sarted - MIMXRT685-EVK-OUT-OF-BOX

The second part of this out of the box demo will be shown in the application note.

2. Get Software

2.1 Installing Software for IMXRT685-AUD-EVK

2.2 Jump Start Your Design with the MCUXpresso 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 IMXRT685-AUD-EVK. Unzip the SDK into a directory path that does not contain any spaces.

MCUXPRESSO-SDK-TN

Get MCUXpresso SDK

You can also use the online SDK Builder  to create a custom SDK package for the IMXRT685-AUD-EVK using the SDK builder.

2.3 Install Your Toolchain

NXP offers a complimentary toolchain called MCUXpresso IDE.

MCUXpresso IDE

Get MCUXpresso IDE

Want to use a different toolchain?

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

GS Tool Logos

2.4 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 already fully integrated as a part of MCUXpressoIDE, but you can also download it as a separate tool if you are using a different.

MCUXpresso Config Tools

Get MCUXpresso Config Tools

2.5 LPCScrypt

Drivers for the debugger and virtual COM port also need to be installed. They are part of the LPCScrypt package, which can be downloaded below. The LPC-Link2 circuit firmware will also need to be updated to use the J-Link interface, which is described in the following tutorial: LPCScrypt Tutorial.

2.6 Serial Terminal

Many of the MCUXpresso SDK example 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 IMXRT685-AUD-EVK'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:

2.7 J-Link

You will need to download the necessary J-Link drivers in order to debug the HiFi4 DSP. Follow the next tutorial to see how to download and install this software: J-Link Tutorial.

Segger

2.8 Install Xtensa Xplorer IDE and Tools

To code and debug the DSP on the IMXRT685-AUD-EVK, you will need to download Cadence Tensilica Xplorer. This is the only available development IDE for the DSP core of MIMXRT600. Follow the next tutorial to download and install this software: Xplorer Tutorial.

XTENSA Logo

3. Build, Run

3.1 Build and Run SDK Demo on the IMXRT685-AUD-EVK

3.2 Explore the MCUXpresso SDK Example Code

The MCUXpresso SDK comes with a long list of example applications code. To see what's available, navigate to the SDK boards folder of your SDK installation and select IMXRT685-AUD-EVK.

<SDK_Install_Directory>/boards/mimxrt685audevk

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

3.3 Building and Debugging MCUXpresso SDK Examples

If one or more of the demo applications or driver examples sounds interesting, you can learn how to build and debug a demo 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 guides below to learn how to open, build and debug an example application using the MCUXpresso SDK.

4. Modify an SDK example

4.1 Create an Application for IMXRT685-AUD-EVK

4.2 Clone an Example Project From MCUXpresso SDK

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.

4.3 Use the Pins Tool

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

4.4 Use the Clocks Tool

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.

4.5 Success

With the application modified, you will see the IMXRT685-AUD-EVK blue LED blinking.

Boot Options

The i.MX RT family supports a number of different boot sources and includes the option for memory to be copied to an on-chip or external destination memory, as well as execute in place (XIP) for some interfaces. Learn more about your choices and which one is best for your design.

Boot Options for i.MX RT Crossover MCUs

Documents and Videos Description
AN12985 RT600 Hybrid Boot Details on how to place code as bootable into the SRAM or for execution directly from the flash. Includes instructions on programming the flash with both the bootable RAM portion of the code and the run-time code residing in the lower flash.
AN12773 How to Enable Master Boot from Serial NOR Flash This document describes how to program a bootable image into the serial NOR flash device and enable the i.MX RT to boot from this primary flash device.

MCUXpresso SDK Examples

Several examples, demos and drivers are available within the SDK to help you get started. Some common examples for boot options are listed below.

OTA Bootloader Example

The over-the-air (OTA) bootloader is a secondary bootloader resides in external memory which supports updating and booting the application.

Path:

<SDK_PATH>/boards/mimxrt685audevk/bootloader_examples

TrustZone Examples

Three examples demonstrating TrustZone partitioning and configuration as well as secure GPIO and secure faults.

Path:

<SDK_PATH>/boards/mimxrt685audevk/trustzone_examples

Tools and References

SP Secure Provisioning Tool : GUI-based application provided to simplify generation and provisioning of bootable executables on i.MX RT.

External Memory

Documents and Videos Description
AN13028 Advanced HyperRAM/PSRAM Usage on i.MX RT This application note describes the advanced usage of HyperRAM/PSRAM when used with FlexSPI on i.MX RT MCU, including FlexSPI prefetch function, HyperRAM/PSRAM refresh interval and HyperRAM devices supported for i.MX RT.
AN12773 How to Enable Master Boot from Serial NOR Flash This document describes how to program a bootable image into the serial NOR flash device device and enable the i.MX RT to boot from this primary flash device.
AN12564 Implement Read While Write (RWW) on i.MX RT series How to implement RWW requirement on i.MXRT series
Crossover to Memory Expansion with Adesto ECOXip and NXP’s i.MX RT Crossover Processors An overview of how performance and usability are addressed for systems depending on external memory.

MCUXpresso SDK Examples

Several examples, demos and drivers are available within the SDK to help you get started. Some common examples for external memory are listed below.

OTA Bootloader Example

The over-the-air (OTA) bootloader is a secondary bootloader resides in external memory which supports updating and booting the application.

Path:

<SDK_PATH>/boards/mimxrt685audevk/bootloader_examples

FlexSPI Polling Transfer Examples

How to use the FlexSPI driver with external PSRAM or Octal flash for polling.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/flexspi/psram/polling_transfer

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/flexspi/octal/polling_transfer

DMA Transfer Example

How to use the FlexSPI driver with external PSRAM or Octal flash for DMA.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/flexspi/psram/dma_transfer

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/flexspi/octal/edma_transfer

Tools and References

SP Secure Provisioning Tool : GUI-based application provided to simplify generation and provisioning of bootable executables on i.MX RT.

Security and Integrity

The i.MX RT685 is secure-by-design and supported by secure software driving the secure system on a chip (SoC).

Documents and Videos Description
Realizing Today’s Security Requirements: Achieving End-To-End Security with a Crossover Processor Learn about common shared security goals that IoT end and edge nodes should meet, as well as the steps, tools and procedures needed to achieve root of trust in end devices.
AN12839 RT600 TrustZone Explains TrustZone technology, how to configure the TrustZone to set secure and non-secure states on RT600 and how to switch between these states and to handle different secure faults.
AN12835 RT600 Secure GPIO and Usage Explains how a secure GPIO must be used and configured in secure mode.
AN12834 RT600 HASH Engine Introduces users to the usage and configuration of the SHA engine on RT600 and demonstrates the performance improvement for speed, memory and power consumption when the SHA engine is used.
AN12882 AES Encryption / Decryption Using RT6xx How to configure the AES engine and write code using the SDK API to encrypt and decrypt data using keys either manually supplied or generated by the PUF IP. Configuration and use of PUF IP is described.
AN12445 Asymmetric Cryptographic Accelerator CASPER The cryptographic accelerator and signaling processing engine and RAM-sharing (CASPER) peripheral provides acceleration to asymmetric cryptographic algorithms as well as to certain signal processing algorithms.

MCUXpresso SDK Examples

Several examples, demos and drivers are available within the SDK to help you get started. Some common examples for external memory are listed below.

Hashcrypt Example

Demonstration program that uses the KSDK software to encrypt plain text and decrypt it back using AES and SHA algorithm.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/hashcrypt

CASPER Crypto Acceleration Example

How to implement a modular exponentiation algorithm using the CASPER software driver.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/casper

PUF Driver Example

A demonstration program that uses the KSDK software implement secure key storage using PUF software driver.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/puf

Mbedtls Examples

Program performs cryptographic algorithm benchmarking and testing. Requires optional mbedTLS middleware package.

Path:

<SDK_PATH>/boards/mimxrt685audevk/mbedtls_examples/

Tools and References

SP Secure Provisioning Tool : GUI-based application provided to simplify generation and provisioning of bootable executables on i.MX RT.

MbedTLS_lib API : This documentation describes the internal structure of mbed TLS.

Wired Communications

Documents and Videos Description
Wired Communications Middleware for NXP Microcontrollers Learn about wired communications libraries and examples provided through MCUXpresso SDK.
AN12796 RT600 I3C Simple Master The I3C is a serial communication interface that carries the advantages of I²C in simplicity, low pin count, easy board design and multi-drop (vs. point to point), but provides the higher data rates, simpler pads and lower power of SPI.

MCUXpresso SDK Examples

Several examples, demos and drivers are available within the SDK to help you get started. Some common examples related to wired communications are listed below.

CMSIS Driver Examples

How to use I²C, SPI and USART drivers to do board to board transfer with DMA.

Path:

<SDK_PATH>/boards/mimxrt685audevk/cmsis_driver_examples

I2C Examples

How to use the I²C driver for low-power wake-up, interrupt, polling, DMA transfer and device communication.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/i2c

SPI Examples

How to use the SPI driver for interrupt, polling and DMA transfer.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/spi

USART Examples

How to use the USART driver for low-power wake-up, interrupt, polling and 9bit transfer.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/usart

USB Examples

A number of USB examples for host and device operation exist within the SDK. (This requires an optional USB host and device stack middleware package).

Path:

<SDK_PATH>/boards/mimxrt685audevk/usb_examples

Shell Demo

A simple demonstration on controlling LEDs by commands.

Path:

<SDK_PATH>/boards/mimxrt685audevk/demo_apps/shell

LittlevGL Example

A demo application to show LittlevGL widgets. This demo requires the addition of the Adafruit TFT LCD shield w/Cap Touch v2.3.

Path:

<SDK_PATH>/boards/mimxrt685audevk/littlevgl_examples

emWin GUI Example

Demonstrates graphical widgets of the emWin library.

Path:

<SDK_PATH>/boards/mimxrt685audevk/emwin_examples/

Wireless Connectivity

Documents and Videos Description
Wireless Connectivity at NXP Our portfolio of low-power, cost-effective wireless solutions address many monitoring and control applications for the Internet of Things—including consumer, smart energy, industrial and healthcare.
Cloud Connectivity Integrated support for cloud services including Amazon Web Services, Microsoft Azure and Google Cloud IoT.
Getting Started with NXP Wi-FI® modules using i.MX RT platform Different modules from third parties that enable NXP Wi-Fi SoCs on i.MX RT EVKs.

MCUXpresso SDK Examples

Several examples, demos and drivers are available within the SDK to help you get started. Some common examples for wireless connectivity are listed below.

AWS Examples

Amazon FreeRTOS Qualification (AFQ), device configuration, AWS Greengrass discovery, remote control by Android mobile application and shadow lightbulb demos.

Path:

<SDK_PATH>/boards/mimxrt685audevk/aws_examples

Wi-Fi Examples

CLI support usage example, iPerf network performance measurement, Wi-Fi test mode example and Wi-Fi configuration utility demos.

Path:

<SDK_PATH>/boards/mimxrt685audevk/wifi_examples

Multicore and Hardware Acceleration

Documents and Videos Description
AN12789 RT600 Dual-Core Communication and Debugging The RT600 features an Arm® Cortex® -M33 CPU combined with a Cadence Xtensa HiFi4 advanced Audio Digital Signal Processor CPU. This document discusses means of communication between the two CPUs.

MCUXpresso SDK Example

Several examples, demos and drivers are available within the SDK to help you get started. A common examples related to power management is listed below.

Semaphore Block Examples

Amazon FreeRTOS Qualification (AFQ), device configuration, AWS Greengrass discovery, remote control by Android mobile application and shadow lightbulb demos.

Path:

<SDK_PATH>/boards/mimxrt685audevk/dsp_examples/sema42

CASPER Crypto Acceleration Example

How to implement a modular exponentiation algorithm using the CASPER software driver.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/casper/

CRC Acceleration Examples

Amazon FreeRTOS Qualification (AFQ), device configuration, AWS Greengrass discovery, remote control by Android mobile application and shadow lightbulb demos.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/crc

MU Examples

Amazon FreeRTOS Qualification (AFQ), device configuration, AWS Greengrass discovery, remote control by Android mobile application and shadow lightbulb demos.

Path:

<SDK_PATH>/boards/mimxrt685audevk/aws_examples

Power Management

Power management includes device-specific techniques and information on power management and low-power optimization.

Documents and Videos Description Aplication Note Software
AN12801 Low Power Support in FreeRTOS How to apply the low power modes (normal sleep, deep sleep, deep power down and full deep power down modes) of i.MX RT6xx to FreeRTOS Tickless power mode.

Download

AN12844 Power Consumption and Measurement of i.MX RT6xx DSP This document focuses on i.MX RT6xx DSP current consumption under low power mode. It describes the functions that help a user to manage power usage and also includes measurement of current based on MIMXRT6xx EVK board. -
AN13056 Low-Power Modes and Wake-up Time Introduces the various low-power modes of the RT600 series, entry and wake-up implementations and how to measure current and wake-up time for each mode. -
AN12790 Using the PMIC on RT600 The IMXRT685-AUD-EVK uses the PCA9420 Power Management IC, which adds flexibility to the RT600 to configure the power supply rails according to the needs of the application. -

MCUXpresso SDK Example

Several examples, demos and drivers are available within the SDK to help you get started. A common examples related to power management is listed below.

Power Manager

How to change power modes in the KSDK.

Path:

<SDK_PATH>/boards/mimxrt685audevk/demo_apps/power_manager>

Audio

Documents and Videos Description
Audio Software on NXP Microcontrollers USB enablement, essential audio processing and partner solutions for developing state-of-the-art, low-power audio product development.
AN12762 Audio Player in HiFi4 How to develop an audio player with NXP i.MX RT600.
AN12765 i.MX RT600 DSP Enablement This document gives examples of how to use certain modules within the Cadence Xtensa HiFi4 Audio DSP processor included within the i.MX RT600.
AN12749 I2S (Inter-IC Sound Bus) Transmit and Receive on RT600 HiFi4 How to use I2S and DMA to record and playback audio, as well as the process of using the codec chip to process audio data on the i.MX RT600 EVK.
MCU Tech Minute: USB Audio Reference Design Using DSP Concepts AudioWeaver with i.MX RT865 MCUs Demonstrate AudioWeaver running on the i.MX RT685 dual-core MCU platform, which allows developers to easily design, develop and deploy embedded audio products rapidly into the market.
Bringing Low Power, High Performance Audio and Voice to Market on the i.MX RT600 Crossover MCU Learn how DSP Concept's Audioweaver tools and libraries can unleash the performance of NXP's i.MX RT600 MCU, allowing audio designers to quickly implement designs from the algorithm level.

MCUXpresso SDK Examples

Several examples, demos and drivers are available within the SDK to help you get started. Some common examples for audio are listed below.

DMIC Examples

Audio is converted to samples in the DMIC module. These examples demonstrate multiple use cases around the DMIC such as HWVAD (HW voice activity detector), wake from sleep and multiple DMIC channels.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/dmic

Audio Demo

Demonstrates audio processing using the DSP core.

Path:

<SDK_PATH>/boards/mimxrt685audevk/dsp_examples/audio_demo_bm

DSP XAF Demo

Demonstrates audio processing using the DSP core, the Xtensa Audio Framework (SAF) middleware library, and select Xtensa audio codecs.

Path:

<SDK_PATH>/boards/mimxrt685audevk/dsp_examples/xaf_demo

I2S Examples

How to use the I2S interface for record and playback.

Path:

<SDK_PATH>/boards/mimxrt685audevk/driver_examples/i2s

Voice

Documents and Videos Description
Voice Processing A range of voice control and communication software and solutions from NXP, including free voice recognition technology.
AN13065 Gender Voice Recognition with TensorFlow Lite Inference This document describes the steps to train the TensorFlow model on Gender voice audio samples and classification.

MCUXpresso SDK Examples

Several examples, demos and drivers are available within the SDK to help you get started. Some common example for voice is listed below.

Keyword Spotting Example

Audio samples are evaluated based on Keyword spotting for Microcontrollers. (Requires SDK 2.10 or greater and the optional eIQ® middleware package.)

Path:

<SDK_PATH>/boards/mimxrt685audevk/eiq_examples/tensorflow_lite_micro_kws

Tools and References

NXP EdgeReady MCU-Based Solution for Alexa Voice Service: This solution leverages the i.MX RT crossover MCU and enables developers to quickly and easily add Alexa voice assistant capabilities to their products.

Machine Learning

Machine learning (ML) typically encompasses applications where classification, recognition and prediction of man-made abstractions are desired. Examples include image recognition, gesture recognition, anomaly detection, speech-to-text, text-to-speech, ASR, scene recognition and many more. This section will focus specifically on the NXP ML tools applied to image or video streams. The voice and audio sections may also reference the included examples.

Documents and Videos Description
eIQ ML Software Development Environment Enables the use of ML algorithms on NXP MCUs, i.MX RT crossover MCUs and i.MX family SoCs. eIQ software includes inference engines, neural network compilers and optimized libraries
i.MX Machine Learning User’s Guide The NXP eIQTM for i.MX toolkit provides a set of libraries and development tools for machine learning applications targeting NXP microcontrollers and application processors.
Getting Started with eIQ on i.MX RT How to download eIQ and run it with MCUXpresso IDE, IAR or Keil MDK.
eIQ Fact Sheet Machine learning software for NXP i.MX and MCUs – libraries, example applications and inference engines.
eIQ Glow Lab for i.MX RT Learn how to use the Glow neural network compiler tool by running a handwritten digit recognition model example. A step-by-step video covering this lab is also available below.
eIQ Glow Ahead of Time (AOT) User Guide Steps to download, start using Glow AOT and create an application that integrates bundles generated using the Glow AOT compiler.
Glow Documentation for Building Ahead Of Time (AOT) Applications A short description about producing AOT compiled executable bundles.
eIQ Transfer Learning Lab with i.MX RT Learn how to perform transfer learning on models and run them on the i.MX RT1060 platform.
AN13001 Glow Memory Analysis How to understand the Glow memory information generated by the Glow compiler and calculate the memory required for a particular model. This compiler can then be used to determine the minimum memory size that is needed to run the model.
AN12766 Anomaly Detection with eIQ using K-Means clustering in Tensor Flow Lite Step by step instruction to enable a machine condition monitoring application using anomaly detection.
AN12781 Caffe Model Development on MNIST Dataset with CMSIS-NN Library Describes the process to train a Caffe model on MNIST dataset for digit classification. The trained Caffe model is converted to a source file that can run on i.MX RT platforms.
Advanced Industrial ML Applications are Now Possible with NXP MCUs Focuses on the software tools that can be used to deploy vision, voice and sensor technology ranging from object recognition to anomaly detection, and how to get started quickly use MCUXpresso SDK ML examples.

MCUXpresso SDK Examples

Several examples, demos and drivers are available within the SDK to help you get started. Some common examples related to machine learning are listed below.

eIQ Examples

Several examples demonstrating inference for models compiled using the GLOW AOT tool as well as NN processing acceleration or offload using the DSP. This requires SDK 2.10 or greater and the optional eIQ middleware package.

Path:

<SDK_PATH>/boards/mimxrt685audevk/eiq_examples

LPCScrypt Tutorial

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.
  2. Download

  3. To update the LPC-Link2 debug circuit firmware, unplug the USB cable on J5 and then put on the DFULink jumper.
  4. In the IMXRT685-AUD-EVK, JP1 is the LPCXpresso DFU jumper. Connect JP1 using the jumper.

    GS-MIMXRT685-EVK-CONFIGURE-DFU

    GS-MIMXRT685-EVK-CONFIGURE-DFU
  5. Reconnect the board to your host computer over the debug link USB connector J5
  6. Launch LPCScrypt by double-clicking on the “Boot LPCScrypt” file in the LPCScrypt install:
  7.  C:\ProgramData\Microsoft\Windows\Start Menu\Programs\LPCScrypt
    GS-MIMXRT685-EVK-LUNCH-LPCSCRYPT
  8. In that command shell, run the program JLINK script to install the JLink debug firmware:
  9. GS-MIMXRT685-JLINK GS-MIMXRT685-SHORTCUTS
  10. Verify once you select on firmware (in this case J-Link), LPCScrypt will show something like below in the console
  11. GS-MIMXRT685-VERIFY
  12. 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 that the probe enumerates on the host's USB system.

J-Link Tutorial

  1. Download J-Link software. Enter to SEGGER download page: J-Link / J-Trace Downloads
  2. Expand “J-Link Software and Documentation Pack” section
  3. GS-MIMXRT685-ExpandOptions

    GS-MIMXRT685-ExpandOptions
  4. Select the software that matches your OS and download the newest version
  5. GS-MIMXRT685-DownloadJlink

    GS-MIMXRT685-DownloadJlink
  6. Accept terms and download the software
  7. Execute the *.exe file you just downloaded by doing double-click. Follow the setup instructions until the J-Link installation is complete
  8. GS-MIMXRT685-JlinkInstal
  9. You're ready to go

Xplorer Tutorial

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 MIMXRT600.

  1. Create a profile. This is needed to download the Tensilica Tools. Go to the URL: Tensilica Tools Downloads  and login. If this is the first time to access, please register first
  2. GS-MIMXRT685-REGISTER

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

  3. Install Xtensa Xplorer IDE. Once registered, please login and you will see available materials
  4. Download and install "Xtensa Xplorer IDE" for your operating system
  5. Download the "DSP Configuration" for your operating system. Make sure to select the NEWLIB version. This file will be used later
  6. GS-MIMXRT685-AVAILABLE-DOWNLOADS
  7. 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:
  8. Windows:

    GS-MIMXRT685-WINDOWSMAC

    Linux:

    GS-MIMXRT685-LINUXMAC
  9. Reload and return to the Tensilica URL: Tensilica Tools Downloads  and click on "Get a License Key for RT600 SDK"
  10. GS-MIMXRT685-LICENSEBUTTON
  11. Type your MAC address without '-' or ':' symbols
  12. GS-MIMXRT685-LICENSEMAC
  13. 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'
  14. GS-MIMXRT685-INSTALLLICENSE
  15. Install RT600 DSP Build Configuration. The build configuration can be installed into the IDE using the 'System Overview' panel, which is on the lower left corner by default. If this panel is not visible, it can be toggled using the menu item Window → Show View → System Overview
  16. GS-MIMXRT685-INSTALLBUILD

    Search the configuration you downloaded at Step 2

    GS-MIMXRT685-BROWSEBUILD
  17. 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 at:
  18. 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 RT600. Xt-ocd installs support for J-Link probes but does not install the required J-Link drivers, which must be installed separately. The RT600 requires J-Link software version 6.46 or newer

    ln -s <jlink-install-dir>libjlinkarm.so.6 <xocd-install-dir>/modules/libjlinkarm.so.6
  19. Identify the Jlink serial number of your LPC-Link2. Run JLINK commander to check the serial number. It is at:
  20. C:\Program Files (x86)\SEGGER\JLink
    GS-MIMXRT685-7.1-JLINKCOMMANDER

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

    GS-MIMXRT685-7.2-SERIALNUMBER
  21. Edit topology file. xt-ocd is configured with an XML input file named "topology.xml". This file is located in the Xtensa OCD installation directory at:
  22. C:\Program Files (x86)\Tensilica\Xtensa OCD Daemon 14.01
  23. You will need to modify this file for your debugger hardware. Using J-link as example, please use this XML file to replace the original file or copy one of the examples below
  24. GS-MIMXRT685-EDITTOPOLOGYJLINK

    Below is another topology.xml example if using Arm RealView ICE (RVI) and DSTREAM debug probes:

    GS-MIMXRT685-EDITTOPOLOGYRVI

Design Resources

Additional References

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 NXP Sensor Solutions.

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 Near Field Communication (NFC).

Wi-Fi®

Getting Started with NXP Wi-Fi Modules Using the 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.

Support

To learn what to do next, find your issue below. If you still need help, contact NXP Support.

Training

Basic Application Development Using MCUXpresso IDE and MCUXpresso Config Tools - This three-part video series covers the basic interactions between the MCUXpresso IDE and Config Tools when working with either an imported SDK example project or creating a new one.

MCU Tech Minutes- Key Features and Benefits of the i.MX RT series – Short video presentations introduce some of the key features and benefits of the i.MX RT series.

i.MX RT600 Training - Full list of on-demand training, how-to videos and webinars from NXP about this product.

Forums

Connect with other engineers and get expert advice on designing with the i.MX RT1170 on one of our community sites.

Product Forums

Software Forums