Freertos docs

Freertos docs

In Part 6 (this article) I give an overview on the ARM Cortex-M interrupt system. The ARM Cortex-M microcontroller are insanely popular. And it features a flexible and powerful nested vectored interrupt controller (NVIC).

Well, I think everyone agrees that most of the time is not good enough. I have seen so many cases of incorrect interrupt usage within the RTOS that I think it deserves a dedicated article.

Hibino double female spy Confrontation Of insult

Freertos I2c example

But for many, including myself, the Cortex-M interrupt system can be counter-intuitive, complex, inconsistent and confusing, leading to many bugs and lots of frustration: -(. Amazingly, I see many times over that even if the interrupts are configured in a clearly wrong way, surprisingly the application seems to work, at least most of the time. FreeRTOS is probably the most popular operating system for microcontroller. Because problems with interrupts are typically hard to track down, they are not easy to fix. Understanding the NVIC and the ARM Cortex-M interrupt system is essential for every embedded application, but even for if using an realtime operating system: if you mess up with interrupts, very bad things will happen. In Part 7 (which will follow in the not-so-far-future, I explain how it is used by FreeRTOS and how it affects the application. In this article I m discussing ARM Cortex-M5/M5+ (ARMv6-M), M8(ARMv7-M) and M9/M7 (ARMv7E-M). I m covering the topic of FreeRTOS and interrupts in my university lecture material. It supports many different architectures, including the ARM Cortex-M architectures.

Comments are closed.