Exploring the SPI Bus

Exploring the SPI Bus

“A detailed explanation of the Serial Peripheral Interface and its communication applications with memory, displays, Wi-Fi modules, and SD cards.” In a previous article, I explored the astonishing convenience of interfacing modern OLED displays with bare-metal microcontrollers. My point is simple: in most embedded applications, using a complete Linux SoC platform (like Raspberry Pi) is … Read more

Starting Your Coding Journey with DSP by Lighting Up an LED

Starting Your Coding Journey with DSP by Lighting Up an LED

Light Up an LED Continuing from the previous discussion, why should we learn to light up an LED before diving into microcontroller programming? The author believes that, first, in this experiment, we can learn how to add functionality to an engineering template; second, we can learn how to configure general-purpose pins to output high and … Read more

Goodbye 996! Essential Tips to Boost Efficiency in Microcontroller and PLC Programming

Goodbye 996! Essential Tips to Boost Efficiency in Microcontroller and PLC Programming

Hello everyone! Today, let’s talk about some essential tips in microcontroller and PLC programming that can help you boost your efficiency, allowing you to say goodbye to the 996 work culture and easily tackle your programming tasks! 1. Efficiency Improvement Techniques for Microcontrollers (1) Bit Manipulation: Programming Techniques to Make Microcontrollers Run Faster Basic Concept … Read more

Renesas RA8 Series Tutorial | Essential Documentation for Learning RA8

Renesas RA8 Series Tutorial | Essential Documentation for Learning RA8

Whether you are a beginner with MCUs or working on projects using MCUs, we often refer to various related documentation (materials). So, what are the commonly referenced documents for learning the RA8 microcontroller? Where can these documents be found? 01 Where to Find Renesas RA8 Documentation? Beginners looking for documentation often resort to Baidu to … Read more

Analysis of Common Warnings Encountered in the Keil Programming Environment

Analysis of Common Warnings Encountered in the Keil Programming Environment

Click the image above to follow “Chuangxue Electronics” for easy access to electronic knowledge. Chuangxue Electronics Subscription Account Daily updates on technical articles in the electronics industry and the latest news on microcontrollers, making learning easy anytime, anywhere. 1. Warning 280: ‘i’: unreferenced local variable Explanation: The local variable i is not accessed in any … Read more

Embedded Development: Mastering the Logic Analyzer

Embedded Development: Mastering the Logic Analyzer

Microcontroller development engineers and electronics enthusiasts deal with various digital circuits daily. In addition to using multimeters and oscilloscopes for circuit debugging, a logic analyzer is also essential. A logic analyzer is an instrument that collects and displays digital signals from a test device using a clock, primarily for timing analysis. Unlike oscilloscopes, a logic … Read more

8000 Words! Essential Knowledge of Data Storage and Program Writing in C Language for Microcontrollers!

8000 Words! Essential Knowledge of Data Storage and Program Writing in C Language for Microcontrollers!

Article Word Count: 8000 Content Quality Index:⭐⭐⭐⭐⭐ 01Five Major Memory Areas The memory is divided into five areas: heap, stack, free storage area, global/static storage area, and constant storage area. 1. Stack Area: FIFO refers to the storage area for variables allocated by the compiler when needed and automatically cleared when not needed. The variables … Read more

Three Open Source Libraries Commonly Used by Microcontroller Experts

Three Open Source Libraries Commonly Used by Microcontroller Experts

The following article is from Xiaomai Dashi , author Xiaomai DashiLog systems are crucial during system development and debugging, as everyone should be aware. Especially when a project encounters issues, the absence of logs to help locate the problem can be very frustrating. Since we cannot always step through the program using a debugger, the … Read more

Six Microcontroller Communication Methods: Learn How to Choose in Three Minutes!

Six Microcontroller Communication Methods: Learn How to Choose in Three Minutes!

With the rapid development of electronic technology, microcontrollers are increasingly used in various electronic systems. Initially, there were not many issues in simple systems, but in complex systems, multiple microcontrollers need to work together to achieve their respective functions and communicate with each other. Therefore, learning how to choose the communication method for microcontrollers is … Read more

Embedded Systems vs PLC Microcontrollers: 24 Real Cases from a 10-Year Industry Veteran Reveal the Truth!

Embedded Systems vs PLC Microcontrollers: 24 Real Cases from a 10-Year Industry Veteran Reveal the Truth!

Warm Reminder: All cases in this article are derived from real projects, involving scenarios such as automotive production lines and smart warehousing. At the end of the article, we provide a Selection Decision Tree and a Beginner’s Pitfall Guide. 1. The Soul-Searching Question for Beginners: What Are the Differences? Engineer Xiao Wang, who just entered … Read more