Cortex-M System Interrupt Latency and Measurement Methods

Cortex-M System Interrupt Latency and Measurement Methods

Hello everyone, I am Pi Zi Heng, a serious technical person. Today, I will share with you the Cortex-M System Interrupt Latency and Measurement Methods. In the embedded field, real-time performance is a concept we often emphasize. Here, real-time performance mainly emphasizes whether the system can respond within a specified time frame when external events … Read more

Three Implementations of Critical Section Protection in Cortex-M Bare Metal

Three Implementations of Critical Section Protection in Cortex-M Bare Metal

Hello everyone, I am Pi Zi Heng, a serious technical enthusiast. Today, I will share with you three implementations of critical section protection in Cortex-M bare metal environment. Friends who have worked with embedded systems and RTOS must be familiar with the function codes OS_ENTER_CRITICAL() and OS_EXIT_CRITICAL(). In RTOS, there is often multi-tasking (process) handling, … Read more

Understanding Bit-Banding Operations in Cortex-M

Understanding Bit-Banding Operations in Cortex-M

Follow+Star Public Number, Don’t Miss Exciting Content Author | strongerHuang WeChat Official Account | Embedded Column Bit-banding operations may not be used as much nowadays, but in the past when MCU performance was not very good, bit-banding was a common operation for many software engineers. This article mainly discusses the Cortex-M3 core (STM32F1), which many … Read more

Understanding Cortex-M Interrupt Vector Table and Redirection Methods

Understanding Cortex-M Interrupt Vector Table and Redirection Methods

Hello everyone, I am Pi Zi Heng, a serious techie. Today, I will share with you the principles of the Cortex-M interrupt vector table and its redirection methods. Continuing from the previous article “Three Implementations of Critical Section Protection in Embedded Cortex-M Bare Metal Environment”, in embedded code design, sometimes certain special operations (such as … Read more

Five Tips to Accelerate Cortex-M MCU Debugging

Five Tips to Accelerate Cortex-M MCU Debugging

Introduction Debugging embedded software is one of my least favorite activities, but unfortunately, it is necessary. Fortunately, advancements in technology and toolchains have generated a wealth of new techniques that significantly accelerate the debugging process. Let’s take a look at some of these methods, from traditional breakpoint debugging to more advanced instrumentation tracing techniques. Tip … Read more

How to Run Super Download Algorithm on Different Cortex-M Cores?

How to Run Super Download Algorithm on Different Cortex-M Cores?

Hello everyone, I am Pi Zi Heng, a serious tech enthusiast. Today, I will introduce you to Super Download Algorithm Development Notes (1) Execution on Different CM Cores. This article continues from the previous one titled RT-UFL – A Super Download Algorithm Design Suitable for All i.MXRT Platforms, and the open-source project initiated by Pi … Read more

How to Achieve High-Precision Keyword Recognition on Cortex-M Processors

How to Achieve High-Precision Keyword Recognition on Cortex-M Processors

[Image] We can optimize the neural network architecture to fit within the memory and computational constraints of microcontrollers without compromising accuracy. In this article, we will explain and explore the potential of depthwise separable convolutional neural networks for implementing keyword recognition on Cortex-M processors. Keyword recognition (KWS) is crucial for enabling voice-based user interaction on … Read more

Comparison of Cortex-M Processor Functional Modules

Comparison of Cortex-M Processor Functional Modules

Hello everyone, I am Pi Zi Heng, a serious tech enthusiast. Today, I will introduce you to ARM Cortex-M Functional Modules. The ARM Cortex-M processor family has developed to date (2016) with five generations of products, namely CM0/CM0+, CM1, CM3, CM4, and CM7. 1. Cortex-M Compatibility Features To achieve software reuse in Cortex-M, ARM has … Read more

What Is the MPU of Cortex-M Core?

What Is the MPU of Cortex-M Core?

Everyone often sees abbreviations like MCU, MPU, MMU, but do you know what MPU is? 1Introduction I wonder if everyone has paid attention to some content about the Cortex-M core; most models of STM32 have an MPU. The MPU is an optional component of Cortex-M. For STM32F1, only the STM32F10X_XL series chips have this Memory … Read more

What Is the MPU of Cortex-M Core?

What Is the MPU of Cortex-M Core?

Follow+Star Public Account, don’t miss exciting content Author | strongerHuang WeChat Public Account | Embedded Column Everyone often hears terms like MCU, MPU, MMU, but do you understand MPU? In the embedded field, MPU usually has two different meanings: 1. Microprocessor Unit; 2.Memory Protection Unit. In this article, the MPU of the Cortex-M core refers … Read more