SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide an interface circuit that can compatible multiple USB equipment adopts two jumper resistance, realizes multichannel USB's effect, replaces high-speed digital change over switch, saves the cost.
Realize the utility model discloses the technical solution of purpose does: the utility model provides an interface circuit that can compatible multiple USB equipment, includes the singlechip to and be used for receiving the USB interface one and the USB interface two of singlechip transmission signal, USB interface one and USB interface two are connected respectively on the signal interface of singlechip, a serial communication port, be provided with jumper resistance one and jumper resistance two between singlechip and the USB interface one, the data negative signal of singlechip is connected to the one end of jumper resistance one, and the data negative signal of USB interface one is connected to the other end, the data positive signal of singlechip is connected to the one end of jumper resistance two, and the data positive signal of USB interface one is connected to the other end.
Furthermore, the model of the first jumper resistor and the model of the second jumper resistor are RC0402JR-070 RL.
Compared with the prior art, the utility model, it is showing the advantage and lies in: this practicality adopts two jumper wire resistance, realizes multichannel USB's effect, replaces high-speed digital change over switch, saves the cost.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the accompanying drawings, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should also be noted that, unless explicitly stated or limited otherwise, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly, e.g., as either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art in combination with the prior art according to specific situations. Furthermore, the embodiments and features of the embodiments of the present invention may be combined with each other without conflict. One or more of the illustrated components may be required or unnecessary, and the relative positions of the illustrated components may be adjusted according to actual needs.
Referring to fig. 1, an interface circuit compatible with a plurality of USB devices includes a single chip microcomputer U0900, a USB interface USB _ DP1/DM1 and a USB interface USB _ DP2/DM2 for receiving signals transmitted by the single chip microcomputer, an external USB device J0901 connected to signal interfaces 4 and 5 of the single chip microcomputer U0900 through a USB interface one, an external USB device J0908 connected to signal interfaces 6 and 7 of the single chip microcomputer U0900 through a USB interface two, a jumper resistor R0812 and a jumper resistor two R0813 provided between the single chip microcomputer and the USB interface one, one end of the jumper resistor one connected to a data negative signal of the single chip microcomputer, the other end of the jumper resistor two connected to a data positive signal of the single chip microcomputer U0900, the models of the jumper resistor one and the jumper resistor two are RC040 0402JR-070RL, and the signal interface 10 of the U0900 connected to the single chip microcomputer R0921, the 9 signal interface of singlechip U0900 connects resistance C0900, and the 8 signal interface of singlechip U0900 connects resistance R0920.
The USB _ DP/DM of the singlechip U0900 is in signal connection with the USB _ DP1/DM1 and the USB _ DP2/DM2, and can be switched into two paths of USB _ DP/DM signals through the U0900: the PIN4-5 is a group for use by USB _ DP1/DM 1. The PIN6-7 is another group for use with USB _ DP2/DM 2.
As shown in fig. 1, R0812 and R0813 are added to the single DP/PM signal group, so that when no jumper resistor is attached, the connection between the jumper resistors at two ends can be disconnected, USB signal routing branches are reduced, and 90-ohm impedance is conveniently made.
Table one: for the various signal flow directions and pin symbols in fig. 1.
Pin symbol
|
Name (can be a functional description)
|
Signal flow direction
|
D+(1)
|
USB _ DP Signal
|
Connecting CPU end DP
|
D-(2)
|
USB _ DM signal
|
Connected with CPU terminal DM
|
GND(3)
|
CHIP GND ground wire
|
Ground connection
|
HSD1-(4)
|
USB peripheral 1_ DM signal
|
Connecting USB peripherals 1
|
HSD1+(5)
|
USB peripheral 1_ DP Signal
|
Connecting USB peripherals 1
|
HSD2-(6)
|
USB peripheral 2_ DM signal
|
Connect USB peripheral 2
|
HSD2+(7)
|
USB peripheral 2_ DP Signal
|
Connect USB peripheral 2
|
OE(8)
|
High-speed switch default state pin
|
Connected to CHIP GND ground
|
VCC(9)
|
High speedSwitch chip power supply pin
|
Connected to battery power supply
|
SEL(10)
|
USB channel control signal
|
Connecting CPU control pin |
The preferred embodiments of the present invention disclosed above are intended only to help illustrate the present invention. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best understand the invention for and utilize the invention. The present invention is limited only by the appended claims and their full scope and equivalents, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should be included within the protection scope of the present invention.
In addition, various different implementation manners of the embodiments of the present invention can be combined arbitrarily, and as long as it does not violate the idea of the embodiments of the present invention, it should be considered as the disclosure of the embodiments of the present invention.