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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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