Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Communication channel gating method of serial port master-slave communication control system

A communication control and communication channel technology, applied in the field of communication, can solve the problems of reducing design versatility, not specifying specific frequencies, and increasing design costs.

Active Publication Date: 2015-10-21
湖州帷幄知识产权运营有限公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the existing invention technology only defines that the main control board and the slave board need to have the same frequency clock in the codec part, but does not specify a specific frequency; it proposes that the encoding command format needs to be agreed, but does not define a specific encoding format standard
On the one hand, it has the advantage of flexibility, but on the other hand, due to the lack of specific standardization, the design cannot be reused, which increases the design cost, and also makes the board using this invention impossible to use in other scenarios, reducing the design cost. Versatility

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
  • Communication channel gating method of serial port master-slave communication control system
  • Communication channel gating method of serial port master-slave communication control system
  • Communication channel gating method of serial port master-slave communication control system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] The communication channel gating method in this embodiment is applied to, for example, figure 1 The serial port master-slave communication control system shown, the system includes a master control card 10 and multiple slave cards 11 (slave card 1 to slave card n, n is a natural number greater than or equal to 1), each slave card has multiple serial ports , the serial ports of the master control card 10 and the slave card 11 are connected through a backplane 12 .

[0039] When communicating between the master control card 10 and the slave card 11, the master control card 10 sends a control command to the slave card 11, and the slave card 11 opens the serial port of the corresponding slave card according to the control command, so as to realize the master control card 10 and the communication between the slave card 11.

[0040] Specifically, the control command in this embodiment adopts an 8-bit coding command, and the coding format of the control command is as follows ...

Embodiment 2

[0049]Based on the above-mentioned first embodiment, the present invention also defines the clock frequency of the same-frequency clock between the master control card 10 and the slave card 11. In this embodiment, the clock frequency of the same-frequency clock is selected as 25MHZ. Selecting this frequency can bring the following benefit:

[0050] 1) At present, most field programmable logic gate arrays (FPGA) in the industry support the switching speed of 25MHZ frequency, and selecting this frequency will not limit the selection of FPGA;

[0051] 2) The 25MHZ frequency point is widely used in communication equipment, and the use of the 25MHZ frequency point does not require additional crystal oscillators, which will not increase the complexity and cost of system design;

[0052] 3) The baud rate of serial communication is generally from 110 to 115200. The use of 25MHZ frequency to detect pulse width coding has been able to meet most application scenarios, no need to use high...

Embodiment 3

[0054] Based on the communication channel gating method of the first embodiment and the clock frequency of the second embodiment, in the serial master-slave communication control system of the present invention, the slave card 11 includes an 8-bit pulse width counter 110 , a decoder 111 and a gating controller 112 . Specifically, refer to Image 6 As shown, the working process of the slave card 11 is: firstly, the slave card 11 receives the control command output by the master control card 10, and when the rising edge of BP_TXD is detected, the 8-bit pulse width counter 110 is cleared; then, the 8-bit pulse width counter 110 is based on The clock cycle of 25MHZ starts to count, and when the falling edge or full count of BP_TXD is detected, the 8-bit pulse width counter 110 stops counting; after that, the decoder 111 decodes the counting result (that is, the control command) of the 8-bit pulse width counter 110, The specific process of decoding is as follows:

[0055] If the v...

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 field of communications and particularly relates to a communication channel gating method of a serial port master-slave communication control system. The serial port master-slave communication control system comprises a master control card and at least one slave card in communication connection with the master control card, wherein each slave card is provided with a plurality of serial ports, the master control card sends a control command containing a slot number of the slave card and port numbers of the serial ports to each slave card, and after the slave card identifies the received control command, the slave card matched with the control command opens a corresponding serial port per se according to the control command, and the gating process of the entire communication channel has the advantages of high efficiency and low cost.

Description

technical field [0001] The invention relates to the field of communication, in particular to a communication channel gating method of a serial port master-slave communication control system. Background technique [0002] The existing serial master-slave communication control system has solved the problem of the complexity of the backplane hardware connection of a master control board and multi-slave board serial master-slave communication. It sends specific code pulse commands on the master control board. The signal is sent to the slave board, and the slave board performs corresponding actions to open or close the channel between the corresponding serial port on the board and the master serial port by decoding the encoded pulse command signal. [0003] However, the existing invention technology only defines that the main control board and the slave board need to have the same frequency clock, but does not specify the specific frequency; it is proposed that the coding command...

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): H04L7/00H04L1/00
Inventor 吴夕周
Owner 湖州帷幄知识产权运营有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products