CN220730802U - Multiplexing full duplex UART's USB Type-C interface circuit - Google Patents
Multiplexing full duplex UART's USB Type-C interface circuit Download PDFInfo
- Publication number
- CN220730802U CN220730802U CN202322415615.8U CN202322415615U CN220730802U CN 220730802 U CN220730802 U CN 220730802U CN 202322415615 U CN202322415615 U CN 202322415615U CN 220730802 U CN220730802 U CN 220730802U
- Authority
- CN
- China
- Prior art keywords
- pin
- usb type
- interface
- uart
- full duplex
- 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
- 230000002457 bidirectional effect Effects 0.000 claims description 20
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Abstract
The utility model relates to a multiplexing full duplex UART USB Type-C interface circuit, wherein an A5 pin of the USB Type-C interface is also used for connecting with a UART1_RX pin, and an A8 pin of the USB Type-C interface is used for connecting with a UART1_TX pin; the B5 pin of the USB Type-C interface is also used for connecting with a UART2_RX pin, and the B8 pin of the USB Type-C interface is used for connecting with a UART2_TX pin; the UART multiplexing device can realize the function of multiplexing UART on the A5 pin, the A8 pin, the B5 pin and the B8 pin of the USB Type-C interface, does not need to additionally set the UART interface, reduces the cost and has better practicability.
Description
Technical Field
The utility model relates to the technical field of USB Type-C interface circuits, in particular to a multiplexing full-duplex UART USB Type-C interface circuit.
Background
In the beginning of this century, USB began to become the mainstream universal interface for computers and electronic products. In recent years, the USB Type-C is the latest version of the USB interface, so the new electronic product is preferred to the USB Type-C interface if communication with the outside is required or external power is required.
A mature electronic product needs to consider conditions such as development and debugging, production testing, after-sales diagnosis and maintenance, but in some cases, USB Type-C does not necessarily perform all the tasks, and a UART interface is often required to perform the tasks (the UART is called a universal asynchronous receiver/transmitter, which is called a serial port herein).
In many cases, a product (especially a consumer electronic product) does not allow for a user to leave an interface that is not normally available. This presents a problem to product design and developer.
Accordingly, in the present patent application, the applicant has studied a USB Type-C interface circuit multiplexing a full duplex UART to solve the above problems.
Disclosure of Invention
Aiming at the defects of the prior art, the utility model mainly aims to provide the USB Type-C interface circuit for multiplexing the full duplex UART, which can realize the function of multiplexing the UART on the A5 pin, the A8 pin, the B5 pin and the B8 pin of the USB Type-C interface, does not need to additionally arrange a UART interface, reduces the cost and has better practicability.
In order to achieve the above purpose, the present utility model adopts the following technical scheme:
the USB Type-C interface circuit of the multiplexing full duplex UART comprises a USB Type-C interface, a resistor R5 and a resistor R6;
the A5 pin of the USB Type-C interface is grounded through a resistor R6;
the B5 pin of the USB Type-C interface is grounded through a resistor R5;
the A5 pin of the USB Type-C interface is also used for connecting with a UART1_RX pin, and the A8 pin of the USB Type-C interface is used for connecting with a UART1_TX pin;
the B5 pin of the USB Type-C interface is also used for connecting with a UART2_RX pin, and the B8 pin of the USB Type-C interface is used for connecting with a UART2_TX pin.
As a preferable scheme, the USB Type-C interface further comprises a resistor R1 between an A5 pin and a UART1_RX pin, wherein the A5 pin and the UART1_RX pin are used for being connected in series with the USB Type-C interface.
As a preferable scheme, the USB Type-C interface further comprises a resistor R2 used for being connected between the A8 pin and the UART 1-TX pin of the USB Type-C interface in series.
As a preferable scheme, the USB Type-C interface further comprises a resistor R3 used for connecting the B5 pin of the USB Type-C interface in series with the UART2_RX pin.
As a preferable scheme, the USB interface further comprises a resistor R4 used for connecting the B8 pin of the USB Type-C interface and the UART 2-TX pin in series.
As a preferable scheme, the USB Type-C interface also comprises a bidirectional TVS diode D3, and the A8 pin of the USB Type-C interface is grounded through the bidirectional TVS diode D3.
As a preferable scheme, the USB Type-C interface also comprises a bidirectional TVS diode D4, and the B8 pin of the USB Type-C interface is grounded through the bidirectional TVS diode D4.
Compared with the prior art, the utility model has obvious advantages and beneficial effects, in particular: the USB Type-C interface is mainly characterized in that an A5 pin, an A8 pin, a B5 pin and a B8 pin of the USB Type-C interface are respectively led out and connected with RX and TX pins of a serial port, the function of multiplexing UART can be realized on the A5 pin, the A8 pin, the B5 pin and the B8 pin of the USB Type-C interface, the UART interface is not required to be additionally arranged, the cost is reduced, and the practicability is good;
secondly, through the cooperation of the bidirectional TVS diode D3 and the bidirectional TVS diode D4, the anti-surge and anti-static capacity of the whole circuit is improved.
In order to more clearly illustrate the structural features and efficacy of the present utility model, a detailed description thereof will be given below with reference to the accompanying drawings and examples.
Drawings
FIG. 1 is a schematic circuit diagram of the prior art;
fig. 2 is a schematic circuit diagram of an embodiment of the present utility model.
Detailed Description
The utility model is further described below with reference to the drawings and detailed description.
As shown in FIG. 2, a USB Type-C interface circuit of a multiplexing full duplex UART comprises a USB Type-C interface, a resistor R5, a resistor R6, a bidirectional TVS diode D1 and a bidirectional TVS diode D2.
The A5 pin of the USB Type-C interface is grounded through a resistor R6, and the A5 pin of the USB Type-C interface is grounded through a bidirectional TVS diode D1; the A5 pin of the USB Type-C interface is also used to connect to the UART1_RX pin. In this embodiment, the resistor R1 between the A5 pin and the UART1_RX pin for connecting the USB Type-C interface in series is also included.
The B5 pin of the USB Type-C interface is grounded through a resistor R5, and the B5 pin of the USB Type-C interface is grounded through a bidirectional TVS diode D2; the B5 pin of the USB Type-C interface is further used for connecting with a UART2_RX pin, and in the embodiment, a resistor R3 is further included between the B5 pin and the UART2_RX pin, which are used for connecting with the USB Type-C interface in series.
The A8 pin of the USB Type-C interface is used for connecting with the UART1_TX pin; in this embodiment, the circuit further includes a bidirectional TVS diode D3, and a resistor R2 between the A8 pin and the UART1_TX pin for connecting the USB Type-C interface in series. The A8 pin of the USB Type-C interface is grounded through a bidirectional TVS diode D3.
The B8 pin of the USB Type-C interface is used for connecting with the UART2_TX pin. In this embodiment, the device further includes a bidirectional TVS diode D4, and a resistor R4 between the B8 pin and the UART2_TX pin for connecting the USB Type-C interface in series. The B8 pin of the USB Type-C interface is grounded through a bidirectional TVS diode D4.
The UART1_RX pin and the UART1_TX pin are both located on the same chip, and the UART2_RX pin and the UART2_TX pin are both located on another chip. Of course, the uart1_rx pin, the uart1_tx pin, the uart2_rx pin and the uart2_tx pin may all be located on the same chip, which is not limited herein.
Generally, the A8 pin and the B8 pin of the USB Type-C interface are rarely used at ordinary times, and the A8 pin and the B8 pin of the USB Type-C interface are often idle in the data line of the standard USB Type-C3.1 and the lower level versions thereof. Therefore, in this embodiment, improvement is performed on the basis of the original circuit structure of the USB Type-C interface, and the A8 pin and the B8 pin of the USB Type-C interface implement TX multiplexing of UART.
At ordinary times, the uart2_tx pin and the uart1_tx pin are both set to a floating input state, and if the UART of the chip is to output data, the uart2_tx pin and the uart1_tx pin are both initialized to push-pull output.
Generally, in the USB Type-C standard, both the A5 pin and the B5 pin of the USB Type-C interface have external roles to enable an external power supply device to detect whether a device is connected to the external power supply device, and determine from whom the power supply is supplied. In this embodiment, the circuit structure of the original USB Type-C interface is improved, and the A5 pin and the B5 pin of the USB Type-C interface realize the RX multiplexing of the UART.
Generally, the uart2_rx pin and the uart1_rx pin are uniformly and directly in a listening state of suspended input;
if the external device (as an upper computer) needs to send a command to the embodiment, the A5 pin and the B5 pin of the USB Type-C interface of the embodiment no longer detect the level, but use the two pins as a signal receiving line of the UART; the uart2_rx pin and the uart1_rx pin receive in after detecting valid communication data from the external device.
In this embodiment, the uart1_rx pin and the uart1_tx pin form one full duplex UART, and the uart2_rx pin and the uart2_tx pin form another full duplex UART, i.e., the USB Type-C interface can support multiplexing of at most two UARTs.
The utility model has the design key points that the A5 pin, the A8 pin, the B5 pin and the B8 pin of the USB Type-C interface are respectively led out and connected with the RX and TX pins of the serial port, the function of multiplexing UART can be realized on the A5 pin, the A8 pin, the B5 pin and the B8 pin of the USB Type-C interface, the UART interface is not required to be additionally arranged, the cost is reduced, and the practicability is better;
secondly, through the cooperation of the bidirectional TVS diode D3 and the bidirectional TVS diode D4, the anti-surge and anti-static capacity of the whole circuit is improved.
The foregoing description is only of the preferred embodiments of the present utility model and is not intended to limit the technical scope of the present utility model, so that any minor modifications, equivalent changes and modifications made to the above embodiments according to the technical principles of the present utility model still fall within the scope of the technical solutions of the present utility model.
Claims (7)
1. The USB Type-C interface circuit of the multiplexing full duplex UART comprises a USB Type-C interface, a resistor R5 and a resistor R6;
the A5 pin of the USB Type-C interface is grounded through a resistor R6;
the B5 pin of the USB Type-C interface is grounded through a resistor R5;
the method is characterized in that: the A5 pin of the USB Type-C interface is also used for connecting with a UART1_RX pin, and the A8 pin of the USB Type-C interface is used for connecting with a UART1_TX pin;
the B5 pin of the USB Type-C interface is also used for connecting with a UART2_RX pin, and the B8 pin of the USB Type-C interface is used for connecting with a UART2_TX pin.
2. The USB Type-C interface circuit of the multiplexed full duplex UART of claim 1, wherein: the USB Type-C interface further comprises a resistor R1 connected between the A5 pin and the UART1_RX pin in series.
3. The USB Type-C interface circuit of the multiplexed full duplex UART of claim 1, wherein: the USB Type-C interface further comprises a resistor R2 used for being connected between the A8 pin and the UART 1-TX pin of the USB Type-C interface in series.
4. The USB Type-C interface circuit of the multiplexed full duplex UART of claim 1, wherein: the USB Type-C interface further comprises a resistor R3 connected between the B5 pin and the UART2_RX pin in series.
5. The USB Type-C interface circuit of the multiplexed full duplex UART of claim 1, wherein: the USB Type-C interface further comprises a resistor R4 used for being connected between the B8 pin and the UART 2-TX pin in series.
6. The USB Type-C interface circuit of the multiplexed full duplex UART of claim 1, wherein: the USB Type-C interface also comprises a bidirectional TVS diode D3, wherein the A8 pin of the USB Type-C interface is grounded through the bidirectional TVS diode D3.
7. The USB Type-C interface circuit of the multiplexed full duplex UART of claim 1, wherein: the USB Type-C interface also comprises a bidirectional TVS diode D4, and the B8 pin of the USB Type-C interface is grounded through the bidirectional TVS diode D4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202322415615.8U CN220730802U (en) | 2023-09-05 | 2023-09-05 | Multiplexing full duplex UART's USB Type-C interface circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202322415615.8U CN220730802U (en) | 2023-09-05 | 2023-09-05 | Multiplexing full duplex UART's USB Type-C interface circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN220730802U true CN220730802U (en) | 2024-04-05 |
Family
ID=90490413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202322415615.8U Active CN220730802U (en) | 2023-09-05 | 2023-09-05 | Multiplexing full duplex UART's USB Type-C interface circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN220730802U (en) |
-
2023
- 2023-09-05 CN CN202322415615.8U patent/CN220730802U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102750252B (en) | USB/UART interface multiplexing circuit and use the electronic equipment of this circuit | |
CN101622612B (en) | Detecting connection to a usb host or hub without using an extra status input | |
CN100483379C (en) | Method and apparatus for communicating with a host | |
CN209842611U (en) | Multi-communication interface data exchange board card | |
CN205901714U (en) | S frequency channel receiving and dispatching integration treater | |
CN112988640A (en) | Multi-reusability high-speed interface equipment and control method | |
CN209086916U (en) | A kind of serial communication circuit and wearable device | |
CN220730802U (en) | Multiplexing full duplex UART's USB Type-C interface circuit | |
CN202798652U (en) | Signal conversion circuit and interface switching equipment | |
CN101030185B (en) | Device for updating USB switching cascade line | |
CN212846570U (en) | Type-C interface circuit and touch-control all-in-one | |
CN207516993U (en) | A kind of Interface Expanding circuit and device | |
CN220730803U (en) | Multiplexing half duplex UART's USB Type-C interface circuit | |
CN207732510U (en) | A kind of soft straight-through letter fail-safe system based on detection of power loss | |
CN112968332A (en) | Compatible device and method for switching TYPE-C interface of tablet personal computer mainboard to UART serial port communication | |
CN114661646A (en) | Serial port switching control circuit | |
CN110018716A (en) | A kind of master control borad and its docking station suitable for modular docking station framework | |
CN207164746U (en) | A kind of USB Type C adapters for realizing USB device detection | |
CN214335503U (en) | Circuit based on USB3.0 interface and compatible with UART and IIC | |
CN102221650B (en) | Testing module for adapter element | |
CN205193738U (en) | Support PS2 and USB double nip keyboard of special function key | |
CN216437183U (en) | Communication circuit of automatic classification garbage bin | |
CN208953988U (en) | A kind of tablet computer with RS232 interface | |
CN215219002U (en) | Automatic identification circuit for OTG equipment mode | |
CN212061145U (en) | USB-COM port conversion circuit and industrial control equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |