Serial port communication method based on FPGA
A serial port communication and serial port technology, applied in the field of FPGA-based serial port communication, can solve the problems of increasing design redundancy, increasing equipment volume, hardware cost, etc., and achieve the effect of accelerating design progress, increasing functional versatility, and wide application scenarios
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] An FPGA-based serial port communication method, including: a built-in FPGA encoding end and decoding end, please refer to figure 1 In the schematic diagram of the hardware structure shown, 10 shows the encoding end; 20 shows the decoding end.
[0062] Specifically, the FPGA-based serial port communication method includes the following steps:
[0063] The encoding end receives the original serial port data sent by the first serial port circuit;
[0064] The encoding end determines the serial port serial number corresponding to the first serial port circuit;
[0065] The encoding end splits the original serial port data to obtain the first original byte segment and the second original byte segment; please refer to figure 2 As shown in the coding diagram, figure 2 The original serial port data is split into two original bytes, namely: the first original byte segment and the second original byte segment, specifically, the original serial port data is set to 8 bytes, an...
Embodiment 2
[0069] A serial port communication method based on FPGA, comprising: built-in encoding end and decoding end of FPGA respectively, described method comprises the steps:
[0070] The encoding end is used to receive the original serial port data sent by the first serial port circuit and encode the original serial port data to obtain encoded bytes, and send the encoded bytes to the decoding end; the encoded bytes include: the first encoded byte and the second encoded byte Two encoding bytes; specifically, the encoding method at the encoding end is as shown in Embodiment 1.
[0071] The decoding end receives the encoded bytes;
[0072] The decoder judges whether the coded byte contains a preset code flag; specifically, the decoder has a built-in preset code flag of 4 bits, such as: 0xF;
[0073] If it is included, the decoding end caches the encoded byte and records it as the first serial port data;
[0074] If it is not included, the decoding end discards the encoded byte, obtai...
Embodiment 3
[0086] An FPGA-based serial port communication method, including: a built-in FPGA encoding end and decoding end, please refer to figure 1 In the schematic diagram of the hardware structure shown, 10 shows the encoding end; 20 shows the decoding end.
[0087] Specifically, the FPGA-based serial port communication method includes the following steps:
[0088] The encoding end receives the original serial port data sent by the first serial port circuit;
[0089] The encoding end determines the serial port serial number corresponding to the first serial port circuit;
[0090] The encoding end splits the original serial port data to obtain the first original byte segment and the second original byte segment; please refer to image 3 As shown in the coding diagram, image 3 The original serial port data is split into two original bytes, namely: the first original byte segment and the second original byte segment, specifically, the original serial port data is set to 8 bytes, and ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com