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 […]

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 […]

Nvidia graphics card Failed to initialize NVML Driver/library version mismatch error solution

GPT has become quite popular recently, so I started to experiment with the GPU to run projects: https://github.com/OpenTalker/SadTalker Today I suddenly found that the program could not be used. After investigation, it was probably due to the inconsistency between the NVIDIA kernel driver version and the system driver version. The solutions to this error are […]

10. SpringCloud Stream message driver

1. Overview 1.1. Why should you learn it There are currently multiple versions of message broker middleware: RabbitMQ, Kafka, RocketMQ, ActiveMQ, etc. The problems caused are: Developers’ learning costs are high The cost of switching between multiple mqs is high Therefore, there is a need for a product so that our developers do not need […]