Embedded C on STM32
From Arduino sketches to production firmware on ARM Cortex-M.
Created by Lerato Dlamini
What you'll learn
- Write C for an STM32 microcontroller without a vendor library wrapper
- Read and write hardware registers safely
- Use interrupts and timers for real-time tasks
- Debug a board with a debugger and a logic analyser
Skills you'll gain
- Embedded C
- STM32
- Registers
- Interrupts
- Debugging
Part of these pathways
Course content
1 section · 8 lectures · 17.5 total hours · ≈ 2 MB to download
Module 1
- From sketches to bare metal — the ARM Cortex-M world Locked until you enrol 2 h · < 1 MB
- Clocks, GPIO, and registers Locked until you enrol 2 h · < 1 MB
- Timers and interrupts Locked until you enrol 2 h · < 1 MB
- UART — talking to the outside world Locked until you enrol 2 h · < 1 MB
- SPI and I2C — driving peripherals Locked until you enrol 2 h · < 1 MB
- Debugging with a probe — breakpoints on hardware Locked until you enrol 2 h · < 1 MB
- Reading datasheets like an engineer Locked until you enrol 1 h 30 min · < 1 MB
- Capstone — deterministic sensor firmware Locked until you enrol 4 h · < 1 MB
Requirements
- Working knowledge of C, including pointers
- A development board, or a shared lab kit
Description
Eight weeks of serious embedded engineering on the STM32 platform — the same class of microcontroller found in industrial and automotive systems.
You will move from the Arduino comfort zone into bare-metal C: clock trees, GPIO registers, timers, interrupts, UART, SPI, and I2C. We debug with a real probe, read datasheets like working engineers, and finish with a sensor-driven firmware project running at a deterministic loop rate.
This is the course that turns hobbyists into embedded developers. It anchors the Embedded systems engineer path.
Who this course is for
- Learners in the age group: Ages 16+
- Advanced-level learners
Instructor
Lerato Dlamini
Senior software engineer and AI trainer
- 9 courses
- 193 learners
Lerato leads the AiX software and AI courses. Lerato has built systems for public-sector clients and teaches the testing and code review habits that the courses depend on, with a focus on code that the next person can maintain.
4.2 course rating · 5 ratings
-
Zanele Nkosi
Advanced means advanced. Know C well before you enrol.
-
Bongani Dube
The debugging module saved me weeks, with clear use of the debugger and logic analyser.
-
Kagiso Molefe
Solid course. I would like more time on interrupts.
-
Aisha Hendricks
Hard but fair. The pointer and register lessons are a real challenge, and the labs make them stick.
-
Johan Botha
Good hardware guidance, although ordering a board from local suppliers took a while.
Frequently asked questions
Can I start without C experience?
No. This is an advanced course. The Python for AI and data course is a better start for programming basics.
Are boards provided?
Learners in the AiX lab use shared boards. Remote learners order a board from a local supplier.