Understanding Cortex-M3 Concepts

Understanding Cortex-M3 Concepts

Work Mode Thread mode: This mode is active when the processor is reset or exits from an exception. Code in this mode can be either privileged or user code, controlled by CONTROL[0]. Handler mode: This mode is entered when an exception (including interrupts) occurs, with all code having privileged access. Code Privileges Privileged access: Full … Read more

Understanding the Principles of Bit-Banding Operations in Cortex-M

Understanding the Principles of Bit-Banding Operations in Cortex-M

Bit-banding operations may not be used as much now, but in the past, when MCU performance was not very good, bit-banding operations were a common operation among many software engineers. This article mainly discusses the Cortex-M3 core (STM32F1), and I believe many friends have been confused when they first learned about it. 1About Bit-Banding Operations … Read more

Comparing STM32 and Arduino: Which is More Powerful?

Comparing STM32 and Arduino: Which is More Powerful?

Which is more powerful, Arduino or STM32? Many electronics enthusiasts face a dilemma when choosing between Arduino and STM32, unsure of which to use. Arduino has always been popular, but STM32 has more interfaces, stronger performance, and faster speeds? Features of Arduino and STM32 Arduino: Arduino leans towards creativity, simplifying hardware operations. Its functions and … Read more

Why Use MPU in RTOS Systems?

Why Use MPU in RTOS Systems?

First, let me clarify that MPU has many meanings, and there are two common ones: MPU:Memory Protection Unit; MPU:Microprocessor Unit; Additionally, some may associate it with modules like MPU-6050. So, please do not confuse MPU. Why Use MPU? If you develop embedded projects that suffer significant economic losses or major accidents due to memory overflow … Read more

Is RTOS Functional Safety Certification Necessary?

Is RTOS Functional Safety Certification Necessary?

In business, “must” represents the minimum requirements for market participation. Today, there are over a hundred open-source and commercial RTOS in the embedded market, most of which lack functional safety certification. Given this, it is clear that RTOS functional safety certification is not yet a “must” today, but perhaps it should be. RTOS is the … Read more

Applications of 32-bit ARM Cortex-M Microcontrollers

Applications of 32-bit ARM Cortex-M Microcontrollers

32-bit ARM Cortex-M microcontrollers are widely used in various embedded systems and applications due to their low power consumption, high performance, and multifunctional features. These microcontrollers are utilized across a wide range of industries and applications. Here are some common applications of 32-bit ARM Cortex-M microcontrollers: Internet of Things (IoT) Devices: IoT sensors and nodes … Read more

Common Commands for ARM Development Boards

Common Commands for ARM Development Boards

1、reboot means to restart. 2、source makes the modified files take effect immediately, avoiding the problem of having to restart for the changes to take effect. For example, if we modify /etc/profile, the changes will not take effect immediately. In this case, we can enter source /etc/profile to apply the changes. There will be more updates … Read more

Is FreeRTOS Dynamically Allocated Memory?

Is FreeRTOS Dynamically Allocated Memory?

Follow+Star PublicNumber, don’t miss the wonderful content Author | strongerHuang WeChat Public Account | Embedded Column Some readers might ask: Can FreeRTOS create tasks and delete tasks? Is it dynamically allocated memory? xTaskCreate(LED_Task, "LED_Task", 128, NULL, 6, NULL); If we want to elaborate on this question, there are many related knowledge points involved. Below are … Read more

Bluetooth Command Settings for Embedded Systems

Bluetooth Command Settings for Embedded Systems

3.3.1 Bluetooth Command Settings Knowledge The embedded Bluetooth serial communication module allows us to break free from the constraints of cables and achieve wireless serial communication within a limited range, with two working modes: command response mode and automatic connection mode. In automatic connection mode, the module can be divided into three roles: Master, Slave, … Read more

Differences and Similarities Between RTOS and Linux

Differences and Similarities Between RTOS and Linux

关注+星标公众号,不错过精彩内容 作者 | strongerHuang 公众号 | strongerHuang Many embedded developers have such doubts: What is the difference between RTOS and Linux? RTOS: Real-Time Operating System, refers to an operating system that can accept and process external events or data at a fast enough speed when they occur, and the results of the processing can control … Read more