摘要 |
The present invention relates to a field of communication and provides a transmission protocol decoding method, device, and a transport protocol decoder chip, the method comprises: generating an oscillation signal; detecting a frame start signal, and outputting a sampling control signal when the frame start signal is detected; counting an oscillation period of the oscillation signal within a time period of low level bits of a frame start byte to obtain a count value after receiving the control signal, and then processing a division operation to the count value to output a quotient and a remainder; determining a sampling period according to the quotient and the remainder to generate a sampling pulse, and then decoding a data byte of a transmission data according to the sampling pulse. In the embodiment of the present application, the oscillation period of the oscillation signal is counted within a time period of low level bits of a frame start byte to obtain a count value after receiving the control signal, and then a division operation is carried out to the count value to output a quotient and a remainder, and then the data bytes are decoded according to the quotient and the remainder, so the accumulated error can not be produced, and there is no need to enhance the data transmission rate by reducing the decoding error, which improves the accuracy of the decoding, and is simple realization, low cost and good stability. |