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

A baud rate generation method, terminal and storage medium

A storage medium and baud rate technology, applied in pulse technology, instruments, counting chain pulse counters, etc., to achieve the effect of reducing bit error rate, improving accuracy, and improving accuracy

Active Publication Date: 2021-03-16
SHENZHEN HANGSHUN CHIP TECH DEV CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The serial port is a common communication interface. When exchanging data through the serial port, improving the accuracy of the serial port data is the primary consideration in the design of the serial port, and the accuracy of the serial port data is directly related to the sampling time of the serial port data. Sampling is carried out with the pulse in each data bit, and the pulse in each data bit is closely related to the baud rate. However, in the prior art, there is no baud rate that can effectively improve the sampling accuracy generate plan

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
  • A baud rate generation method, terminal and storage medium
  • A baud rate generation method, terminal and storage medium
  • A baud rate generation method, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] see figure 1 , figure 1 It is a flow chart of Embodiment 1 of the baud rate generating method provided by the present invention.

[0039] From figure 1 It can be seen that in this embodiment, the baud rate generation method includes steps:

[0040] S100. Obtain setting data of the baud rate generator.

[0041] The baud rate of the serial port is generated by the baud rate generator, the schematic diagram of the baud rate generator is shown in figure 2 Shown, including the baud rate register and the baud rate generation circuit.

[0042] The processor of the terminal inputs an input clock to the baud rate generating circuit, the input clock is a preset fixed value determined by the processor, and the baud rate register sends the baud rate generating circuit The setting data is input, and the baud rate generating circuit generates a corresponding baud rate according to the setting data.

[0043] Specifically, the setting data includes an integer frequency division ...

Embodiment 2

[0080] In one embodiment, a terminal is provided, the terminal includes: a processor, a storage medium communicatively connected with the processor, the storage medium begins to store a plurality of instructions, and the processor is adapted to call the stored Instructions in the medium, the processor can at least implement the following steps when invoking the instructions in the storage medium:

[0081] Obtain the setting data of the baud rate generator in the serial port;

[0082] determining the pulse arrangement of a single data bit in the serial port data according to the setting data;

[0083] The length of the data bit is determined according to the pulse arrangement, and the baud rate is generated.

[0084] Wherein, the setting data includes an integer frequency division value and a fractional frequency division value of the baud rate register.

[0085] Wherein, the number of pulses in the data bits is equal to the oversampling times of the data bits, and determining ...

Embodiment 3

[0101] The present invention also provides a storage medium, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors, so as to realize the Porter as described in the above-mentioned embodiments The steps of the rate generation method.

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 Baud rate generation method, a terminal and a storage medium. The Baud rate generation method comprises the steps of obtaining setting data of a Baud rate generator; determining pulse arrangement of a single data bit in the serial port data according to the setting data; and determining the length of the data bits according to the pulse arrangement, and generating a baudrate. The Baud rate is generated by setting the pulse arrangement in the data bits according to the setting data of the Baud rate generator, and the pulse arrangement corresponding to the generated Baud rate can effectively improve the accuracy of sampling data of the data bits, so that the accuracy of serial port data transmission is improved, and the bit error rate is reduced.

Description

technical field [0001] The invention relates to the technical field of serial port data processing, in particular to a baud rate generation method, a terminal and a storage medium. Background technique [0002] The serial port is a common communication interface. When exchanging data through the serial port, improving the accuracy of the serial port data is the primary consideration in the design of the serial port, and the accuracy of the serial port data is directly related to the sampling time of the serial port data. Sampling is carried out with the pulse in each data bit, and the pulse in each data bit is closely related to the baud rate. However, in the prior art, there is no baud rate that can effectively improve the sampling accuracy Generate proposals. [0003] Therefore, the prior art still needs to be improved and developed. Contents of the invention [0004] The technical problem to be solved by the present invention is to provide a baud rate generation metho...

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): G06F13/42H03K23/66
CPCG06F13/4282G06F2213/0002H03K23/66
Inventor 刘吉平其他发明人请求不公开姓名
Owner SHENZHEN HANGSHUN CHIP TECH DEV CO LTD