Communication circuit

Through the combination of processing modules, switch modules and interface modules, flexible connection of communication circuits is achieved, which solves the problems of poor adaptability and high cost of communication circuits, and realizes multi-device adaptability and cost reduction.

CN223167103UActive Publication Date: 2025-07-29SHENZHEN HUIDU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422457447.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-07-29
Estimated Expiration
2034-10-11

AI Technical Summary

Technical Problem

The communication circuit has poor adaptability and high cost, which cannot meet the connection needs of different external devices, and requires designing multiple patch lists and setting up multiple host chips.

Method used

The communication circuit design includes processing module, switching module and interface module is adopted. Different connection methods are realized through level signal switching of the switch module, reducing the number of chips and patch list.

Benefits of technology

It improves the applicability of communication circuits, reduces costs, facilitates the design of printed circuit boards, and meets the connection needs of different external devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223167103U_ABST
    Figure CN223167103U_ABST
Patent Text Reader

Abstract

The utility model discloses a communication circuit. The communication circuit comprises a processing module, a switch module and an interface module, a first enabling end of the switch module is connected with the processing module, a first transmitting end and a second transmitting end of the switch module are connected with a first communication end of the processing module, and a first receiving end and a second receiving end of the switch module are connected with a second communication end of the processing module; the first end of the switch module is connected with the first end of the interface module, the second end of the switch module is connected with the second end of the interface module, and the switch module is configured to be that when the first enable end receives a first level signal, the first end of the switch module is connected with the first receiving end, and the second end of the switch module is connected with the second transmitting end; and when the first enable end receives a second level signal, the first end of the switch module is connected with the first transmitting end, and the second end of the switch module is connected with the second receiving end. According to the technical scheme of the utility model, the applicability of the communication circuit is improved, and the cost of the communication circuit is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of communication technologies, and particularly to a communication circuit. Background Art

[0002] Serial communication is a communication method in which external devices and a host transmit data bit by bit through data signal lines, ground wires, control lines, etc. Serial communication uses fewer data lines and can save communication costs in long-distance communication. Therefore, serial communication is widely used.

[0003] The host can communicate and connect with external devices through a communication interface. The communication interface includes a receiving port and a sending port. The receiving end of the communication interface is connected to the receiving interface of the external device, and the sending end of the communication interface is connected to the sending port of the external device. The connection between the host and the external device is fixed. Therefore, it cannot meet the requirements of different external devices, resulting in poor adaptability of the communication circuit. To meet the requirements of different external devices, multiple patch lists need to be designed, and multiple host chips need to be set on the printed circuit board, resulting in high costs and inconvenient design. Summary of the Utility Model

[0004] The utility model provides a communication circuit to solve the problems of poor adaptability and high cost of the communication circuit.

[0005] The utility model provides a communication circuit, which includes a processing module, a switching module, and an interface module;

[0006] The first enable end of the switching module is connected to the processing module. The first sending end and the second sending end of the switching module are connected to the first communication end of the processing module. The first receiving end and the second receiving end of the switching module are connected to the second communication end of the processing module;

[0007] The first end of the switching module is connected to the first end of the interface module, and the second end of the switching module is connected to the second end of the interface module. The switching module is configured to connect the first end of the switching module to the first receiving end and the second end of the switching module to the second sending end when the first enable end receives a first level signal; and connect the first end of the switching module to the first sending end and the second end of the switching module to the second receiving end when the first enable end receives a second level signal.

[0008] Optionally, the second enabling terminal of the switch module is connected to the processing module. The first power terminal and the second power terminal of the switch module are connected to a first power interface, and the third power terminal and the fourth power terminal of the switch module are connected to a second power interface. The switch module is configured such that when the first level signal is received at the second enabling terminal, the first terminal of the switch module is connected to the first power terminal, and the second terminal of the switch module is connected to the second power terminal. When the second level signal is received at the second enabling terminal, the first terminal of the switch module is connected to the third power terminal, and the second terminal of the switch module is connected to the fourth power terminal.

[0009] Optionally, the switch module includes a digital switch chip.

[0010] Optionally, the digital switch chip includes a first switch, a second switch, a third switch, and a fourth switch;

