
This course teaches STM32F4 bare-metal programming from the ground up using direct register manipulation. Instead of relying on HAL libraries or abstraction layers, you will learn to configure every peripheral by writing directly to hardware registers—exactly how microcontrollers were programmed before vendor libraries existed.
You will learn:
System Foundation
System Clock configuration and frequency verification
SysTick Timer programming using polling, interrupts, and delay generation
GPIO (General Purpose Input/Output)
Push-Pull and Open-Drain output modes
Pull-Up and Pull-Down input configurations
External Interrupts (EXTI) for event-driven programming
Serial Communication Protocols
UART: Transmit and Receive using Polling, Interrupt, and DMA methods
SPI: Transmit-Only, Receive-Only, and interfacing with the MAX7219 display driver
I2C: Driver development and interfacing with the MPU6050 sensor
Analog Peripherals
ADC: Single-channel and multi-channel conversion using Polling, Interrupt, and DMA
DAC: Output generation, DMA transfer, and triangular waveform generation
Timers & PWM
Basic Timer for periodic task generation
Advanced Timer for periodic task generation and PWM on 1, 2, and ALL channels
Key Skills You Will Gain
Reading and understanding microcontroller reference manuals
Configuring peripherals using direct register writes
Writing your own device drivers without vendor libraries
Debugging hardware issues at the register level
Building production-ready embedded systems
By the end of this course, you will have the confidence to build efficient, reliable embedded systems without relying on vendor HAL libraries—giving you complete control over your hardware.