A flexible and universal serial communication method and system

A serial communication and flexible technology, which is applied in the field of serial communication methods and systems, can solve the problems of increasing module debugging cycle, waste of FPGA resources, and weak module versatility, so as to save FPGA resources, improve efficiency and accuracy, Effects that are easy to achieve

Active Publication Date: 2019-03-01
SICHUAN JIUZHOU ELECTRIC GROUP
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, when the asynchronous serial communication module based on FPGA receives and sends data, it causes a waste of FPGA resources and increases the debugging cycle of the modul

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
  • A flexible and universal serial communication method and system
  • A flexible and universal serial communication method and system
  • A flexible and universal serial communication method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0035] The present invention will be further described below in conjunction with the drawings.

[0036] The serial communication data rate of this embodiment is 375kpbs, and the clock frequency provided by the system is 40Mhz to realize the transmission and reception of serial data. The module can dynamically configure various communication parameters through the external processing controller to adapt to different communication speeds and clock modes. After the configuration is completed, the serial data sending and receiving process starts. Such as figure 1 As shown, specifically, a flexible and universal serial communication method includes the following processes:

[0037] The communication parameter configuration unit automatically configures the matching parameter settings according to the characteristics of the serial data, and allows the processing controller to read and write the configuration data parameters through the external parallel interface; the external parallel ...

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 relates to the technical field of serial communication and discloses a flexible and universal serial communication method and system. The method includes the following steps: the communication parameter configuration unit automatically configures the parameter settings matched with the serial data according to the characteristics of the serial data, and the parameters of the configuration data are read and written by the processing controller through the external parallel interface; Receiving serial data of the transceiver, performing communication command analysis, generating aninterrupt signal and notifying the processing controller to perform data receiving FIFO operation; collecting the bit width of the received data and switching the data receiving FIFO or the data transmitting FIFO; serial data in parallel is sent to the transceiver via the data transmit FIFO. The technical proposal of the invention can buffer a large amount of data at first, thus saving FPGA resources. Secondly, byte delay algorithm is used to judge the length of data frame in receiving serial data communication, which is suitable for different types of receiving serial communication protocols, and achieves the universal, easy-to-use and simplified implementation of serial communication module.

Description

technical field [0001] The invention relates to the technical field of serial communication, in particular to a flexible and universal serial communication method and system. Background technique [0002] At present, when the asynchronous serial communication module based on FPGA receives and sends data, it causes a waste of FPGA resources and increases the debugging cycle of the module; and it is necessary to modify the software function to adapt to different types of communication message protocols, so that the versatility of the module is not enough. strong and complex. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a flexible and universal serial communication method and system for the above existing problems. [0004] The technical scheme adopted in the present invention is as follows: a flexible and general serial communication method, specifically including the following processes: [0005] The communic...

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
IPC IPC(8): G06F13/24G06F13/42
CPCG06F13/24G06F13/4282
Inventor 冯硕
Owner SICHUAN JIUZHOU ELECTRIC GROUP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products