Search Content

Use the search bar above, explore content using the categories below, or log in to find your favorites.

Exploring Interrupts and Priorities in STM32F4 Microcontrollers

Exploring Interrupts and Priorities in STM32F4 Microcontrollers

Join us in this session as we delve into the intricacies of handling multiple interrupts using the STM32F4 microcontroller, based on the Cortex-M architecture. The video demonstrates the practical implementation of interrupts using two LEDs and buttons to highlight how interrupt priorities are managed. Learn how to configure external interrupts, set priorities, enable and disable interrupts, and understand key concepts like pending bits and interrupt lifecycle. This session provides a detailed explanation of using ST's HAL APIs for NVIC controller access, along with real-time code demonstrations and essential tips for optimizing interrupt handling in embedded systems.

  • 00:00 Introduction to Interrupt Priorities
  • 00:25 Demo: High Priority vs Low Priority Interrupts
  • 01:33 Resetting and Testing Interrupts
  • 03:11 Overview of Cortex M Microcontroller
  • 04:50 Implementing Multiple External Interrupts
  • 05:17 Understanding Vector Table Layout
  • 05:50 Enabling and Managing Interrupts
  • 16:03 Interrupt Priority and Pending Bit
  • 22:38 HAL APIs for Interrupt Management
  • 26:07 Introduction to NVIC Controller and Interrupts
  • 26:26 Circuit Diagram and Connections
  • 27:31 Configuring External Interrupts in Cube IDE
  • 29:11 Setting Interrupt Priorities
  • 30:22 Generating and Uploading the Code
  • 31:12 Understanding Interrupt Handlers
  • 37:20 Demonstration of Interrupt Priorities
  • 40:40 Advanced Interrupt Concepts
  • 44:08 Summary and Final Thoughts

Website: https://devheads.io

Discord: https://discord.gg/drvheads

Meetups: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1

YouTube: https://m.youtube.com/@devheads

LinkedIn: https://www.linkedin.com/company/devheadscommunity/

Facebook: https://www.facebook.com/share/1K284iwVX8/?mibextid=wwXIfr

Twitter/X: https://x.com/devheadscomm

Instagram: https://www.instagram.com/devheads.io/profilecard/?igsh=MW82dHZ1d2ZkYmRmYw==

Up Next