This tutorial will cover how to use the Timer to generate the PWM(Pulse Width Modulation) wave in STM32. We will use the PWM in DMA mode..
STM32 Projects & Tutorials
STM32 microcontrollers are widely used in embedded and industrial systems. This section offers practical tutorials and tested code for STM32F103, STM32F4, and Nucleo boards. Programming is done using STM32CubeIDE with both HAL and LL drivers. Topics include GPIO, UART, ADC, timers, and other core functions—ideal for learners and developers working on real hardware.
External Interrupt using Registers
This tutorial will cover how to configure the external interrupt using the Registers in STM32 MCUs. We will use the button, which is connected..
STM32F103 Clock Setup using Registers
This tutorial will cover Clock setup, Timer Setup for Delay, and GPIO configuration for STM32 F103 using the Register based programming.
STM32 I2C Tutorial | Register-Based Configuration with Example Code
Configure I2C using STM32 registers. Step-by-step STM32 I2C example for transmission, reception & MPU6050 interface. No HAL used.
This tutorial will cover how to interface an I2C based AT24C EEPROM with STM32. The EEPROM is connected via the I2C peripheral…
FreeRTOS Tutorials #8 -> Software Timers
This tutorial will cover how to use the software timers in FreeRTOS. We will see the use of both, one shot and auto reload timers…
WavePlayer using STM32 Discovery
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.
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.