STM32 program architecture kernel porting
catalogue
1, Why use program architecture
2, Transplantation practice
3, Explanation of system execution process
4, Explanation of queue algorithm
1, Why use program architecture
1. Improve the stability of the program and avoid code conflict.
2. Solve common pain points in product development.
For example, short press, short pre ...
Added by Aretai on Tue, 12 Oct 2021 04:49:05 +0300
STM32 external interrupt
1 overview of external interrupts
EXTI (External interrupt/event controller) - External interrupt/event controller, which is different from the external interrupt of CM3 kernel described in STM32NVIC interrupt priority management (interrupt vector table). Specifically, the external interrupt of ...
Added by guidance on Mon, 04 Oct 2021 04:59:42 +0300
msp432 quick start section 13 serial communication
(1) MSP432 serial port introduction
MSP432P401R does not have a special serial port device. To use the EUSC module to configure UART mode, serial port communication is very convenient and easy to use. It is the most common interface in embedded devices. Here, we configure the serial port of MSP432 to 8in1 mode, 8-bit data, 1-bit s ...
Added by BluePhoenixNC on Mon, 04 Oct 2021 02:40:37 +0300
Very easy to use host computer software (powerful) - anonymous four axis host computer
catalogue
Article catalog
preface
1, What is the upper computer
2, Anonymous four axis host computer
1. Function
2. Some simple protocols of software
3, Relevant receiving and sending codes
1, Receive data
2. Send data
summary
preface
For MCU developers, debugging tools are essential. Sometimes they need to display wavefor ...
Added by PupChow on Sun, 03 Oct 2021 03:37:42 +0300
STM32 review notes - GPIO lit LED
STM32 review notes (II) -- GPIO lit LED
MDK version:MDK 5.35.0.0Chip model:STM32F103C8T6Firmware library version:STM32F10x_StdPeriph_Lib_V3.5.0
1.GPIO port bit mode Input floating input pull-up input pull-down analog input Open drain output push-pull output push-pull multiplexing function open drain multiplexing function
2.GPIO port bit struc ...
Added by unclebob on Sun, 03 Oct 2021 02:57:56 +0300
Little knowledge of C language -- printf() function
speaking of printf() function, students who write code must be very familiar with it. This is a standard printing function in C language, which is often used when debugging code or information output.
The conversion of printf function is described as follows:
Conversion description modifier
Tags in printf()
The following ...
Added by Teaky on Sat, 02 Oct 2021 03:53:25 +0300
Voice controlled infrared experiment
1, Introduction to experiment
A small experiment made by personal learning. The function is to use the voice and infrared functions of one board to control the LED light on and off and buzzer response of another board.
2, Modules used
1. Two stm32f4 series boards
2. One ld3320 speech recognition module
3. 2 infrared transceiver modules (wi ...
Added by ProTec on Fri, 01 Oct 2021 07:03:43 +0300
stm32 efficient serial port transceiver
serial communication
Serial port
Serial interface is abbreviated as serial port, also known as serial communication interface or serial communication interface (usually COM interface), which is an extended interface using serial communication mode. Serial interface refers to the sequential transmission of data bit by bit. Its characteris ...
Added by gerry123 on Tue, 28 Sep 2021 14:11:37 +0300
STM32 interrupt application
1. Introduction to interruption
The code is mainly distributed in the firmware library
stm32f10x_exti.h
and
stm32f10x_exti.c
File.
Here we first
STM32 IO
Some basic concepts of port interrupt.
STM32
Each of
IO
Can be used as an external interrupt
Interrupt input port, which is also true
STM32
The power of.
...
Added by yousaf931 on Tue, 21 Sep 2021 00:43:53 +0300
Single chip microcomputer learning (3 - turn on the LED light)
Note: the model of this single chip microcomputer is STC15F2K60S2
principle
As shown in the figure, light emitting diodes L1-L8 are in common positive connection, and VCC is the positive pole of power supply, with high level. It is known that the LED is on in the forward direction and off in the reverse direction. In order to make the diode l ...
Added by Cogen on Mon, 20 Sep 2021 23:29:51 +0300