How to Determine If Cortex-M Processor Is Executing Interrupt Function?

How to Determine If Cortex-M Processor Is Executing Interrupt Function?

Follow+Star Public Account, don’t miss wonderful content Author | strongerHuang WeChat Official Account | Embedded Column Today, I want to share some knowledge I encountered while debugging code: the usage of __get_CONTROL, and the differences between xQueueSend and xQueueSendFromISR; 1 Source of the Problem I previously ported some code written by others on the FreeRTOS … Read more

Getting Started: Bare-Metal Programming on ARM Cortex-M Microcontrollers

Getting Started: Bare-Metal Programming on ARM Cortex-M Microcontrollers

Getting Started: Bare-Metal Programming on ARM Cortex-M Microcontrollers Bare-metal programming typically refers to the process of writing programs to control hardware devices directly without an operating system. For embedded system developers, this is a fundamental and important skill. Today, I will guide you through how to implement bare-metal programming on ARM Cortex-M series microcontrollers. Starting … Read more

Understanding Linker Files in Embedded Development

Understanding Linker Files in Embedded Development

Hello everyone, I am Pi Zi Heng, a serious tech enthusiast. Today, I will discuss linker files in embedded development. In the previous lesson “Source Files (.c/.h/.s)”, I systematically introduced source files, which are typical input files in embedded projects. But are there other types of input files? Since I asked this question, the answer … Read more

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