STM32 basic timer interrupt

Tip: After the article is written, the table of contents can be automatically generated. For how to generate it, please refer to the help document on the right. Article directory Preface 1. What is the structure of STM32 timer? 1. Structure of 51 timer 1.1 How to implement the 1s timing function? 2. Structure of […]

Java programming – multi-threading/multi-threading construction/multi-threading properties/thread interruption/thread status/thread waiting

Foreword Sail against the current, if you don’t advance, you will retreat! ! ! Processes and threads What is a process? Answer: A process is the smallest unit for the operating system to allocate resources. It is an instance of a running program, or a dynamic execution of an application. For example, when you open […]

STM32 uses interrupts and DAM to complete serial communication

(1) Serial port protocol and RS-232 standard 1. Introduction to serial port protocol Serial Communication is a very commonly used serial communication method between devices. Because it is simple and convenient, most electronic devices support this communication method. Electronic engineers often use this communication method to output debugging when debugging equipment. information. In computer science, […]

Serial communication based on interrupt/DMA mode

1. Introduction to serial communication protocol and RS-232 and the working principle of USB/TTL to 232 module 1. Serial protocol and RS-232 standard: (1) Serial port protocol: Serial Communication is a very commonly used serial communication method between devices. Because it is simple and convenient, most electronic devices support this communication method. Electronic engineers often […]

Interrupt, DMA serial communication

1. Serial communication based on interrupt mode 1. Configure the project through CubeMX 1. Configure the project through STM32CubeMX (1) Set up RCC Set High Speed Clock (HSE) to Crystal/Ceramic Resonator (2)Set SYS Here you need to set the Debug column to Serial Wire (3) Set USART Here I chose the USART1 configuration and set […]

Serial port communication (8) Serial port interrupt “receiving and parsing data at the same time” communication program

This article is the original csdn first release of the blogger. I hope it will be helpful to you after reading it. Please correct me if I have any shortcomings! Let’s communicate and learn together and make progress together! > Posted by: @日月同光, symbiotic with me_SCM-CSDN Blog >You are welcome to like the original blogger […]

Serial port interrupt communication and DMA communication based on hal library

Understand the serial port protocol and RS-232 standard, as well as the difference between RS232 level and TTL level; understand the working principle of the “USB/TTL to 232″ module (taking the CH340 chip module as an example). Use the HAL library (or standard library) method to set the USART1 baud rate to 115200, 1 stop […]

Week 8 Experiment—-Serial communication based on interrupt/DMA method

Experimental tasks: Understand the serial port protocol and RS-232 standard, as well as the difference between RS232 level and TTL level; understand the working principle of the “USB/TTL to 232” module (taking the CH340 chip module as an example). Use the HAL library (or standard library) method to set the USART1 baud rate to 115200, […]

STM32 serial port communication based on interrupt/DMA

Article directory 1. Expansion of relevant knowledge 1. About serial communication protocol 2. About RS-232 standard 2.1 Definition of interface 2.2 Hardware connection 2.3**Level and Timing** 3.The difference between TTL level and RS-232 level (1) TTL level standard (2), RS232 standard 2. STM32cubx settings 3. keil project (1) Implement the STM32 system to continuously send […]