Embedded Systems. STM32 Interrupt-Driven NEC decoder
- Description
- Curriculum
- FAQ
- Reviews
Hello and welcome to the STM32 Interrupt-Driven NEC Decoder embedded systems course.
With mixed hardware and programming-based approach, I have created this course to show the practical application of the embedded systems and explain the basics of the STM32 microcontrollers at the same time.
This course provides an overview of the NEC protocol and a practical example of how an infrared remote control can control the LEDs on the STM32F4Discovery board. The course explains the necessary system configuration steps to enable the specific system peripherals and select their operation modes. The GPIO, an external interrupt and a timer compare mode are described in detail. These peripherals are the essential part of the NEC protocol decoder, which is the core part of the course.
The beginning of the course contains an explanation of how to install the GNU ARM toolchain for code compilation and the ST-LINK programmer for flashing the STM32F4Discovery board. There is a brief overview of the Discovery board as well.
By the end of the course, you will become familiar with the STM32 GPIO, the reset and clock control unit, external interrupts, timers and the NVIC. The important peripheral registers and their bits will be considered as well.
The NEC decoding firmware will be tested on the STM32F4Discovery board to prove that everything works as expected.
-
1ST-LINK Software InstallationVideo lesson
This lecture describes how to install the ST-Link software in the Ubuntu operating system.
-
2STMCubeMX IntroductionVideo lesson
This video is a basic introduction to the STM32CubeMX configuration tool.
-
3GNU ARM Toolchain InstallationVideo lesson
The video shows a quick and simple GNU ARM toolchain installation procedure.
-
8STM32 Peripherals InitializationVideo lesson
This lecture is a brief section introduction. The section demonstrates how to use the STM32CubeMX tool and how to generate a project template, which we can use in our course.
-
9System Clock ConfigurationVideo lesson
This lecture explains how to configure the Reset and Clock Control Unit using the STM32CubeMX code initialization tool.
-
10GPIO ConfigurationVideo lesson
This lecture briefly explains how to configure the GPIO and external interrupts using the STM32CubeMX code initialization tool.
-
11Timer's Basic ConfigurationVideo lesson
This lecture briefly explains how to make a basic configuration for Timer 3 using the STM32CubeMX code initialization tool.
-
12Nested Vectored Interrupt Controller IntroductionVideo lesson
This lecture shows how to enable interrupts globally and set their priorities in the STM32CubeMX.
-
13Peripherals Initialization QuizQuiz

External Links May Contain Affiliate Links read more