Embedded Linux development 7 -- UART serial communication

1. Background knowledge 1.1 UART communication format    the full name of serial port is called serial interface, which is usually also called COM interface. Serial interface refers to the sequential transmission of data one by one, and the communication line is simple. Two lines can be used to realize two-way communication, one for ...

Posted by argoSquirrel on Tue, 11 Jan 2022 01:01:21 +0100

MSP430FR6989 series tutorial LCD

MSP430FR6989 series tutorial LCD Since MSP430 pursues the characteristics of low power consumption, the LCD mounted on MSP430FR6989 is not our usual LCD display (TFT LCD), but a segment LCD MSP430FR6989 series tutorial water lamp MSP430FR6989 series tutorial serial communication MSP430FR6989 series tutorial timer MSP430FR6989 series tutor ...

Posted by pedro84 on Wed, 05 Jan 2022 08:38:11 +0100

LED lamp driving experiment of linux

In front, we all write our own LED lamp drivers. In fact, for very basic device drivers such as LED lamps, the Linux kernel has been integrated. The LED driver of Linux kernel adopts platform framework, Therefore, we only need to add corresponding LED nodes in the device tree file as required, 1, linux kernel comes with LED driver enable ...

Posted by jsinker on Tue, 04 Jan 2022 12:43:32 +0100

linux kernel timer experiment

Timer is the most commonly used function. It is generally used to complete the timing function. In this chapter, we will learn the timer API functions provided by the Linux kernel. Through these timer API functions, we can complete many applications requiring timing. The Linux kernel also provides short latency functions, such as Microsecon ...

Posted by statrat on Tue, 04 Jan 2022 05:37:08 +0100

aipu model for r329 development board deployment

Last article r329 simulation The network is simulated on the simulator. Now when you apply to the development board, you have the opportunity to test it. Raw materials required in this paper r329 development boardsd cardsd card readerusb cable of typecA windows computerA linux computer Overview of development board: Including motherboard, s ...

Posted by curtis_b on Mon, 03 Jan 2022 05:18:02 +0100

platform device driving experiment

1, Separation and layering of linux Driver The device drivers we wrote in the previous chapters are very simple. They are the simplest read and write operations for IO. The drivers of complex peripherals such as I2C, SPI and LCD cannot be written in this way. Linux system should consider the reusability of drivers, so it puts forward the ...

Posted by Sillysoft on Mon, 03 Jan 2022 01:21:16 +0100

FreeRTOS advanced part 3 -- Analysis of FreeRTOS scheduler startup process

Using FreeRTOS, a basic program architecture is as follows: int main( void) { Necessary initialization; Create task ...

Posted by rsasalm on Sun, 02 Jan 2022 06:09:18 +0100

Speech Control LCD Screen Lighting Based on STM32F1 Series and LDV5 Speech Module

This article is based on the wildfire guider F103 onboard LCD screen control, if there are any inaccuracies, welcome to refer to the orthogonal flow! Preface This article first briefly introduces the principle and initialization of STM32 external interrupt EXTI and LDV5 voice module, then uses external interrupt EXTI to control the on-b ...

Posted by hoogie on Sat, 01 Jan 2022 19:58:02 +0100

HarmonyOS device development - environment construction

Bought a Runhe Hongmeng development board, but the environment was not built well for several times. The main reason is that the official documents are very confused. Record the successful construction process Based on the tutorials of the following three websites, the system is Ubuntu 20.04. This article is to build the environment under Ub ...

Posted by eggradio on Sat, 01 Jan 2022 12:14:02 +0100

Open source code cross compilation operation process and problem solving (lightdm)

Operation process The main process is as follows. Firstly, mount the file system image on the built template board, and use qemu + chroot to enter the arm file system. The specific operations are as follows: The file system image file is rootfs IMG, the mounting path is / home/jw/disk_2/rk356x_rootfs/rootfs, you can build the following ...

Posted by TLawrence on Fri, 31 Dec 2021 16:47:04 +0100