STM32 development of OLED data display based on SPI interface

1, SPI introduction SPI is the abbreviation of English Serial Peripheral interface. As the name suggests, it is the Serial Peripheral interface. It was first defined by Motorola on its MC68HCXX series processors. SPI interface is mainly used between EEPROM, FLASH, real-time clock, AD converter, digital signal processor and digital signal d ...

Posted by -twenty on Wed, 24 Nov 2021 20:40:36 +0100

AXI protocol and custom AXI4-Lite peripherals

Introduction _Previously, the design was done on Xilinx's field bus, but only the AXI interface was known, but the protocol was not fully understood. Now it is necessary to design the whole system with AXI bus, so it is necessary to know this protocol in detail. Reference material IHI0022H: AMBA AXI and ACE Protocol Specification IHI0051A: A ...

Posted by highjo on Wed, 24 Nov 2021 19:35:26 +0100

Data acquisition of AHT20 temperature and humidity sensor based on I2C protocol (serial output)

1, I2C bus communication protocol 1.I2C protocol I2C (inter integrated circuit), an integrated circuit bus, is a serial communication bus. It uses a multi master-slave architecture. It was designed by Philips in the early 1980s to facilitate the communication between the motherboard, embedded system or mobile phone and peripheral equipment co ...

Posted by simcoweb on Tue, 23 Nov 2021 21:27:44 +0100

Raspberry pie 48 / 100 - in depth study of WS2812 lantern PIO assembler

About PIO(Programmed I/O) programming in Pico of raspberry pie, four articles have been written earlier: When you first know the PIO in Pico, a more advanced way is to make the small light flash Deeply study the instruction cycle in PIO Understand the assembly code in PWM Control seven segment nixie tube with PIO out command former WS281 ...

Posted by SargeZT on Thu, 11 Nov 2021 05:51:00 +0100

9 51 single chip microcomputer - (HC-SR04) ultrasonic ranging module

4.9 (HC-SR04) ultrasonic ranging module 4.9.1 physical drawing of ultrasonic module There is no ultrasonic ranging module on the experimental board, which is used in the form of external module. Figure 4-9-1 Figure 4-9-2 Function introduction of GPIO port of ultrasonic module: (1) VCC supplies 5V power (2) . GND is the ground wire ( ...

Posted by bradcis on Mon, 08 Nov 2021 06:44:27 +0100

163 basic concepts of input subsystem

I Unified management of external input devices, such as: Key keyboard mouse touch screen ... User space interface /dev/input/event0/1/2/.../dev/input/mouse0/1/2 /... (mouse)/dev/input/sj0/1/2/...... Hierarchical model Core layer Create input device class Distribute events to different event processors according to the type of input devic ...

Posted by youngloopy on Sat, 06 Nov 2021 06:17:43 +0100

[RTOS] queue structure based on RTOS source code

catalogueprefaceIPCMember analysiscRxLock and cTxLockTrigger unblockAttachment - source code preface The following RTOS is based on FreeRTOS source code analysis. It is recommended to look at the source code directly. Li Zhuming's blog: https://www.cnblogs.com/lizhuming/p/15487239.html IPC I think one of the structures that must be understood ...

Posted by Grimloch on Thu, 04 Nov 2021 06:35:38 +0100

[FPGA serial of punctual atom] Chapter 26 infrared remote control experiment - FPGA Development Guide from the new starting point of punctual atom_ V2.1

1) Experimental platform: new starting point V2 development board of punctual atom 2) Platform purchase address: https://detail.tmall.com/item.htm?id=609758951113 2) Full set of experimental source code + manual + video download address: http://www.openedv.com/thread-300792-1-1.html 3) Students interested in punctual atomic FPGA can add group d ...

Posted by shah on Wed, 03 Nov 2021 05:08:42 +0100

Framebuffer programming summary, I hope everyone can learn

🌹 Introduction of 0.FrameBuffer Framebuffer is a driver interface that appears in the 2.2.xx kernel. In Linux system, LCD is controlled by framebuffer driver. Frame means frame and buffer means buffer, which means that framebuffer is a piece of memory that holds a frame of image. We can understand that each point is a pixel. The units of ...

Posted by fxb9500 on Tue, 02 Nov 2021 20:40:48 +0100

[STM32] realize serial communication based on STM32F407 interrupt mode

1, Interrupt introduction Specific introduction and reference articles: [STM32] lighting of interrupt switch based on STM32F407 2, Interrupt mode to realize serial communication 1. New construction Create an STM2CubeMX project for STM32F407: 2. Project setting Setting RCC Set the high-speed external clock HSE and select the external ...

Posted by jonnyw6969 on Tue, 02 Nov 2021 18:18:23 +0100