CN104572560A - USB (universal serial bus) and ADC (analog to digital converter) interface multiplex circuit and multiplex method - Google Patents
USB (universal serial bus) and ADC (analog to digital converter) interface multiplex circuit and multiplex method Download PDFInfo
- Publication number
- CN104572560A CN104572560A CN201510043563.3A CN201510043563A CN104572560A CN 104572560 A CN104572560 A CN 104572560A CN 201510043563 A CN201510043563 A CN 201510043563A CN 104572560 A CN104572560 A CN 104572560A
- Authority
- CN
- China
- Prior art keywords
- pin
- module
- usb
- adc
- gating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Systems (AREA)
Abstract
The invention relates to a multiplex circuit, particularly to a USB (universal serial bus) and ADC (analog to digital converter) interface multiplex circuit and a multiplex method. The USB and ADC interface multiplex circuit comprises external pins, a multiplex control circuit, a USB module and an ADC module. The external pin 1, the multiplex control circuit and the USB module are sequentially electrically connected. The external pin 2, the multiplex control circuit and the ADC module are sequentially electrically connected. The USB and ADC interface multiplex circuit is unique in structure and allows the circuit to control signals from the inside, in this way, the chip interface works in the time sharing manner under the USB mode and the ADC mode, so that interface kinds of the processor chip or system on chip are enriched, and fewer universal pins of the chip are required.
Description
Technical field
The present invention relates to a kind of multiplex circuit, specifically refer to a kind of USB and ADC interface multiplexing circuit and multiplexing method.
Background technology
Along with developing rapidly of microelectronics and mechanics of communication, the integrated scale of chip and circuit complexity increasing, function is also constantly perfect, and the number of pins that therefore certainly will affect chip constantly increases, to connect concrete application function.Current, each chip is tens input/output interfaces (I/O interface) at least, and need a hundreds of I/O interface at most, these IO occupy a large amount of areas, and this becomes the very important problem that chip area reduces, and are IO restriction.Peripheral IO area occupied is excessive, is sometimes even greater than internal core circuit area occupied, and then limits effective usable floor area of chip, also greatly increases the cost of chip simultaneously.Meanwhile, the IO quantity day by day increased and chip area cause interconnection line, become more complicated, and then affect the performance of circuit.
Effective IO is multiplexing becomes a kind of well solution, general thinking be the interface duplex that can not simultaneously be used to on same interface, control specifically wherein some interfaces of a certain moment by gating signal.
USB interface because its standard is unified, easy to carry, can hot plug and multiple SoC that become a little such as multiple equipment can be connected design requisite interface; Natural signal is all analog quantity, must become digital signal to be further processed by ADC module converts.
Summary of the invention
In order to solve the pin multiplexing problem of chip, seek more outstanding settling mode, further improvement is made to the version of traditional die, promote its actual work efficiency, selection best beyond doubt.
The object of the invention is to the problem overcoming above-mentioned prior art, a kind of USB and ADC interface multiplexing circuit and multiplexing method are provided, its structure is unique, internal control signal can be passed through by realizing circuit, make chip interface under USB pattern and time-sharing work under ADC mode, thus both enriched the kind of interface of processor, additionally reduce the common pin number of processor.
Above-mentioned purpose is achieved through the following technical solutions:
A kind of USB and ADC interface multiplexing circuit, comprising:
External pin, comprises the first pin and the second pin, is input and output pin;
Multiplexing control circuit, comprises two groups of structures, often organizes structure and comprises again the first gating module, the second gating module and homophase and follow module, and described first gating module and the second gating module are transmission gate and form; Described second gating module one end and homophase are followed module one end and are coupled, first gating module described in one group and described second gating module one end couple with corresponding described first pin respectively, and another described first gating module of group and described second gating module one end couple with corresponding described second pin respectively;
USB module, comprises the first data pin and the second data pin, is input and output pin; Described first data pin and the second data pin couple with the first gating module other end of described two groups of structures respectively;
ADC module, comprises the first simulated data pin and the second simulated data pin, is input pin; Described first simulated data pin and the second simulated data pin are followed the module other end with the homophase of described two groups of structures respectively and are coupled.
Further, a kind of multiplexing method of USB and ADC interface multiplexing circuit as claimed in claim 1, whether described first gating module and the second gating module control it by two contrary internal signals and work:
First gating module work, the second gating module does not work, then described USB module work;
First gating module does not work, the second gating module work, then described ADC module work.
Further, described USB module controls it by USB internal signal OE and receives data pattern or transmission data pattern:
When OE be high level effective time, described USB module is in transmission data pattern, described first data pin and the second data pin transfer data to described first pin and the second pin, and now, described first data pin and the second data pin can only as the outputs of described USB module;
When OE is low level, described USB module is in reception data pattern, described first pin and the second pin transfer data to described first data pin and the second data pin, and now, described first data pin and the second data pin can only as the inputs of described USB module.
Further, described second gating module one end couples described first pin and the second pin, the other end couples described homophase respectively and follows module, ensure that the simulating signal of transmission is in and stablize constant state, and ensure that the signal transmitted by described second gating module by described first pin and the second pin arrives described ADC module, thus described first simulated data pin and the second simulated data pin can only be inputted as ADC module.
Further, when in described first gating module and the second gating module, gating signal is high level, transmission gate conducting, the Signal transmissions at input end in place is to output terminal out and no-voltage is poor, and when gating signal is low level, transmission gate is closed.
A kind of USB and ADC interface multiplexing circuit of the present invention and multiplexing method, reduce chip input and output pin number and can realize the multiplexing of USB interface and ADC interface.Circuit can realize chip interface time-sharing work under USB pattern and under ADC mode by internal control signal.The present invention, can be applicable to flush bonding processor, microcontroller, SOC (system on a chip) etc., had both enriched the kind of interface of processor, and additionally reduced the common pin number of processor.
Accompanying drawing explanation
Fig. 1 is the theory structure block diagram of a kind of USB and ADC interface multiplexing circuit of the present invention;
Fig. 2 is the theory structure schematic diagram of a kind of USB and ADC interface multiplexing circuit of the present invention;
Fig. 3 is first, second gating module circuit realiration schematic diagram in a kind of USB and ADC interface multiplexing circuit of the present invention;
In figure, Reference numeral is expressed as: the external pin of 10-; 11-first pin; 12-second pin; 20-multiplexing control circuit; 21-first gating module; 22-second gating module; 23-homophase follows module; 30-USB module; 31-first data pin; 32-second data pin; 40-ADC module; 41-first simulated data pin; 42-second simulated data pin.
Embodiment
According to drawings and embodiments the present invention is described in further detail below.
Conveniently understand and set forth the specific embodiment of the present invention, as shown in Figure 1, USB and ADC interface multiplexing circuit, comprising: externally pin 10, multiplexing control circuit 20, USB module 30 and ADC module 40; Described outer pin 10, multiplexing control circuit 20 and USB module 30 are electrically connected successively; External pin 10, multiplexing control circuit 20 and ADC module 40 are also electrically connected successively.
Shown in composition graphs 2, external pin 10, comprises the first pin 11 and the second pin 12, is input and output pin;
Multiplexing control circuit 20, comprises two groups of structures, often organizes structure and comprises again the first gating module 21, second gating module 22 and homophase follows module 23, and described first gating module 21 and the second gating module 22 are transmission gate and form; Described second gating module 22 one end is followed module 23 one end with homophase and is electrically connected, first gating module 21 described in one group and described second gating module 22 one end are electrically connected with corresponding described first pin 11 respectively, and another described first gating module 21 of group and described second gating module 22 one end are electrically connected with corresponding described second pin 12 respectively;
USB module 30, comprises the first data pin 31 and the second data pin 32, is input and output pin; Described first data pin 31 and the second data pin 32 are electrically connected with first gating module 21 other end of described two groups of structures respectively;
ADC module 40, comprises the first simulated data pin 41 and the second simulated data pin 42, is input pin; Described first simulated data pin 41 and the second simulated data pin 42 are followed module 23 other end with the homophase of described two groups of structures respectively and are electrically connected.
As shown in Figure 1-2, whether the multiplexing method of USB and the ADC interface multiplexing circuit a kind of as claimed in claim 1 described in the embodiment of the present invention, comprise described first gating module 21 and the second gating module 22 and control it by two contrary internal signals and work:
First gating module 21 works, and the second gating module 22 does not work, then described USB module 30 works;
First gating module 21 does not work, and the second gating module 22 works, then described ADC module 40 works.
Specifically, described USB module 30 controls it by USB internal signal OE and receives data pattern or transmission data pattern:
When OE be high level effective time, described USB module 30 is in transmission data pattern, described first data pin 31 and the second data pin 32 transfer data to described first pin 11 and the second pin 12, now, described first data pin 31 and the second data pin 32 can only as the outputs of described USB module 30;
When OE is low level, described USB module 30 is in reception data pattern, described first pin 11 and the second pin 12 transfer data to described first data pin 31 and the second data pin 32, now, described first data pin 31 and the second data pin 32 can only as the inputs of described USB module 30.
Described second gating module 22 one end couples described first pin 11 and the second pin 12, the other end couples described homophase respectively and follows module 23, ensure that the simulating signal of transmission is in and stablize constant state, and ensure that the signal transmitted by described second gating module 22 by described first pin 11 and the second pin 12 arrives described ADC module 40, thus described first simulated data pin 41 and the second simulated data pin 42 can only be inputted as ADC module.
Further, as shown in Figure 3, when in described first gating module 21 and the second gating module 22, gating signal is high level, transmission gate conducting, the Signal transmissions at input end in place is to output terminal out and no-voltage is poor, and when gating signal is low level, transmission gate is closed.
The foregoing is only explanation embodiments of the present invention; be not limited to the present invention, for a person skilled in the art, within the spirit and principles in the present invention all; any amendment of doing, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1. a USB and ADC interface multiplexing circuit, is characterized in that, comprising:
External pin (10), comprises the first pin (11) and the second pin (12);
Multiplexing control circuit (20), comprise two groups of structures, often organize structure and comprise again the first gating module (21), second gating module (22) and homophase follow module (23), described second gating module (22) one end and homophase are followed module (23) one end and are coupled, first gating module (21) described in one group and described second gating module (22) one end couple with corresponding described first pin (11) respectively, another described first gating module (21) of group and described second gating module (22) one end couple with corresponding described second pin (12) respectively,
USB module (30), comprise the first data pin (31) and the second data pin (32), described first data pin (31) and the second data pin (32) couple with the first gating module (21) other end of described two groups of structures respectively;
ADC module (40), comprise the first simulated data pin (41) and the second simulated data pin (42), described first simulated data pin (41) and the second simulated data pin (42) are followed module (23) other end with the homophase of described two groups of structures respectively and are coupled.
2. USB and ADC interface multiplexing circuit according to claim 1, is characterized in that, the first gating module (21), the second gating module (22) are made up of transmission gate.
3. USB and ADC interface multiplexing circuit according to claim 1, is characterized in that, described first pin (11) and the second pin (12) are input and output pin.
4. USB and ADC interface multiplexing circuit according to claim 1, is characterized in that, described first data pin (31) and the second data pin (32) are input and output pin.
5. USB and ADC interface multiplexing circuit according to claim 1, is characterized in that, described first simulated data pin (41) and the second simulated data pin (42) are input pin.
6. a multiplexing method for USB and ADC interface multiplexing circuit as claimed in claim 1, is characterized in that, whether described first gating module (21) and the second gating module (22) control it by two contrary internal signals and work:
First gating module (21) works, and the second gating module (22) does not work, then described USB module (30) work;
First gating module (21) does not work, and the second gating module (22) works, then described ADC module (40) work.
7. the multiplexing method of USB and ADC interface multiplexing circuit according to claim 6, is characterized in that, described USB module (30) controls it by USB internal signal OE and receives data pattern or send data pattern:
When OE be high level effective time, described USB module (30) is in transmission data pattern, described first data pin (31) and the second data pin (32) transfer data to described first pin (11) and the second pin (12), now, described first data pin (31) and the second data pin (32) can only as the outputs of described USB module (30);
When OE is low level, described USB module (30) is in reception data pattern, described first pin (11) and the second pin (12) transfer data to described first data pin (31) and the second data pin (32), now, described first data pin (31) and the second data pin (32) can only as the inputs of described USB module (30).
8. the multiplexing method of USB and ADC interface multiplexing circuit according to claim 6, it is characterized in that, described second gating module (22) one end couples described first pin (11) and the second pin (12), the other end couples described homophase respectively and follows module (23), ensure that the simulating signal of transmission is in and stablize constant state, and ensure to arrive described ADC module (40) by described first pin (11) and the second pin (12) by the signal that described second gating module (22) is transmitted, thus described first simulated data pin (41) and the second simulated data pin (42) can only be inputted as ADC module.
9. the multiplexing method of USB and ADC interface multiplexing circuit according to claim 6, it is characterized in that, when described first gating module (21) and the middle gating signal of the second gating module (22) are high level, transmission gate conducting, the Signal transmissions at input end in place is to output terminal out and no-voltage is poor, when gating signal is low level, transmission gate is closed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510043563.3A CN104572560A (en) | 2015-01-26 | 2015-01-26 | USB (universal serial bus) and ADC (analog to digital converter) interface multiplex circuit and multiplex method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510043563.3A CN104572560A (en) | 2015-01-26 | 2015-01-26 | USB (universal serial bus) and ADC (analog to digital converter) interface multiplex circuit and multiplex method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104572560A true CN104572560A (en) | 2015-04-29 |
Family
ID=53088671
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510043563.3A Pending CN104572560A (en) | 2015-01-26 | 2015-01-26 | USB (universal serial bus) and ADC (analog to digital converter) interface multiplex circuit and multiplex method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104572560A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740193A (en) * | 2016-01-28 | 2016-07-06 | 青岛海信电器股份有限公司 | USB (Universal Serial Bus) interface circuit, terminal equipment, signal interface and external equipment |
CN107357751A (en) * | 2017-06-08 | 2017-11-17 | 中车大连电力牵引研发中心有限公司 | Pin multiplexing circuit |
CN107481674A (en) * | 2017-08-14 | 2017-12-15 | 深圳市华星光电半导体显示技术有限公司 | Display device |
CN110175141A (en) * | 2018-02-20 | 2019-08-27 | 思睿逻辑国际半导体有限公司 | Method and apparatus relevant to the data transmission of USB connector is passed through |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2775746Y (en) * | 2005-03-09 | 2006-04-26 | 台均科技(深圳)有限公司 | Electronic equipment having playing and storage function |
CN201927859U (en) * | 2011-01-10 | 2011-08-10 | 华为终端有限公司 | Reusable interface |
CN102855202A (en) * | 2012-08-21 | 2013-01-02 | 天地融科技股份有限公司 | Method for detecting type of electronic equipment and data interface |
US8478912B2 (en) * | 2011-02-07 | 2013-07-02 | Hewlett-Packard Development Company, L.P. | Magnetic connector for data and power transfer |
CN104023294A (en) * | 2014-05-30 | 2014-09-03 | 广东欧珀移动通信有限公司 | Interface multiplexing apparatus in terminal, and adaptor panel |
CN204406394U (en) * | 2015-01-26 | 2015-06-17 | 复旦大学无锡研究院 | USB and ADC interface multiplexing circuit |
-
2015
- 2015-01-26 CN CN201510043563.3A patent/CN104572560A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2775746Y (en) * | 2005-03-09 | 2006-04-26 | 台均科技(深圳)有限公司 | Electronic equipment having playing and storage function |
CN201927859U (en) * | 2011-01-10 | 2011-08-10 | 华为终端有限公司 | Reusable interface |
US8478912B2 (en) * | 2011-02-07 | 2013-07-02 | Hewlett-Packard Development Company, L.P. | Magnetic connector for data and power transfer |
CN102855202A (en) * | 2012-08-21 | 2013-01-02 | 天地融科技股份有限公司 | Method for detecting type of electronic equipment and data interface |
CN104023294A (en) * | 2014-05-30 | 2014-09-03 | 广东欧珀移动通信有限公司 | Interface multiplexing apparatus in terminal, and adaptor panel |
CN204406394U (en) * | 2015-01-26 | 2015-06-17 | 复旦大学无锡研究院 | USB and ADC interface multiplexing circuit |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740193A (en) * | 2016-01-28 | 2016-07-06 | 青岛海信电器股份有限公司 | USB (Universal Serial Bus) interface circuit, terminal equipment, signal interface and external equipment |
CN105740193B (en) * | 2016-01-28 | 2018-11-23 | 青岛海信电器股份有限公司 | A kind of usb circuit, terminal device, signaling interface and external equipment |
CN107357751A (en) * | 2017-06-08 | 2017-11-17 | 中车大连电力牵引研发中心有限公司 | Pin multiplexing circuit |
CN107481674A (en) * | 2017-08-14 | 2017-12-15 | 深圳市华星光电半导体显示技术有限公司 | Display device |
CN110175141A (en) * | 2018-02-20 | 2019-08-27 | 思睿逻辑国际半导体有限公司 | Method and apparatus relevant to the data transmission of USB connector is passed through |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100468378C (en) | SPI apparatus telecommunication circuit | |
CN206312134U (en) | A kind of switching device suitable for multipath server | |
CN104572560A (en) | USB (universal serial bus) and ADC (analog to digital converter) interface multiplex circuit and multiplex method | |
CN207264377U (en) | Programmable I2C multiple selector and interchanger | |
CN104424154A (en) | Universal Spi (serial Peripheral Interface) | |
CN201887290U (en) | Universal debugging pinboard | |
CN101281453B (en) | Memory apparatus cascading method, memory system as well as memory apparatus | |
CN205844977U (en) | A kind of computer based on 1500A processor of soaring controls mainboard and computer | |
CN204406394U (en) | USB and ADC interface multiplexing circuit | |
CN201732158U (en) | Self-checking device | |
CN107317737A (en) | One kind is based on SMBus/I2The communication system of C buses | |
CN207663247U (en) | A kind of general comprehensive excitation system | |
CN102540958A (en) | 64-Bit block insulation digital I/O (Input/Output) module on basis of PXI (Peripheral Component Interconnect) bus | |
CN206451069U (en) | Multi-channel high-speed signal switching card based on FPGA | |
RU175051U1 (en) | Processor module | |
CN104915313B (en) | A kind of FMC boards that level conversion is realized using FPGA | |
CN104345716A (en) | Method for realizing satellite power control and modularized plug-and-play of distribution unit | |
CN103885362A (en) | Multi-DSP parallel processing board based on CPCI-E bus | |
CN103729326A (en) | GPIO expansion method based on shifting registers | |
CN203149572U (en) | EDA comprehensive experimental platform based on FPGA chip | |
CN202870817U (en) | Embedded system based on two digital signal processors (DSPs) and 1553B bus interface | |
CN105653483B (en) | The extensive usb expansion device of tandem and method of work, system | |
CN204650202U (en) | A kind of CPLD of utilization realizes the single-chip computer control system of ports-Extending | |
CN205247380U (en) | Backplate based on serial data transmission | |
CN220367596U (en) | JTAG daisy chain topology structure and JTAG debugging system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150429 |