Unlock instant, AI-driven research and patent intelligence for your innovation.

STM32 single chip microcomputer and Linux system high-speed series port anti-interference communication method

A communication method, high-speed serial port technology, applied in the field of communication, can solve the problems of dual CPU processing capability differences, packet loss, discontinuity, etc., to achieve the effect of improving anti-interference ability, improving processing capability, and reducing the probability of lost data packets

Active Publication Date: 2014-03-19
CHENGDU YIMENG HENGXIN TECH
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above-mentioned invention preferably solves problems such as potential non-finiteness, discontinuity and discontinuity in the serial port communication tasks, but its dual CPUs have different processing capabilities, and the problem of packet loss is prone to occur during serial port communication. With the increase of speed, Its stability and communication distance will change inversely proportional to the corresponding change

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • STM32 single chip microcomputer and Linux system high-speed series port anti-interference communication method
  • STM32 single chip microcomputer and Linux system high-speed series port anti-interference communication method
  • STM32 single chip microcomputer and Linux system high-speed series port anti-interference communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following description.

[0033] Such as figure 1 and 2 Shown, a kind of STM32 single-chip computer and Linux system high-speed serial port anti-jamming communication method, it comprises a STM32 single-chip computer data reading and writing steps and a Linux system data reading and writing steps, described STM32 single-chip computer data reading and writing steps comprise the following steps:

[0034] S101: The STM32 single-chip microcomputer enters the working state, and the Linux system sends serial port data to the STM32 single-chip microcomputer;

[0035] S102: STM32 MCU reads the state data and AD sampling value of each IO port;

[0036] S103: The STM32 single-chip microcomputer parses the serial port data issued by the Linux system, and puts the parsed ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an STM32 single chip microcomputer and a Linux system high-speed series port anti-interference communication method. The field data is collected through the STM32 single chip microcomputer, the collected data is subjected to reading and writing operations according to a Linux system issued instruction, read and written data is put into a report Linux system task queue, and the data which is stored in the report Linux system task queue is uploaded to a Linux system with an interval of one second. The Linux system issues a task to the STM32 single chip microcomputer according to a real-time demand, the STM32 single chip microcomputer parses the task instruction issued by the Linux system and places the parsed task instruction to the report Linux system task queue, and the execution of the corresponding task instruction by the STM32 single chip microcomputer is facilitated. According to the STM32 single chip microcomputer and the Linux system high-speed series port anti-interference communication method, the processing ability and data processing rate of double CPUs are raised, the probability of data packet loss in series port communication is reduced, the issue of STM32 single chip microcomputer series port data by the Linux system, the CAN data reception and the GPS data reception are interrupt reception, and the anti-interference ability in a series port communication process is raised.

Description

technical field [0001] The invention relates to a communication method, in particular to an anti-interference communication method between an STM32 single-chip microcomputer and a high-speed serial port of a Linux system. Background technique [0002] With the development of computers, multi-core architectures in embedded devices have been widely used in various fields. In order to meet the needs of real-time collection of rich data and real-time processing for data processing, in order to improve the real-time data processing capabilities of the entire system, data is collected through coprocessors. Complicated data processing by main CPU has become one of the development directions of embedded systems. [0003] The communication between dual CPUs includes I / O, serial port, SPI, Bluetooth and network. Serial port communication refers to a communication method that transmits data bit by bit between peripherals and computers through data signal lines, address lines, control ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/863G06F13/24
Inventor 王春波罗康勇
Owner CHENGDU YIMENG HENGXIN TECH