Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

About This Application Note

This application note contains instructions for using the IAR embedded workbench for Arm to compile the single core BSP for the Cortex M7 running on the STM32H747 Discovery board (EVK), generating .awb, .h and .c files from a design, and using the control interface API to enable hardware control of the embedded design. This guide assumes the user has some experience with Audio Weaver. While integration code is hardware specific, the general process of debugging and using the control interface is applicable to all bare metal targets.

Building and flashing a BSP with IAR Embedded workbench for Arm

The BSP used in this example is “awe8-bsp-stm32h747i-discovery-single-core”

...

By default, main.c will run AWEIdleLoop() located in AWEplatform.c. At this point the board should be seen by the AWE Server, able to connect, a run a design in Tuning Mode.

image-20240513-143019.png

Generating Target Files to Run a Design

View file
nameHW_Button_Mute.zip

...

Code Block
//Add these 5 lines for Application Note Example
#include "HW_Button_Mute_ControlInterface.h"
UINT32 buttonState;
UINT32 lastButtonState;
UINT32 runTime;
UINT32 classID;
UINT32 muteStatus;

Using the Control Interface with the STM32H747

Note: Additional Control Interface and API documentation here:

...