[0011] The first terminal of the first switch is connected to the first terminal of the interface module. The second terminal of the first switch is connected to the first communication terminal of the processing module, and the third terminal of the first switch is connected to the second communication terminal of the processing module;

[0012] The first terminal of the second switch is connected to the first terminal of the interface module. The second terminal of the second switch is connected to the first power interface, and the third terminal of the second switch is connected to the second power interface;

[0013] The first terminal of the third switch is connected to the second terminal of the interface module. The second terminal of the third switch is connected to the first communication terminal of the processing module, and the third terminal of the third switch is connected to the second communication terminal of the processing module;

[0014] The first terminal of the fourth switch is connected to the second terminal of the interface module. The second terminal of the fourth switch is connected to the first power interface, and the third terminal of the fourth switch is connected to the second power interface.

[0015] Optionally, the communication circuit further includes a first switching transistor and a second switching transistor;

[0016] The first terminal of the first switching transistor is connected to the first communication terminal. The control terminal of the first switching transistor is connected to a control power supply, and the second terminal of the first switching transistor is connected to the first transmitting terminal and the first receiving terminal of the switch module;

[0017] The first terminal of the second switching transistor is connected to the second communication terminal. The control terminal of the second switching transistor is connected to the control power supply, and the second terminal of the second switching transistor is connected to the second transmitting terminal and the second receiving terminal of the switch module.

[0018] Optionally, the communication circuit further includes a first resistor and a second resistor;

[0019] The first resistor is connected between the first communication terminal and the control terminal of the first switching transistor;

[0020] The second resistor is connected between the second communication terminal and the control terminal of the second switching transistor.

[0021] Optionally, the first switching transistor and the second switching transistor are metal-oxide-semiconductor field-effect transistors.

[0022] Optionally, the first power supply interface is connected to a first power supply voltage, and the second power supply interface is connected to a second power supply voltage;

[0023] The first power supply voltage is 5V, and the second power supply voltage is 3.3V; alternatively, the first power supply voltage is 3.3V, and the second power supply voltage is 5V.

[0024] Optionally, the communication circuit further includes a third resistor, a fourth resistor, a fifth resistor, and a sixth resistor;

[0025] The third resistor is connected between the first power supply terminal and the first power supply interface;

[0026] The fourth resistor is connected between the second power supply terminal and the first power supply interface;

[0027] The fifth resistor is connected between the third power supply terminal and the second power supply interface;

[0028] The sixth resistor is connected between the fourth power supply terminal and the second power supply interface.

[0029] Optionally, the first power supply terminal of the switching module is connected to a power supply voltage, and the second power supply terminal of the switching module is grounded.

[0030] In the technical solution of the embodiment of the present utility model, the communication circuit includes a processing module, a switching module, and an interface module. When the first enable terminal of the switching module receives the first level signal sent by the processing module, the first end of the switching module is connected to the first receiving terminal, and the second end of the switching module is connected to the second sending terminal, so that the first receiving terminal of the switching module is connected to the first end of the interface module, and the second sending terminal of the switching module is connected to the second end of the interface module, making the first end of the interface module the receiving terminal and the second end of the interface module the sending terminal. When the first enable terminal of the switching module receives the second level signal sent by the processing module, the first end of the switching module is connected to the first sending terminal, and the second end of the switching module is connected to the second receiving terminal, so that the first sending terminal of the switching module is connected to the first end of the interface module, and the second receiving terminal of the switching module is connected to the second end of the interface module, making the first end of the interface module the sending terminal and the second end of the interface module the receiving terminal. In this way, the first communication terminal of the processing module can be connected to the receiving terminal of the external device, and the second communication terminal of the processing module can be connected to the sending terminal of the external device; or, the first communication terminal of the processing module can be connected to the sending terminal of the external device, and the second communication terminal of the processing module can be connected to the receiving terminal of the external device, thereby realizing different communication connection methods, meeting different connection requirements, improving the applicability of the communication circuit, and without setting multiple chip mounting lists, without setting two processing modules, reducing the number of chips, thereby reducing costs and facilitating the design of the printed circuit board.

