Introduction to Common Internal Buses: IIC, IIS, SPI, UART, JTAG, CAN, SDIO, GPIO

Introduction to Common Internal Buses: IIC, IIS, SPI, UART, JTAG, CAN, SDIO, GPIO

▲Click the card above to follow for more information▲ 1IIC IIC (Inter-Integrated Circuit) bus is a two-wire serial bus developed by PHILIPS for connecting microcontrollers and their peripheral devices. The I2C bus transmits information between the bus and devices using two lines (SDA and SCL), allowing for serial communication between microcontrollers and external devices, or … Read more

Comprehensive Guide to Embedded Linux Drivers Based on IMX6ULL

Comprehensive Guide to Embedded Linux Drivers Based on IMX6ULL

How to Obtain 1. Follow the official account below, and click 【Like】 and 【Viewing】 in this article 2. Click 【Get Course】 in the official account to obtain this material There is a course titled Comprehensive Guide to Embedded Linux Drivers Based on IMX6ULL Comprehensive Guide to Embedded Linux Drivers Based on IMX6ULL # Comprehensive Guide … Read more

Strange Issues and Solutions for Hardware I2C on STM32

Strange Issues and Solutions for Hardware I2C on STM32

1 Introduction Recently, I’ve been working on my graduation project. The second board has arrived, and I’ve basically debugged all the components, with a few chips still having test code written for them. One of the chips is the BMP280 barometric sensor, which worked perfectly on the first board, so I can rule out issues … Read more

Camera BSP GPIO I2C PMIC Knowledge Points

Camera BSP GPIO I2C PMIC Knowledge Points

Learn Lifelong Together, Here is Programmer Android Recommended classic articles, through reading this article, you will gain the following knowledge points: 1. Introduction to GPIO 2. Overview of I²C Bus 3. Overview of PMIC 4. Reflection 1.Introduction to GPIO GPIO: General Purpose Input Output GPIOs are I/O pins that provide peripheral connections to the MSM™ … Read more

Learn C Language from Scratch: Basics of Microcontroller Programming

Learn C Language from Scratch: Basics of Microcontroller Programming

Learn C Language from Scratch: Basics of Microcontroller Programming The C language is the foundational language for microcontroller programming, akin to the brain language of the microcontroller, allowing our hardware devices to “understand” commands and perform operations. In today’s article, we will approach this from the perspective of beginners, introducing you to the basic knowledge … Read more

STM32 Beginner Tutorial: Light Up Your First LED with CubeIDE

STM32 Beginner Tutorial: Light Up Your First LED with CubeIDE

STM32 Beginner Tutorial: Light Up Your First LED with CubeIDE In the journey of learning microcontrollers, the classic “Hello World” is not about printing text on a screen, but rather lighting up an LED. This may seem simple, but it is an important step into the embedded world. In this tutorial, we will use the … Read more

How to Configure STM32 IO Ports

How to Configure STM32 IO Ports

1.0 The STM32 input and output pins have the following 8 possible configurations: (4 inputs + 2 outputs + 2 multiplexed outputs) 1) Floating Input _IN_FLOATING 2) Pull-Up Input _IPU 3) Pull-Down Input _IPD 4) Analog Input _AIN 5) Open-Drain Output _OUT_OD 6) Push-Pull Output _OUT_PP 7) Multiplexed Push-Pull Output _AF_PP 8) Multiplexed Open-Drain Output … Read more

Ingenious! 1 GPIO Controls 2 LEDs to Display 4 States

Ingenious! 1 GPIO Controls 2 LEDs to Display 4 States

Many electronic products have status indicator lights, such as TVs: Standby state lights upred light Power on state lights upgreen light It is very simple to implement, just control two GPIOs of the microcontroller (MCU): However, resources are always tight, and sometimes you may encounter situations where there are not enough GPIOs.If only using 1 … Read more

6 Ways to Identify PCBA Hardware Versions via Software

6 Ways to Identify PCBA Hardware Versions via Software

PCBA (Printed Circuit Board Assembly) refers to the process of mounting electronic components on a printed circuit board (PCB) to form a complete electronic product.PCBA is fundamental to the electronics industry, as nearly all electronic devices are composed of PCBA. The quality and performance of PCBA directly affect the lifespan, speed, stability, and reliability of … Read more

Introduction to Bare-Metal Programming with STM32

Introduction to Bare-Metal Programming with STM32

This series will introduce the basic knowledge of bare-metal programming with STM32 to better understand how frameworks and IDEs like STM32Cube and Keil work. This guide starts completely from scratch, requiring only a compiler and the chip’s datasheet, without relying on any other software tools or frameworks. This series covers the following topics: Memory and … Read more