STM32 Serial Communication: Interrupt vs Polling

1. From Polling to Interrupt
Many students prefer polling over interrupt-driven operations.
Is this related to our nature? Everyone likes to have everything under control and dislikes being interrupted. We often have experiences where we are talking to someone and suddenly receive a phone call, and after the call, we can't remember what we were discussing! This awful experience deeply influences us, leading us to believe that machines might behave similarly; frequent interruptions might mess things up. Fortunately, while machines are generally

Understanding Priority in Embedded Systems

Source: WeChat Official Account [Osprey Talks on Microcontrollers]

Author: Osprey

ID: emOsprey

In embedded software development, we inevitably encounter the concept of priority. Mastering the concept of priority is crucial for designing a good software system.

The main content of this note includes the following aspects:

1. Interrupt priority

2. Task priority in the operating system

3. Handling of equal priority

4. Interrupt nesting

Today, Osprey will discuss some secrets using the familiar STM32F103 platform.

Understanding Priority in Embedded Systems

First, let's start with a variable increment in a

Back to Top
Product has been added to your cart
×