Audio Sample projects for STM32CubeIDE
A collection of the Audio sample project for murasaki project.
The contents of this repository are collection of the STM32 CubeIDE projects. Each projects demonstrate the audio application by murasaki project. Recently, there is only one type of audio demonstration application. A talkthrough application which copies line-in audio signal to the headphone-out signal by digital domain.
- Ubuntu 16.04 LTS
- STM32 CubeIDE v1.3.0
- Nucleo 144. See below the actual name of the board.
- UMB-ADAU1361-A board
- Akashi-02 board to interface between the UMB-ADAU1361-A and Nucleo 144.
- Akashi-04 board to interface between the UMB-ADAU1361-A and Nucleo 64.
Following samples are available.
A project for Nucleo F722ZE. The audio signal to Line-in is copied to HP-out. The Audio port of the microcomputer is the I2S port.
A project for Nucleo F722ZE. The audio signal to Line-in is copied to HP-out. The Audio port of the microconputer is the SAI port.
A project for Nucleo G431RB. The audio signal to Line-in is copied to HP-out. The Audio port of the microprocessor is the I2S port.
In these demonstrations, audio is processed in the TaskBodyFunction() of murasaki_platform.cpp. This function is running as independent FreeRTOS task at realtime priority. Algorithm of this task is very simple. It start and un-mute the codec. And then do the copy from input to output forever.
- Install the Egit to CubeIDE by Menu bar -> Help -> Eclipse Marketpalace...
- Clone this repository. Refer the appropriate section in the Egit documentation to understand how to clone a repository.
- Import the audio demo project(s) from git repository to workspace. Refer the appropriate section in the Egit Documentation.
- Build and run
For more information of importing, Refer Murasaki Samples project.