Baud rate detection method and device for serial communication interface
A technology of serial communication interface and detection method, applied in the direction of digital transmission system, electrical components, transmission system, etc., can solve the problems such as the malfunction of the driven device, the handshake data packet does not conform to the data protocol, etc., to improve the versatility and wide applied effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0023] figure 1 It is a schematic flowchart of a baud rate detection method suitable for a serial communication interface provided by the present invention. refer to figure 1 As shown, the method includes three steps: pulse width measurement, greatest common divisor calculation and candidate baud rate update.
[0024] The pulse width detection refers to measuring the width of all negative pulses on the serial data line, such as figure 1 In (W1, W2, ..., Wn) shown in;
[0025] The calculation of the greatest common divisor refers to calculating the approximate greatest common divisor WGCD of the pulse width (W1, W2, ..., Wn);
[0026] The updating of the candidate baud rate table refers to removing all baud rates that cannot be divisible by WGCD on the basis that the approximate greatest common divisor is WGCD.
[0027] refer to figure 1 A...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
