Introduction to STM32 EXTI

Introduction to STM32 EXTI

For STM32, from previous learning, we can know that STM32 refers to the 32-bit microcontroller developed by STMicroelectronics. Today we will learn about the EXTI of STM32. 1. Introduction to EXTI EXTI (External interrupt/event controller) manages the 20 interrupt or event lines of the controller. Each interrupt or event line corresponds to an edge detector, … Read more

Basics of STM32 IoT Kit Part 05 – External Interrupts

Basics of STM32 IoT Kit Part 05 - External Interrupts

Click the blue text above: IoT Inn In the previous section, we learned about the independent key operation of the microcontroller. In fact, we used a polling method, which consumes MCU resources as it constantly checks for key presses. In this section, we will use interrupts to implement key operations. 01 Basic Knowledge 1Introduction to … Read more

Understanding the Interrupt System in STM32

Understanding the Interrupt System in STM32

Little Science Gas Station In embedded learning, the STM32 series chips are particularly favored due to their many excellent features, such as the STM32 MCU integrating a wealth of peripherals, including communication interfaces (like UART, SPI, I2C, CAN, etc.), analog and digital interfaces, timers, and interrupt controllers. Today, Little Science introduces the interrupt system of … Read more

Understanding Interrupt Systems in Microcontrollers and RTOS

Understanding Interrupt Systems in Microcontrollers and RTOS

Abstract: We encounter many operating systems in our daily lives, such as Windows, Android, iOS, and Linux. Microcontrollers also have their own operating systems known as Real-Time Operating Systems (RTOS). So, what are the differences between these real-time operating systems and the ones we commonly use? The operating systems we frequently use are actually non-real-time … Read more

Technical Sharing | ARM Series – Interrupts (Part 3)

Technical Sharing | ARM Series - Interrupts (Part 3)

This article is selected from the Extreme Technology column “Arm Technology Blog” and is authorized to be transferred from the WeChat public account Lao Qin Talks about Chips. Previously, we sharedinterrupts and how they are handled in the ARM architecture and GIC-600 related knowledge; this article will introduce redistributor related knowledge. Keep it simple, keep … Read more

How ARM Cores Respond to Interrupts

How ARM Cores Respond to Interrupts

Click the blue "Arm Selection" in the top left corner and select "Set as Favorite" 1. Interrupt Response Model of 51 Microcontroller Let’s recall the use of interrupts in microcontrollers. As shown in the figure below, on the left is the pin diagram of the 51 microcontroller, where P3.0-P3.5 are the corresponding interrupt pins. When … Read more

Using UART IDLE Interrupt for Receiving Variable Length Serial Data

Using UART IDLE Interrupt for Receiving Variable Length Serial Data

Introduction In serial communication applications, we often use receive and transmit interrupts, which most of you are familiar with. There is a very useful interrupt that may be overlooked, which is the bus IDLE interrupt. When a frame of data transmission ends, the bus will maintain a high level state, at which point the MCU’s … Read more

Configuring Interrupt Priority for TAE32G5800

Configuring Interrupt Priority for TAE32G5800

01 Application Function Introduction 1.1 • What is an Interrupt An interrupt is a mechanism that temporarily halts the CPU’s normal execution of the main program to handle urgent tasks, after which it returns to the previously paused program, as illustrated below. Figure 1.1 Interrupt Diagram In digital power and motor control systems, the significance … Read more

In-Depth C++ Device Driver Development: Interrupt Handling Basics Revealed

In-Depth C++ Device Driver Development: Interrupt Handling Basics Revealed

1. Interrupts: The “Emergency Contact” Between Devices and Processors In the complex operation of computer systems, interrupts are a crucial technology. Simply put, an interrupt is when the computer pauses the currently running program to execute a related service program upon encountering an urgent event that needs to be processed. Once completed, it automatically returns … Read more

Best Programming Model for Low Power Design: Asynchronous Programming

Best Programming Model for Low Power Design: Asynchronous Programming

Asynchronous programming can create efficient programs that are fast and resource-saving. It allows high concurrency in a single-threaded environment and can implement TCP/IP protocol stacks without an operating system. Fast and resource-efficient, it can keep power consumption at the lowest level, making asynchronous programming the best programming model for low power design. Three Realms There … Read more