Install MCUXpresso SDK

This section list the steps to:

Download MCUXpresso SDK for RT600

DSP enablement for RT600, including drivers, middleware libraries, and demo applications are included with the latest RT600 SDK available for download from https://mcuxpresso.nxp.com. If you are accessing the site for the first time, make sure to register.

Once logged in, perform the following steps to use the SDK builder.

  1. Click the link Select Board /Processor on the left panel.

  2. In the Search by Name field, enter the name of the board. For example, RT685.

  3. From the search results, select EVK-MIMXRT685.

  4. Click the Build MCUXpresso SDK button on the right panel.

    |

|

  1. In the Build SDK for EVK-MIMXRT685 page, select the required environment settings.

  2. Click the Download SDK button at the bottom of the page.

  3. Save the archive in a local directory.

Parent topic:Install MCUXpresso SDK

Enable MCUXpresso SDK DSP

The following DSP-specific enablements are available inside the MCUXpresso SDK release package for RT600.

  • 
    

<SDK_ROOT>/devices/MIMXRT685S/


    Unified device and peripheral driver source code that can be compiled for both Arm and DSP cores.

    **Note:** Only a limited subset of peripheral drivers and components is supported on the DSP.

-   ```
<SDK_ROOT>/boards/evkmimxrt685/dsp_examples/
DSP example applications
  • 
    

<SDK_ROOT>/middleware/multicore/rpmsg_lite/


    Unified RPMsg-Lite multicore communication library, with porting layers for Arm and DSP cores

-   ```
<SDK_ROOT>/middleware/dsp/audio_framework/
Xtensa Audio Framework \(XAF\) for DSP core
  • 
    

<SDK_ROOT>/middleware/dsp/audio_framework/libxa_af_hostless/


    Source code and documentation for the core XAF framework

-   ```
<SDK_ROOT>/middleware/dsp/audio_framework/testxa_af_hostless/
  • Utilities and tests for developing applications with the XAF framework

    <SDK_ROOT>/middleware/dsp/audio_framework/testxa_af_hostless/test/plugins
    
  • XAF components and codec binaries

  • 
    

<SDK_ROOT>/middleware/dsp/naturedsp/hifi4/


    NatureDSP Math Library for HiFi4 DSP


**Parent topic:**[Install MCUXpresso SDK](../topics/install_mcuxpresso_sdk.md)

Initialize DSP Core

To minimize the power consumption, the DSP core is not powered when RT600 boots up. To initialize, run, or debug DSP applications, you must execute some code on the Arm core.

The DSP management interface library provided in the SDK is available at the location: <SDK_ROOT>/devices/MIMXRT685S/drivers/fsl_dsp.c.

/* Initialize DSP core. */
void DSP_Init(void);
/* Deinit DSP core. */
void DSP_Deinit(void);
/* Copy DSP image to destination address. */
void DSP_CopyImage(dsp_copy_image_t *dspCopyImage);
/* Start DSP core. */
void DSP_Start(void);
/* Stop DSP core. */
void DSP_Stop(void);

The SDK includes a helper function used by the DSP example applications at: <SDK_ROOT>/boards/evkmimxrt685/dsp_examples/dsp_support.c.

/* Prepare DSP core for code execution:
   - Setup PMIC for DSP
   - Initialize DSP clock and core
   - (Optional) Copy DSP binary image into RAM
   - Start DSP core
 */
 void BOARD_DSP_Init(void);

After executing this function during your Arm application startup, the DSP is initialized and ready to run. From here, code is loaded and debugged on the DSP with Xplorer IDE and tools.

Parent topic:Install MCUXpresso SDK