STM32F103C8T6 porting uCOS based on HAL Library

preface All operations during the experiment must be careful and careful. Do not rush to operate. The error of the final experiment operation is often caused by the error of a small step. Experimental requirements Learn the embedded real-time operating system (RTOS), take uc/OS-III as an example, transplant it to stm32F103, and build at ...

Posted by wcsoft on Mon, 06 Dec 2021 12:42:16 -0800

STM32F103C8T6 Porting uC/OS-III Based on HAL Library

1. Get uC/OS-III source code 1. Download on the official website Enter the download center of Micrium's official website: Micrium Software and Documentation - Silicon Labs Select the ST series and click View all STMicroelectronics.     2. Building stm32 hal Library Project Open stm32 cubeMX, select the chip stm32f103c8, configure the syst ...

Posted by hadingrh on Sat, 04 Dec 2021 11:13:47 -0800

Handheld Lab V8 Series Tutorial Introduction to I2C Bus

Catalog Introduction to 1 I2C Bus How 2 I2C Bus works 2.1-bit and byte transfers 2.2 Common data transfer formats     2.3 Several related definitions 3 Software Analog I2C Host Program Introduction to 1 I2C Bus         Bus (Bus) is a common communication trunk for transmitting information between various ...

Posted by itandme on Sat, 04 Dec 2021 10:10:46 -0800

STM32F103C8T6 uCOS migration based on HAL Library

Based on HAL library, this paper realizes the transplantation of uCOS by using STM32CubeMX software and STM32F103C8T6 software. 1, CubeMX establishes STM32F103C8T6HAL Library For details about the use of CubeMX here, please refer to my previous articles. Here you can operate directly without too much introduction. Installation and light ...

Posted by GuiltyGear on Fri, 03 Dec 2021 21:50:08 -0800

[STM32] PWM driven steering gear (TIM3CH2)

** [STM32]PWM driven steering gear thinking 1. Output pulse signal with PB5 2. Understand the principle of PWM 3. Understand the relevant settings of steering gear 4. Knock the code to correct the bug Related hardware STM32C8T6 Minimum system board SG90 steering engine Jlink DuPont line Relevant knowledge steering engine High leve ...

Posted by happyhappy on Fri, 03 Dec 2021 13:43:33 -0800

C Primer Plus sixth edition programming exercise Chapter 7 answers

1. Write a program to read the input, stop reading the # characters, and then report the number of spaces, line breaks and all other characters. /*7.12*/ #include<stdio.h> #define STOP '#' #define BLACK ' ' #define NEWLINE '\n' int main() { char ch; int n_black = 0; int n_NEWLINE = 0; int n_others = 0; printf("please enter the char: ...

Posted by allexx_d on Thu, 02 Dec 2021 17:49:53 -0800

Installing the nacos image in Mac M1

For the windows system I used before, the newly purchased M1 just arrived a few days ago. I encountered some problems when running the nacos container with docker desktop, so I make a record. I also hope my experience can help more people. First, the nacos image on the docker hub official website does not support the arm architecture. You need ...

Posted by chrisdarby on Sun, 28 Nov 2021 08:03:00 -0800

Data display of 0.96 inch OLED display based on STM32

1, SPI (serial peripheral interface) 1.1 definition of SPI SPI (Serial Peripheral Interface) is the Serial Peripheral Interface. SPI is a high-speed, full duplex, synchronous communication bus, and only occupies four wires on the pins of the chip, saving the pins of the chip. SPI is a ring bus structure, which is composed of ss(cs), sck, ...

Posted by fipp on Fri, 26 Nov 2021 15:11:20 -0800

Display name, student number, temperature, humidity and character scrolling based on OLED

catalogue 1, SPI introduction 2, OLED displays name and student number   3, OLED display temperature and humidity 4, OLED displays scrolling characters 5, Summary   6, Reference link 1, SPI introduction 1. Introduction to SPI protocol       SPI protocol is a serial peripheral interface proposed by Motorola, wh ...

Posted by iacataca on Fri, 26 Nov 2021 12:41:17 -0800

STM32 uses AHT20 temperature and humidity sensor to realize data acquisition based on I2C protocol

catalogue 1, I2C protocol 1. What is the I2C protocol 2.I2C physical layer 3.I2C protocol layer 4. Two ways of I2C - hardware I2C and software I2C 2, Data collection using AHT20 1. Learn about AHT20 chip 2. Connect hardware 3. Code 3, Summary 4, References 1, I2C protocol 1. What is the I2C protocol I2C communication protocol (In ...

Posted by nadeem14375 on Thu, 25 Nov 2021 12:29:17 -0800