[0031] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present utility model, nor is it used to limit the scope of the present utility model. Other features of the present utility model will become easily understood through the following description. Brief Description of the Drawings

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present utility model, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present utility model. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0033] Figure 1 is a schematic structural diagram of a communication circuit provided by an embodiment of the present utility model;

[0034] Figure 2 is a schematic structural diagram of another communication circuit provided by an embodiment of the present utility model;

[0035] Figure 3 is a schematic structural diagram of another communication circuit provided by an embodiment of the present utility model. Detailed Embodiments

[0036] To enable those skilled in the art to better understand the solution of the present utility model, the technical solutions in the embodiments of the present utility model will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present utility model. Obviously, the described embodiments are only a part of the embodiments of the present utility model, rather than all of the embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present utility model.

[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present utility model and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present utility model described herein can be implemented in an order different from those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0038] This embodiment provides a communication circuit, which can be applied to serial communication. Figure 1 is a schematic structural diagram of a communication circuit provided by an embodiment of the present utility model. Refer to Figure 1 , the communication circuit includes: a processing module 110, a switching module 120, and an interface module 130;

[0039] The first enable terminal EN1 of the switching module 120 is connected to the processing module 110. The first transmission terminal TX1 and the second transmission terminal TX2 of the switching module 120 are connected to the first communication terminal A1 of the processing module 110. The first reception terminal RX1 and the second reception terminal RX2 of the switching module 120 are connected to the second communication terminal A2 of the processing module 110;

[0040] The first terminal of the switching module 120 is connected to the first terminal of the interface module 130, and the second terminal of the switching module 120 is connected to the second terminal of the interface module 130. The switching module 120 is configured to connect the first terminal to the first reception terminal RX1 and the second terminal to the second transmission terminal TX2 when the first enable terminal EN1 receives a first level signal; and connect the first terminal to the first transmission terminal TX1 and the second terminal to the second reception terminal RX2 when the first enable terminal EN1 receives a second level signal.

[0041] Among them, the processing module 110 may include a processor, which may be a Field Programmable Gate Array (FPGA), or a Digital Signal Processor (DSP), or a microprocessor ARM (Advanced RISC Machines), or other processors, which is not limited in this embodiment. The first communication end A1 of the processing module 110 is a sending end, and the second communication end A2 of the processing module 110 is a receiving end. The interface module 130 may be an interface socket, and the processing module 110 may be communicatively connected to an external device through the interface module 130. The first end of the interface module 130 may be a receiving end, and the second end of the interface module 130 is a sending end; or the first end of the interface module 130 is a sending end, and the second end of the interface module 130 is a receiving end.

[0042] Specifically, when the first enable end EN1 of the switch module 120 receives the first level signal sent by the processing module 110, the first end of the switch module 120 is connected to the first receiving end RX1, and the second end of the switch module 120 is connected to the second sending end TX2, so that the first receiving end RX1 of the switch module 120 is connected to the first end of the interface module 130, and the second sending end TX2 of the switch module 120 is connected to the second end of the interface module 130, so that the first end of the interface module 130 is a receiving end, and the second end of the interface module 130 is a sending end. When the first enable end EN1 of the switch module 120 receives the second level signal sent by the processing module 110, the first end of the switch module 120 is connected to the first sending end TX1, and the second end of the switch module 120 is connected to the second receiving end RX2, so that the first sending end TX1 of the switch module 120 is connected to the first end of the interface module 130, and the second receiving end RX2 of the switch module 120 is connected to the second end of the interface module 130, so that the first end of the interface module 130 is a sending end, and the second end of the interface module 130 is a receiving end. In this way, the first communication end A1 of the processing module 110 can be connected to the receiving end of the external device, and the second communication end A2 of the processing module 110 can be connected to the sending end of the external device; or the first communication end A1 of the processing module 110 is connected to the sending end of the external device, and the second communication end A2 of the processing module 110 can be connected to the receiving end of the external device, so as to realize different communication connection modes, meet different connection requirements, improve the applicability of the communication circuit, and there is no need to set multiple chip lists, and there is no need to set two processing modules 110, reducing the number of chips, thus reducing the cost and facilitating the design of the printed circuit board.

