Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

STM32C5 First Blink – STM32CubeMX2 and HAL2 – STM32 Tutorial #87

1.2K views on YouTube

First attempt to create a Blink application for the new STM32C551 MCU. So, first custom dev board and first real tutorial.

Buy Streamline: https://currentmakers.com/products/streamline/

First video on STM32CubeMX2: https://www.youtube.com/watch?v=61r83TTzDfk

Streamline documentation on STM32World wiki: https://stm32world.com/wiki/Streamline

#STM32 #GettingStarted #Tutorial #STM32CubeIDE #STM32CubeMX2 #HAL2 #STM32World #Streamline

00:00 Intro
00:15 The Streamline MCU STM32C551
01:45 The Streamline system
02:45 Creating new workspace and firing up STM32CubeMX2
03:25 Selecting MCU
04:05 Project name and project location
05:42 Enabling HSE
06:25 Configuring the clock tree
07:44 Enabling SWD debug pins
08:48 Configuring PC13 for LED – GPIO output, default high, open drain
10:17 Enabling USART1 for serial output
12:24 Checking project settings and Generate IDE project
13:20 Examining the file structure
14:00 Firing up STM32CubeIDE with the newly create Workspace directory
14:38 Importing CMake project
15:55 First attempt at building and running
17:28 Getting the LED to blink
19:50 Fixing mistake in CubeMX2
21:44 Running blink first time – WORKING!
22:10 Adding serial printf
25:22 First run attempt
26:14 Fixing config in CubeMX2
27:14 Second run attempt – WORKING!
27:40 Final thoughts and outtro!