Baud rate adaptation method, apparatus and host for communication

A technology of communication baud rate and baud rate, which is applied in the field of communication, can solve problems such as normal communication of the host, change of communication baud rate, change of crystal oscillation frequency, etc., and achieve the effect of reducing costs

Inactive Publication Date: 2009-04-01
ZTE CORP
View PDF3 Cites 68 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Considering that the change of the working environment of the current embedded device leads to the change of the crystal oscillation frequency, which makes the communication baud rate of the device change and thus leads to the problem that the slave cannot communicate with the host normally, the present invention is made. For this reason, the main purpose of the present invention is to provide A communication baud rate adaptive method, device and host to solve the above-mentioned problems in related technologies

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
  • Baud rate adaptation method, apparatus and host for communication
  • Baud rate adaptation method, apparatus and host for communication
  • Baud rate adaptation method, apparatus and host for communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] According to an embodiment of the present invention, a communication baud rate adaptive device is provided, image 3 It is a block diagram of a communication baud rate adaptive device according to an embodiment of the present invention, such as image 3 As shown, it includes a receiving module 30, a built-in timer 32, and an acquiring module 34, and the above modules will be described in detail below.

[0064] The receiving module 30 is configured to receive the baud rate calibration code sent by the host.

[0065] A built-in timer 32, connected to the receiving module 30, is used to start counting at a predetermined frequency from the falling edge of the level caused by the baud rate calibration code, and stop counting at the rising edge of the level, and obtain the count value.

[0066] The obtaining module 34 is connected to the built-in timer 32, and is used for obtaining the baud rate generating register constant according to the count value, and setting the baud ...

Embodiment 2

[0084] According to an embodiment of the present invention, a host is provided, Figure 5 is a block diagram of a host according to an embodiment of the present invention, such as Figure 5 As shown, it includes a first sending module 50 and a second sending module 52, and the above modules will be described in detail below.

[0085] The first sending module 50 is used to send the baud rate calibration code to the slave;

[0086]The second sending module 52 is connected to the first sending module 50 and is used to send a communication command to the slave, wherein the moment when the second sending module 52 sends the communication command is that the first sending module 50 starts to send the baud rate calibration to the slave. Code from the moment after the predetermined period of time, that is to say, after the first sending module 50 sends the baud rate calibration code, the second sending module 52 needs a certain time delay before sending the communication command to t...

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 communication baud rate self-adaptive method, a device and a host computer thereof. The method comprises the following steps: after a slave computer receives a baud rate calibration code sent by the host computer, a built-in timer of the slave computer starts counting from a level falling edge caused by the baud rate calibration code at a preset frequency and stops counting at a level rising edge, and obtains a count value; and the slave computer obtains a baud rate generation register constant according to the count value, and the slave computer sets the baud rate generation register according to the baud rate generation register constant. By adopting the technical proposal, the self-adaptive adjustment of the communication baud rate is realized without adding any hardware, the hardware manufacturing cost is reduced, the method can be applicable to application occasions of any communication baud rates, and is especially applicable to the application occasion that a slave computer crystal oscillator is unstable.

Description

technical field [0001] The present invention relates to the communication field, and in particular, relates to a communication baud rate adaptive method, device and host. Background technique [0002] At present, with the continuous development of computer technology and the improvement of people's living standards, more and more electronic products such as industrial control, medical treatment, communication, and consumption are becoming more and more intelligent, and embedded systems with microprocessors as the core have been obtained. An increasingly wide range of applications, among them, the management of these intelligent devices has become a focus of embedded applications. Users can manage and monitor smart devices through the smart interfaces provided by the device, such as serial ports, parallel ports, USB ports, CAN ports, Ethernet ports, etc. [0003] In related technologies, the Ethernet interface-based Transmission Control Protocol / Internet Protocol (Transmissi...

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): H04L1/00H04L1/24H04L29/08
Inventor 潘奇银熊勇
Owner ZTE CORP
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