[0043] Among them, the first level signal is a high level, and the second level signal is a low level; or the first level signal is a low level, and the second level signal is a high level. This embodiment does not make a limitation.

[0044] Moreover, the switch module 120 can be an integrated switch chip, so that there is no need to set multiple independent switches, and thus there is no need to set corresponding resistors for the independent switches, which can reduce the number of resistors and is beneficial to cost reduction.

[0045] In the technical solution of this embodiment, the communication circuit includes a processing module, a switch module, and an interface module. When the first enabling end of the switch module receives the first level signal sent by the processing module, the first end of the switch module is connected to the first receiving end, and the second end of the switch module is connected to the second sending end, so that the first receiving end of the switch module is connected to the first end of the interface module, and the second sending end of the switch module is connected to the second end of the interface module, making the first end of the interface module the receiving end and the second end of the interface module the sending end. When the first enabling end of the switch module receives the second level signal sent by the processing module, the first end of the switch module is connected to the first sending end, and the second end of the switch module is connected to the second receiving end, so that the first sending end of the switch module is connected to the first end of the interface module, and the second receiving end of the switch module is connected to the second end of the interface module, making the first end of the interface module the sending end and the second end of the interface module the receiving end. In this way, the first communication end of the processing module can be connected to the receiving end of the external device, and the second communication end of the processing module can be connected to the sending end of the external device; or the first communication end of the processing module can be connected to the sending end of the external device, and the second communication end of the processing module can be connected to the receiving end of the external device, thereby realizing different communication connection methods, meeting different connection requirements, improving the applicability of the communication circuit, and without the need to set multiple chip lists or two processing modules, reducing the number of chips, thus reducing the cost and facilitating the design of the printed circuit board.

[0046] Based on the above technical solution, Figure 2 is a schematic structural diagram of another communication circuit provided by an embodiment of the present invention. Optionally, refer to Figure 2, the second enable terminal EN2 of the switch module 120 is connected to the processing module 110. The first power terminal B1 and the second power terminal B2 of the switch module 120 are connected to the first power interface V1, and the third power terminal B3 and the fourth power terminal B4 of the switch module 120 are connected to the second power interface V2. The switch module 120 is configured such that when the second enable terminal EN2 receives a first level signal, the first terminal of the switch module 120 is connected to the first power terminal B1, and the second terminal of the switch module 120 is connected to the second power terminal B2. When the second enable terminal EN2 receives a second level signal, the first terminal of the switch module 120 is connected to the third power terminal B3, and the second terminal of the switch module 120 is connected to the fourth power terminal B4.

[0047] Specifically, when the second enable terminal EN2 of the switch module 120 receives a first level signal, the first terminal of the switch module 120 is connected to the first power terminal B1, and the second terminal of the switch module 120 is connected to the second power terminal B2. Then, both the first terminal of the switch module 120 and the second terminal of the switch module 120 are connected to the first power interface V1, that is, both the first terminal of the interface module 130 and the second terminal of the interface module 130 are connected to the first power interface V1. The first power interface V1 can access a first power voltage, so that both the first terminal of the interface module 130 and the second terminal of the interface module 130 are accessed with the first power voltage, and the level for external communication is the first power voltage. When the second enable terminal EN2 of the switch module 120 receives a second level signal, the first terminal of the switch module 120 is connected to the third power terminal B3, and the second terminal of the switch module 120 is connected to the fourth power terminal B4. Then, both the first terminal of the switch module 120 and the second terminal of the switch module 120 are connected to the second power interface V2, that is, both the first terminal of the interface module 130 and the second terminal of the interface module 130 are connected to the second power interface V2. The second power interface V2 can access a second power voltage, so that both the first terminal of the interface module 130 and the second terminal of the interface module 130 are accessed with the second power voltage, and the level for external communication is the second power voltage. In this way, the level for external communication can be switched according to requirements, further improving the applicability of the communication circuit.

[0048] Based on the above technical solutions, Figure 3 is a schematic structural diagram of another communication circuit provided by an embodiment of the present invention. Optionally, referring to Figure 3 , the switch module 120 includes a digital switch chip 121. In this way, the switch module 120 is an integrated switch chip, so there is no need to set multiple independent switches, reducing the resistors corresponding to the independent switches, thereby reducing the cost.

