1. View the chip manual Go to the official website to download the chip manual and view the manual. 1. As can be seen from the chip manual, the base address of GPIO (0x0300B000): 2. You can see the PC offset (0x0048) from the chip manual: The address of GPIOx is the GPIO base address […]
Tag: driver
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 […]
Asynchronous notifications, the cornerstone of the driver
Asynchronous notification process The key points start from ②: ② APP registers the signal processing function func for the SIGIO signal. Later, the APP receives SIGIO When a signal is generated, this function will be automatically called; ③ Tell the driver the PID (process ID) of the APP. This call does not involve the driver. […]
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 […]
selenium/webdriver operating principle and mechanism
I’ve been looking at some low-level stuff recently. Driver translates as driver, meaning driver. If you compare webdriver to a driver, it is very appropriate. We can compare WebDriver driving a browser to a taxi driver driving a taxi. There are three roles when driving a taxi: Passenger: He/she tells the taxi driver where to […]