Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Embedded Systems. STM32 Interrupt-Driven NEC decoder
Rating: 4.7 out of 5(28 ratings)
7,117 students
Last updated 2/2022
English

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

Course content

5 sections20 lectures1h 7m total length
  • ST-LINK Software Installation4:36

    This lecture describes how to install the ST-Link software in the Ubuntu operating system.

  • STMCubeMX Introduction1:47

    This video is a basic introduction to the STM32CubeMX configuration tool.

  • GNU ARM Toolchain Installation1:28

    The video shows a quick and simple GNU ARM toolchain installation procedure.

Requirements

  • Familiarity with embedded C programming language
  • Understanding of electrical schematics

Description

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.

Who this course is for:

  • Anyone who is interested in embedded systems
  • Students
  • Hobbyists
  • Engineers
  • Programmers