Reprint [UCOSii source code interpretation] priority algorithm and kernel source code analysis
Series articles
UCOSii startup process and platform related document analysisPriority algorithm and kernel source code analysistask managementtime managementEvent control blockmemory management Inter task communication and synchronization
preface
In fact, more than a year ago, I had the idea to write the sour ...
Added by unreal128 on Mon, 03 Jan 2022 10:06:12 +0200
Fall detection algorithm - differential threshold
Overall thinking
According to the relevant data, if the acceleration is divided into three directions: X, y and Z, the Z axis is perpendicular to the ground, and the X and Y axes are parallel to the ground, the acceleration in the Z axis direction is about equal to the gravitational acceleration g under normal conditions; In case of falling be ...
Added by white99 on Mon, 03 Jan 2022 09:23:07 +0200
STM32MP157 experiment - key scanning and interrupt
Key scan
Design requirements
By means of key scanning, press key_ Press the user1 (KEY1) key to turn on the LED_GREEN, press again to turn off the LED_GREEN; Press key_ Press the user2 (key2) key to turn on the LED_YELLOW, press again to turn off the LED_YELLOW.
Basic knowledge
The front LED light controls the GPIO output, and the key ...
Added by VagabondKites on Sun, 02 Jan 2022 15:56:06 +0200
LCD12864 of Yiwen society displays Chinese, English and reverse display
1. Basic principles
In fact, driving the LCD is to write data to the LCD display memory. The place where 1 is written is displayed, and the place where 0 is written is not displayed. The reverse display is just the opposite; Since the video memory is distributed in 128 columns and 64 rows, it is also called 12864 liquid crystal.
2. Basic char ...
Added by usamaalam on Sun, 02 Jan 2022 01:33:03 +0200
STM32+W5500 network communication
STM32+W5500 network communication
Board: STM32F103C8
Module: W5500
Transplantation system: uc/OS-III
Compiler: keil & stm32cubemx
Burning tool: FlyMcu
1, W5500 & demos
1. W5500 Ethernet module
Niren_W5500 module is an Ethernet module based on WIZnet W5500 chip, which is the successor of clay figurine electronics Nir ...
Added by khanfahd on Sat, 01 Jan 2022 18:14:30 +0200
[how to develop STM32 gracefully] Chapter 1 uses VSCode to configure the development environment and standardize the code lighting
Because the Keil interface looks old, the functions of code prompt and automatic formatting are not very easy to use. In order to beautify and standardize our code, here is a development method using MinGW+GNU Arm Embedded Toolchain+Makefile+OpenOCD. Of course, the editor is also a powerful VSCode
1, Required tools
First of all, we need STM ...
Added by jhuaraya on Fri, 31 Dec 2021 18:57:36 +0200
Font reading and display of dot matrix Chinese characters
1, Serial port transmission file
Two ttl to usb interfaces are used to connect the two computers Using serial communication assistant 1. Select file
2. 115200 baud rate file transfer
3. 19200 baud rate file transfer The higher the rate, the higher the file transfer efficiency and the less time it takes
2, Chinese character overlay di ...
Added by rdoylelmt on Wed, 29 Dec 2021 16:01:30 +0200
STM32+W5500 network communication
I Theoretical overview
Introduction to W5500 Ethernet module:
Niren_W5500 module is an Ethernet module based on WIZnet W5500 chip, which is the successor of clay figurine electronics Niren_W5100 module is an Ethernet module with better performance and higher cost performance. Module integrated hardware TCP/IP protocol: internal 32K byt ...
Added by mike_y on Wed, 29 Dec 2021 00:44:49 +0200
2021-07-31 STM32F103 Buffer SPI Transfer buffer communication
SPI This article shows STM32 SPI Transfer The content involves: SPI byte data analog output independent write cache read and write Identification of USART serial port IO port input / output External interrupt processing of key 32-bit data communication, string communication, single character communication Full code: : GIT source code
...
Added by Adarmo on Mon, 27 Dec 2021 23:32:20 +0200
STM32+W5500 network communication
I Introduction to W5500 Ethernet module
Niren_W5500 module is an Ethernet module based on WIZnet W5500 chip, which is the successor of clay figurine electronics Niren_W5100 module is an Ethernet module with better performance and higher cost performance. Module integrated hardware TCP/IP protocol: internal 32K byte memory as TX/RX Cache: suppo ...
Added by allspiritseve on Mon, 27 Dec 2021 13:23:34 +0200