gero0 / STM_wav_player

Software for STM32-based SD card audio player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STM32 WAV player

Software for STM32H743 based audio player. Supports 2-channel 8-bit PCM WAV files with max 48000Hz sampling rate. Files are loaded from SD card connected via SPI1, and internal DAC and DMA are used to play the samples.

Uses kiwih's SD SPI driver and FATFS by ChaN.

Compilation

cmake -DCMAKE_BUILD_TYPE=Release -B ./build 
cmake --build ./build

Flashing

Flash ./build/DAC_DMA.elf file to your microcontroller using your favourite flashing/debugging software. E.g. openocd+gdb.

About

Software for STM32-based SD card audio player

License:Other


Languages

Language:C 99.6%Language:Assembly 0.4%Language:CMake 0.0%Language:GDB 0.0%