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

Method for simultaneous communication of double serial ports

A simultaneous communication and dual serial port technology, applied in the field of serial port communication, can solve problems such as slow transmission speed, short distance, and increased cost, and achieve the effects of shortening the development cycle, improving test efficiency, and improving stability

Active Publication Date: 2015-04-22
FIBOCOM WIRELESS
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is only one full-duplex serial port in most MCUs, which cannot meet the needs of multi-MCU applications, nor can it make full use of the processing efficiency of the MCU. There are the following defects: slow transmission speed and low efficiency. This is the biggest defect of serial port communication. If it is changed to parallel communication, the cost will increase, and the distance is very short. If it is changed to USB, the cost will increase even more; if the serial port line is broken, the MCU cannot communicate with another MCU or peripherals normally; The communication is interrupted suddenly, and it is impossible to judge whether the MCU has stopped working or because the serial port communication is blocked.

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
  • Method for simultaneous communication of double serial ports
  • Method for simultaneous communication of double serial ports
  • Method for simultaneous communication of double serial ports

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0041] In an embodiment of the method for simultaneous communication of dual serial ports of the present invention, the flow chart of the method is as follows figure 1 As shown, the method includes the following steps:

[0042] Step S11 connects the first serial port and the second serial port of the first MCU to the first serial port and the second serial port of the second MCU or peripherals respectively: in this step, connect the first serial port and the second serial port of the first MCU to the The first serial port and the second serial port of the second MCU or peripheral are connected, so that the first serial port and the second serial port can communicate at the same time;

[0043] Step S12 When there is data to be sent, the data request sender detects the working status of the first serial port and the second serial port: when ther...

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 provides a method for simultaneous communication of double serial ports. The method comprises steps of connecting a first serial port and a second serial port of a first Microprogrammed Control Unit (MCU) to a first serial port and a second serial port of a second MCU or the external first serial port and the external second serial port; detecting the working state of first serial ports and second serial ports by using a data request transmitting party when data are required to be transmitted; transmitting the data request through available ports by using the data request transmitting party in accordance with detection results; and receiving and processing the received data request by using a data receiving party. Two serial ports can conduct data communication at the same time and are independent, communication protocols of two serial ports are the consistent, the speed of serial ports and use efficiency of a central processing unit (CPU) are improved by one time, the stability of communication is greatly improved through double serial port communication, the communication is converted to one serial port when the other serial port goes wrong, and the testing efficiency of products can be improved.

Description

technical field [0001] The invention relates to serial port communication technology, in particular to a method for simultaneous communication of dual serial ports. Background technique [0002] Serial port communication is used for data transmission between MCU and MCU and between MCU and peripherals, and is widely used in the field of industrial communication. The so-called serial port communication refers to a communication method that transmits data bit by bit through data signal lines, bottom lines, control lines, etc. This communication method uses fewer data lines, which can save communication costs in long-distance communication. Among them, the RS-232 serial port communication method is widely accepted and used because of its standardized international standards, and has become a standard interface between devices with serial port communication functions. [0003] Industrial communication technology has become the most active branch in the field of modern automati...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/10H04L12/40
Inventor 朱涛龙忠友舒敏
Owner FIBOCOM WIRELESS