Install MCUXpresso SDK

In this section:

Download MCUXpresso SDK for RT500

DSP enablement for RT500, including drivers, middleware libraries, and demo applications are included with the latest RT500 SDK available for download at https://mcuxpresso.nxp.com.

Note: Ensure to register, if you are accessing the page for the first time.

Log in to use the SDK builder. The steps are:

  1. Click Select Board.

  2. Search by name for board: RT595’.

  3. Select EVK-MIMXRT595.

  4. Click Build MCUXpresso SDK.

    |

|

Parent topic:Install MCUXpresso SDK

MCUXpresso SDK DSP Enablement

The DSP-specific enablement is available inside the MCUXpresso SDK release package for RT500. The path is: <SDK_ROOT>/devices/MIMXRT595S/

Unified device and peripheral driver source code that compiled for both ARM and DSP cores.

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

<SDK_ROOT>/boards/evkmimxrt595/dsp_examples/

DSP example applications are available at:<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

Parent topic:Install MCUXpresso SDK

DSP Core Initialization

In order to minimize power consumption, the DSP core is NOT powered when RT500 boots up.

To run or debug DSP applications: you will first need to execute some code on the ARM core to initialize the DSP.

A DSP management interface library is provided in the SDK, at <SDK_ROOT>/devices/MIMXRT595S/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);
<SDK_ROOT>/devices/MIMXRT595S/drivers/fsl_dsp.h:
/* 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/evkmimxrt595/dsp_examples/hello_world_usart /cm33/.

/* 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. The code is loaded and debugged on the DSP with Xplorer IDE and tools.

Parent topic:Install MCUXpresso SDK