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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


