Embedded Programming: Fast Context Switching Based on Cpost

Embedded Programming: Fast Context Switching Based on Cpost

The demand for embedded development programming is ever-changing. To achieve system stability and code reusability, one must aim for high cohesion and low coupling. It is generally believed that time-consuming operations cannot be executed during interrupts, as this would affect system stability. For programs with an operating system, interrupt handling can be divided into two … Read more

The Irreplaceability of C Language in Embedded Programming

The Irreplaceability of C Language in Embedded Programming

The Irreplaceability of C Language in Embedded Programming When discussing embedded programming languages, we often find that among various languages surrounding the stage like stars, C language stands firm like a star. But why has C language become the only choice for embedded programming? In this article, I will analyze in detail the irreplaceability of … Read more

C Embedded Programming Design Patterns

C Embedded Programming Design Patterns

Content Summary · · · · · · “C Embedded Programming Design Patterns” re-examines embedded systems from an object-oriented perspective and comprehensively summarizes common and critical design patterns in embedded systems. This book proposes many novel design patterns, providing powerful tools for embedded system developers using the C programming language. Through these patterns, developers can … Read more

PLC Makes Microcontroller Programming More Professional!

PLC Makes Microcontroller Programming More Professional!

PLC Makes Microcontroller Programming More Professional! Hello everyone, today I want to talk about the relationship between PLC and microcontrollers. Many friends might think these are two completely different fields, but that’s not the case. The programming mindset of PLC can help us write more stable and industrial-grade microcontroller programs. From Relay to PLC Programming … Read more

Top 10 Challenges in Microcontroller Programming

Top 10 Challenges in Microcontroller Programming

1. What are the advantages and disadvantages of C language and assembly language in microcontroller development? Answer: Assembly language is a symbolic language that uses mnemonic symbols to represent machine instructions, making it the closest language to machine code. Its main advantages are low resource usage and high execution efficiency. However, different CPUs may have … Read more

10 Questions and Answers on Microcontroller Programming Basics

10 Questions and Answers on Microcontroller Programming Basics

1. How Long Will 8-bit Microcontrollers Last! Answer: Currently, the main focus of MCU products is still in the 8-bit domain, mainly applied in six major markets: automotive applications, consumer electronics, computer and PC peripherals, telecommunications, office automation, and industrial control. The automotive market is mainly in Europe and America, while the Asia-Pacific region is … Read more

Comparison of Microcontroller Programming Languages: Assembly vs C

Comparison of Microcontroller Programming Languages: Assembly vs C

Introduction A microcontroller, also known as a microcontroller unit (MCU), is a small computer system that integrates a CPU, RAM, ROM, timers/counters, and various I/O interfaces. Due to its advantages such as miniaturization, low power consumption, and high reliability, it has been widely used in various control fields. In the development of microcontroller systems, the … Read more

STM32CubeMX Series Tutorial

STM32CubeMX Series Tutorial

Follow+Star Public Account Number, don’t miss the exciting content Author | strongerHuang WeChat Public Account | Embedded Column Statement:This document is for personal learning use only, commercial use is prohibited, please contact me for authorization if reprinted. To make it easier for everyone to check the “STM32CubeMX Series Tutorial” on their mobile phones anytime and … Read more

Comprehensive Understanding of STM32Cube Ecosystem: Installation and Usage Guide

Comprehensive Understanding of STM32Cube Ecosystem: Installation and Usage Guide

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Official Account | Embedded Column STM32 is recognized by many developers, and its powerful ecosystem plays a key role. This article describes various software tools in the STM32 ecosystem, including some technical details. 1 Overview of STM32 Ecosystem STM32 provides a complete … Read more