Embedded Systems. STM32 Interrupt-Driven NEC decoder

Embedded Systems. STM32 Interrupt-Driven NEC decoder

Embedded Systems. STM32 Interrupt-Driven NEC decoder

STM32, ARM Cortex-M4, GPIO, EXTI, Timers, RCC, NVIC, Embedded C, Makefile, STM32F4Discovery, NEC protocol, Interrupts

Language: english

Note: 4.8/5 (14 notes) 4,587 students

Instructor(s): Tymofii Chashurin

Last update: 2022-02-18

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

 

Requirements

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

 

Embedded Systems. STM32 Interrupt-Driven NEC decoderEmbedded Systems. STM32 Interrupt-Driven NEC decoder

Description

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.


 

Embedded Systems. STM32 Interrupt-Driven NEC decoderEmbedded Systems. STM32 Interrupt-Driven NEC decoder

Who this course is for

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

 

Course content

  • Setting Up Your Development Environment
    • ST-LINK Software Installation
    • STMCubeMX Introduction
    • GNU ARM Toolchain Installation
  • Hardware Setup Overview
    • STM32F4DISCOVERY Board Overview
    • IR Receiver and LED Connections
  • NEC Protocol Timing Diagram Analysis
    • NEC Protocol Timing Diagram Analysis
    • NEC protocol knowledge test
  • MCU System Peripherals Initialization in STM32CubeMX
    • STM32 Peripherals Initialization
    • System Clock Configuration
    • GPIO Configuration
    • Timer’s Basic Configuration
    • Nested Vectored Interrupt Controller Introduction
    • Peripherals Initialization Quiz
  • NEC Decoding Algorithm and Firmware Architecture
    • Makefile Modifications for ST-LINK
    • Project Structure and Firmware Algorithm
    • Clock Configuration Functions
    • GPIO and External Interrupt Testing
    • Timer Initialization and Interrupt Testing
    • NEC Protocol Main Decoding Logic
    • Auxiliary NEC Decoder Functions
    • NEC Decoder Testing
    • NEC Decoder Firmware Quiz
    • Used Resources

 


Time remaining or 963 enrolls left

 

Don’t miss any coupons by joining our Telegram group 

Udemy Coupon Code 100% off | Udemy Free Course | Udemy offer | Course with certificate