CN113590521A - USB interface module, device, data transmission interface module and communication system - Google Patents
USB interface module, device, data transmission interface module and communication system Download PDFInfo
- Publication number
- CN113590521A CN113590521A CN202110707475.4A CN202110707475A CN113590521A CN 113590521 A CN113590521 A CN 113590521A CN 202110707475 A CN202110707475 A CN 202110707475A CN 113590521 A CN113590521 A CN 113590521A
- Authority
- CN
- China
- Prior art keywords
- data transmission
- comparator
- channel
- signal
- output
- 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
- 230000005540 biological transmission Effects 0.000 title claims abstract description 190
- 238000004891 communication Methods 0.000 title claims abstract description 83
- 238000006243 chemical reaction Methods 0.000 claims description 16
- 230000000087 stabilizing effect Effects 0.000 claims description 13
- 101000878595 Arabidopsis thaliana Squalene synthase 1 Proteins 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 2
- 230000010267 cellular communication Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Logic Circuits (AREA)
- Power Sources (AREA)
Abstract
The invention relates to a USB interface module, equipment, a data transmission interface module and a communication system, wherein a first configuration pin of a first Type-C interface in the USB interface module is connected with a ground end through a pull-down resistor R1, and a second configuration pin is connected with the ground end through a pull-down resistor R2; the reverse input end of the first comparator is used for receiving a first reference voltage, and the same-direction input end of the first comparator is respectively connected with a first configuration pin of the first Type-C interface and a pull-down resistor R1; the first multi-channel gate is used for being connected with the wireless communication module, a first data transmission channel of the first multi-channel gate is communicated with a first signal channel, a second data transmission channel is communicated with a second signal channel, a first gate pin of the first multi-channel gate is connected with an output end of the first comparator, and the first multi-channel gate is used for selecting data transmission with the wireless communication module through the first data transmission channel or the second data transmission channel according to a first signal output by the first comparator, so that the purpose of supporting a Type-C interface on the super-speed wireless communication module is achieved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a USB interface module, a device, a data transmission interface module, and a communication system.
Background
With the advancement of cellular communications, LTE wireless communication modules currently have rates of up to 1Gbps, while 5G wireless communication modules may even have rates of up to 10 Gbps. The huge data throughput requires the communication interface to have a super high speed, so the USB3.1 or PCIe interface is usually adopted to realize super high speed data transmission, especially in the field test of operator certification, the USB3.1 is mainly used.
Due to the fact that the power consumption of the ultra-high-speed module is greatly increased, the current Micro USB interface only supports 5V/500mA and cannot meet the design requirement, and the requirement of the ultra-high-speed wireless communication module on the 5V/3A power supply capacity can be met by adopting the Type-C interface. Adopt compatible USB3.1 and USB2.0 data line that Type-C connector can be perfect simultaneously, avoid the easy contact failure problem that exists when inserting Micro USB2.0 connecting wire of current Micro USB3.0 connector.
Although the Type-C interface is used with a significant advantage, the problem is that the existing pin definition of the ultra-high speed wireless communication module (for example, m.2 module) does not support the CC control logic (direction/current detection) of the Type-C interface, and the CC logic control chip scheme is complex in function setting due to the need of supporting a complete protocol of Type-C, and is high in cost on the other hand. Therefore, a simple circuit is needed to implement CC logic control.
Disclosure of Invention
In view of the above, it is necessary to provide a USB interface module, a device, a data transmission interface module, and a communication system for realizing ultra-high-speed wireless communication.
A USB interface module, comprising:
the first Type-C interface is provided with a first signal channel, a second signal channel, a first configuration pin and a second configuration pin, the first configuration pin is connected with the ground end through a pull-down resistor R1, and the second configuration pin is connected with the ground end through a pull-down resistor R2;
a first comparator, an inverting input terminal of which is used for receiving a first reference voltage, and a non-inverting input terminal of which is respectively connected with the first configuration pin and the pull-down resistor R1;
the first multiplexer is used for being connected with the wireless communication module, and is provided with:
the first data transmission channel is communicated with the first signal channel;
the second data transmission channel is communicated with the second signal channel;
the first multiplexer is configured with a first gating pin, the first gating pin is connected with an output end of the first comparator, and is used for selectively conducting a transmission path between the first data transmission channel and the wireless communication module or a transmission path between the second data transmission channel and the wireless communication module according to a first signal output by an output end of the first comparator.
In one embodiment, the selecting to turn on the transmission path between the first data transmission channel and the wireless communication module or the transmission path between the second data transmission channel and the wireless communication module according to the first signal output by the output terminal of the first comparator includes:
if the output end of the first comparator outputs high level, a transmission path between the first data transmission channel and the wireless communication module is conducted;
and if the output end of the first comparator outputs low level, the transmission path between the second data transmission channel and the wireless communication module is conducted.
In one embodiment, the USB interface module further includes:
and the power supply conversion circuit is respectively connected with a power supply and the inverted input end and is used for converting the power supply voltage provided by the power supply into the first reference voltage.
In one embodiment, the power conversion circuit includes:
the voltage stabilizing circuit is connected with the power supply and used for converting the power supply voltage into working voltage;
and the voltage division circuit is respectively connected with the voltage stabilizing circuit and the in-phase input end and is used for dividing the working voltage to output the first reference voltage.
A USB interface device, comprising:
a wireless communication module; and
the USB interface module of any one of the above embodiments, wherein the wireless communication module is an m.2 module, and an SS end of the m.2 module is connected to the first multiplexer.
A data transmission interface module, for connecting with any one of the above USB interface modules, the data transmission interface module comprising:
the second Type-C interface is used for being connected with the first Type-C interface, and is provided with a third configuration pin, a fourth configuration pin, a third signal channel and a fourth signal channel, wherein the third configuration pin is connected with a first power supply through a pull-up resistor R3, and the fourth configuration pin is connected with a second power supply through a pull-up resistor R4;
the input end of the inverter is respectively connected with the pull-up resistor R3 and the third configuration pin;
a second comparator, an inverting input terminal of the second comparator is used for receiving a second reference voltage, and a non-inverting input terminal of the second comparator is respectively connected with the pull-up resistor R3 and the third configuration pin;
the second multi-channel gate is used for being connected with the host end and provided with:
a third data transmission channel which is communicated with the third signal channel;
a fourth data transmission channel which is communicated with the fourth signal channel;
the second multiplexer is configured with a second gating pin, and the second gating pin is respectively connected to the output end of the inverter and the output end of the second comparator, and is used for selectively turning on a transmission path between the third data transmission channel and the host end or a transmission path between the fourth data transmission channel and the host end according to a second signal output by the output end of the inverter and a third signal output by the output end of the second comparator.
In one embodiment, the selecting to turn on the transmission path between the third data transmission channel and the host end or the transmission path between the fourth data transmission channel and the host end according to the second signal output by the output end of the inverter and the third signal output by the output end of the second comparator includes:
if at least one of the output end of the inverter and the output end of the second comparator outputs a low level, a transmission path between the fourth data transmission channel and the host end is conducted;
and if the output end of the phase inverter and the output end of the second comparator both output high levels, a transmission path between the third data channel and the host end is conducted.
A communication system comprising the USB interface module of any one of the above and the data transmission interface module of any one of the above, further comprising:
a wireless communication module; and
a host side.
In one embodiment, when the power conversion circuit is included, the power source is an output power source at the host end.
In one embodiment, when the power conversion circuit includes the voltage stabilizing circuit and the voltage dividing circuit, the voltage stabilizing circuit is further connected to the first multiplexer, the second multiplexer, the first comparator and the second comparator, respectively, for providing the operating voltage to the first multiplexer, the second multiplexer, the first comparator and the second comparator, respectively.
The USB interface module, the USB interface device, the data transmission interface module, and the communication system are provided, wherein the USB interface module is provided with a first Type-C interface, a first comparator, and a first multiplexer, wherein a first configuration pin of the first Type-C interface is connected to a ground terminal through a pull-down resistor R1, and a second configuration pin is connected to the ground terminal through a pull-down resistor R2; the reverse input end of the first comparator is used for receiving a first reference voltage, and the same-direction input end of the first comparator is respectively connected with a first configuration pin of the first Type-C interface and the pull-down resistor R1; the first multi-channel gate is used for being connected with the wireless communication module, the first multi-channel gate is provided with a first data transmission channel and a second data transmission channel, and the first data transmission channel is communicated with the first signal channel; the second data transmission channel is communicated with the second signal channel, and the first multi-way gate is also provided with a first gate pin; the first gating pin is connected with the output end of the first comparator and used for selecting to transmit data with the wireless communication module through the first data transmission channel or the second data transmission channel according to a first signal output by the output end of the first comparator, and the first Type-C interface in the USB interface module can transmit data with the wireless communication module, so that the purpose of supporting the Type-C interface on the ultra-high-speed wireless communication module is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the descriptions of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following descriptions are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a USB interface module according to an embodiment;
FIG. 2 is a schematic structural diagram of a USB interface module according to another embodiment;
FIG. 3 is a schematic structural diagram of a data transmission interface module according to an embodiment;
fig. 4 is a schematic structural diagram of a communication system according to an embodiment.
Element number description:
first Type-C interface: 101, a first electrode and a second electrode; a first comparator: 102, and (b); a first multiplexer: 103; a wireless communication module: 104; the power supply conversion circuit: 105; the second Type-C interface: 106; an inverter: 107; a second comparator: 108; a second multiplexer: 109; a host end: 110; voltage stabilizing circuit: 1051; a voltage dividing circuit: 1052
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first resistance may be referred to as a second resistance, and similarly, a second resistance may be referred to as a first resistance, without departing from the scope of the present application. The first resistance and the second resistance are both resistances, but they are not the same resistance.
It is to be understood that "connection" in the following embodiments is to be understood as "electrical connection", "communication connection", and the like if the connected circuits, modules, units, and the like have communication of electrical signals or data with each other.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Also, as used in this specification, the term "and/or" includes any and all combinations of the associated listed items.
Fig. 1 is a schematic structural diagram of a USB interface module according to an embodiment of the present invention, including a first Type-C interface 101, a first comparator 102, and a first multiplexer 103, where the first Type-C interface 101 is provided with a first signal channel, a second signal channel, a first configuration pin, and a second configuration pin, the first configuration pin is connected to a ground terminal through a pull-down resistor R1, and the second configuration pin is connected to the ground terminal through a pull-down resistor R2; an inverting input terminal of the first comparator 102 is configured to receive a first reference voltage Vref1, and a non-inverting input terminal of the first comparator 102 is connected to the first configuration pin of the first Type-C interface 101 and the pull-down resistor R1, respectively; the first multiplexer 103 is used for connecting with the wireless communication module 104, the first multiplexer 103 is provided with a first data transmission channel C0 and a second data transmission channel B0, the first data transmission channel C0 is conducted with the first signal channel SS2, and the second data transmission channel B0 is conducted with the second signal channel SS 1; the first multiplexer 103 is configured with a first gate pin SEL, and the first gate pin SEL is connected to an output terminal of the first comparator 102 and is used for selecting data transmission with the wireless communication module 104 through the first data transmission channel C0 or the second data transmission channel B0 according to a first signal output by the output terminal of the first comparator 102.
Specifically, the first multiplexer 103 is connected between the first Type-C interface 101 and the wireless communication module 104, the first multiplexer 103 is provided with a first data transmission channel C0 and a second data transmission channel B0, the first Type-C interface 101 is provided with a first signal channel SS2 and a second signal channel SS1, the first data transmission channel C0 is conducted with the first signal channel SS2, the second data transmission channel B0 is conducted with the second signal channel SS1, the first multiplexer 103 is further provided with a first strobe pin SEL, the first strobe pin SEL receives a first signal output by an output end of the first comparator 102, so that data transmission is performed between the first data transmission channel C0 and the wireless communication module 104 or between the second data transmission channel B0 and the wireless communication module 104 according to the first signal, the data transmission channel is divided into two by the first multiplexer 103, and are respectively communicated with the two signal channels of the first Type-C interface 101 correspondingly, and then one of the data transmission channels is selected to be communicated to perform data transmission with the wireless communication module 104, so that the data transmission between the first signal channel or the second signal channel of the first Type-C interface 101 and the wireless communication module 104 is realized.
In one embodiment, the first multiplexer 103 may be selected as a USB3.1 MUX control chip, which is perfectly compatible with USB3.0 and USB3.1 signals using the USB3.1 MUX control chip. The first gating pin SEL is a channel configuration pin of the USB3.1 MUX control chip, and the USB3.1 MUX control chip can be selected as a one-to-two gate. In order to meet the requirement that the highest rate supported by the signal line of the ultra-high-speed wireless communication module 104 reaches 10Gpbs, considering that the requirement on signal integrity is very high, the problem that the signal integrity cannot be guaranteed due to direct adoption of branch connection can be solved by adopting the multi-way gate to selectively switch the signal line.
Specifically, when the wireless communication module 104 is not connected to the host side, that is, the first signal path SS2 is not connected to the host side, the potential of the first configuration pin CC2 is at a low level of 0V, and after comparing with the first reference voltage Vref1, the first signal output by the output terminal of the first comparator 102 is at a low level, and the first gate pin SEL selects to turn on the first data transmission path C0 or the second data transmission path B0 when receiving the first signal at a low level, so as to transmit the data of the wireless communication module 104 through the first signal path SS2 or the second signal path SS 1; in the case that the wireless communication module 104 is connected to the host side by using the Type-C to Standard a data line, since the Standard a side has no CC pin defined, according to the Type-C protocol, the Type-C CC1(Cable) pin inside the data line has 56K resistance to pull up to VBUS (+5V), which can be divided into two cases:
(1) the second configuration pin CC1 is connected to the CC1(Cable) pin of the data line, and the second configuration pin CC1 is pulled up to +5V through the 56K Ω resistor, at this time, the CC2 potential of the first configuration pin is still 0V, and the first signal is low level;
(2) the first configuration pin CC2 is connected to the CC1(Cable) pin of the data line, and the first configuration pin CC2 is pulled up to +5V through the 56K Ω resistor, and at this time, the potential of the first configuration pin CC2 is at a high level higher than the first reference voltage Vref1, and the first signal is at a high level.
Specifically, the resistance values of the pull-down resistor R1 and the pull-down resistor R2 may be 5.1k Ω, when the first configuration pin CC2 is connected to a CC1(Cable) pin of the data line, the voltage output by the first configuration pin CC2 is 0.4V, the first reference voltage Vref1 may be 0.2V, and a high level may be output after the comparison by the first comparator 102.
Because the first configuration pin CC2 and the second configuration pin CC1 of the first Type-C interface 101 are grounded by pulling down a resistor, respectively, when the host detects the ground resistor R2 of the second configuration pin CC1 or the ground resistor R1 of the first configuration pin CC2, the host outputs 5V/3A power supply to meet the requirement of the ultra-high speed module for high power consumption.
Further, according to the first signal, the first gate pin selectively turns on the first data transmission channel C0 or the second data transmission channel B0, so that the first signal channel SS2 or the second signal channel SS1 of the first Type-C interface 101 performs data transmission with the wireless communication module 104.
The USB interface module provided by the embodiment of the invention is provided with a first Type-C interface 101, a first comparator 102 and a first multiplexer 103, wherein a first configuration pin and a second configuration pin of the first Type-C interface 101 are respectively connected with a ground terminal; the reverse input end of the first comparator 102 is configured to receive a first reference voltage, and the same-direction input end of the first comparator 102 is connected to the first configuration pin and the ground end of the first Type-C interface 101, respectively; the first multi-channel gate 103 is used for connecting with the wireless communication module 104, the first multi-channel gate 103 is provided with a first data transmission channel and a second data transmission channel, and the first data transmission channel is communicated with the first signal channel; the second data transmission channel is communicated with the second signal channel, and the first multiplexer 103 is also configured with a first gating pin; the first gating pin is connected with the output end of the first comparator 102 and is used for selecting data transmission with the wireless communication module 104 through the first data transmission channel or the second data transmission channel according to a first signal output by the output end of the first comparator 102, the first Type-C interface 101 in the USB interface module can perform data transmission with the wireless communication module 104, and therefore the purpose of supporting the Type-C interface on the ultra-high-speed wireless communication module 104 is achieved, in addition, switching of a signal channel can be achieved through the first configuration pin CC2 and the second configuration pin CC1 of the first Type-C interface 101 no matter whether the first Type-C interface 101 is inserted in a positive or negative mode, and connection with the wireless communication module 104 is ensured.
In addition, the embodiment of the invention realizes the CC logic control design requirement of the USB Type-C based on the wireless communication module 104, and meets the power consumption requirement of the external field test on high power 5V/3A. Since the USB interface module implements the control logic of the host and the wireless communication module 104, it facilitates capture and analysis of the protocol log of USB 3.1. From the circuit design, the function of CC control logic is realized through a simple discrete device building circuit, and the cost is greatly reduced. The circuit can implement a USB Type-C circuit on a product without native Type-C support, such as an M.2 module.
In one embodiment, selecting to turn on the transmission path between the first data transmission channel and the wireless communication module 104 or the transmission path between the second data transmission channel and the wireless communication module 104 according to the first signal output by the output terminal of the first comparator 102 includes: if the output end of the first comparator 102 outputs a high level, the transmission path between the first data transmission channel C0 and the wireless communication module 104 is turned on; if the output terminal of the first comparator 102 outputs a low level, the transmission path between the second data transmission channel B0 and the wireless communication module 104 is turned on.
In one embodiment, the USB interface module further includes a power conversion circuit 105, as shown in fig. 1, the power conversion circuit 105 is respectively connected to a power supply (not shown) and an inverting input terminal of the first comparator 102 for converting a supply voltage provided by the power supply into the first reference voltage Vref 1.
It is understood that in one embodiment, the power source may be an ac power source, and in this case, the power conversion circuit 105 may be a modulation circuit for converting to obtain the preset first reference voltage Vref1, and in another embodiment, the power source may be a small voltage power source with an output voltage smaller than the first reference voltage Vref1, and in this case, the power conversion circuit 105 may be a voltage boosting circuit for boosting to obtain the preset first reference voltage Vref 1.
In one embodiment, the power conversion circuit 105 may include a voltage stabilizing circuit 1051 and a voltage dividing circuit 1052, as shown in fig. 2, the voltage stabilizing circuit 1051 is used for connecting with a power supply for converting a supply voltage into a stable operating voltage; the voltage dividing circuit 1052 is connected to the voltage stabilizing circuit 1051 and the inverting input terminal of the first comparator 102, respectively, for dividing the operating voltage to output a first reference voltage Vref 1. The voltage stabilizing circuit 1051 may include a linear regulator LDO, which is connected to the power supply and the voltage divider circuit 1052, respectively.
The voltage regulator 1051 can convert the supply voltage into a 3.3V working voltage.
The embodiment of the present invention further provides a USB interface device, which includes a wireless communication module 104 and the USB interface module described in any of the above embodiments.
In one embodiment, the wireless communication module 104 may be an m.2 module, wherein the SS terminal of the m.2 module is connected to the first multiplexer 103. Specifically, the SS terminal of the m.2 module may be connected to the common terminal of the first multiplexer 103 for data transmission.
An embodiment of the present invention further provides a data transmission interface module, which is used to connect with the USB interface module of any one of the above embodiments, as shown in fig. 3, the data transmission interface module includes a second Type-C interface 106, an inverter 107, a second comparator 108, and a second multiplexer 109.
The second Type-C interface 106 is used for being connected with the first Type-C interface 101, the second Type-C interface 106 is provided with a third configuration pin CC2, a fourth configuration pin CC1, a third signal channel SS2 and a fourth signal channel SS1, the third configuration pin CC2 is connected with a first power supply U1 through a pull-up resistor R3, and the fourth configuration pin CC1 is connected with a second power supply U2 through a pull-up resistor R4; the input end of the inverter 107 is respectively connected with a pull-up resistor R3 and a third configuration pin CC 2; the inverting input terminal of the second comparator 108 is used for receiving a second reference voltage Vref2, and the non-inverting input terminal of the second comparator 108 is respectively connected with the pull-up resistor R3 and the third configuration pin CC 2; the second multiplexer 109 is used for connecting with the host, the second multiplexer 109 is provided with a third data transmission channel C0 and a fourth data transmission channel B0, and the third data transmission channel C0 is conducted with a third signal channel SS 2; the fourth data transmission channel B0 is conducted with the fourth signal channel SS 1; wherein, the second multiplexer 109 is configured with a second gate pin SEL, the second gate pin SEL is respectively connected with the output terminal of the inverter 107 and the output terminal of the second comparator 108, and is used for selectively turning on the transmission path between the third data transmission channel C0 and the host terminal or the transmission path between the fourth data transmission channel B0 and the host terminal according to the second signal output by the output terminal of the inverter 107 and the third signal output by the output terminal of the second comparator 108.
It is understood that the second multiplexer 109 is connected between the second Type-C interface 106 and the host terminal, wherein the common terminal of the second multiplexer 109 may be connected to the host terminal, the second multiplexer 109 is provided with a third data transmission channel C0 and a fourth data transmission channel B0, the first Type-C interface 101 is provided with a third signal channel SS2 and a fourth signal channel SS1, the third data transmission channel C0 is conducted with the third signal channel SS2, the fourth data transmission channel B0 is conducted with the fourth signal channel SS1, the second multiplexer 109 is further provided with a second gate pin SEL, the second gate pin SEL receives the second signal output from the output terminal of the inverter 107 and the third signal output from the output terminal of the second comparator 108, so that the third data transmission channel C0 or the fourth data transmission channel B0 is selectively conducted according to the second signal and the third signal, and thus the data transmission channel C0 and the host terminal are conducted with data transmission or the main data transmission channel B0 and the main data transmission channel B0 The data transmission is performed at the host end, the data transmission channel is divided into two parts by the second multiplexer 109 and is respectively communicated with the two signal channels of the second Type-C interface 106, and then one of the data transmission channels is selected to be communicated to perform data transmission with the host end, so that the data transmission is performed between the third signal channel SS2 or the fourth signal channel SS1 of the second Type-C interface 106 and the host end. Wherein, the host end can be a notebook, a gateway or a CPE complete machine.
In one embodiment, the second multiplexer 109 may be selected as a USB3.1 MUX control chip, which is perfectly compatible with USB3.0 and USB3.1 signals using the USB3.1 MUX control chip. The second gating pin SEL is a channel configuration pin of the USB3.1 MUX control chip, and the USB3.1 MUX control chip can be selected as a one-to-two gate. In order to meet the requirement of high transmission rate with the ultra-high-speed wireless communication module 104, the problem that the signal integrity cannot be guaranteed due to the fact that branch connection is directly adopted can be solved by adopting the multi-way gate to selectively switch the signal channels in consideration of the signal integrity.
Specifically, when the host terminal is not connected to the wireless communication module 104, that is, the third signal path SS2 is not connected to the wireless communication module 104, the potential of the third configuration pin CC2 is the first voltage output by the first power supply U1, wherein the first voltage is greater than the second reference voltage Vref2, based on the first voltage, the inverter 107 outputs the second signal at a low level, and the third signal output by the second comparator 108 is at a high level, the second gate pin SEL can selectively turn on the third data transmission path C0 or the fourth data transmission path B0 according to the second signal and the third signal, so as to transmit the data of the host terminal through the third signal path SS2 or the fourth signal path SS 1; when the host and the wireless communication module 104 perform data transmission through the Type C to Type C data line, since the data line has two transmission lines Lane1 and Lane2 (i.e., SS1 and SS2), but only 1 CC pin is used to indicate the Lane1 direction, and Lane2 corresponds to the VCONN pin, the pin has no direction indication function. When the third configuration pin CC2 on the host side is connected to Lane2 of the data line, i.e., to the VCONN pin, the potential of the third configuration pin CC2 is low level smaller than the second reference voltage, the second signal output from the inverter 107 is high level, and the second comparator 108 outputs the third signal low level; when the third configuration pin CC2 of the host terminal is connected to Lane1 of the data line, i.e., connected to the first signal path SS1 or the second signal path SS2 of the first Type-C interface 101, the potential of the third configuration pin CC2 is at a low level greater than the second reference voltage, the second signal output by the inverter 107 is at a high level, and the third signal output by the second comparator 108 is at a high level. Further, according to the second signal and the third signal, the second strobe pin SEL selectively turns on the third data transmission channel C0 or the fourth data transmission channel B0, and further performs data transmission with the host terminal through the third signal channel SS2 or the fourth signal channel SS1 of the second Type-C interface 106.
The pull-up resistor R3 and the pull-up resistor R4 function as voltage limiting, so that the third configuration pin CC2 and the fourth configuration pin CC1 reach corresponding potential values.
The data transmission interface module of the embodiment of the invention is provided with a second Type-C interface 106, an inverter 107, a second comparator 108 and a second multi-way gate 109, wherein the second Type-C interface 106 is used for being connected with the first Type-C interface 101, the second Type-C interface 106 is provided with a third configuration pin CC2, a fourth configuration pin CC1, a third signal channel SS2 and a fourth signal channel SS1, the third configuration pin CC2 is connected with a first power supply U1 through a pull-up resistor R3, and the fourth configuration pin CC1 is connected with a second power supply U2 through a pull-up resistor R4; the input end of the inverter 107 is respectively connected with a pull-up resistor R3 and a third configuration pin CC 2; the inverting input terminal of the second comparator 108 is used for receiving a second reference voltage Vref2, and the non-inverting input terminal of the second comparator 108 is respectively connected with the pull-up resistor R3 and the third configuration pin CC 2; the second multiplexer 109 is used for connecting with the host, the second multiplexer 109 is provided with a third data transmission channel C0 and a fourth data transmission channel B0, and the third data transmission channel C0 is conducted with a third signal channel SS 2; the fourth data transmission channel B0 is conducted with the fourth signal channel SS 1; the second multiplexer 109 is configured with a second gate pin SEL, the second gate pin SEL is respectively connected to the output end of the inverter 107 and the output end of the second comparator 108, and is configured to selectively conduct a transmission path between the third data transmission channel C0 and the host end or a transmission path between the fourth data transmission channel B0 and the host end according to a second signal output by the output end of the inverter 107 and a third signal output by the output end of the second comparator 108, the second Type-C interface 106 in the data transmission interface module can be connected to the first Type-C interface 101 in the USB interface module through a Type C to Type C data line, so as to perform high-speed data transmission, and the second Type-C interface 106 can be connected to the wireless communication module 104 regardless of positive and negative insertion.
In one embodiment, selecting to turn on the transmission path between the third data transmission channel and the host terminal or the transmission path between the fourth data transmission channel and the host terminal according to the second signal output from the output terminal of the inverter 107 and the third signal output from the output terminal of the second comparator 108 includes: if at least one of the output end of the inverter 107 and the output end of the second comparator 108 outputs a low level, a transmission path between the fourth data transmission channel and the host end is turned on; if the output terminal of the inverter 107 and the output terminal of the second comparator 108 both output a high level, the transmission path between the third data channel and the host terminal is turned on.
In one embodiment, the values of the pull-up resistor R3 and the pull-up resistor R4 may be 36k Ω, the first and second power sources may be 3.3V, and the second reference voltage Vref2 may be 0.2V. When the third signal channel SS2 of the second Type-C interface 106 is conducted with the first signal channel SS2 or the second signal channel SS1 of the first Type-C interface 101, the voltage level of the first configuration pin CC2 or the second configuration pin CC1 is 0.4V after the first configuration pin CC2 or the second configuration pin CC1 passes through the pull-down resistor 5.1k ohm; when the fourth signal channel SS1 of the second Type-C interface 106 is conducted with the first signal channel SS2 or the second signal channel SS1 of the first Type-C interface 101, the voltage level of the first configuration pin CC2 or the second configuration pin CC1 is 0.4V after the first configuration pin CC2 or the second configuration pin CC1 passes through the pull-down resistor 5.1k ohms. When the voltage output from the first configuration pin CC2 is 0.4V, since the first reference voltage Vref1 can be 0.2V, a high level can be output after comparison by the comparator, which is consistent with the output logic of the first configuration pin CC2 in the embodiment of fig. 2.
Specifically, the specific control logic when the first Type-C interface 101 and the second Type-C interface 106 are connected by the Type C to Type C data line can be referred to table 1.
TABLE 1
An embodiment of the present invention further provides a communication system, which includes the USB interface module according to any of the above embodiments, the data transmission interface module according to any of the above embodiments, the wireless communication module 104, and a host.
In one embodiment, when power conversion circuit 105 is included, the power supply is the output power supply of the host side.
It can be understood that the output power supply at the host end is used as a power supply to provide power supply voltage, so that an external power supply is not required, the cost is reduced, and the circuit structure is simplified.
In one embodiment, as shown in FIG. 4, when the power conversion circuit 105 includes a voltage stabilizing circuit 1051 and a voltage divider circuit 1052, the voltage stabilizing circuit 1051 is further connected to the first multiplexer 103, the second multiplexer 109, the first comparator 102 and the second comparator 108, respectively, for providing the operating voltages to the first multiplexer 103, the second multiplexer 109, the first comparator 102 and the second comparator 108, respectively.
In one embodiment, the voltage divider circuit 1052 is further connected to the second comparator 108 for providing a second reference voltage Vref 2.
The embodiment of the present invention further provides a data transmission interface module, which includes a second Type-C interface 106, an inverter 107, a second comparator 108, and a second multiplexer 109.
As shown in fig. 3, the second Type-C interface 106 has a third configuration pin CC2, a fourth configuration pin CC1, a third signal channel SS2 and a fourth signal channel SS1, the third configuration pin CC2 is connected to the first power source U1, and the fourth configuration pin CC1 is connected to the second power source U2; the input end of the inverter 107 is respectively connected with a first power supply U1 and a third configuration pin CC 2; the inverting input terminal of the second comparator 108 is configured to receive a second reference voltage Vref2, and the non-inverting input terminal of the second comparator 108 is connected to the first power supply U1 and the third configuration pin CC2, respectively; the second multiplexer 109 is used for connecting with the host, the second multiplexer 109 is provided with a third data transmission channel C0 and a fourth data transmission channel BO, and the third data transmission channel C0 is communicated with a third signal channel SS 2; the fourth data transmission channel B0 is conducted with the fourth signal channel SS 1; wherein, the second multiplexer 109 is configured with a second gate pin SEL, the second gate pin SEL is respectively connected with the output terminal of the inverter 107 and the output terminal of the second comparator 108, and is used for selectively turning on the transmission path between the third data transmission channel C0 and the host terminal or the transmission path between the fourth data transmission channel B0 and the host terminal according to the second signal output by the output terminal of the inverter 107 and the third signal output by the output terminal of the second comparator 108.
Specifically, when the host terminal is not connected to the wireless communication module 104, that is, the third signal path SS2 is not connected to the wireless communication module 104, the potential of the third configuration pin CC2 is the first voltage output by the first power supply U1, wherein the first voltage is greater than the second reference voltage Vref2, based on the first voltage, the inverter 107 outputs the second signal at a low level, and the third signal output by the second comparator 108 is at a high level, the second gate pin SEL can selectively turn on the third data transmission path C0 or the fourth data transmission path B0 according to the second signal and the third signal, so as to transmit the data of the host terminal through the third signal path SS2 or the fourth signal path SS 1; in the case that the host side is connected to the wireless communication module 104 by using a Type-C to Standard B data line, since the Standard B side has no CC pin defined, according to the Type-C protocol, the CC1(Cable) pin at the Type-C side inside the data line is pulled down to the ground by a resistance of 5.1K Ω, which can be divided into two cases:
(1) the fourth configuration pin CC1 is connected to a CC1(Cable) pin of the data line, and the fourth configuration pin CC1 is pulled to the ground through a pull-down resistor of 5.1K Ω, at this time, the third configuration pin CC2 keeps the high level of the first voltage, the second signal is low level, and the third signal is high level.
(2) The third configuration pin CC2 is connected to a CC1(Cable) pin of the data line, and the third configuration pin CC2 is pulled to the ground through a pull-down resistor of 5.1K Ω, at this time, the potential of the third configuration pin CC2 is at a low level higher than the second reference voltage Vref2, the second signal is at a high level, and the third signal is at a high level.
Further, the second gate pin SEL selects to turn on the transmission path between the third data transmission channel C0 and the host terminal or the transmission path between the fourth data transmission channel B0 and the host terminal according to the second signal and the third signal.
The data transmission interface module of the embodiment of the invention realizes high-speed data transmission through the second Type-C interface 106, and the second Type-C interface 106 can realize switching of signal channels no matter whether the data is inserted in a positive direction or a negative direction, so that connection with a host end is ensured.
In one embodiment, the data transmission interface module further includes a resistor R3 and a resistor R4, as shown in fig. 4, the resistor R3 is connected to the first power supply, the input terminal of the inverter 107, the non-inverting input terminal of the second comparator 108, and the third configuration pin CC2, respectively; the resistor R4 is connected to the second power supply U2 and the fourth configuration pin CC1, respectively.
In one embodiment, the resistance of the resistor R3 and the resistor R4 may be 36k Ω, and the first voltage output by the first power source U1 and the second voltage output by the second power source U2 may be 3.3V. When the third configuration pin CC2 is pulled to the ground through the pull-down resistor of 5.1K Ω, the potential of the third configuration pin CC2 is at a low level of 0.4V; when the fourth configuration pin CC1 is pulled to ground through a 5.1K Ω pull-down resistor, the potential of the fourth configuration pin CC1 is 0.4V low.
In the description herein, references to the description of "some embodiments," "other embodiments," "desired embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A USB interface module, comprising:
the first Type-C interface is provided with a first signal channel, a second signal channel, a first configuration pin and a second configuration pin, the first configuration pin is connected with the ground end through a pull-down resistor R1, and the second configuration pin is connected with the ground end through a pull-down resistor R2;
a first comparator, an inverting input terminal of which is used for receiving a first reference voltage, and a non-inverting input terminal of which is respectively connected with the first configuration pin and the pull-down resistor R1;
the first multiplexer is used for being connected with the wireless communication module, and is provided with:
the first data transmission channel is communicated with the first signal channel;
the second data transmission channel is communicated with the second signal channel;
the first multiplexer is configured with a first gating pin, the first gating pin is connected with an output end of the first comparator, and is used for selectively conducting a transmission path between the first data transmission channel and the wireless communication module or a transmission path between the second data transmission channel and the wireless communication module according to a first signal output by an output end of the first comparator.
2. The USB interface module according to claim 1, wherein the selecting to turn on the transmission path between the first data transmission channel and the wireless communication module or the transmission path between the second data transmission channel and the wireless communication module according to the first signal output by the output terminal of the first comparator comprises:
if the output end of the first comparator outputs high level, a transmission path between the first data transmission channel and the wireless communication module is conducted;
and if the output end of the first comparator outputs low level, the transmission path between the second data transmission channel and the wireless communication module is conducted.
3. The USB interface module of claim 1, further comprising:
and the power supply conversion circuit is respectively connected with a power supply and the inverted input end and is used for converting the power supply voltage provided by the power supply into the first reference voltage.
4. The USB interface module of claim 3, wherein the power conversion circuit comprises:
the voltage stabilizing circuit is connected with the power supply and used for converting the power supply voltage into working voltage;
and the voltage division circuit is respectively connected with the voltage stabilizing circuit and the in-phase input end and is used for dividing the working voltage to output the first reference voltage.
5. A USB interface device, comprising:
a wireless communication module; and
the USB interface module of any one of claims 1-4; the wireless communication module is an M.2 module, and the SS end of the M.2 module is connected with the first multi-way gate.
6. A data transmission interface module for connecting with the USB interface module of any one of claims 1 to 4, the data transmission interface module comprising:
the second Type-C interface is used for being connected with the first Type-C interface, and is provided with a third configuration pin, a fourth configuration pin, a third signal channel and a fourth signal channel, wherein the third configuration pin is connected with a first power supply through a pull-up resistor R3, and the fourth configuration pin is connected with a second power supply through a pull-up resistor R4;
the input end of the inverter is respectively connected with the pull-up resistor R3 and the third configuration pin;
a second comparator, an inverting input terminal of the second comparator is used for receiving a second reference voltage, and a non-inverting input terminal of the second comparator is respectively connected with the pull-up resistor R3 and the third configuration pin;
the second multi-channel gate is used for being connected with the host end and provided with:
a third data transmission channel which is communicated with the third signal channel;
a fourth data transmission channel which is communicated with the fourth signal channel;
the second multiplexer is configured with a second gating pin, and the second gating pin is respectively connected to the output end of the inverter and the output end of the second comparator, and is used for selectively turning on a transmission path between the third data transmission channel and the host end or a transmission path between the fourth data transmission channel and the host end according to a second signal output by the output end of the inverter and a third signal output by the output end of the second comparator.
7. The data transmission interface module according to claim 6, wherein the selecting to turn on the transmission path between the third data transmission channel and the host end or the transmission path between the fourth data transmission channel and the host end according to the second signal output from the output terminal of the inverter and the third signal output from the output terminal of the second comparator comprises:
if at least one of the output end of the inverter and the output end of the second comparator outputs a low level, a transmission path between the fourth data transmission channel and the host end is conducted;
and if the output end of the phase inverter and the output end of the second comparator both output high levels, a transmission path between the third data channel and the host end is conducted.
8. A communication system comprising the USB interface module according to any one of claims 1 to 4 and the data transmission interface module according to any one of claims 6 to 7, further comprising:
a wireless communication module; and
a host side.
9. The communication system of claim 8, wherein the power supply is an output power supply at the host side when the power conversion circuit is included.
10. The communication system of claim 9, wherein when said power conversion circuit comprises said voltage regulator circuit and said voltage divider circuit, said voltage regulator circuit is further connected to said first multiplexer, said second multiplexer, said first comparator and said second comparator, respectively, for providing said operating voltages to said first multiplexer, said second multiplexer, said first comparator and said second comparator, respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110707475.4A CN113590521A (en) | 2021-06-24 | 2021-06-24 | USB interface module, device, data transmission interface module and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110707475.4A CN113590521A (en) | 2021-06-24 | 2021-06-24 | USB interface module, device, data transmission interface module and communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113590521A true CN113590521A (en) | 2021-11-02 |
Family
ID=78244643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110707475.4A Pending CN113590521A (en) | 2021-06-24 | 2021-06-24 | USB interface module, device, data transmission interface module and communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113590521A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018092335A (en) * | 2016-12-01 | 2018-06-14 | 富士通株式会社 | Electronic apparatus |
CN208421807U (en) * | 2018-07-26 | 2019-01-22 | 珠海市一微半导体有限公司 | A kind of detection circuit of Type-C interface |
CN109411960A (en) * | 2018-12-21 | 2019-03-01 | 上海长园维安电子线路保护有限公司 | A kind of double-end monitor resetting structure and chip implementing method applied to the charging end type-C |
US20190074763A1 (en) * | 2017-09-04 | 2019-03-07 | STMicroelectronics (Alps) SAS | Method of voltage drop compensation on a cable and corresponding circuit |
CN211906271U (en) * | 2020-05-20 | 2020-11-10 | 上海闻泰信息技术有限公司 | Electronic equipment and connecting wire |
CN111930657A (en) * | 2020-05-29 | 2020-11-13 | 深圳市广和通无线股份有限公司 | Connection circuit, control method of connection circuit, and connection device |
CN112088476A (en) * | 2018-04-17 | 2020-12-15 | 德州仪器公司 | USB TYPE-C/PD controller with integrated VBUS to CC short-circuit protection |
CN112233710A (en) * | 2020-10-13 | 2021-01-15 | 深圳市德明利技术股份有限公司 | Mobile solid state disk circuit with plug-in CC logic function and mobile solid state disk |
-
2021
- 2021-06-24 CN CN202110707475.4A patent/CN113590521A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018092335A (en) * | 2016-12-01 | 2018-06-14 | 富士通株式会社 | Electronic apparatus |
US20190074763A1 (en) * | 2017-09-04 | 2019-03-07 | STMicroelectronics (Alps) SAS | Method of voltage drop compensation on a cable and corresponding circuit |
CN112088476A (en) * | 2018-04-17 | 2020-12-15 | 德州仪器公司 | USB TYPE-C/PD controller with integrated VBUS to CC short-circuit protection |
CN208421807U (en) * | 2018-07-26 | 2019-01-22 | 珠海市一微半导体有限公司 | A kind of detection circuit of Type-C interface |
CN109411960A (en) * | 2018-12-21 | 2019-03-01 | 上海长园维安电子线路保护有限公司 | A kind of double-end monitor resetting structure and chip implementing method applied to the charging end type-C |
CN211906271U (en) * | 2020-05-20 | 2020-11-10 | 上海闻泰信息技术有限公司 | Electronic equipment and connecting wire |
CN111930657A (en) * | 2020-05-29 | 2020-11-13 | 深圳市广和通无线股份有限公司 | Connection circuit, control method of connection circuit, and connection device |
CN112233710A (en) * | 2020-10-13 | 2021-01-15 | 深圳市德明利技术股份有限公司 | Mobile solid state disk circuit with plug-in CC logic function and mobile solid state disk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106992372B (en) | USB cable, USB interface and adapter | |
CN106291210B (en) | USB interface detector, USB interface detection method, USB connector and electronic equipment | |
CN205844970U (en) | A kind of display terminal with USB Type C interface and display system | |
CN102724339A (en) | UART serial port and USB interface shared circuit and mobile phone | |
US20110150137A1 (en) | Architecture of multi-power mode serial interface | |
CN107544653A (en) | A kind of USB Type C interface and mobile device | |
US20150269110A1 (en) | Cable with multiple functions | |
CN204947284U (en) | USB Type-C modular converter | |
CN204810286U (en) | Discernment supply circuit and ethernet power supply unit, system | |
CN102096457B (en) | processing device and operating system | |
CN202798652U (en) | Signal conversion circuit and interface switching equipment | |
CN112088472A (en) | Double-interface switching circuit and Type-C concentrator | |
CN204946001U (en) | USB Type-C modular converter | |
CN211457377U (en) | double-SIM card switching circuit for gateway | |
CN113590521A (en) | USB interface module, device, data transmission interface module and communication system | |
CN110888538B (en) | KVM switching circuit and switcher | |
CN210954867U (en) | U.2 hard disk adapter card | |
CN210379694U (en) | Multi-connector data line | |
CN103311766A (en) | Mobile equipment switching device and working mode switching method thereof | |
CN104125173B (en) | data communication path switching circuit, vehicle-mounted router and automobile | |
CN214314637U (en) | One-to-two quick-charging data line adopting TYPE-C interface input | |
CN209046639U (en) | A kind of data transmit-receive circuit and communication instrument | |
CN109240957A (en) | M.2 hard-disk interface turns usb circuit and conversion method to one kind | |
CN209070033U (en) | It is a kind of at the same be used for single port, the test fixture of dual-port PCIE SSD signal | |
CN112100104B (en) | Universal serial bus device, system and communication equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |