Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multi-serial-port communication method and system

A communication method and multi-serial port technology, applied in the field of embedded drivers, can solve problems such as not supporting AddrBit

Pending Publication Date: 2020-02-04
GENEW TECH
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, many CPUs now have their own NS16550 serial ports that do not support Addr Bit, and if they want to communicate with MCUs that must use address bits, they are helpless.

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
  • Multi-serial-port communication method and system
  • Multi-serial-port communication method and system
  • Multi-serial-port communication method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention provides a serial port communication method and system. In order to make the purpose, technical solution and advantages of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0044]Those skilled in the art will understand that the singular forms "a", "an", "said" and "the" used herein may also include plural forms unless otherwise stated. It should be further understood that the word "comprising" used in the description of the present invention refers to the stated features, integers, steps, operations, elements and / or components. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to th...

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 a multi-serial-port communication method and system, and the method comprises the steps: writing a to-be-transmitted data frame into a register in a central processing unit when a plurality of slave devices are accessed; enabling the central processing unit to control the register to receive the to-be-sent data frame and replace odd-even check bit characters in the to-be-sent data frame with address bit characters to obtain a replaced output data frame; and sending the output data frame to a plurality of slave devices. According to the invention, the odd-even check bitcharacter in the sent data frame is replaced by the address bit character through the register of the central processing unit; a serial port obtains address bit information of a sent data frame, serial port protocol communication supporting a multi-path mode between a master device and slave devices is achieved, and then communication connection between the master device and the multiple slave devices is achieved.

Description

technical field [0001] The invention relates to the field of embedded drive technology, in particular to a multi-serial port communication method and system. Background technique [0002] Serial ports are widely used in slow communication protocols, and are generally used in applications that require a small amount of data to be transmitted and a low rate. Such as figure 1 as shown, figure 1 It is the schematic diagram of the serial port protocol, first start START (does not occupy the frame content), data bits (5 to 8 bits), followed by the optional parity bit, and finally the stop bit. Among them, the parity check can be set as: odd check, even check, no check; the stop bit can be set as: 1bit, 1.5bit, 2bit. The serial port protocol has several important parameters, including baud rate, stop bit, data bit, and parity bit. The devices at both ends of the serial communication must be configured with exactly the same above parameters to communicate correctly. Such as fi...

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): G06F13/42G06F11/10
CPCG06F13/4282G06F11/10
Inventor 秦金昆吴闽华孟庆晓陈泽江
Owner GENEW TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products