[learning notes] STM32F1 system clock configuration (register, standard library, HAL Library)
catalogue
4. System clock configuration
1. Experiment contents and steps:
2. Hardware description
3. Register description
1. Set PLL (i.e. 1,2,3)
2. Set the read / write cycle (i.e. 4)
3. Start HSE and PLL
4. Set SW (i.e. 5)
5. Set AHB, APB1 and APB2 (i.e. 6)
4. Program design (register)
5. Program design (Standard Library)
6. Progr ...
Added by kaisellgren on Sun, 23 Jan 2022 16:49:42 +0200
Obtain the weather and display it on the OLED through STM32 and Esp8266
Obtain the weather and display it on the OLED through STM32 and Esp8266
Experiment overview: send AT command to esp8266 serial port through stm32 to connect it to its own hotspot to obtain the weather, and send it back and display it on OLED through serial port
Serial communication
Let stm32 communicate with esp8266 through serial port, whic ...
Added by Mykasoda on Sun, 23 Jan 2022 03:02:17 +0200
[learning notes] STM32F1 SYSTICK tick timer (register, standard library, HAL Library)
catalogue
0. Bloggers understand:
1. Experiment contents and steps:
2. Hardware description
3. Register description
3.1 SysTick clock and enable:
3.2 SysTick reload value register:
3.3 SysTick interrupt priority:
3.4 SysTick interrupt function:
4. Program design (register)
5. Program design (Standard Library)
6. Program design (HAL L ...
Added by c-o-d-e on Sat, 22 Jan 2022 07:34:32 +0200
Understand the process of STM32 lighting LED line by line
preface
I remember that when I first started learning stm32, the first program was to turn on the LED light, but at that time, I only knew about the process and did not know the meaning of each line of code, so today I went back to take notes and understand each line of code. The development board I use is STM32ZET6 of punctual atom.
Working ...
Added by Weedpacket on Sat, 22 Jan 2022 05:22:22 +0200
Write STM32F103C8T6 driver library from scratch -- write GPIO driver
Catalogue of series articles
Github open source address Write STM32F103C8T6 driver library from scratch (I) -- STM32CubeMX create and adjust engineering structure Write STM32F103C8T6 driver library from scratch (II) -- write system initialization program and configure clock tree Write STM32F103C8T6 driver library from scratch (III) -- write GP ...
Added by Adamthenewbie on Fri, 21 Jan 2022 18:27:14 +0200
STM32 - external interrupt configuration
STM32 - external interrupt configuration
Overall diagram of external interrupt configuration:
The steps are as follows:
Configure RCC and turn on the clocks of the peripherals involved here. There is no way to work without turning on the clock peripherals.Configure GPIO and select our port as the input mode.Configure AFIO, select the GPI ...
Added by RoundPorch on Fri, 21 Jan 2022 17:10:45 +0200
STM32 drives WS2812B-2020 RGB color lights
STM32 drives WS2812B-2020 RGB color lamp (II)
In the previous section, we briefly analyzed some hardware driving principles of WS2812B-2020 color lights, and sorted out the driving ideas. Refer to the previous article for details: STM32 drives WS2812B-2020 RGB color lamp (I)
Next, we analyze step by step how to use code to light the color lig ...
Added by jateeq on Fri, 21 Jan 2022 13:49:28 +0200
FreeRTOS operating system -- counting semaphores
FreeRTOS operating system
preface
Counting semaphores are called numerical semaphores. Binary semaphores are equivalent to queues with a length of 1, so counting semaphores are queues with a length greater than 1. Like binary semaphores, users do not need to care about what data is stored in the queue, but only whether the queue is empt ...
Added by estero2002 on Fri, 21 Jan 2022 02:13:05 +0200
STM32 uses IIC bus communication protocol to display string, Chinese character and image on OLED screen (hardware IIC)
Reference: use based on STM32 OLED (IIC) Author: struggling little Yin Release time: 2021-05-07 13:09:26 website: https://blog.csdn.net/boybs/article/details/116465668
IIC introduction
IIC protocol introduction
IIC communication protocol (inter integrated circuit) is developed by Phiips Philips. Due to its few pins, simple hardware imp ...
Added by ASDen on Thu, 20 Jan 2022 21:10:06 +0200
Temperature alarm based on CC2530(ZigBee design)
catalogue
1. Function introduction
2. Introduction to hardware wiring
2.1 DS18B20 temperature sensor
2.2 ESP8266 WIFI module
3. Case code
3.1 upper computer of QT design
3.2 node B DS18B20 code
3.3 coordinator-ESP8266 code
1. Function introduction
This is a remote temperature alarm designed based on CC2530. The ambient temperature ...
Added by hnissani on Thu, 20 Jan 2022 02:09:02 +0200