EP1 | STM32 Bare-Metal: GPIO Output Configuration (No HAL)

Опубликовано: 26 Июнь 2026
на канале: NeaOnnim-Engineering
41
1

In this video, I will show you how to configure and toggle a GPIO pin on the STM32 completely from scratch... no HAL, no libraries, just pure register programming in C.

We will start by enabling the peripheral clock, setting up the GPIO mode, and using the BSRR register to toggle the pin.
This is a clean and simple example to understand the fundamentals of bare-metal STM32 programming.

Board: Self-designed board with STM32F302
IDE: Keil uVision
Debugger: Segger J-Link

If you would like a full tutorial on setting up the debugger or using SysTick for accurate delays, drop a comment — I will cover that in a separate video.

Don’t forget to like, comment, and subscribe if you want more deep dives into embedded systems and STM32 development.