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

Program Architecture in Embedded Development

Program Architecture in Embedded Development

Introduction In embedded software development, including microcontroller development, software architecture is a critical consideration for developers. Software architecture is crucial for the overall stability and reliability of the system. A suitable software architecture not only has a clear structure but also facilitates development. I believe that in the early stages of embedded or microcontroller software … Read more

What Is CMSIS-RTOS?

What Is CMSIS-RTOS?

Follow+Star Public Account, don’t miss the exciting content Author | strongerHuang WeChat Official Account | strongerHuang CMSIS: Cortex Microcontroller Software Interface Standard. It contains a lot of content: CMSIS-RTOS: Mainly used for RTOS API, providing a consistent software layer that can work with middleware and library components. CMSIS-DSP: A rich set of DSP functions optimized … Read more

How FreeRTOS Reduces RAM Usage and Speeds Up Execution

How FreeRTOS Reduces RAM Usage and Speeds Up Execution

Previously shared the article “What Features Were Updated in FreeRTOS V10.4.0?” and today we will elaborate on one of the knowledge points: FreeRTOS’s direct task (message) notification, aimed at reducing RAM usage and speeding up execution. 1. Introduction Almost all RTOS operating systems provide queue and semaphore functionalities, which are essential skills for most beginners. … Read more

Introduction to Synchronization and Mutex in FreeRTOS

Introduction to Synchronization and Mutex in FreeRTOS

This article aims to learn and use synchronization and mutex in FreeRTOS. Following the descriptions in this article, you should be able to run the experiment and apply the knowledge. Experimental conditions: Basic knowledge of C language and an integrated development environment installed, such as Keil uVision5. Concepts of Synchronization and Mutex Synchronization is used … Read more

FreeRTOS: A Popular, Free, Open Source RTOS

FreeRTOS: A Popular, Free, Open Source RTOS

FreeRTOS is a popular, free, open-source real-time operating system (RTOS) widely used in various embedded systems. It is known for its lightweight, ease of use, portability, and powerful features, making it the preferred RTOS for many embedded developers. This article will delve into the features, functionalities, and application scenarios of FreeRTOS. What is a Real-Time … Read more

Task Scheduling in FreeRTOS

Task Scheduling in FreeRTOS

Convention: This article is based on freeRTOSv202212.01. Defining a Task Task scheduling involves the “tasks” that need to be managed, so we need to first understand what a “task” looks like. An independent task must consider the following points: 1. The system must recognize and manage this task, so the task needs an identification card … Read more

Getting Started with FreeRTOS: Memory Management

Getting Started with FreeRTOS: Memory Management

1. Concept and Classification of Memory In computing systems, memory is used to store variables and intermediate data. The system memory can be divided into two types: Internal Storage Space (RAM): Typically refers to Random Access Memory, which allows fast data access and random access, but data is lost when power is off. External Storage … Read more

Considerations for Porting MCU Touch Programs to FreeRTOS

Considerations for Porting MCU Touch Programs to FreeRTOS

Source | Renesas Embedded Encyclopedia Previously, I discussed 【Several MCU Capacitive Touch Sensing Principles】, today I will discuss the considerations when porting Renesas MCU capacitive touch (CTSU) programs to FreeRTOS. CTSU Touch Button Program Running Requirements In a bare-metal system, the CTSU APIs should be called in a loop at certain time intervals. In the … Read more