C++ Embedded Development: Hardware Interaction and Resource Management

C++ Embedded Development: Hardware Interaction and Resource Management

C++ Embedded Development: Hardware Interaction and Resource Management In today’s technological world, embedded systems are ubiquitous, from household appliances to automotive control systems. These devices often rely on efficient and reliable small programs to perform specific functions. C++, as a powerful programming language, provides superior solutions for handling complex logic and resource management in embedded … Read more

Setting Up an Assembly Language Development Environment on Windows 10 (Using DOSBOX and MASM32)

Setting Up an Assembly Language Development Environment on Windows 10 (Using DOSBOX and MASM32)

Limited Time Resource Download: Reply “Tutorial” to obtain a microcontroller eBook, reply “Simulation“ to get Proteus simulation materials, the Baidu Drive group sharing link update time: 2017-07-12, if it is invalid, please leave a message at the end of the article, do not leave a message in the background, you can also search for more … Read more

Collection | UART Communication Protocol in Electronic Communication Protocols

Collection | UART Communication Protocol in Electronic Communication Protocols

Do you remember the era when printers, mice, and modems came with those bulky connectors and thick cables? Literally, those that had to be screwed into your computer? These devices might be using the UART protocol to communicate with your computer. Although USB has almost completely replaced those old cables and connectors, UART is by … Read more

The SPI Protocol is Not as Simple as I Thought

The SPI Protocol is Not as Simple as I Thought

Hello everyone, I am Jide Cheng. Today I will share content related to the SPI protocol. Table of Contents Introduction Table of Contents First, let’s talk about UART SPI Communication Protocol Characteristics of SPI Mode Numbers Multi-Slave Mode Advantages and Disadvantages Programming Implementation First, Let’s Talk About UART I previously wrote an article on UART, … Read more

Comparison of Microcontroller Programming Environments and PLC Programming Software

Comparison of Microcontroller Programming Environments and PLC Programming Software

Hello everyone, I am Da Yi! Today, we will discuss the similarities and differences between microcontroller programming environments and PLC programming software. From a practical perspective, microcontrollers are generally programmed using C language and require an Integrated Development Environment (IDE) such as Keil or IAR. In contrast, PLCs have dedicated programming software, with mainstream options … Read more

Essential Microcontroller Programming Skills: A Transformation Guide from Beginner to Expert

Essential Microcontroller Programming Skills: A Transformation Guide from Beginner to Expert

Hello everyone! Today, I want to share not just dry coding rules, but 6 practical skills that can help your microcontroller projects succeed and double your code efficiency. These experiences come from my years of lessons learned from mistakes, specifically addressing the “program runs but is not user-friendly” issues! 1. Project Planning: Draw the Map … Read more

Craftsman’s Notes: A Summary of Practical Microcontroller Programming Experience

Craftsman's Notes: A Summary of Practical Microcontroller Programming Experience

Experience One: Using “Software Traps + Program ID” to Handle PC Pointer Jumps When the CPU is subjected to external interference, sometimes the PC pointer may jump to another segment of the program or to a blank segment. In fact, if the PC pointer jumps to a blank segment, it can be handled relatively easily. … Read more

Microcontroller Programming: The Soul-Searching Question of Feeding the Watchdog…

Microcontroller Programming: The Soul-Searching Question of Feeding the Watchdog...

[Introduction] After writing so many microcontroller programs, you see the watchdog every day. Are you taking care of your watchdog properly? Just keep feeding it, and as long as it doesn’t bark, everything is fine, right? Is it really that simple? In fact, it may not be as straightforward as you think… What is a … Read more

Tutorial on Renesas RA8 Series | Description of SysTick Usage in RA8 Microcontroller

Tutorial on Renesas RA8 Series | Description of SysTick Usage in RA8 Microcontroller

Each Cortex-M core integrates a SysTick module, as this module is an essential (timer) function for microcontroller projects.Whether it is the latest Cortex-M85 core or the classic Cortex-M3 microcontroller, the SysTick module is integrated. cm3.h and cm85.h Microcontroller developers are most familiar with the core_cm3.h (core_cm85.h) files, which define most of the content related to … Read more

Timer Application Development: Methodologies for Building Reliable Industrial Control Systems

Timer Application Development: Methodologies for Building Reliable Industrial Control Systems

Click the blue text to follow! 10 Timer Application Practice: A Decade of Workshop Experience from an Old Electrician A few days ago, Xiao Zhang rushed to me: “Master Li, please help me check, the conveyor belt on production line three keeps stopping and starting, causing us to rework a large batch of products!” I … Read more