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.
Generating Target Files to Run a Design
View file | ||
---|---|---|
|
...
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:
...