Cortex-M MCU Learning Resources Organized by KEIL

Cortex-M MCU Learning Resources Organized by KEIL

The learning resources for Cortex-M core MCUs organized by KEIL are very detailed, and I am sharing them with everyone. (The comment feature has been enabled at the bottom of the article~~ You can express your suggestions and opinions, making communication more convenient! Thank you~~) Official Address: http://www2.keil.com/mdk5/learn/===================================For example, when we open the ST section:===================================Open … Read more

An Analysis of Cortex-M Stack Mechanism

An Analysis of Cortex-M Stack Mechanism

Hello everyone, I am Pi Zi Heng, a serious technical enthusiast. Today, I will introduce the ARM Cortex-M stack mechanism. This article is a technical document I wrote before 2016, and I have spent some time reorganizing the format. Previously, I discussed the “Principle of Stack in Embedded Systems”; this article serves as an engineering … Read more

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

Cortex-M Experiment Box (CW32) Overview

Cortex-M Experiment Box (CW32) Overview

The Cortex-M Experiment Box (CW32 version) is a development experiment device based on the CW32F030C8T6. The CW32F030C8T6, launched by Wuhan Xinyuan Semiconductor Co., Ltd., is a cost-effective domestic MCU based on ARM’s Cortex-M0+ core, with a maximum clock frequency of 64MHz, 64KB of FLASH, 8KB of RAM, and in an LQFP48 package. It is fully … Read more

Two Ultra-High Frequency Cortex-M Core Domestic MCUs

Two Ultra-High Frequency Cortex-M Core Domestic MCUs

Hello everyone, I am Pi Zi Heng, a serious tech enthusiast. Today, I will introduce to you the high-frequency products of domestic Cortex-M core MCU manufacturers. Yesterday, I released the “2023 Edition of Domestic Cortex-M Core MCU Manufacturers High-Frequency Products,” where I found 12 models with a frequency of no less than 144MHz, which has … Read more

Unexpected Discovery: Cortex-M Core with 64-bit Timestamp

Unexpected Discovery: Cortex-M Core with 64-bit Timestamp

Tencent Video: Bilibili Video: Introduction: According to the Debug section of the parameter manual, those in the System ROM Table with Timestamp generator are supported, while those without are not supported. The current tested series H743/H750, etc. come with it. Similar to the DWT clock counter, it can be used for debugging as well as … Read more

Powerful Debugging and Tracing CoreSight Technology for Cortex-M

Powerful Debugging and Tracing CoreSight Technology for Cortex-M

Follow+Star Public Account, don’t miss out on exciting content Compilation | strongerHuang WeChat Public Account | Embedded Column Today, many Cortex-M processors can be debugged so conveniently thanks to the CoreSight technology based on Arm Cortex-M processor devices, which introduces powerful new debugging and tracing features. Let’s focus on the debugging and tracing aspects of … 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