Overview
========
This demo application provides a sanity check for the SDK build
environment running both ARM and DSP cores. It also demonstrates how the ARM 
core application is used to start a DSP application.

This demo contains two applications:
- cm33/ is the ARM application for Cortex-M33 core
- dsp/ is the DSP application for HiFi4 core

The release configurations of the demo will combine both applications into one ARM
image.  With this, the ARM core will load and start the DSP application on
startup.  Pre-compiled DSP binary images are provided under dsp/binary/ directory.

The debug configurations will build two separate applications that need to be
loaded independently.  The ARM application will power and clock the DSP, so
it must be loaded prior to loading the DSP application.


Toolchain supported
===================
- IAR embedded Workbench  9.10.2
- Keil MDK  5.34
- GCC ARM Embedded  10.2.1
- MCUXpresso  11.5.0

Hardware requirements
=====================
- Micro USB cable
- EVK-MIMXRT595 board
- Personal Computer

Board settings
==============


Prepare the Demo
================
The DSP images are built into CM33 image with default project configuration.
To build the CM33 image, the DSP images dsp_sram_release.bin, dsp_tcm_release.bin should be built firstly.
In addition, to build CM33 image with MCUXpresso IDE, the DSP images should be copied to
the MCUXpresso IDE workspace folder, like C:\Users\<user_name>\Documents\MCUXpressoIDE_11.0.1_2563\workspace\fusionf1.

At the start of the demo, the CM33 is in deep sleep and the DSP is not running.After detecting the sound, the CM33 is woken up and the DSP starts to run.
The following WW and VC can be recognized. When no sound is detected for a few seconds, the CM33 re-enters deepsleep mode, and the dsp does not run until it is re-awakened.
   

WakeWord supported : " 你好恩智浦 "

Voice Commands supported
    Cmd_Id : Cmd_Name
      0    : UNKNOWN
      1    : 音量 调 高
      2    : 音量 调 低
      3    : 静音
      4    : 下 一步
      5    : 跳过
      6    : 配对 设备
      7    : 暂停
      8    : 停止
      9    : 开始
      10   : 关机
      11   : 开机
*/



1.  Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J40) on the board
2.  Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Launch the debugger in your IDE to begin running the demo.
