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

Considerations for RTOS Task Stack Allocation

Considerations for RTOS Task Stack Allocation

Follow+Star PublicAccount, don’t miss the wonderful content Author | strongerHuang WeChat Public Account | Embedded Column Some friends asked this question: Do I need to allocate a large stack for a task with a lot of code? Actually, it’s not that the more code there is, the more stack space needs to be allocated. It … Read more

Advantages Of RTOS Over Bare Metal Programming

Advantages Of RTOS Over Bare Metal Programming

Author:Electronic Engineering Magazine, Typesetting by:Xiao Yu WeChat Official Account: Chip Home (ID: chiphome-dy) 1. Concurrency The efficiency of concurrent work in programs is low when writing bare-metal software. Inevitably, there will be a huge while(1) loop in the main program, which contains almost all business logic of the project. Because each piece of business logic … Read more

Porting RTOS to 51 Microcontroller

Porting RTOS to 51 Microcontroller

Previous Articles The official website of STC is a furnace I will never forget. A big shot commented. So, taking this opportunity, let’s take a look at the code he wrote. https://gitee.com/open-ell/freertos The file directory is in my favorite style, and the bsp directory clearly indicates its purpose. Below is an overview of the project. … Read more

Methods for Multithreaded Access to UART in RTOS

Methods for Multithreaded Access to UART in RTOS

Reader *Shi San* asks: Can the blogger introduce methods for multiple tasks to access the same hardware under RTOS? For example, multiple tasks need to use the serial port to print information. My answer is: Both mutexes and queues can solve the access conflict problem. Multithreaded access to the same serial hardware is commonly used … Read more

What Are the Requirements for Running RTOS on MCU?

What Are the Requirements for Running RTOS on MCU?

Follow+Star Public Account Number, don’t miss exciting content Author | strongerHuang WeChat Public Account | strongerHuang Some friends might ask: What are the requirements for running RTOS on MCU? This is a very broad question. Currently, there are hundreds of RTOS available in the market. If you talk about the minimum requirements for MCU, I … Read more

ESP32C3 UDP Data Transmission

ESP32C3 UDP Data Transmission

The battery compartment for the remote-controlled plane has been designed and sent for sampling; however, the cockpit is not yet completed. Let’s first work on the remote control and data transmission. This article mainly introduces the UDP data transmission of ESP32C3, where ESP32C3 acts as a UDP server operating in AP mode. First, here is … Read more

IoT + Embedded Systems Development and Practice

IoT + Embedded Systems Development and Practice

Today, the Internet of Things (IoT) and artificial intelligence technologies are increasingly integrated into people’s daily lives, raising higher demands for embedded system development technologies. This is reflected not only in the requirements for hardware performance but also in new demands in software, algorithms, and cloud services. Therefore, “IoT + Embedded Systems Development and Practice” … Read more

Migrating FreeRTOS Applications to SAFERTOS: A Comprehensive Guide

Migrating FreeRTOS Applications to SAFERTOS: A Comprehensive Guide

Follow+Star Public Account, don’t miss exciting content Source | Mike Tai Technology FreeRTOS is a real-time operating system designed for microcontrollers and small microprocessors, distributed under the MIT license, emphasizing reliability and ease of use. Safety regulations in markets such as automotive, medical, and industrial require designers to have an RTOS certified by relevant industry … Read more

Lightweight Robot Operating System ROS Based on MCU and FreeRTOS

Lightweight Robot Operating System ROS Based on MCU and FreeRTOS

Follow+Star Public Account Number, don’t miss wonderful content Author | strongerHuang WeChat Public Account | Embedded Column Some of my readers are likely engaged in ROS-related work, today I will share a lightweight (micro) ROS running on MCU, based on FreeRTOS. As market demand continues to expand, this MCU-based ROS will become increasingly popular, and … Read more