The Secret of Microcontroller GPIO Driving Capability: Why ‘Sinking’ is More Powerful than ‘Sourcing’?

In embedded system design, we often need to use the General Purpose Input/Output (GPIO) pins of microcontrollers (MCUs) to drive peripheral devices such as LEDs and relays. I still remember that my first code in college was to control the blinking of an LED using the 8051 microcontroller. I wonder if the current university courses … Read more

Mastering Microcontrollers: Answer These Questions to Prove Your Skills!

With the rapid development of electronic technology, microcontrollers have become one of the essential basic components in many fields. They are small yet complete microcomputer systems that integrate a central processing unit (CPU), RAM, ROM, various I/O ports, and interrupt systems onto a single silicon chip using ultra-large-scale integration technology, and are widely used. 1. … Read more

Principles and Applications of Microcontrollers

A microcontroller (MCU) is a highly integrated, powerful microcomputer widely used in embedded systems, smart homes, industrial control, automotive electronics, and the Internet of Things (IoT). As an important hardware platform, microcontrollers are characterized by their compact size, low power consumption, high efficiency, and low cost. This article will introduce the basic principles, structural features, … Read more

Introduction to Microcontrollers: First Lesson

1. Key Knowledge Points:1. Microcontrollers and their internal structure;2. Microcontroller application systems and development processDifficulties: The concepts of microcontrollers and microcontroller application systemsRecommended Learning Method: Light up an LED with a microcontroller, using the Keil C51 development environment to write the program.2. Learning Tasks: 1. Learn to use the Keil C51 development environment for developing … Read more

Confusions in Learning FPGA

Don’t let these misconceptions hinder your growth curve At two in the morning, the lights in the lab are still on. You stare at the flashing timing error messages on the screen, having modified the Verilog code for the 17th time, yet the development board remains silent as a stone. The coffee beside you has … Read more

40th Anniversary of FPGA: Can Domestic Solutions Take the Lead?

In the embedded field, FPGAs are a very important type of device. Today, AMD announced the 40th anniversary of the first commercial Field Programmable Gate Array (FPGA) being introduced. What stories lie behind FPGAs, what is the current development situation domestically and internationally, and can domestic FPGAs take the lead? From Replacing ASICs to Edge … Read more

FPGA: From Change to Implementation

FPGA (Field Programmable Gate Array) development is a complex process that involves multiple steps and stages. Below is the basic process of FPGA development: Function Definition/Device Selection: Before system design, it is essential to conduct feasibility studies, system design, and selection of FPGA chips. System engineers weigh various aspects such as system specifications, complexity, working … Read more

Learning STM32 USB

•Official Documentation These two official documents provide a detailed description of the protocol and hardware features, along with some code explanations. “USB Training_Part1_Protocol.pdf”, “USB CDC Class Introduction Training.pdf” Reference website:https://www.usbzh.com/ •Library ExamplesUser-related files usbd_desc.c: This file provides the USBD descriptors and string formatting method. usbd_conf.c: This file implements the USB Device library callbacks and MSP. … Read more