This tutorial will cover how to make WavePlayer using STM32 Discovery board. It will be able to play the wave files from the USB device.
Microcontroller Tutorials with Code from Scratch
Learn STM32, ESP32, and embedded systems by writing code from scratch using datasheets and reference manuals. All tutorials are tested on actual hardware to help you build reliable, real-world projects with full control and understanding.
What’s New in STM32
STM32 USB CDC Example – Virtual COM Port Send & Receive (No UART)
Learn STM32 USB CDC configuration using cdc_transmit_fs and cdc_receive_fs. Setup virtual COM port, send & receive data without using UART.
STM32 GPIO Input Configuration – Pin Setup, Pull-Up, and IDR Read
Configure STM32 GPIO pin as input using registers. Learn STM32 pin configuration, pull-up setup, and input reading with IDR for F1 and F4 series.
STM32 GPIO Output Example Using Registers | BSRR, MODER, GPIOA Explained
STM32 GPIO output example using registers. Learn MODER, GPIOA, BSRR, and other GPIO registers with LED blinking code on STM32.
STM32 Clock Configuration with Registers – RCC Setup Example
Learn STM32 clock configuration using registers. Step-by-step RCC setup: HSE, PLL, prescalers, flash latency. Run STM32F4 at 180 MHz without HAL.
STM32 USB CDC Tutorial: Device and Host Example Using HAL + CubeMX
Learn STM32 USB CDC (Communication Device Class) setup in Device and Host mode. Includes real code for data transfer between two STM32 boards.