[0049] Based on the above technical solutions, optionally, referring to Figure 3 , the digital switch chip 121 includes a first switch S1, a second switch S2, a third switch S3, and a fourth switch S4;

[0050] The first end of the first switch S1 is connected to the first end of the interface module 130, the second end of the first switch S1 is connected to the first communication end A1 of the processing module 110, and the third end of the first switch S1 is connected to the second communication end A2 of the processing module 110;

[0051] The first end of the second switch S2 is connected to the first end of the interface module 130, the second end of the second switch S2 is connected to the first power interface V1, and the third end of the second switch S2 is connected to the second power interface V2;

[0052] The first end of the third switch S3 is connected to the second end of the interface module 130, the second end of the third switch S3 is connected to the first communication end A1 of the processing module 110, and the third end of the third switch S3 is connected to the second communication end A2 of the processing module 110;

[0053] The first end of the fourth switch S4 is connected to the second end of the interface module 130, the second end of the fourth switch S4 is connected to the first power interface V1, and the third end of the fourth switch S4 is connected to the second power interface V2.

[0054] Among them, the first enable end EN1 of the switch module 120 can be connected to the control ends of the first switch S1 and the third switch S3, and the second enable end EN2 of the switch module 120 can be connected to the control ends of the second switch S2 and the fourth switch S4. The first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 can be integrated into a digital switch chip, thereby reducing the area, improving the integration degree, and reducing the number of resistors.

[0055] Specifically, the first end of the first switch S1 is the first end of the switch module 120, the second end of the first switch S1 is the first receiving end RX1 of the switch module 120, and the third end of the first switch S1 is the first sending end TX1 of the switch module 120. When the first enable end EN1 of the switch module 120 receives the first level signal sent by the processing module 110, the first end of the first switch S1 is connected to the second end of the first switch S1, so that the first end of the switch module 120 is connected to the first receiving end RX1, and the first end of the interface module 130 is connected to the first receiving end RX1 of the switch module 120. When the first enable end EN1 of the switch module 120 receives the second level signal sent by the processing module 110, the first end of the first switch S1 is connected to the third end of the first switch S1, so that the first end of the switch module 120 is connected to the first sending end TX1, and the first end of the interface module 130 is connected to the first sending end TX1 of the switch module 120.

[0056] The first end of the second switch S2 is the first end of the switch module 120, the second end of the second switch S2 is the first power supply terminal B1 of the switch module 120, and the third end of the second switch S2 is the third power supply terminal B3 of the switch module 120. When the second enable terminal EN2 of the switch module 120 receives a first level signal, the first end of the second switch S2 is connected to the second end of the second switch S2, then the first end of the switch module 120 is connected to the first power supply interface V1, that is, the first end of the interface module 130 is connected to the first power supply interface V1. When the second enable terminal EN2 of the switch module 120 receives a second level signal, the first end of the second switch S2 is connected to the third end of the second switch S2, then the first end of the switch module 120 is connected to the second power supply interface V2, that is, the first end of the interface module 130 is connected to the second power supply interface V2.

[0057] The first end of the third switch S3 is the second end of the switch module 120, the second end of the third switch S3 is the second transmission end TX2 of the switch module 120, and the third end of the third switch S3 is the second reception end RX2 of the switch module 120. When the first enable terminal EN1 of the switch module 120 receives a first level signal sent by the processing module 110, the first end of the third switch S3 is connected to the second end of the third switch S3, that is, the second end of the switch module 120 is connected to the second transmission end TX2, so that the second transmission end TX2 of the switch module 120 is connected to the second end of the interface module 130. When the first enable terminal EN1 of the switch module 120 receives a second level signal sent by the processing module 110, the first end of the third switch S3 is connected to the third end of the third switch S3, that is, the second end of the switch module 120 is connected to the second reception end RX2, so that the second reception end RX2 of the switch module 120 is connected to the second end of the interface module 130.

