In-Depth Comparison of MCU Assembly Language and C Language: From Principles to Practice

In-Depth Comparison of MCU Assembly Language and C Language: From Principles to Practice

1. Essential Differences: Low-Level Control vs High-Level Abstraction 1.1 Assembly Language: Direct Mapping to Hardware Assembly language is a mnemonic representation of machine instructions, closely coupled with the MCU architecture. Taking the assembly of ARM Cortex-M as an example: ; Add registers R1 and R2, store the result in R0 ADD R0, R1, R2 ; … Read more

Common MCU Products with DAC

Common MCU Products with DAC

In the open-source oscilloscope differential measurement probe – PD150, there is an MCU with DAC functionality that can provide bias voltage compensation for operational amplifiers.Recently, I have been working on this product It looks very nice but it is a PIC (ATSAMD10D14A), which is not well-suited for domestic use (it’s my fault for not knowing … Read more

Is There Any Meaning in Running RTOS on an 8-bit MCU?

Is There Any Meaning in Running RTOS on an 8-bit MCU?

Most people start learning about microcontrollers with the most basic 8-bit MCUs. Generally, the most common 8-bit microcontroller series are: the 51 series, AVR series, and PIC series.Recently, there was a discussion in a group about a question: Is there any meaning in running RTOS on a 51 microcontroller? Regarding this question, everyone has their … Read more

Where Do Over 30 Billion MCUs Used in Consumer Electronics Go Each Year?

Where Do Over 30 Billion MCUs Used in Consumer Electronics Go Each Year?

The trend of smart appliances in the home appliance industry began several years ago and has become more pronounced and rapid in recent years. Whether it is traditional black appliances, white appliances, or the rapidly developing kitchen appliances and smart small home appliances, they have all incorporated smart elements to varying degrees. Currently, the smart … Read more

Texas Instruments: Automotive Grade Chips Priced Over 100 Yuan

Texas Instruments: Automotive Grade Chips Priced Over 100 Yuan

These chips are primarily used in the automotive field and can be categorized based on their functions and features into types such as System on Chip (SoC), Analog-to-Digital Converters (ADC), Digital Signal Processors (DSP), Microcontrollers (MCU), Radar Sensors, Clock Jitter Cleaners, Analog Front Ends, and Digital Micromirror Device (DMD) Controllers: System on Chip (SoC) Used … Read more

Embedded Development Engineer: Coding, Soldering, and Repairing

Embedded Development Engineer: Coding, Soldering, and Repairing

01 Identifying the ProblemI have a STM32F407G-DISC1 development board, with the MCU being STM32F407VGT6. Recently, I needed to use this board for a test, but it turned out to be non-functional. After sitting idle for a long time, it was prone to failure.I conducted some troubleshooting, first checking that there were no short circuits between … Read more

How to Port FreeRTOS to Your Project

How to Port FreeRTOS to Your Project

1. Download FreeRTOS Official Website https://www.freertos.org/ 2. Source Code Composition Directory Composition FreeRTOS-LTS ├── aws │ ├── aws-iot-core-mqtt-file-streams-embedded-c │ ├── device-defender-for-aws-iot-embedded-sdk │ ├── device-shadow-for-aws-iot-embedded-sdk │ ├── fleet-provisioning-for-aws-iot-embedded-sdk │ ├── jobs-for-aws-iot-embedded-sdk │ └── sigv4-for-aws-iot-embedded-sdk ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── FreeRTOS │ ├── backoffAlgorithm │ ├── coreHTTP │ ├── coreJSON │ ├── coreMQTT │ ├── … Read more

The Biggest Bug in MCU? Venom Can Never Bond with Spider-Man! Thanks to Iron Man

The Biggest Bug in MCU? Venom Can Never Bond with Spider-Man! Thanks to Iron Man

As a Marvel fan, I have been looking forward to the merger of Sony’s Spider-Verse and the MCU, hoping to see Spider-Man merge with Venom again to engage in a fierce battle. For those of us who have watched Tobey’s Spider-Man trilogy, it feels particularly lonely without either Venom or Spider-Man. Now, although Sony and … Read more

An Introduction to Mainstream MCU and CPU Architectures, Development Methods, and Essential Tools

An Introduction to Mainstream MCU and CPU Architectures, Development Methods, and Essential Tools

Hello everyone, I am your hardcore partner. I used to struggle with the question: what exactly is the deal with those “chips” in embedded systems that are invisible and intangible? What routines and tools are needed to develop them? Today, I will take you through the mainstream MCU and CPU architectures, development methods, and essential … Read more

Common Implementation Methods of Software Timers in MCUs

Common Implementation Methods of Software Timers in MCUs

Follow+Star PublicAccount, don’t miss out on exciting contentSource | Internet In general embedded product design, due to cost, power consumption, etc., the selected MCU is usually resource-constrained, and the number of timers inside is also limited. In our software design, there are often various timing requirements, such as pulse output, key detection, LCD screen switching … Read more