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

Design and Implementation of Automatic Baud Rate Recognition Program for UART

Design and Implementation of Automatic Baud Rate Recognition Program for UART

Hello everyone, I am Pi Zi Heng, a serious technical person. Today, I will share with you the design and implementation of an automatic baud rate recognition program for UART in embedded systems. The UART (Universal Asynchronous Receiver-Transmitter) is the most basic, commonly used, and simplest communication (data transmission) method in embedded systems. It can … Read more

Understanding SPI, I2C, UART, I2S, GPIO, SDIO, and CAN: Can You Differentiate Them?

Understanding SPI, I2C, UART, I2S, GPIO, SDIO, and CAN: Can You Differentiate Them?

Buses, buses, you always get caught up in them. All signals in this world are the same, but there are thousands of buses, which can be quite a headache. In general, there are three types of buses: internal buses, system buses, and external buses. The internal bus connects various peripheral chips within the microcomputer to … Read more

Renesas RA8 Series Tutorial | Methods to Run RTOS on RA8 Based on e2s

Renesas RA8 Series Tutorial | Methods to Run RTOS on RA8 Based on e2s

Following the previous article titled “Renesas RA8 Series Tutorial | Configuration of RA8 Serial Output Based on e2s“, today we will teach you how to quickly set up a FreeRTOS project.In the past, software tools were not as mature, and setting up a FreeRTOS project required manual porting step by step. Many users complained that … Read more

Embedded Linux Driver Development Secrets: Detailed Explanation of GPIO, I2C, and SPI Drivers

Embedded Linux Driver Development Secrets: Detailed Explanation of GPIO, I2C, and SPI Drivers

Do you want to delve into the Linux kernel and write your own drivers? This tutorial will take you from scratch to mastering the core skills of Linux driver development, and through rich practical cases, you will quickly acquire the ability to write various types of drivers! 1. Preparation: Environment Setup and Tool Installation This … Read more

Fundamentals of Four-Line SPI Communication and Daisy Chain Configuration

Fundamentals of Four-Line SPI Communication and Daisy Chain Configuration

Formatting | Last BugThe main content shared today is derived from ADI’s SPI knowledge study. SPI is one of the most commonly used communication methods in embedded development. However, most embedded software engineers often focus more on upper-layer software development and tend to overlook some underlying signal formats. When communication issues arise, it can be … 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

AC6959A: A Low-Power Bluetooth Chip from Zhuhai Jieli

AC6959A: A Low-Power Bluetooth Chip from Zhuhai Jieli

The AC6959A isa high-performancelow-power Bluetooth chip from Zhuhai Jieli, featuring several remarkable characteristics. Its core is a high-performance 32-bit DSP with FPU support, capable of operating at frequencies from DC to 240MHz, equipped with 64 vector interrupts and 4 levels of interrupt priority. The I/O is flexible, with 6 GPIO pins, each of which can … Read more

Evaluation of 50 Cent MCUs: How Fast Can GPIO Toggle?

Evaluation of 50 Cent MCUs: How Fast Can GPIO Toggle?

Recently, an engineer asked me how fast the highest toggle speed of an MCU can reach. I had heard about this topic years ago, but I had never actually tested it. This time, I took the opportunity to conduct some tests and discovered a lot of knowledge hidden within. For this test, I selected three … Read more

Understanding Various Buses: A Comprehensive Guide to SPI, I2C, UART, I2S, GPIO, CAN, and SDIO

Understanding Various Buses: A Comprehensive Guide to SPI, I2C, UART, I2S, GPIO, CAN, and SDIO

Buses, buses, they always get you tangled up. In this world, signals may be the same, but there are thousands of buses, which can be quite a headache. In general, there are three types of buses: internal buses, system buses, and external buses. Internal buses are used for interconnections between peripheral chips and processors within … Read more