[0058] The first end of the fourth switch S4 is the second end of the switch module 120, the second end of the fourth switch S4 is the second power supply terminal B2 of the switch module 120, and the third end of the fourth switch S4 is the fourth power supply terminal B4 of the switch module 120. When the second enable terminal EN2 of the switch module 120 receives a first level signal, the first end of the fourth switch S4 is connected to the second end of the fourth switch S4, then the second end of the switch module 120 is connected to the first power supply interface V1, that is, the second end of the interface module 130 is connected to the first power supply interface V1. When the second enable terminal EN2 of the switch module 120 receives a second level signal, the first end of the fourth switch S4 is connected to the third end of the fourth switch S4, then the second end of the switch module 120 is connected to the second power supply interface V2, that is, the second end of the interface module 130 is connected to the second power supply interface V2.

[0059] Optionally, referring to Figure 3 , the communication circuit further includes a first switching transistor Q1 and a second switching transistor Q2;

[0060] The first end of the first switching transistor Q1 is connected to the first communication terminal A1. The control terminal of the first switching transistor Q1 is connected to the control power supply VC1. The second end of the first switching transistor Q1 is connected to the first transmitting terminal TX1 and the first receiving terminal RX1 of the switching module 120;

[0061] The first end of the second switching transistor Q2 is connected to the second communication terminal A2. The control terminal of the second switching transistor Q2 is connected to the control power supply VC1. The second end of the second switching transistor Q2 is connected to the second transmitting terminal TX2 and the second receiving terminal RX2 of the switching module 120.

[0062] Specifically, the first switching transistor Q1 and the second switching transistor Q2 can be in a normally-off state, that is, the first switching transistor Q1 and the second switching transistor Q2 are in a conducting state, so that the processing module 110 can send and receive signals, facilitating communication of the processing module 110.

[0063] Optionally, referring to Figure 3 , the communication circuit further includes a first resistor R1 and a second resistor R2;

[0064] The first resistor R1 is connected between the first communication terminal A1 and the control terminal of the first switching transistor Q1;

[0065] The second resistor R2 is connected between the second communication terminal A2 and the control terminal of the second switching transistor Q2.

[0066] Specifically, the first resistor R1 and the second resistor R2 have the functions of voltage division and current limiting, so that the voltages and currents of the first communication terminal A1 and the second communication terminal A2 of the processing module 110 are small, avoiding damage to the processing module 110.

[0067] Optionally, the first switching transistor Q1 and the second switching transistor Q2 are metal-oxide-semiconductor field-effect transistors. Metal-oxide-semiconductor field-effect transistors, abbreviated as MOSFETs (Metal-Oxide-Semiconductor Field-Effect Transistor), have the advantages of low manufacturing cost, small usage area, high integration, etc., and can further reduce the cost of the communication circuit.

[0068] Optionally, the first power interface V1 is connected to a first power supply voltage, and the second power interface V2 is connected to a second power supply voltage; the first power supply voltage is 5V, and the second power supply voltage is 3.3V; alternatively, the first power supply voltage is 3.3V, and the second power supply voltage is 5V. In this way, when the switch module 120 is connected to different power interfaces (the first power interface V1 or the second power interface V2), different power supply voltages can be accessed, so as to realize energization with different communication levels, thereby meeting different requirements and improving the applicability of the communication circuit.

[0069] Optionally, referring to Figure 3 , the communication circuit further includes a third resistor R3, a fourth resistor R4, a fifth resistor R5, and a sixth resistor R6;

[0070] The third resistor R3 is connected between the first power supply terminal B1 and the first power interface V1;

[0071] The fourth resistor R4 is connected between the second power supply terminal B2 and the first power interface V1;

[0072] The fifth resistor R5 is connected between the third power supply terminal B3 and the second power interface V2;

[0073] The sixth resistor R6 is connected between the fourth power supply terminal B4 and the second power interface V2.

[0074] Specifically, the third resistor R3, the fourth resistor R4, the fifth resistor R5, and the sixth resistor R6 have a current limiting effect, which can prevent the current accessing the first end and the second end of the interface module 130 from being too large, so as to achieve the effect of protecting the communication ports of the interface module 130 and the external device.

