Course Information
Course Overview
STM32, Embedded C, ARM Cortex-M4, GPIO, EXTI, Timers, RCC, NVIC, Makefile, STM32F4Discovery, NEC protocol, Interrupts
Welcome to my practical and in-depth embedded systems course, where you will learn how to build a fully functional NEC infrared protocol decoder using an STM32 microcontroller.
This course combines hardware and low-level programming to give you real, hands-on experience with STM32 microcontrollers. Instead of relying on high-level libraries, we focus on understanding how the hardware actually works — directly at the register level.
What You Will Learn
How the NEC infrared protocol works
How to configure STM32 peripherals at the register level
How to use GPIO for input and output control
How to configure and handle external interrupts
How to use timers in compare mode for precise timing measurement
How to work with the Reset and Clock Control (RCC) unit
How to configure and use the NVIC
How to read and understand peripheral registers and their individual bits
Practical Project
Throughout the course, you will build a complete NEC protocol decoder capable of receiving signals from an infrared remote control and using them to control the LEDs on the STM32F4Discovery board.
By the end of the course, you will not only understand the NEC protocol but also gain solid confidence working directly with STM32 hardware peripherals — an essential skill for professional embedded systems development.
Getting Started
The course begins with step-by-step instructions on installing:
The GNU ARM toolchain for code compilation
The ST-LINK programmer for flashing firmware
The necessary development environment
You will also receive a brief but practical overview of the STM32F4Discovery board to help you understand the hardware platform you’ll be working with.
Course Content
- 5 section(s)
- 20 lecture(s)
- Section 1 Setting Up Your Development Environment
- Section 2 Hardware Setup Overview
- Section 3 NEC Protocol Timing Diagram Analysis
- Section 4 MCU System Peripherals Initialization in STM32CubeMX
- Section 5 NEC Decoding Algorithm and Firmware Architecture
What You’ll Learn
- Embedded Systems, STM32 MCU, NEC protocol, Timers/Counters, GPIO, External Interrupts, Nested Vectrored Interrupt Controller, Reset and Clock Control Unit, IR remote control decoding, Timing intervals measurement, ARM Cortex-M, Bare-Metal
Skills covered in this course
Reviews
-
MMarkus Anthony
Great content
-
SSamson N.
Excellent course, everything is clear and constructively. There are no more questions about the decoder STM32 NEC.
-
AAlain Abitria
Application project was clearly explained, especially how it was done, how the MCU features were utilized.
-
HHussamaldean Al-daffaie
I enjoyed this course and it is amazing. I challenged myself and I used only registers to develop the drivers for timer, interrupt setting core etc. Also, I added OLED display to display the decoded value. Looking forward for new course from the instructor.