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

Implementation method and implementation device for UART byte synchronization based on FPGA

A byte synchronization and implementation method technology, applied in the direction of electrical digital data processing, instruments, etc., can solve problems such as byte synchronization, reduce the probability of receiving wrong data, and improve the accuracy of data transmission

Inactive Publication Date: 2015-09-30
ROSENBERGER (SHANGHAI) TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The object of the present invention is to overcome the defective of prior art, provide a kind of realization device and realization method of UART byte synchronization based on FPGA, by adding synchronous mechanism in UART communication process, avoid the byte asynchronous that UART communication easily produces The problem

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
  • Implementation method and implementation device for UART byte synchronization based on FPGA
  • Implementation method and implementation device for UART byte synchronization based on FPGA

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention.

[0021] The present invention is based on the UART protocol, and in the process of sending transmission data from the UART sending end to the UART receiving end, a synchronization signal is added to realize byte synchronization in the UART communication, such as figure 1 Shown, the realization method of a kind of FPGA-based UART byte synchronization disclosed by the present invention comprises the following steps:

[0022] S1. The UART sending end sends transmission data with a start flag to the UART receiving end. During the process of sending the transmission data, a synchronization signal is sent to the UART receiving end every certain byte.

[0023] According to the working principle of the UART protocol, the UART sender transmits each character of the transmitted data one by one i...

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 an implementation method and implementation device for UART byte synchronization based on an FPGA, and the implementation method and implementation device are used for achieving the synchronization of bytes communicated through a UART. The implementation method comprises the steps that a UART transmitting end transmits transmission data provided with starting symbols to a UART receiving end, in the transmission process, the UART transmitting end transmits a synchronization signal to the UART receiving end, after detecting the synchronization signal, the UART receiving end enters into the original state immediately to detect the starting symbols of the transmission data, and after the UART receiving end detects the starting symbols of the transmission data according to the original state, the transmission data are started to be received. The implementation device comprises a universal asynchronous transmitter, a universal asynchronous receiver and a UART synchronization detector, wherein the universal asynchronous receiver is in communication with the universal asynchronous transmitter through a data cable, one end of the UART synchronization detector is connected to the data cable, and the other end of the UART synchronization detector is in communication with the universal asynchronous receiver. By means of the implementation method and implementation device, the problem of byte out of synchronization occurring in UART communication is solved, and the transmission accuracy of the transmission data in the UART protocol is improved.

Description

technical field [0001] The invention relates to the technical field of realizing UART byte synchronization, in particular to an FPGA-based method and device for realizing UART byte synchronization. Background technique [0002] UART (Universal Asynchronous Receiver / Transmitter, Universal Asynchronous Receiver Transmitter) is a serial communication method, which has the advantages of less transmission lines and low cost. Serial communication is divided into two types: synchronous communication mode and asynchronous communication mode. The communication mode of UART is asynchronous communication mode, mainly because the receiving and sending ends can always be independent, which is conducive to increasing the flexibility of sending and receiving. In the asynchronous communication of the serial port, the data is transmitted in the byte frame of the unit of byte. The sending end and the receiving end must communicate according to the same byte frame format and baud rate, where ...

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): G06F13/42
Inventor 李明
Owner ROSENBERGER (SHANGHAI) TECH CO LTD