[0075] Optionally, referring to Figure 3 , the first power supply terminal of the switch module 120 is connected to a power supply voltage VCC, and the second power supply terminal of the switch module 120 is grounded. Wherein, the power supply voltage VCC can be 5V or other voltages, which is not limited in this embodiment. In this way, the switch module 120 can be powered, facilitating the normal operation of the switch module 120.

[0076] The above specific embodiments do not constitute a limitation to the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub - combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A communication circuit, characterized in that, Including: A processing module, a switching module, and an interface module; A first enabling end of the switching module is connected to the processing module, a first transmitting end and a second transmitting end of the switching module are connected to a first communication end of the processing module, and a first receiving end and a second receiving end of the switching module are connected to a second communication end of the processing module; A first end of the switching module is connected to a first end of the interface module, a second end of the switching module is connected to a second end of the interface module, and the switching module is configured to connect the first end of the switching module to the first receiving end and the second end of the switching module to the second transmitting end when a first level signal is received at the first enabling end; And when a second level signal is received at the first enabling end, the first end of the switching module is connected to the first transmitting end, and the second end of the switching module is connected to the second receiving end.

2. The communication circuit according to claim 1, wherein A second enabling end of the switching module is connected to the processing module, a first power supply end and a second power supply end of the switching module are connected to a first power supply interface, and a third power supply end and a fourth power supply end of the switching module are connected to a second power supply interface; the switching module is configured to connect the first end of the switching module to the first power supply end and the second end of the switching module to the second power supply end when the second enabling end receives the first level signal; When the second enabling end receives the second level signal, the first end of the switching module is connected to the third power supply end, and the second end of the switching module is connected to the fourth power supply end.

3. The communication circuit according to claim 2, wherein, The switching module includes a digital switch chip.

4. The communication circuit according to claim 3, characterized in that, The digital switch chip includes a first switch, a second switch, a third switch, and a fourth switch; A first end of the first switch is connected to a first end of the interface module, a second end of the first switch is connected to a first communication end of the processing module, and a third end of the first switch is connected to a second communication end of the processing module; A first end of the second switch is connected to a first end of the interface module, a second end of the second switch is connected to the first power supply interface, and a third end of the second switch is connected to the second power supply interface; A first end of the third switch is connected to a second end of the interface module, a second end of the third switch is connected to a first communication end of the processing module, and a third end of the third switch is connected to a second communication end of the processing module; A first end of the fourth switch is connected to a second end of the interface module, a second end of the fourth switch is connected to the first power supply interface, and a third end of the fourth switch is connected to the second power supply interface.

5. The communication circuit according to claim 1, characterized in that, The communication circuit further includes a first switching transistor and a second switching transistor; A first end of the first switching transistor is connected to the first communication end, a control end of the first switching transistor is connected to a control power supply, and a second end of the first switching transistor is connected to the first transmitting end and the first receiving end of the switching module; The first end of the second switching transistor is connected to the second communication end, the control end of the second switching transistor is connected to the control power supply, and the second end of the second switching transistor is connected to the second transmitting end and the second receiving end of the switching module.

6. The communication circuit according to claim 5, wherein The communication circuit further includes a first resistor and a second resistor; The first resistor is connected between the first communication end and the control end of the first switching transistor; The second resistor is connected between the second communication end and the control end of the second switching transistor.

7. The communication circuit according to claim 5, wherein The first switching transistor and the second switching transistor are metal oxide semiconductor field effect transistors.

8. The communication circuit according to claim 2, wherein The first power supply interface is connected to a first power supply voltage, and the second power supply interface is connected to a second power supply voltage; The first power supply voltage is 5V and the second power supply voltage is 3.3V; alternatively, the first power supply voltage is 3.3V and the second power supply voltage is 5V.

9. The communication circuit according to claim 2, characterized in that, The communication circuit further includes a third resistor, a fourth resistor, a fifth resistor, and a sixth resistor; The third resistor is connected between the first power supply end and the first power supply interface; The fourth resistor is connected between the second power supply end and the first power supply interface; The fifth resistor is connected between the third power supply end and the second power supply interface; The sixth resistor is connected between the fourth power supply end and the second power supply interface.

10. The communication circuit according to claim 1, wherein The first power supply end of the switching module is connected to a supply voltage, and the second power supply end of the switching module is grounded.