How to Simulate STM32 Microcontroller in Keil

How to Simulate STM32 Microcontroller in Keil

1. Introduction When learning about the 51 microcontroller, we often use the combination of Keil and Proteus for experiments. This simulation saves us a lot of hardware and time costs, allowing us to visually observe the execution process of the code. However, when switching to the STM32 series microcontrollers, Proteus is obviously not supported, but … Read more

STM32 System Clock and Delay Function Initialization

STM32 System Clock and Delay Function Initialization

STM32 has three different clock sources that can be used to drive the system clock (SYSCLK): 1: HSI oscillator clock (internal clock) 2: HSE oscillator clock (external clock, provided by the crystal) 3: PLL clock (Phase-Locked Loop clock) These devices have the following two secondary clock sources: (1) 40kHz low-speed internal RC, which can be … Read more

Performance/Time Toolbox for Super Embedded Systems

Performance/Time Toolbox for Super Embedded Systems

This article is selected from the Extreme Technology Community column “Bare Metal Thinking”. The article mainly shares free tools related to “performance/time” for super embedded systems open-sourced on GitHub. Is it really free from the start? For the well-known Cortex-M processors, whether it is the Cortex-M0 emphasizing extreme resources and low power consumption or the … Read more

How to Set the RTOS Tick in Embedded Development?

How to Set the RTOS Tick in Embedded Development?

Recently, a reader asked this question: Why is the default configuration of the RTOS system tick (Tick) 1000? Can I set it to 100, 10000, or 2000? Many beginners have this question, including myself when I first learned about RTOS. I was confused about the different values for tick configuration and their impacts. Today, let’s … Read more

Precise Delay Method in Cortex-M Kernel (ns Level)

This article introduces a precise delay method in the Cortex-M kernel. Introduction Why learn this delay method? Many times when we run an operating system, we generally occupy a hardware timer – SysTick, and the clock tick of our operating system is generally set to 100-1000HZ, which means an interrupt occurs every 1ms – 10ms. … Read more

Differences in SysTick Usage Between Cortex-M3 and M85 Microcontrollers

Differences in SysTick Usage Between Cortex-M3 and M85 Microcontrollers

Follow+Star Public Account Number, don’t miss wonderful content Author | strongerHuang WeChat Official Account | strongerHuang Cortex-M is an ARM core designed for MCU, launched about 20 years ago, and the most classic is the Cortex-M3 core, which is one of the most widely used cores on the market today. Currently (2024-09), the latest and … Read more

Differences in SysTick Usage Between Cortex-M3 and Cortex-M85 Microcontrollers

Differences in SysTick Usage Between Cortex-M3 and Cortex-M85 Microcontrollers

Cortex-M is an ARM core aimed at MCUs, which has been around for about 20 years, with the most classic being the Cortex-M3 core, which is one of the most widely used cores on the market today. As of now (September 2024), the latest and most powerful microcontroller core is the Cortex-M85. https://www.arm.com/en/products/silicon-ip/cores/cortex-m The Cortex-M85 … Read more

Getting Started with Cortex-M3: Overview of the Architecture

Getting Started with Cortex-M3: Overview of the Architecture

Click the card below to follow Arm Technology Academy This article is selected from the “Arm Technology Blog” column, originally from Zhihu. This series will guide you to learn about the Cortex-M3, including its architecture design, register composition, concepts of clock and bus, functions and usage of various peripherals, etc. Original article: https://zhuanlan.zhihu.com/p/52235675 The Getting … Read more