Software adaptive Baud rate method for serial port

A baud rate and adaptive technology, applied in the field of data transmission, can solve the problems of baud rate limitation, inconvenient use, lack of stability and adaptability, etc., and achieve the effect of good stability, adaptability and good scalability

Inactive Publication Date: 2016-11-09
SHANGHAI UNIV OF ENG SCI
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current baud rate synchronization methods include: 1. Realize by hardware calculation method, its defect is that the baud rate is limited to low-speed 9600, 19200, 38400, 57600, 115200bps, and it is more dependent on hardware platform resources; 2. The algorithm for calculating pulse width has the disadvantages of insufficient stability and adaptability, and synchronization cannot be achieved in some hardware environments
In addition, this baud rate synchronization method needs to be reconfigured to change the baud rate, which is inconvenient to use

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
  • Software adaptive Baud rate method for serial port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The technical solutions of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0015] The software adaptive baud rate method of a serial port provided by the present invention is based on the fact that the sender first repeatedly sends one or several pre-agreed characters at intervals at a certain baud rate, and the receiver receives the pre-agreed characters. character, then reply the handshake signal to complete the synchronization of the adaptive baud rate, and then the two parties use the fixed synchronization baud rate to communicate. The serial port adaptive baud rate can target the same product and meet the needs of various devices with different rates for docking , and the user can send and receive data without switching the baud rate, which greatly improves the applicability of the product.

[0016] In this program, the serial port receiving pin (RX pin) level transition interrupt is used as the trigg...

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 software adaptive Baud rate method for a serial port. A sender repeatedly sends predetermined data at intervals by one Baud rate firstly; if a receiver does not receive the predetermined data within a period of time, the receiver switches one Baud rate and continues to wait for receiving the predetermined data within a period of time until the receiver receives the predetermined data within a period of time; a handshaking signal is returned to finish adaptive Baud rate synchronization; and the sender and receiver communicate by using a fixed synchronized Baud rate.

Description

technical field [0001] The invention relates to a serial port adaptive baud rate method, which belongs to the field of data transmission. Background technique [0002] The baud rate is a measure of the signal transmission rate, usually in "baud" (baud). Since different devices have different baud rates, it is necessary to check the baud rate of both parties during the signal transmission process. synchronization. [0003] The current baud rate synchronization methods include: 1. Realize by hardware calculation method, its defect is that the baud rate is limited to low-speed 9600, 19200, 38400, 57600, 115200bps, and it is more dependent on hardware platform resources; 2. The algorithm for calculating the pulse width has the disadvantages of insufficient stability and adaptability, and synchronization cannot be achieved in some hardware environments. In addition, this baud rate synchronization method needs to be reconfigured to change the baud rate, which is inconvenient to ...

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 Applications(China)
IPC IPC(8): G06F13/42
CPCG06F13/4291
Inventor 白园飞高飞韦钰
Owner SHANGHAI UNIV OF ENG SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products