CN115422102B - USB, type-C interface circuit and drive plate - Google Patents
USB, type-C interface circuit and drive plate Download PDFInfo
- Publication number
- CN115422102B CN115422102B CN202211064268.2A CN202211064268A CN115422102B CN 115422102 B CN115422102 B CN 115422102B CN 202211064268 A CN202211064268 A CN 202211064268A CN 115422102 B CN115422102 B CN 115422102B
- Authority
- CN
- China
- Prior art keywords
- pin
- signal
- usb
- type
- chip
- 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.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 76
- 230000005236 sound signal Effects 0.000 claims abstract description 25
- 101150110009 SCN11A gene Proteins 0.000 claims description 14
- 102100033974 Sodium channel protein type 11 subunit alpha Human genes 0.000 claims description 14
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 8
- 239000003990 capacitor Substances 0.000 description 27
- 238000010586 diagram Methods 0.000 description 10
- 102100036464 Activated RNA polymerase II transcriptional coactivator p15 Human genes 0.000 description 7
- 101000713904 Homo sapiens Activated RNA polymerase II transcriptional coactivator p15 Proteins 0.000 description 7
- 229910004444 SUB1 Inorganic materials 0.000 description 7
- 229910004438 SUB2 Inorganic materials 0.000 description 7
- 101100311330 Schizosaccharomyces pombe (strain 972 / ATCC 24843) uap56 gene Proteins 0.000 description 7
- 101150018444 sub2 gene Proteins 0.000 description 7
- 230000000087 stabilizing effect Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
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/382—Information transfer, e.g. on bus using universal interface adapter
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Abstract
The application provides a USB (universal serial bus) and Type-C interface circuit, wherein a Type-C interface module outputs a first signal and a second signal. The signal generating module outputs a third signal and a fourth signal based on the first signal and the second signal. The platform receives the third signal and the fourth signal, and based on the third signal and the fourth signal, the platform identifies the Type-C interface module to access the data mode or the earphone mode. The platform outputs a first control signal based on the data mode or the earphone mode. One end of the first transmission module is connected with the platform, and the other end of the first transmission module is connected with the Type-C interface module. The first control end of the first transmission module receives a first control signal, and based on the first control signal, the first transmission module establishes a transmission channel of USB signals and audio signals between the platform and the Type-C interface module. The application further provides a corresponding driving plate.
Description
The application relates to a general circuit with a Type-C interface and a driving board using the same, which are divided into patent applications with the application number of 202111172659.1 and the application date of 2021, 10 and 08.
Technical Field
The present application relates to the field of circuits, and in particular, to an interface circuit.
Background
In the current society, the use of most Type-C interfaces requires acquisition of platform support. However, the platforms such as MT6739, MT6737, MT6580, etc. do not support the use of the Type-C interface, and once the platforms do not support the use of the Type-C interface, the user has no way to use the hardware with the Type-C interface to transfer data. There is a technical problem that some platforms cannot support the Type-C interface.
Therefore, it is desirable to provide a USB, type-C interface circuit and a driving board to solve the above-mentioned problems.
Disclosure of Invention
The application provides a USB, type-C interface circuit and a drive board, which effectively solve the technical problem that the existing certain platforms cannot support the use of Type-C interfaces.
The application provides a USB, type-C interface circuit, which comprises:
the Type-C interface module outputs a first signal and a second signal;
the signal generation module is connected with the Type-C interface module and is used for outputting a third signal and a fourth signal based on the first signal and the second signal;
the platform is used for receiving the third signal and the fourth signal, identifying a data mode or a headset mode accessed by the Type-C interface module based on the third signal and the fourth signal, and outputting a first control signal based on the data mode or the headset mode;
one end of the first transmission module is connected with the platform, the other end of the first transmission module is connected with the Type-C interface module, the first transmission module comprises a first control end, and the first control end receives the first control signal; based on the first control signal, the first transmission module establishes a transmission channel of USB signals and audio signals between the platform and the Type-C interface module.
In the USB and Type-C interface circuit, the USB and Type-C interface circuit further comprises a second transmission module, wherein the input end of the second transmission module is connected with the platform, and the output end of the second transmission module is connected with the Type-C interface module;
the platform recognizes that a microphone of the earphone device is in positive connection or reverse connection based on the earphone mode, the third signal and the fourth signal, and outputs a second control signal;
the second transmission module further comprises a second control end, the second control end receives the second control signal, and a transmission channel for transmitting microphone signals in a positive or reverse connection mode is established between the platform and the Type-C interface module based on the second control signal.
In the USB, type-C interface circuit of the present application, when the third signal is at a low level and the fourth signal is at a low level, the platform identifies the data mode as a USB mode; when the third signal or the fourth signal is at a high level, the transmission mode is an earphone mode; when the third signal is high and the fourth signal is high, the data mode is an OTG mode.
In the USB and Type-C interface circuit, the Type-C interface module comprises a Type-C interface chip, the Type-C interface chip comprises a first signal output pin and a second signal output pin, the signal generation module comprises a WUSB3801 chip, the WUSB3801 chip comprises a CC1 pin and a CC2 pin, the CC1 pin is connected with the first signal output pin and is used for transmitting the first signal, and the CC2 pin is connected with the second signal output pin and is used for transmitting the second signal;
the WUSB3801 chip further includes a usb_id pin and a type_eint7 pin, where the usb_id pin is connected to the platform and is used to transmit the third signal; and the TYPE_EINT7 pins are connected with the platform and are used for transmitting the fourth signal.
In the USB, type-C interface circuit of the present application, the first transmission module includes a BCT4321N chip, where the BCT4321N chip includes a usb_dp pin, a usb_dm pin, a hp_outl pin, a usb_dp_right pin, and a usb_dm_left pin; the Type-C interface chip further comprises a DP1 pin, a DP2 pin, a DN1 pin and a DN2 pin, wherein the USB_DP pin, the USB_DM pin, the HP_OUTL pin and the HP_OUTR pin are all connected with the platform and are used for transmitting the audio signals or the USB signals;
the USB_DP_RIGHT pin is connected with the DP1 pin and the DP2 pin, and the USB_DM_LEFT pin is connected with the DN1 pin and the DN2 pin, and is used for transmitting the audio signal or the USB signal to the Type-C interface chip through the USB_DP_RIGHT pin and the USB_DM_LEFT pin.
In the USB Type-C interface circuit of the present application, when the first control signal is a low level signal, the BCT4321N chip transmits the USB signal with the platform through the usb_dp pin and the usb_dm pin, the BCT4321N chip transmits the USB signal through the usb_dp_right pin, the DP1 pin and the DP2 pin, and the BCT4321N chip and the Type-C interface chip transmit the USB signal through the usb_dp_right pin, the DN1 pin and the DN2 pin;
when the first control signal is a high-level signal, the BCT4321N chip transmits the audio signal with the platform through the hp_OUTR pin and the hp_OUTL pin, the BCT4321N chip and the Type-C interface chip transmit the audio signal through the usb_dp_right pin, the DP1 pin and the DP2 pin, and the BCT4321N chip and the Type-C interface chip transmit the audio signal through the usb_dp_right pin, the DN1 pin and the DN2 pin.
In the USB and Type-C interface circuit, the Type-C interface chip comprises a first input pin and a second input pin;
the second transmission module comprises a WAS4766C chip, the WAS4766C chip comprises an SNS1 pin, an SNS2 pin, an MIC pin and a GND pin, and the SNS1 pin and the SNS2 pin are both connected with the platform;
the MIC pin is connected with the first input pin, the GND pin is connected with the second input pin, and the WAS4766C chip is used for transmitting the microphone signal between the platform and the Type-C interface module in a positive or reverse connection mode.
In the USB, type-C interface circuit of the present application, when the third signal is at a high level and the fourth signal is at a low level, the platform outputs the second control signal of the high level signal to the WAS4766C chip, the platform outputs the microphone signal to the WAS4766C chip through the SNS1 pin and the SNS2 pin in a positive connection manner, and the WAS4766C outputs the microphone signal to the first input pin and the second input pin in a positive connection manner through the MIC pin and the GND pin;
when the third signal is at a low level and the fourth signal is at a high level, the platform outputs the second control signal of the low level signal to the WAS4766C chip, the platform outputs the microphone signal to the WAS4766C chip through the SNS1 pin and the SNS2 pin in a reverse connection manner, and the WAS4766C outputs the microphone signal to the first input pin and the second input pin in a reverse connection manner through the MIC pin and the GND pin.
In the USB type-C interface circuit of the present application, the USB type-C interface circuit further includes a switching module, where the switching module is connected to the second transmission module, and the switching module is configured to switch the microphone of the earphone device and the antenna of the earphone device.
A drive board comprising any of the USB, type-C interface circuits described above.
Compared with the prior art, the application has the beneficial effects that: the application provides a USB (universal serial bus) and Type-C interface circuit which comprises a Type-C interface module, a signal generation module, a platform and a first transmission module. The Type-C interface module outputs a first signal and a second signal to the signal generating module, and the signal generating module outputs a third signal and a fourth signal to the platform based on the first signal and the second signal. Based on the third signal and the fourth signal, the platform identifies a Type-C interface module access data mode or a headset mode. The platform outputs a first control signal based on the data mode or the earphone mode. The first control end of the first transmission module receives a first control signal. Based on the first control signal, the first transmission module establishes a transmission channel of USB signals and audio signals between the platform and the Type-C interface module, so that external equipment with the Type-C interface can communicate with the platform. Even though some platforms do not support the use of a Type-C interface, users can use hardware with a Type-C interface to transfer data with these platforms. The technical problem that the existing certain platforms cannot support the Type-C interface is effectively solved.
In addition, the application does not need to add a chip, and the platform can communicate with hardware with a Type-C interface. Therefore, the USB and type-C interface circuit can effectively reduce the production cost of the circuit board. The USB interface circuit and the Type-C interface circuit are applicable to all handheld terminals with USB functions, and are also supported for platforms supporting the Type-C functions.
Drawings
FIG. 1 is a block diagram of a USB, type-C interface circuit of the present application.
Fig. 2 is a circuit diagram of a Type-C interface module of the USB Type-C interface circuit of the present application.
Fig. 3 is a circuit diagram of a signal generating module of the USB type-C interface circuit of the present application.
Fig. 4 is a circuit diagram of a first transmission module of the USB type-C interface circuit of the present application.
Fig. 5 is a circuit diagram of a second transmission module of the USB type-C interface circuit of the present application.
In the figure, 10, USB, type-C interface circuits; 11. Type-C interface module; 111. Type-C interface chip; 1111. a first signal output pin; 1112. a second signal output pin; 12. a signal generation module; 13. a platform; 14. a first transmission module; 15. a second transmission module; 16. and a switching module.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms of directions used in the present application, such as "up", "down", "front", "back", "left", "right", "inside", "outside", "side", "top" and "bottom", are used for explaining and understanding the present application only with reference to the orientation of the drawings, and are not intended to limit the present application.
The words "first," "second," and the like in the terminology of the present application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance and not as limiting the order of precedence.
FIG. 1 is a block diagram of a USB, type-C interface circuit of the present application; FIG. 2 is a circuit diagram of a Type-C interface module of the USB, type-C interface circuit of the present application; FIG. 3 is a circuit diagram of a signal generation module of the USB, type-C interface circuit of the present application; FIG. 4 is a circuit diagram of a first transmission module of the USB type-C interface circuit of the present application; fig. 5 is a circuit diagram of a second transmission module of the USB type-C interface circuit of the present application.
In the drawings, like structural elements are denoted by like reference numerals.
Referring to fig. 1 and 2, the present application provides a USB type-C interface circuit 10, wherein the USB type-C interface circuit 10 is applied to a driving board, and the driving board is a circuit board. The USB, type-C interface circuit 10 includes a Type-C interface module 11, a signal generating module 12, a platform 13, a first transmission module 14, and a second transmission module 15. The Type-C interface module 11 includes a Type-C interface chip 111, and the Type-C interface chip 111 includes a first signal output pin 1111 and a second signal output pin 1112. The Type-C interface module 11 outputs a first signal through the first signal output pin 1111, and the Type-C interface module 11 outputs a second signal through the second signal output pin 1112.
Referring to fig. 2, the Type-C interface chip 111 further includes a first power pin VBUS through which a charging power source inputs a voltage, so that the charging power source can charge a power source inside the Type-C interface chip 111. When the Type-C interface chip 111 is connected to the OTG mode, the power supply inside the Type-C interface chip 111 may supply power to the external device through the first power supply pin VBUS. The Type-C interface module 11 includes a first voltage regulator V1901, a second voltage regulator V1906, a third voltage regulator V1911, a fourth voltage regulator V1912, a first TVS diode V1903, a second TVS diode V1904, a first capacitor C1901, a second capacitor C1909, and a third capacitor C1910. The capacitance of the first capacitor C1901 is 0.95-1.05 muF, the capacitance of the second capacitor C1909 is 99.5-100.5nF, and the capacitance of the third capacitor C1910 is 99.5-100.5nF. The first voltage stabilizing tube V1901, the second voltage stabilizing tube V1906, the third voltage stabilizing tube V1911 and the fourth voltage stabilizing tube V1912 are all connected with the first power pin VBUS in parallel, and the first TVS diode and the second TVS diode are connected with the first power pin VBUS in parallel. The first TVS diode and the second TVS diode can protect the Type-C interface chip from being damaged by voltage spikes. The first capacitor C1901, the second capacitor C1909 and the third capacitor C1910 are all connected in parallel with the first power supply pin, the NC pin of the Type-C interface chip 111 is suspended, and the grounding pin of the Type-C interface chip 111 is grounded.
Referring to fig. 1 to 3, the signal generating module 12 is connected to the Type-C interface module 11, and the signal generating module 12 outputs a third signal and a fourth signal based on the first signal and the second signal. When both the first signal and the second signal are low level, the signal generating module 12 outputs a third signal of low level and a fourth signal of low level. When one of the first signal and the second signal is at a high level and the other signal is at a low level, the signal generating module 12 outputs a third signal and a fourth signal, which are also at a high level and the other signal is at a low level. When both the first signal and the second signal are high level, the signal generating module 12 outputs a third signal of high level and a fourth signal of high level.
Referring to fig. 3, the signal generating module 12 includes a WUSB3801 chip, and the WUSB3801 chip includes a CC1 pin, a CC2 pin, a second power pin VDD and a VBUSD pin. The second power supply pin VDD and the VBUSD pin are both connected to a power supply, and the second power supply pin VDD is further connected in parallel to an eighth capacitor C910, where the capacitive reactance of the eighth capacitor C910 is 56pF. The CC1 pin is connected with the first signal output pin 1111 such that the first signal may be transmitted through the CC1 pin and the first signal output pin 1111. The CC2 pin is connected to the second signal output pin 1112 such that the second signal may be transmitted through the CC2 pin and the second signal output pin 1112. The first signal output pin 1111 is also connected in parallel with a fifth diode V1900, and the second signal output pin 1112 is also connected in parallel with a sixth diode V1902.
The WUSB3801 chip further includes a usb_id pin, a type_eint7 pin, and the usb_id pin and the type_eint7 pin are both connected to the platform 13. The WUSB3801 chip outputs the third signal through the usb_id pin and the WUSB3801 chip outputs the fourth signal through the type_eint7 pin. The platform 13 receives the third signal and the fourth signal, and based on the third signal and the fourth signal, the platform 13 recognizes that the Type-C interface module 11 accesses the data mode or the earphone mode.
When the third signal is low and the fourth signal is low, the platform 13 recognizes that the data mode is the USB mode. When the third signal or the fourth signal is at a high level, the platform 13 recognizes that the transmission mode is the earphone mode. When the third signal is high and the fourth signal is high, the platform 13 recognizes that the data mode is the OTG mode. Based on the data mode or the earphone mode, the platform 13 may output a first control signal. The WUSB3801 chip further includes an SCL pin, an SDA pin, which can configure the register state of the WUSB3801 chip by control signals.
Referring to fig. 2 and 4, one end of the first transmission module 14 is connected to the platform, and the other end of the first transmission module is connected to the Type-C interface module. The first transmission module 14 includes a first control terminal operable to receive a first control signal. Based on the first control signal, the first transmission module 14 establishes a transmission channel of the USB signal and the audio signal between the platform 13 and the Type-C interface module 11. The first transmission module 14 includes a BCT4321N chip, where the BCT4321N chip includes an ASEL pin, and the ASEL pin is the first control terminal. Thus, the BCT4321N chip receives the first control signal of the platform 13 via the ASEL pin.
The VBUS pin of the BCT4321N chip is connected with a power supply, and the GND pin and the VAUDIO pin of the BCT4321N chip are grounded. The first transmission module 14 further includes a first transistor Q900, a first resistor R908, a second resistor R907, a third resistor R909, a fourth resistor R910, and a fourth capacitor C195. The capacitive reactance of the fourth capacitor C195 is 1 μf, one end of the fourth capacitor C195 is connected to the VBUS pin, and the other end of the fourth capacitor C195 is grounded. The resistance of the first resistor R908 is 200kΩ, the resistance of the second resistor R907 is 100kΩ, and the resistance of the third resistor R909 is 1kΩ. The base of the first triode Q900 is connected to one end of a third resistor R909, and the other end of the third resistor R909 is connected to the platform 13. A collector of the first triode Q900 is connected to the ASEL pin, and an emitter of the first triode Q900 is grounded. One end of the fourth resistor R910 is connected to the base of the first triode Q900, and the other end of the fourth resistor R910 is grounded. One end of the first resistor R908 is connected with an ASEL pin, and the other end of the first resistor R908 is connected with a power supply. The first resistor R908 can be used to protect a circuit, so as to prevent the BCT4321N chip from being damaged due to excessive voltage output by the power supply. One end of the second resistor R907 is connected with the ASEL pin, and the other end of the second resistor R907 is grounded.
Referring to fig. 4, the bct4321n chip includes a usb_dp pin, a usb_dm pin, a hp_outl pin, a hp_outr pin, a usb_dp_right pin, a usb_dm_left pin, and the Type-C interface chip further includes a DP1 pin, a DP2 pin, a DN1 pin, and a DN2 pin. The USB_DP pin, the USB_DM pin, the HP_OUTL pin and the HP_OUTR pin are all connected with the platform so that the platform 13 can transmit audio signals or USB signals with the BCT4321N chip. The USB_DP_RIGHT pin is connected with the DP1 pin and the DP2 pin, and the USB_DM_LEFT pin is connected with the DN1 pin and the DN2 pin. The first transmission module 14 may transmit the audio signal or the USB signal to the Type-C interface chip through the usb_dp_right pin and the usb_dm_left pin.
When the first control signal is a low level signal, the BCT4321N chip transmits a USB signal with the platform 13 through the usb_dp pin and the usb_dm pin. The BCT4321N chip and the Type-C interface chip 111 transmit USB signals through the USB_DP_RIGHT pin, the DP1 pin and the DP2 pin, and the BCT4321N chip and the Type-C interface chip 111 transmit USB signals through the USB_DM_RIGHT pin, the DN1 pin and the DN2 pin. When the first control signal is a high level signal, the BCT4321N chip transmits an audio signal with the platform 13 through the hp_outl pin and the hp_outl pin. The BCT4321N chip and the Type-C interface chip 111 transmit audio signals through the USB_DP_RIGHT pin, the DP1 pin and the DP2 pin, and the BCT4321N chip and the Type-C interface chip transmit audio signals through the USB_DM_RIGHT pin, the DN1 pin and the DN2 pin. Moreover, the Type-C interface module 11 includes a third TVS diode TVS1900 and a Type-C interface chip 111, where the third TVS diode TVS1900 is connected in parallel with the DP1 pin and the DN1 pin.
Referring to fig. 5, the usb Type-C interface circuit 10 further includes a second transmission module 15, an input end of the second transmission module 15 is connected to the platform 13, and an output end of the second transmission module 15 is connected to the Type-C interface module 11. The platform 13 may identify that the microphone of the earphone device is connected in front or in back based on the earphone mode and the third signal and the fourth signal, so that the platform 13 outputs the second control signal. The second transmission module 15 further includes a second control terminal, where the second control terminal receives a second control signal. Based on the second control signal, the second control end establishes a transmission channel between the platform 13 and the Type-C interface module 11 for transmitting the microphone signal in a positive or reverse connection manner.
Referring to fig. 2 and 5, the type-C interface chip 111 includes a first input pin SUB1 and a second input pin SUB2. The first input pin SUB1 is connected in parallel with a fifth regulator V1909, and the second input pin SUB2 is connected in parallel with a sixth regulator V1910. The second transmission module 15 includes a WAS4766C chip, where the WAS4766C chip includes an SNS1 pin, an SNS2 pin, a MIC pin, a GND pin, and a CON1 pin, the CON1 pin is connected to the SNS1 pin, and both the SNS1 pin and the SNS2 pin are connected to the platform 13. The MIC pin is connected to the first input pin SUB1, the GND pin of the WAS4766C chip is connected to the second input pin SUB2, and the WAS4766C chip is used for transmitting microphone signals between the platform 13 and the Type-C interface module 11 in a positive or reverse connection manner. The USB and type-C interface circuit further comprises a switching module, the switching module 16 is connected with the WAS4766C chip through an FM_ANT pin and an HP_RFEN pin, and the switching module 16 can switch a microphone of the earphone device and an antenna of the earphone device, so that the switching module has functions of receiving signals and sending signals by the antenna. Thus, WAS4766C chip can implement wireless data transfer functions. The WAS4766C chip includes VDD pin, SEL pin. The VDD pin is used to input an operating voltage to the WAS4766C chip, and the SEL pin is a second control terminal, so that the SEL pin may be used to receive a second control signal. The second transmission module 15 further includes a fifth capacitor C1903, a sixth capacitor C1905, a seventh capacitor C1906, and a ninth capacitor C1920, where the capacitive reactance of the fifth capacitor C1903 and the capacitive reactance of the sixth capacitor C1905 are both 33pF, and the capacitive reactance of the seventh capacitor C1906 is 1 μf. The fifth capacitor C1903 is connected in parallel to the MIC pin, and the sixth capacitor C1905 and the seventh capacitor C1906 are both connected in parallel to the VDD pin. The capacitive reactance of the ninth capacitor C1920 is 22pF, and the ninth capacitor C1920 is connected in parallel with the GND pin of the WAS4766C chip.
Under the earphone mode condition, when the third signal is at a high level and the fourth signal is at a low level, the platform 13 determines that the microphone is connected, so the platform 13 outputs the second control signal of the high level signal to the WAS4766C chip. The platform 13 outputs microphone signals to the WAS4766C chip through the SNS1 pin and the SNS2 pin in a positive connection manner, and the WAS4766C outputs microphone signals to the first input pin SUB1 and the second input pin SUB2 through the MIC pin and the GND pin in a positive connection manner.
Under the earphone mode, when the third signal is at a low level and the fourth signal is at a high level, the platform can determine that the microphone is connected in reverse, so that the platform 13 outputs the second control signal of the low level signal to the WAS4766C chip, the platform 13 outputs the microphone signal to the WAS4766C chip through the SNS1 pin and the SNS2 pin in a reverse manner, and the WAS4766C outputs the microphone signal to the first input pin SUB1 and the second input pin SUB2 in a reverse manner through the MIC pin and the GND pin. The USB, type-C interface circuit 10 is applicable to all handheld terminals with USB functions, and is also supported for platforms supporting Type-C functions. Some platforms such as MT6761 also support Type-C, but require the addition of one PMIC chip, and thus the cost of the solution would need to be increased. The USB, type-C interface circuit 10 is used in a drive board that can cost down $ 1.
The working principle of the application is as follows: when the USB Type-C interface circuit 10 works, a user connects the peripheral with the Type-C interface module 11. Then, the Type-C interface module 11 outputs the first signal and the second signal through the Type-C interface chip, and the signal generating module 12 receives the first signal and the second signal through the WUSB3801 chip. Based on the first signal and the second signal, the signal generating module 12 generates a third signal and a fourth signal, the WUSB3801 chip outputs the third signal to the platform 13 through the usb_id pin, and the WUSB3801 chip outputs the fourth signal to the platform 13 through the type_eint7 pin. Subsequently, based on the third signal and the fourth signal, the platform 13 recognizes the Type-C interface module access data mode or the earphone mode. When the third signal is low and the fourth signal is low, the platform 13 recognizes that the data mode is the USB mode. When the third signal or the fourth signal is at a high level, the platform 13 recognizes that the transmission mode is the earphone mode. When the third signal is high and the fourth signal is high, the platform 13 recognizes that the data mode is the OTG mode.
The platform 13 may output a first control signal according to a data mode or a headset mode. The first control terminal of the first transmission module 14 receives the first control signal. Based on the first control signal, the first transmission module 14 establishes a transmission channel of the USB signal and the audio signal between the platform 13 and the Type-C interface module 11.
When the platform 13 recognizes that the data mode is the OTG mode or the USB mode, the platform outputs a first control signal of low level, and the BCT4321N chip transmits a USB signal with the platform 13 through the usb_dp pin and the usb_dm pin. Since the usb_dp_right pin of the BCT4321N chip is connected to the DP1 pin and the DP2 pin of the Type-C interface chip 111, the BCT4321N chip and the Type-C interface chip 111 transmit USB signals through the usb_dp_right pin, the DP1 pin and the DP2 pin. Because the usb_dm_right pin of the BCT4321N chip is connected to the DN1 pin and the DN2 pin of the Type-C interface chip 111, the BCT4321N chip and the Type-C interface chip transmit USB signals through the usb_dm_right pin, the DN1 pin and the DN2 pin. When the platform 13 recognizes that the transmission mode is the earphone mode, the platform 13 outputs a first control signal of high level, and the BCT4321N chip transmits an audio signal with the platform 13 through the hp_outl pin and the hp_outl pin. The BCT4321N chip and the Type-C interface chip 111K can transmit audio signals through a USB_DP_RIGHT pin, a DP1 pin and a DP2 pin, and the BCT4321N chip and the Type-C interface chip can transmit audio signals through a USB_DM_RIGHT pin, a DN1 pin and a DN2 pin.
Further, the platform 13 may recognize that the microphone of the earphone device is connected in the positive direction or in the negative direction according to the earphone mode and the third signal and the fourth signal, so that the platform 13 outputs the second control signal. The second control end of the second transmission module 15 receives the second control signal, and since the input end of the second transmission module 15 is connected with the platform 13, the output end of the second transmission module 15 is connected with the Type-C interface module 11. Accordingly, the second transmission module 15 may establish a transmission channel between the platform 13 and the Type-C interface module 11 to transmit the microphone signal in a positive or negative manner based on the second control signal.
When the third signal is at a high level and the fourth signal is at a low level, the platform 13 can recognize that the microphone of the earphone device is connected, so that the platform 13 outputs the second control signal of the high level signal to the WAS4766C chip of the second transmission module 15. Meanwhile, the platform 13 outputs microphone signals to the WAS4766C chip through the SNS1 pin and the SNS2 pin in a positive connection mode, and the WAS4766C outputs microphone signals to the first input pin SUB1 and the second input pin SUB2 through the MIC pin and the GND pin in a positive connection mode. When the third signal is at low level and the fourth signal is at high level, the platform 13 can recognize that the microphone of the earphone device is in inverse connection, so the platform 13 outputs the second control signal of the low level signal to the WAS4766C chip. Meanwhile, the platform outputs microphone signals to the WAS4766C chip through the SNS1 pin and the SNS2 pin in a reverse connection mode, and the WAS4766C outputs microphone signals to the first input pin SUB1 and the second input pin SUB2 through the MIC pin and the GND pin in a reverse connection mode. Thus, even though some platforms do not support the use of a Type-C interface, through the USB, type-C interface circuit, users can use hardware with a Type-C interface to transfer data with these platforms.
The application provides a USB (universal serial bus) Type-C interface circuit, which comprises a Type-C interface module 11, a signal generation module 12, a platform 13 and a first transmission module 14. The Type-C interface module 11 outputs a first signal and a second signal to the signal generating module 12, and the signal generating module 12 outputs a third signal and a fourth signal to the platform 13 based on the first signal and the second signal. Based on the third signal and the fourth signal, the platform 13 recognizes that the Type-C interface module 11 accesses a data mode or a headset mode. Based on the data mode or the earphone mode, the platform 13 outputs a first control signal. The first control terminal of the first transmission module 14 receives the first control signal. Based on the first control signal, the first transmission module 14 establishes a transmission channel of the USB signal and the audio signal between the platform 13 and the Type-C interface module 11, so that the external device with the Type-C interface can communicate with the platform 13. Even though some platforms do not support the use of a Type-C interface, users can use hardware with a Type-C interface to transfer data with these platforms. The technical problem that the existing certain platforms cannot support the Type-C interface is effectively solved.
In addition, the application does not need to add a chip, and the platform can communicate with hardware with a Type-C interface. Therefore, the USB, type-C interface circuit 10 can effectively reduce the production cost of the circuit board. The USB, type-C interface circuit 10 is applicable to all handheld terminals with USB functions, and is also supported for platforms supporting Type-C functions.
In summary, although the present application has been described in terms of the preferred embodiments, the preferred embodiments are not limited to the above embodiments, and various modifications and changes can be made by one skilled in the art without departing from the spirit and scope of the application, and the scope of the application is defined by the appended claims.
Claims (8)
1. A USB, type-C interface circuit, comprising:
the Type-C interface module outputs a first signal and a second signal;
the signal generation module is connected with the Type-C interface module and is used for outputting a third signal and a fourth signal based on the first signal and the second signal;
the platform is used for receiving the third signal and the fourth signal, identifying a data mode or a headset mode accessed by the Type-C interface module based on the third signal and the fourth signal, and outputting a first control signal based on the data mode or the headset mode;
one end of the first transmission module is connected with the platform, the other end of the first transmission module is connected with the Type-C interface module, the first transmission module comprises a first control end, and the first control end receives the first control signal; based on the first control signal, the first transmission module establishes a transmission channel of USB signals and audio signals between the platform and the Type-C interface module;
the USB and Type-C interface circuit further comprises a second transmission module, wherein the input end of the second transmission module is connected with the platform, and the output end of the second transmission module is connected with the Type-C interface module;
the platform recognizes that a microphone of the earphone device is in positive connection or reverse connection based on the earphone mode, the third signal and the fourth signal, and outputs a second control signal;
the second transmission module further comprises a second control end, the second control end receives the second control signal and establishes a transmission channel for transmitting microphone signals in a positive or reverse connection mode between the platform and the Type-C interface module based on the second control signal;
the Type-C interface chip comprises a first input pin and a second input pin;
the second transmission module comprises a WAS4766C chip, the WAS4766C chip comprises an SNS1 pin, an SNS2 pin, an MIC pin and a GND pin, and the SNS1 pin and the SNS2 pin are both connected with the platform;
the MIC pin is connected with the first input pin, the GND pin is connected with the second input pin, and the WAS4766C chip is used for transmitting the microphone signal between the platform and the Type-C interface module in a positive or reverse connection mode.
2. The USB, type-C interface circuit of claim 1, wherein when the third signal is low and the fourth signal is low, the platform recognizes the data mode as USB mode; when the third signal or the fourth signal is at a high level, the transmission mode is an earphone mode; when the third signal is high and the fourth signal is high, the data mode is an OTG mode.
3. The USB, type-C interface circuit of claim 2, wherein the first transmission module comprises a BCT4321N chip, the BCT4321N chip comprising a usb_dp pin, a usb_dm pin, a hp_outl pin, a hp_outr pin, a usb_dp_right pin, a usb_dm_left pin; the Type-C interface chip further comprises a DP1 pin, a DP2 pin, a DN1 pin and a DN2 pin, wherein the USB_DP pin, the USB_DM pin, the HP_OUTL pin and the HP_OUTR pin are all connected with the platform and are used for transmitting the audio signals or the USB signals;
the USB_DP_RIGHT pin is connected with the DP1 pin and the DP2 pin, and the USB_DM_LEFT pin is connected with the DN1 pin and the DN2 pin, and is used for transmitting the audio signal or the USB signal to the Type-C interface chip through the USB_DP_RIGHT pin and the USB_DM_LEFT pin.
4. The USB, type-C interface circuit of claim 3, wherein when the first control signal is a low level signal, the BCT4321N chip transmits the USB signal with the platform through the usb_dp pin and usb_dm pin, the BCT4321N chip and the Type-C interface chip transmit the USB signal through the usb_dp_right pin, the DP1 pin, the DP2 pin, and the BCT4321N chip and the Type-C interface chip transmit the USB signal through the usb_dm_right pin, the DN1 pin, the DN2 pin;
when the first control signal is a high-level signal, the BCT4321N chip transmits the audio signal with the platform through the hp_OUTR pin and the hp_OUTL pin, the BCT4321N chip and the Type-C interface chip transmit the audio signal through the usb_dp_right pin, the DP1 pin and the DP2 pin, and the BCT4321N chip and the Type-C interface chip transmit the audio signal through the usb_dm_right pin, the DN1 pin and the DN2 pin.
5. The USB, type-C interface circuit of claim 1, wherein the Type-C interface module comprises a Type-C interface chip, the Type-C interface chip comprising a first signal output pin, a second signal output pin, the signal generation module comprising a WUSB3801 chip, the WUSB3801 chip comprising a CC1 pin, a CC2 pin, the CC1 pin being connected to the first signal output pin for transmitting the first signal, the CC2 pin being connected to the second signal output pin for transmitting the second signal;
the WUSB3801 chip further includes a usb_id pin and a type_eint7 pin, where the usb_id pin is connected to the platform and is used to transmit the third signal; the TYPE_EINT7 pin is connected with the platform and is used for transmitting the fourth signal; the first signal output pin is also connected with a fifth diode in parallel, and the second signal output pin is also connected with a sixth diode in parallel.
6. The USB, type-C interface circuit of claim 1, wherein when the third signal is high and the fourth signal is low, the platform outputs the second control signal of a high signal to the WAS4766C chip, the platform outputs the microphone signal to the WAS4766C chip via the SNS1 pin and the SNS2 pin in a positive connection, and the WAS4766C outputs the microphone signal to the first input pin and the second input pin via the MIC pin and GND pin in a positive connection;
when the third signal is at a low level and the fourth signal is at a high level, the platform outputs the second control signal of the low level signal to the WAS4766C chip, the platform outputs the microphone signal to the WAS4766C chip through the SNS1 pin and the SNS2 pin in a reverse connection manner, and the WAS4766C outputs the microphone signal to the first input pin and the second input pin in a reverse connection manner through the MIC pin and the GND pin.
7. The USB, type-C interface circuit of claim 1, further comprising a switching module coupled to the second transmission module, the switching module configured to switch the microphone of the headset device and the antenna of the headset device.
8. A drive board comprising the USB, type-C interface circuit of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211064268.2A CN115422102B (en) | 2021-10-08 | 2021-10-08 | USB, type-C interface circuit and drive plate |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111172659.1A CN113821466B (en) | 2021-10-08 | 2021-10-08 | Type-C interface universal circuit and drive board using same |
CN202211064268.2A CN115422102B (en) | 2021-10-08 | 2021-10-08 | USB, type-C interface circuit and drive plate |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111172659.1A Division CN113821466B (en) | 2021-10-08 | 2021-10-08 | Type-C interface universal circuit and drive board using same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115422102A CN115422102A (en) | 2022-12-02 |
CN115422102B true CN115422102B (en) | 2023-10-27 |
Family
ID=78916197
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211064268.2A Active CN115422102B (en) | 2021-10-08 | 2021-10-08 | USB, type-C interface circuit and drive plate |
CN202111172659.1A Active CN113821466B (en) | 2021-10-08 | 2021-10-08 | Type-C interface universal circuit and drive board using same |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111172659.1A Active CN113821466B (en) | 2021-10-08 | 2021-10-08 | Type-C interface universal circuit and drive board using same |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN115422102B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035357A (en) * | 2014-06-27 | 2014-09-10 | 广东欧珀移动通信有限公司 | Headset, charging and OTG equipment circuit design based on USB socket |
CN108009116A (en) * | 2017-12-22 | 2018-05-08 | 努比亚技术有限公司 | MicroUSB interface circuits and its mobile terminal |
CN111130596A (en) * | 2019-11-14 | 2020-05-08 | 华为技术有限公司 | Multiplexing circuit, interface circuit system and mobile terminal |
CN111651393A (en) * | 2020-06-24 | 2020-09-11 | 广西世纪创新显示电子有限公司 | TYPE-C interface circuit |
CN112235692A (en) * | 2020-10-15 | 2021-01-15 | 维沃移动通信有限公司 | Audio switching circuit, electronic equipment and audio switching method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104899176B (en) * | 2015-06-10 | 2017-09-19 | 赛尔康技术(深圳)有限公司 | The identification circuit of USB Type C interface |
US9400546B1 (en) * | 2015-06-19 | 2016-07-26 | Cypress Semiconductor Corporation | Low-power implementation of Type-C connector subsystem |
US11171454B2 (en) * | 2017-03-24 | 2021-11-09 | Huawei Technologies Co., Ltd. | USB connector with double shield layers |
CN206975633U (en) * | 2017-06-27 | 2018-02-06 | 深圳市有方科技股份有限公司 | A kind of multiplex circuit of OTG, USB function |
CN207184791U (en) * | 2017-09-06 | 2018-04-03 | 上海豪成通讯科技有限公司 | A kind of Type C interface circuits based on MTK6750 platforms |
CN209029087U (en) * | 2018-05-09 | 2019-06-25 | 深圳市松冠科技有限公司 | A kind of display driving plate with TYPE C |
-
2021
- 2021-10-08 CN CN202211064268.2A patent/CN115422102B/en active Active
- 2021-10-08 CN CN202111172659.1A patent/CN113821466B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035357A (en) * | 2014-06-27 | 2014-09-10 | 广东欧珀移动通信有限公司 | Headset, charging and OTG equipment circuit design based on USB socket |
CN108009116A (en) * | 2017-12-22 | 2018-05-08 | 努比亚技术有限公司 | MicroUSB interface circuits and its mobile terminal |
CN111130596A (en) * | 2019-11-14 | 2020-05-08 | 华为技术有限公司 | Multiplexing circuit, interface circuit system and mobile terminal |
CN111651393A (en) * | 2020-06-24 | 2020-09-11 | 广西世纪创新显示电子有限公司 | TYPE-C interface circuit |
CN112235692A (en) * | 2020-10-15 | 2021-01-15 | 维沃移动通信有限公司 | Audio switching circuit, electronic equipment and audio switching method |
Also Published As
Publication number | Publication date |
---|---|
CN113821466A (en) | 2021-12-21 |
CN113821466B (en) | 2022-09-30 |
CN115422102A (en) | 2022-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108093329B (en) | Peripheral type detection circuit and mobile terminal based on shared interface | |
US11403245B2 (en) | Terminal, terminal peripheral, signal transmission system and signal sending and receiving method | |
CN113945869B (en) | Positive and negative connection identification circuit, method, equipment and system of interface | |
CN111930657A (en) | Connection circuit, control method of connection circuit, and connection device | |
CN115422102B (en) | USB, type-C interface circuit and drive plate | |
CN212846570U (en) | Type-C interface circuit and touch-control all-in-one | |
CN215955618U (en) | Type-C interface universal circuit and use drive plate of this circuit | |
CN218866471U (en) | Multifunctional chip circuit based on CPU | |
CN217880302U (en) | TYPE-C interface circuit | |
CN211180806U (en) | Debugging serial port circuit based on HDMI interface, HDMI interface module and HDMI equipment | |
CN215420573U (en) | Multifunctional video signal expansion interface and display terminal | |
US6530048B1 (en) | I2C test single chip | |
CN216118769U (en) | Type-C interface circuit and intelligent terminal equipment with same | |
CN114116570A (en) | Electronic device control system and electronic device control method | |
CN111651393A (en) | TYPE-C interface circuit | |
CN113438546B (en) | Multifunctional video signal expansion interface | |
TWI394045B (en) | Portable electronic device and method of identifying its accessories | |
CN215117505U (en) | Control circuit and mobile terminal | |
CN219739998U (en) | Vehicle-mounted PD quick charging circuit comprising Type-C mobile phone interconnection function | |
US11176074B2 (en) | Chip and interface conversion device | |
KR20200129333A (en) | Method for assigning different addresses on a plurality of slave devices using I2C communication protocol and a device for the same | |
CN217279563U (en) | Interface multiplexing circuit and electronic equipment | |
CN219958223U (en) | Data transmission system | |
CN220254683U (en) | Network card | |
CN216721543U (en) | Control module and terminal equipment based on earphone interface |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |