Linux driver development – PCI device driver

Table of Contents 1. Introduction to PCI protocol 2. PCI and PCI-e 3. Linux PCI driver 4. PCI device driver examples 5. Bus device driver development exercises 1. Introduction to PCI protocol PCI (Peripheral Component Interconnect, Peripheral Component Interconnect) local bus is a bus standard developed by Intel and several other companies. It was originally […]

Porting the st7789 screen driver to Allwinner XR806

Foreword I am very glad to have the opportunity to participate in the “Free Trial” Allwinner XR806 Wi-Fi + BLE development board trial event equipped with ARM Technology STAR-MC1 held by Jishu Community. I became interested in Quanzhi’s MCU chips last year, but I never had the opportunity to get in touch with them. When […]

Build a keyword-driven automated testing framework

Preface In the last article, we have learned how the data-driven automated testing framework builds and drives tests! So in this article we will learn how keyword-driven testing drives automated testing to complete the entire testing process. Keyword-driven framework is a functional automation testing framework, which is also known as table-driven testing or action word-based […]

uboot – driver development – dw watchdog

Description The watchdog module used by the company’s SOC is Synopsys’ IP. Requirements Users sometimes do some development in uboot/kernel and add some new functions (OTA upgrade, etc.), which may cause problems such as uboot/kernel startup crash or even device freeze. It is necessary to enable watchdog during the uboot startup phase to monitor the […]

Linux driver HC_SR04 distance sensor usage reference and simple notes

Foreword HC_SR04 This distance sensor interface is relatively simple. Simply implement a driver as a learning example. Driver file #include <linux/init.h> #include <linux/module.h> #include <linux/unistd.h> #include <linux/fs.h> #include <linux/cdev.h> #include <linux/gpio.h> #include <mach/platform.h> #include <linux/uaccess.h> #include <linux/device.h> #include <linux/sched.h> #include <linux/irq.h> #include <linux/interrupt.h> #include <linux/timer.h> #include <linux/wait.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/delay.h> #include <linux/sched.h> […]

[Orangepi Zero2 Allwinner H616] Driver serial communication

1. Basic understanding of serial port 2. Serial port electrical standards and protocol standards 3. Serial communication protocol 4. Using serial port communication in Linux system 5. orangepi zern2 two sets of serial ports 6. Serial test serialtest Modify the configuration file according to the manual According to the results, we know that the code […]

ESP32 IDF Development Driver Chapter 5 GPIO and External Interrupt Explanation

ESP32 IDF Development Driver Chapter 5 GPIO and External Interrupt Explanation 1 Introduction 2. Principle 3. Related functions 4. Software design 5. Example analysis 6. The following are the debugging results: Don’t get lost-Navigation bar Quickly navigate to find what you want (article directory) If this article is useful to you, please like and save […]