Skip to content
AiX
AiX Academy

Embedded C on STM32

From Arduino sketches to production firmware on ARM Cortex-M.

Advanced
4.24.2 out of 5 stars from 5 ratings(5 ratings) 12 learners

Created by Lerato Dlamini

  • Last updated November 2026
  • English
  • Certificate of completion

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 8 lectures · 17 h 30 min
  • 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

4.24.24.2 out of 5 stars from 5 ratings5 ratings
  • 5 stars40%
  • 4 stars40%
  • 3 stars20%
  • 2 stars0%
  • 1 star0%
  • Zanele Nkosi
    4.04.0 out of 5 stars from 1 ratings

    Advanced means advanced. Know C well before you enrol.

  • Bongani Dube
    5.05.0 out of 5 stars from 1 ratings

    The debugging module saved me weeks, with clear use of the debugger and logic analyser.

  • Kagiso Molefe
    3.03.0 out of 5 stars from 1 ratings

    Solid course. I would like more time on interrupts.

  • Aisha Hendricks
    5.05.0 out of 5 stars from 1 ratings

    Hard but fair. The pointer and register lessons are a real challenge, and the labs make them stick.

  • Johan Botha
    4.04.0 out of 5 stars from 1 ratings

    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.

More in Software

Browse all courses
R5 200Embedded C on STM32