Feedback type UART adaptive Baud rate system and adaptive Baud rate method

A baud rate, self-adaptive technology, applied in the direction of instrumentation, electrical digital data processing, etc., to achieve the effect of improving communication efficiency, saving storage space, and reducing power consumption

Active Publication Date: 2020-09-22
HARBIN INST OF TECH
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the situation that the existing adaptive matching method usually ignores the change of the baud rate initiated by the slave. In fact, the slave also needs to adjust the baud rate of the bus due to the limitation of the subsequent storage space. problem, and proposed a feedback-type UART adaptive baud rate system and an adaptive baud rate method

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
  • Feedback type UART adaptive Baud rate system and adaptive Baud rate method
  • Feedback type UART adaptive Baud rate system and adaptive Baud rate method
  • Feedback type UART adaptive Baud rate system and adaptive Baud rate method

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach 1

[0047] The specific embodiment one, the UART adaptive baud rate system of the present embodiment feedback type, described system comprises:

[0048] The purpose of the present invention is to provide an adaptive matching method for a master or a slave to change the baud rate during UART communication. If the baud rate on the bus is changed, the master and slave can be quickly and easily matched.

[0049] To achieve the above object, the present invention requires receiving and sending modules respectively at the host and the slave, sharing a UART bus;

[0050]Host sending module, host receiving module, slave sending module, slave receiving module, the host and slave share a UART bus;

[0051] The master sending module is used to send the information to be sent to the receiving module of the slave. The master sending module includes the master reset interface and the data input interface (the data input interface here is the data generated by the upstream module of the master....

specific Embodiment approach 2

[0069] Embodiment 2: The difference between this embodiment and Embodiment 1 is that the UART is a Universal Asynchronous Receiver Transmitter, and the UART bus is used to transmit data, including idle bits, start bits, data bits, and stop bits.

[0070] Other steps and parameters are the same as those in Embodiment 1.

specific Embodiment approach 3

[0071] Embodiment 3: This embodiment is different from Embodiment 1 or Embodiment 2 in that: the FIFO is a first-in-first-out queue, which is used to store the binary data stream of the data input interface.

[0072] Other steps and parameters are the same as those in Embodiment 1 or Embodiment 2.

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 feedback type UART adaptive Baud rate system and an adaptive Baud rate method, and relates to a UART adaptive Baud rate system and a Baud rate method. The invention aims to solve the problems that the Baud rate change initiated by a slave is generally ignored in the conventional adaptive matching mode, and actually, the Baud rate of a bus also needs to be adjusted due tothe limitation of subsequent storage space by the slave. The system comprises a host sending module, a host receiving module, a slave sending module and a slave receiving module, wherein the host andthe slave share one UART bus; the host sending module is used for sending to-be-sent information to the receiving modules of the slaves; the host receiving module is used for receiving feedback information of the slave; the slave sending module is used for sending the Baud rate information applied by the slave to the receiving module of the host; and the slave receiving module is used for receiving the data information transmitted by the host sending module. The method is applied to the field of UART communication.

Description

technical field [0001] The invention relates to a UART adaptive baud rate system and an adaptive baud rate method. Background technique [0002] The UART bus is an important asynchronous communication method, but when using UART communication, the usual practice is to set the same baud rate in advance for the host and the slave. The disadvantage of this approach is that if the data rate generated by the host is greatly increased At the time, the UART bus cannot increase the transmission rate in time, thereby increasing the burden on the host memory at the sending end and affecting the timeliness of communication. Another method is that the host transmits the instruction code of 0x55, and the slave performs high-speed sampling, and calculates the baud rate of the host by calculating the duration of high and low levels. Due to the need for high-speed sampling, this method can only be performed once after reset. , if you need to adapt the baud rate again, you need to reset the...

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/4282Y02D10/00
Inventor 王振永黄乙王健楠李德志
Owner HARBIN INST OF TECH
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