Article directory 1. Configure this project through stm32CubeMX 1Set up RCC 2Set up SYS 3Set up USART 4Set up NVIC 5 clock tree 6Create a project. 2 keil debugging 3. Burn and check the effect Configure this project through stm32CubeMX 1Set RCC High Speed Clock Select Crystal. 2Set SYS Debug select Serial wire. 3Set USART […]
Tag: communication
HAL library interrupt mode for serial communication
1. Configure the project through STM32CubeMX 1. Set up RCC 2. Set up SYS 3. Set up USART 4. Set up NVIC Click GENERATE CODE to generate code 2. Set the receive interrupt in the main function Function description: Serial port interrupt reception, receiving data of specified length in interrupt mode. The general process is […]
springBoot project+websocket+vue realizes two-way communication
Table of Contents 1. Understand the WebSocket protocol WebSocket features Real time communication: Two-way communication: Long connection: Cross-domain communication: 2. Back-end code implementation Introduce maven dependencies WebSocketConfig WebSocketConfig function: WebSocketConfig.java code MyWebSocket @annotation explanation MyWebSocket function: MyWebSocket.java code 3. Test whether the server is connected normally 1. Open the websocket test gadget 2. Enter the […]
The nature of communication, communication methods, the principles and multiple characteristics of anonymous pipes (access control, pipe_buf, atomicity, half-duplex), pipe() + simulation implementation code, communication between multiple processes (anonymous pipes, simulation implementation code )
Table of Contents communication introduce Why should there be communication? the nature of communication How to communicate pipeline system V posix standard Signal pipeline introduce anonymous pipe Principle introduce process Implement — pipe() function prototype parameter return value mock code Features Used for communication between parent and child processes Provide access control When the buffer […]
Locust single-machine multi-core stress test, and data communication processing of master-slave nodes
Let me briefly explain the background first. Before the APP is launched, the login interface needs to be performance tested. After evaluation, I gave priority to locust for script development. This time I used locust’s single-machine multi-core running capability, but it also involves data communication between master and slave nodes. There are very few effective […]
[Orangepi Zero2 Allwinner H616] Driver serial communication
1. Basic understanding of serial port 2. Serial port electrical standards and protocol standards 3. Serial communication protocol 4. Using serial port communication in Linux system 5. orangepi zern2 two sets of serial ports 6. Serial test serialtest Modify the configuration file according to the manual According to the results, we know that the code […]
Specific application of ROS Service Service communication mechanism in unmanned vehicles
1. Introduction In the communication mechanism, we have introduced this Service service before: Application of ROS Communication Mechanism Service (Service) It is generally suitable for scenarios where communication processing is relatively simple. Here we will actually operate some very common services on the unmanned vehicle: publishing voltage data, turning on and off LED lights, turning […]
Algorithm Issues in Communication Networks Experiment 4-Depth-First Algorithm and Breadth-First Algorithm (Node Traversal)
Experiment 4 Algorithm issues in communication networks-depth-first algorithm and breadth-first algorithm (node traversal) 1. Introduction In communication networks, node traversal is an important task that helps understand the topology of the network, identify potential problems, and perform various analyses. Depth-first search algorithm and breadth-first search algorithm are two commonly used graph traversal methods, which can […]
Serial communication based on interrupt/DMA mode
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, […]
Serial port interrupt (9) real-time analysis of user-defined communication protocol – fixed situation of receiving data
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 […]