Use of queue in CMSIS/FreeRTOS

In the embedded system with streaming data processing, queue is almost inevitable to be used, but the FreeRTOS routines provided by most development boards do not contain queue, so you have to study it yourself. This time, my example inserts the data received from the serial port into the queue by bytes and then let another thread process it. T ...

Posted by kaushikgotecha on Tue, 01 Feb 2022 05:24:37 +0100

Comprehensive experimental report of single chip microcomputer-06 | design of digital thermometer

1, Purpose and task of the experiment 1. Familiar with the characteristics and working principle of single bus and DS18B20 sensor. 2. Master the hardware structure and program design method of digital thermometer. 2, Introduction to experimental principle ZSC-1 experimental box is equipped with DS18B20 digital temperature sensor, LED nixie ...

Posted by nano on Mon, 31 Jan 2022 17:39:19 +0100

STM32_ Basic introduction_ NVIC interrupt priority management

Continue to pay attention to Ajie's online update of nanny notes ~ ~ adhere to the daily shift Reference: STM32 Chinese reference manual V10 - Chapter 9 interrupts and events catalogue 1, NVIC interrupt priority grouping Interrupt priority packet register Describe the difference between preemption priority and response priority: Interru ...

Posted by gregor63 on Sun, 30 Jan 2022 16:32:55 +0100

While my roommate was playing the peak game, I quietly learned the SysTick timer of STM32

CSDN blog home page ID : Eterlove One by one, record my study and life! Standing on the shoulders of giants of Giants! This article is original, please indicate the source and author! preface We often use delay to complete some project requirements, and often use the software delay achieved by CPU empty cycle to realize it. Its method has t ...

Posted by turtlefox on Sun, 30 Jan 2022 01:45:51 +0100

Project 2 eight storey elevator based on single chip microcomputer

The author wants to help some children's shoes and lovers build projects, but his self-knowledge ability is limited, he doesn't like to talk about it, it's not easy to create, don't spray. The system adopts the elevator analog control system based on STC89C52 chip, and designs and simulates the basic functions of the elevator control system. T ...

Posted by dourvas on Sat, 29 Jan 2022 09:56:41 +0100

Raspberry pie science experiment 4B--04_ Temperature and humidity sensor

Small experiment catalogue Raspberry pie science experiment 001 turn on the first LED 002 light up the LED lamp group 003_ Switch control LED light 004_ Obtain temperature and humidity Tip: after writing the article, the directory can be generated automatically. For how to generate it, please refer to the help document on the right p ...

Posted by allenskd on Fri, 28 Jan 2022 23:12:05 +0100

Landscape lighting control system based on CC2530(ZigBee) + supporting mobile APP

1, Environment introduction Compiling integrated development environment: IAR MCU: CC2530(ZigBee) Programming language: C language Mobile APP: QT design is adopted, and the program supports cross platform compilation and operation (Android, IOS, Windows and Linux can be compiled and run, and the corresponding QT environment on the platform ...

Posted by bluetonic on Fri, 28 Jan 2022 22:03:50 +0100

STM32 learning notes (four serial port communication 3 serial port register library function configuration)

1, Common serial port register USART_SR status register Function: the status register is applicable to detect the status of the serial port at this time. Mainly focus on two bits: RXNE and TC (bits 5 and 6). RXNE (non empty read data register): when this bit is set to 1, it indicates that data has been received and can be read out (that is, t ...

Posted by jumpingmatflash on Fri, 28 Jan 2022 18:12:59 +0100

k210 C language development-4 read and play fireworks video from sd card

k210 C language development-4 Let's start with the results map. I wish you all a happy New Year! Original video of station B The day before yesterday, I accidentally saw an activity of CSDN. I could see anything related to fireworks, and then I was going to play a fireworks video with k210. As a result, I found that this activity was to set o ...

Posted by racer x on Fri, 28 Jan 2022 02:51:28 +0100

[lianshengde W806 starting notes] IX. DMA

Windows 10 20H2 HLK-W806-V1.0-KIT WM_SDK_W806_v0.6.0 From W806 MCU chip specification V2.0 and WM_W800_register manual V2.1 DMA controller It supports up to 8 channels and 16 DMA request sources, and supports linked list structure and register control. Amba2.0 standard bus interface, 8 DMA channels Support DMA operation based on me ...

Posted by pipe_girl on Thu, 27 Jan 2022 18:14:06 +0100