lcd driver using linux kernel
LCD driver under Linux
In linux driver development, it is essential to use lcd for human-computer interaction. Therefore, how can we initialize lcd in the kernel?
1. LCD screen IO configuration
Open dts device tree file, create lcd child nodes in iomuxc
pinctrl_lcdif_dat: lcdifdatgrp {
fsl,pins = <
MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0 ...
Posted by rubbertoad on Fri, 18 Feb 2022 14:51:27 +0100
HaaS EDU situational application learning - electronic compass
Experimental introduction
"Electronic compass", as a very common function, is almost equipped with smart phones on the market by default. In life, it can help us find the right direction, assist in positioning and so on. In addition to mobile phones, electronic compass is also widely used in aviation, aerospace, robotics, navigatio ...
Posted by kankaro on Fri, 18 Feb 2022 08:52:28 +0100
[hard core] dream back to the bully
Growing up is a process of constant loss.
The author is a post-90s.
When we were young, our family conditions were poor and the means of entertainment were very poor. Unlike today's children who can play with mobile phones, tablets and computers, at that time, a stack of small raccoon Water Margin cards can play for a whole day. If there ...
Posted by George Botley on Thu, 17 Feb 2022 13:14:19 +0100
UCOS III learning record - time base list
Reference content: Chapter 13 of [wildfire] uCOS-III Kernel Implementation and application development Practical Guide - based on STM32.
1 data type definition and macro definition
1.1 time base list related macro definitions and global variables (os_cfg_app. H / C & OS. H)
In os_cfg_app.h, the macro defines the size of the time base ...
Posted by austar on Fri, 11 Feb 2022 13:05:36 +0100
Linux compiles mplayer to play badapp and compiles fbv to load pictures (based on V3S)
Linux compiles mplayer to play badapp and compiles fbv to load pictures (based on V3S)
1. Preparation before compilation:
1.linux5.10 kernel 2.2018.02bulidroot 3.v3s board
2.linux kernel configuration
1. Modify the device tree (under linux-5.10/arch/arm/boot/dts/)
1. Modify sun8i-v3s Add the following code to the location of the last dma o ...
Posted by arun4444 on Thu, 10 Feb 2022 07:19:40 +0100
STM32 learning from scratch -- detailed explanation of CAN communication code
STM32 learning from scratch @EnzoReventon
Detailed explanation of CAN communication code
Related links:
STM32 learning from scratch - physical layer of CAN communication protocol CAN bus specification v2 0 version Introduction to CAN bus Zhou Ligong - Chinese version of CAN protocol
reference material: [wildfire EmbedFire] practical guide f ...
Posted by kante on Wed, 09 Feb 2022 22:35:14 +0100
Can you use the C++20 coprocess that is easier to use than physical threads?
Absrtact: event driven is a common code model. It usually has a main loop that continuously receives events from the queue and then distributes them to the corresponding functions / modules for processing. Common software using event driven model includes graphical user interface (GUI), embedded device software, network server and so on.
This ...
Posted by a6000000 on Wed, 09 Feb 2022 15:45:37 +0100
Hongmeng kernel source code analysis (relocation article) | foreign spokesperson in line with international standards | 100 blog analysis of HarmonyOS source code | V55 01
Study HarmonyOS | Hongmeng to the end < domestic |Abroad >
A hundred blog series This article is:
v55.xx Hongmeng kernel source code analysis (relocation chapter) | external spokesman in line with international standards | 51 .c .h .o
This article is a continuation of the following articles. It is suggested to read it first
v54. ...
Posted by monkuar on Wed, 09 Feb 2022 12:47:40 +0100
Linux signal programming
For Linux, the actual signal is a soft interrupt, similar to the hard interrupt in MCU. Many important programs need to process the signal. Signal, which provides a method for Linux to deal with asynchronous events. For example, if the end user inputs ctrl+c to interrupt a program, it will stop a program through the signal mechanism.
Signal ov ...
Posted by Clarkey_Boy on Tue, 08 Feb 2022 19:00:09 +0100
STM32 input capture function and capture 8-channel waveforms at the same time.
STM32 input capture function uses TIM2 and TIM3 to capture 8-channel waveforms at the same time.
One of the requirements of work is to collect two groups of signals to control the stepping motor. It is to collect the square wave of 8 channels, measure the frequency and count the number of pulses. What looks simple has been bumping and bumping ...
Posted by askbapi on Tue, 08 Feb 2022 14:05:08 +0100