CN116881062A - Multifunctional interface circuit and electronic equipment - Google Patents

Multifunctional interface circuit and electronic equipment Download PDF

Info

Publication number
CN116881062A
CN116881062A CN202311072170.6A CN202311072170A CN116881062A CN 116881062 A CN116881062 A CN 116881062A CN 202311072170 A CN202311072170 A CN 202311072170A CN 116881062 A CN116881062 A CN 116881062A
Authority
CN
China
Prior art keywords
interface
terminal
pin
control unit
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311072170.6A
Other languages
Chinese (zh)
Inventor
张红艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiaxun Feihong Electrical Co Ltd
Original Assignee
Beijing Jiaxun Feihong Electrical Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Jiaxun Feihong Electrical Co Ltd filed Critical Beijing Jiaxun Feihong Electrical Co Ltd
Priority to CN202311072170.6A priority Critical patent/CN116881062A/en
Publication of CN116881062A publication Critical patent/CN116881062A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a multifunctional interface circuit and electronic equipment. The multifunctional interface circuit comprises a universal interface, a switching module and a control module, wherein the universal interface is used for externally connecting other devices. The switching module comprises a control terminal, an external terminal and an internal terminal which is different from the plurality of types; the external terminal is connected with the universal interface; the opposite inner terminals are respectively and correspondingly connected with different types of output terminals of a central processing unit in the electronic equipment; the switching module is used for switching the pair internal terminal connected with the external terminal according to the control signal accessed by the control terminal, wherein the type of the pair internal terminal is consistent with that of the corresponding output terminal. The control module comprises a hardware control unit, wherein the hardware control unit is connected with the control terminal, and the hardware control unit is used for generating control signals according to the operation of a user, so that the function switching of the universal interface is realized, the number of the external interfaces of the electronic equipment is reduced, the structure of the electronic equipment is simplified, and the attractiveness of the electronic equipment and the use experience of the user are improved.

Description

Multifunctional interface circuit and electronic equipment
Technical Field
Embodiments of the present invention relate to circuit technologies, and in particular, to a multifunctional interface circuit and an electronic device.
Background
In the terminal debugging process, different types of interfaces for debugging need to be arranged on the electronic equipment according to different debugging objects and debugging contents. After debugging is completed, a part of the unusual debugging interfaces are hidden in the shell of the device, and only the unusual interfaces are exposed.
However, by adopting the interface setting mode, the number of interfaces is large, so that the electronic equipment is complex in structure and poor in aesthetic property, and the use experience of a user on the electronic equipment is affected.
Disclosure of Invention
The invention provides a multifunctional interface circuit and an electronic device, which are used for improving the aesthetic property of the electronic device and the use experience of a user while simplifying the structure of the electronic device.
In a first aspect, an embodiment of the present invention provides a multifunctional interface circuit, applied to an electronic device, where the multifunctional interface circuit includes: the system comprises a universal interface, a switching module and a control module;
the universal interface is used for being externally connected with other devices, wherein the other devices comprise debugging equipment;
the switching module comprises a control terminal, an external terminal and an internal terminal which is different from a plurality of types; the external terminal is connected with the universal interface; the pair of inner terminals are respectively and correspondingly connected with different types of output terminals of a central processing unit in the electronic equipment; the switching module is used for switching the pair of inner terminals connected with the external terminal according to the control signal accessed by the control terminal, wherein the types of the pair of inner terminals and the corresponding output terminals are consistent;
the control module comprises a hardware control unit, wherein the hardware control unit is connected with the control terminal and is used for generating the control signal according to the operation behavior of a user.
Optionally, the control module further comprises a software control unit; the software control unit is arranged in the central processing unit and connected with the control end, and the software control unit is used for generating the control signal according to the presence or absence of an input signal of a user or a signal of the output terminal.
Optionally, in case of first debugging or failure of the central processor, generating the control signal by operating the hardware control unit;
and under the condition that the central processing unit is debugged for the first time and works normally, the control signal is generated by inputting the input signal to the software control unit.
Optionally, the control end of the switching module includes a first pin and a second pin;
the hardware control unit comprises a first jumper cap and a second jumper cap, wherein an output pin of the first jumper cap is connected with the first pin, and three input pins of the first jumper cap are respectively connected with a high level, a low level and a suspension end; the output pins of the second jumper cap are connected with the second pins, and the three input pins of the second jumper cap are respectively connected with a high level, a low level and a suspension end.
Optionally, the switching module includes a plurality of analog switch chips, one output end of each analog switch chip is used as the external terminal of the switching module, and a plurality of input ends of each analog switch chip are respectively used as a plurality of the internal terminals of the switching module.
Optionally, the number of the input ends of the one-out-of-multiple analog switch chip is 4, and the 4 input ends of the one-out-of-multiple analog switch chip are respectively used as a data exchange interface, a network debugging interface, a host interface and a serial debugging interface.
Optionally, under the condition that the first pin and the second pin are both in high level, the one-to-many analog switch chip controls the serial debug interface to be connected with the universal interface;
under the condition that the first pin is at a high level and the second pin is at a low level, the one-out-of-many analog switch chip controls the host interface to be connected with the universal interface;
under the condition that the first pin is at a low level and the second pin is at a high level, the one-out-of-many analog switch chip controls the network debugging interface to be connected with the universal interface;
and under the condition that the first pin and the second pin are both in a low level, the one-out-of-many analog switch chip controls the data exchange interface to be connected with the universal interface.
Optionally, the universal interface comprises a USB Type-a interface.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a central processing unit and any of the multifunctional interface circuits in the first aspect.
Optionally, the central processor includes a master processor and a slave processor.
The multifunctional interface circuit provided by the embodiment of the invention is provided with the universal interface, the switching module and the control module, wherein the universal interface is used for externally connecting other equipment, and the other equipment comprises debugging equipment. The switching module comprises a control terminal, an external terminal and an internal terminal which is different from the plurality of types; the external terminal is connected with the universal interface; the opposite inner terminals are respectively and correspondingly connected with different types of output terminals of a central processing unit in the electronic equipment; the switching module is used for switching the pair internal terminal connected with the external terminal according to the control signal accessed by the control terminal, wherein the type of the pair internal terminal is consistent with that of the corresponding output terminal. The control module comprises a hardware control unit, the hardware control unit is connected with the control terminal, the hardware control unit is used for generating control signals according to the operation behaviors of a user, integration of multiple types of interfaces of the electronic equipment is achieved, switching of multiple functions of the universal interfaces is achieved through the switching module, the number of the external interfaces of the electronic equipment is reduced, the structure of the electronic equipment is simplified, the attractiveness of the electronic equipment is improved, and the use experience of the user is improved.
Drawings
FIG. 1 is a schematic diagram of a multifunctional interface circuit and a CPU according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a combination of a multifunctional interface circuit according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a further multi-functional interface circuit according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
In order to solve the problems in the background art, an embodiment of the present invention provides a multifunctional interface circuit, which is applied to an electronic device. Fig. 1 is a schematic diagram of a multifunctional interface circuit and a cpu according to an embodiment of the present invention, and referring to fig. 1, a multifunctional interface circuit 100 includes: a generic interface 101, a switching module 102 and a control module 103. The universal interface 101 is used for externally connecting other devices to realize debugging or data interchange of the electronic device, wherein the other devices comprise a debugging device. The switching module 102 includes a control terminal a, an external terminal b, and an internal pair terminal c different from a plurality of types; the external terminal b is connected with the universal interface 101; the opposite terminals c are respectively and correspondingly connected with different types of output terminals d of the central processing unit 104 in the electronic equipment, wherein the different types can comprise at least one of different communication protocols and different functions; the switching module 102 is configured to switch the pair of internal terminals c connected to the external terminal b according to a control signal accessed by the control terminal a, where the pair of internal terminals c is consistent with the type of the corresponding output terminal d. The control module 103 includes a hardware control unit 105, the hardware control unit 104 is connected to the control terminal a, and the hardware control unit 104 is configured to generate a control signal according to an operation behavior of a user.
Specifically, the universal interface 101 refers to a multifunctional external interface disposed on the housing in the electronic device, and may be externally connected with other devices, so as to implement multiple types of debugging and data transmission for the electronic device, and the universal interface 101 may be an USB Type-a interface, for example. The switching module 102 refers to a switching component disposed between the universal interface and a plurality of different types of output terminals d of the central processing unit 104, and may switch the output terminals d that are in one-to-one conduction with the universal interface 101, and the switching module 102 may be a pair of multimode switch chips. The central processor 104 may include a single processor or multiple processors. The switching module 102 includes a control terminal a, an external terminal b, and a plurality of different types of internal terminals c. The control terminal a can be connected with a control signal to control the state switching and/or state holding of the switching module. The external terminal b is connected to the universal interface 101. The internal terminals c are connected with the output terminals d of the central processing unit 104 in a one-to-one correspondence manner, so that the connection of different functions or different types of output terminals d with the switching module b can be realized. Illustratively, in the case where the received control signal includes the first access information, the switching module 102 may control the first pair of the inner terminals c to be connected one-to-one with the external terminal b, and the other pairs of the inner terminals c to be disconnected from the external terminal b. The control module 103 refers to a state control component of the switching module 102, and may generate a corresponding control signal according to an operation behavior or an input signal of a user. The control module 103 includes a hardware control unit 105, and the hardware control unit 105 refers to a hardware operation component, and a user may input corresponding function switching information to the multi-function interface circuit 100 by operating the hardware control unit 105. For example, the hardware control unit 105 may include an operable button, knob, or lever. Under the condition that the user needs to adjust the functions of the universal interface, the user can operate a button, a knob or a gear handle, and the hardware control unit 105 can generate a control signal comprising corresponding function switching information according to the operation behaviors of the user.
For example, in the case where the electronic device needs to be debugged for the first time, the universal interface 101 needs to be connected to the JTAG interface of the central processor 104, so as to implement program programming of the central processor 104 by the external debugging device. In this case, the user may adjust the knob to the JTAG interface gear to generate a control signal including JTAG interface related information. After receiving the control signal, the switching module 102 controls the connection between the pair internal terminal c connected with the JTAG interface and the external terminal b according to the JTAG interface related information in the control signal, and disconnects the connection between the external terminal b and other pairs of internal terminals. In the debugging process, a user can operate the knob according to the requirements so as to realize the connection between the corresponding opposite terminal c and the corresponding opposite terminal b, so as to complete all the requirements in the debugging process. After the debugging is completed, the user can adjust the knob to a common gear so that the data transmission terminal of the central processing unit 104 is connected with the universal interface 101. Then, the hardware control unit 105 is packaged into the shell of the electronic device, so that the universal interface only retains the common data transmission function after leaving the factory, and the use requirement of a user is met. According to different functions of the electronic device, the common data transmission function may be set correspondingly, which is not limited herein.
The multifunctional interface circuit provided by the embodiment is provided with a universal interface, a switching module and a control module, wherein the universal interface is used for being externally connected with other equipment, and the other equipment comprises debugging equipment. The switching module comprises a control terminal, an external terminal and an internal terminal which is different from the plurality of types; the external terminal is connected with the universal interface; the opposite inner terminals are respectively and correspondingly connected with different types of output terminals of a central processing unit in the electronic equipment; the switching module is used for switching the pair internal terminal connected with the external terminal according to the control signal accessed by the control terminal, wherein the type of the pair internal terminal is consistent with that of the corresponding output terminal. The control module comprises a hardware control unit, the hardware control unit is connected with the control terminal, the hardware control unit is used for generating control signals according to the operation behaviors of a user, integration of multiple types of interfaces of the electronic equipment is achieved, switching of multiple functions of the universal interfaces is achieved through the switching module, the number of the external interfaces of the electronic equipment is reduced, the structure of the electronic equipment is simplified, the attractiveness of the electronic equipment is improved, and the use experience of the user is improved.
Optionally, fig. 2 is a schematic diagram of the composition of another multifunctional interface circuit according to an embodiment of the present invention, where, based on the foregoing embodiment, the control module 103 further includes a software control unit 201; the software control unit 201 is disposed in the central processing unit 104 (for better clarity, the software control unit is not shown in fig. 2, and is disposed in the central processing unit), and is connected to the control terminal a, where the software control unit 201 is configured to generate a control signal according to whether an input signal of a user or a signal of the output terminal d is present or not. In case of a first debug or failure of the central processor 104, a control signal is generated by operating the hardware control unit 105. In the case where the central processing unit 104 has completed the first debugging and is operating normally, a control signal is generated by inputting an input signal to the software control unit 201.
Specifically, the software control unit 201 refers to a software unit that correspondingly generates a control signal by analyzing an input signal of a user. The input signal of the user may be a signal input to the central processing unit by the user through an external input device such as a touch screen, a keyboard, a mouse, or a button, or may be a signal generated by first debugging a program written or stored in the central processing unit 104 according to a real-time state or a parameter, which is not limited herein. The software control unit 201 may be disposed in the central processing unit 104, and the first debugging of the central processing unit 104 may implement programming of the software control unit 201. The software control unit 104 is connected to the control terminal a of the switching module 102, and may generate a corresponding control signal according to a signal input by a user, and illustratively, the signal input by the user includes first access information, and then the software control unit 201 may generate a control signal including the first access information to control the switching module 102 to connect the first pair of internal terminals c with the external terminal. The software control unit 201 may also generate a corresponding control signal according to the program logic recorded by the user according to whether the signal of the output terminal exists, for example, in the case that the signal output of the first terminal of the central processing unit is detected, the software control unit 201 may correspondingly generate a control signal including the first access information according to the program logic recorded by the user to control the switching module to realize that the first pair of internal terminals are connected with the external terminal.
The priority of the control signal of the hardware control unit 105 is higher than that of the control signal of the software control unit 201. In the case of the first debugging or failure of the central processor 104, the control signal is generated by operating the hardware control unit 105, because the central processor 104 has not completed the burning at this time, and the software control unit 201 has not been formed. In the first debugging, the debugging device burns the central processor to realize the setting of the software control unit 201.
After the first debug, the hardware control unit 105 may hang and may be packaged into the housing of the electronic device. In the normal use process after the first debugging, the user can input an input signal to the software control unit 201, so that the user can control the function switching of the universal interface 101 by a mode of inputting a signal to the software control unit 201 or a mode of automatically detecting whether the output terminal d signal exists or not by the software control unit 201. In the case of a fault in the cpu 104 or the electronic device, the user may open the housing during the maintenance process, and directly use the hardware control unit 105 to forcibly control the function switching of the universal interface, so as to prevent the uncontrollable interface caused by the uncontrolled control of the software control unit 201 in the fault state, and improve the stability of the interface circuit.
In the multifunctional interface circuit provided in this embodiment, the control module further includes a software control unit; the software control unit is arranged in the central processing unit and connected with the control end, and the software control unit is used for generating a control signal according to the presence or absence of an input signal of a user or a signal of the output terminal. In case of a first debugging or failure of the central processor, a control signal is generated by operating the hardware control unit. Under the condition that the central processing unit is debugged for the first time and works normally, the control signal is generated by inputting the input signal to the software control unit, so that a reliable hardware interface control mode can be provided before the software of the electronic equipment is not burnt and in the fault process, a more convenient software interface control mode can be provided in the normal use process of the electronic equipment, and the stability and the convenience degree of the circuit are improved.
Optionally, fig. 3 is a schematic diagram illustrating a composition of another multifunctional interface circuit according to an embodiment of the present invention, where the control terminal a of the switching module 102 includes a first pin a1 and a second pin a2. The hardware control unit 105 comprises a first jumper cap T1 and a second jumper cap T2, wherein an output pin of the first jumper cap T1 is connected with a first pin a1, and three input pins of the first jumper cap T1 are respectively connected with a high level VH, a low level VL and a suspension end V0; the output pin of the second jumper cap T2 is connected with a second pin a2, and the three input pins of the second jumper cap T2 are respectively connected with a high level VH, a low level VL and a suspension end V0.
The switching module 102 includes a plurality of analog switch chips, one output terminal of each analog switch chip is used as an external terminal b of the switching module 102, and a plurality of input terminals of each analog switch chip are respectively used as a plurality of internal terminals c of the switching module 102. The number of input ends of the one-out-of-many analog switch chip can be equal to 4, and the 4 input ends of the one-out-of-many analog switch chip are respectively used as a data exchange interface, a network debugging interface, a Host interface and a serial debugging interface (also called an OTG interface, a Debug interface, a Host interface and a SWD interface).
Specifically, the first jumper cap T1 and the second jumper cap T2 may be a pair of three types, that is, the output pins are one and the input pins are three jumper caps, and the jumper caps may switch the output pins to realize one-to-one connection with different input pins, so that the output pins of the two jumper caps may respectively output control signals of different levels to the control end a of the switching module 102. The three input pins of the jumper cap are respectively connected with a high level VH, a low level VL and a suspension end V0. The output pin of the first jumper cap T1 is connected with the first pin a1 of the switching module 102, and the output pin of the second jumper cap T2 is connected with the second pin a2 of the switching module 102. The software control unit 201 is also connected to the first pin a1 and the second pin a2 of the switching module 102, respectively. In addition, the first jumper cap T1 and the second jumper cap T2 may be of a pair type, and other input pins may be connected to the suspension terminal V0, respectively, in addition to the two input pins of the high level VH and the low level VL, for example, the first jumper cap T1 and the second jumper cap T2 are of a pair of four types, in which two input pins are connected to the high level VH and the low level VL, respectively, and the other two input pins may be connected to the suspension terminal V0, respectively.
In one aspect, the hardware control unit 105 may switch the states of the first and second jumper caps T1 and T2 according to the operation of the user, thereby outputting corresponding level signals to the first and second pins a1 and a2 of the switching module 102. On the other hand, the software control unit 201 can control the state of the switching module 102 by outputting potential signals to the first pin a1 and the second pin a2. The various combinations of potentials introduced into the signal by the first pin a1 and the second pin a2 correspond to one pair of terminals c, respectively. In an exemplary embodiment, in the case where the first pin a1 and the second pin a2 are both at the high level VH, the one-to-one analog switch chip controls the serial debug interface to be connected with the universal interface. In the case that the first pin a1 is at the high level VH and the second pin a2 is at the low level VL, the one-to-one analog switch chip control host interface is connected to the universal interface. In the case that the first pin a1 is at the low level VL and the second pin a2 is at the high level VH, the one-to-one analog switch chip controls the network debug interface to connect with the universal interface. Under the condition that the first pin a1 and the second pin a2 are both in a low level VL, the one-to-one analog switch chip controls the data exchange interface to be connected with the universal interface.
Illustratively, the potentials of the first pin a1 and the second pin a2 are controlled by the hardware control unit 105 or the software control unit 201. When the first pin a1 and the second pin a2 are both at the low level VL, that is, the control signal is 00, the switching module 102 switches the pair of internal terminals c connected to the OTG interface to implement one-to-one connection with the pair of external terminals b. When the first pin a1 is at the low level VL and the second pin a2 is at the high level VH, that is, the control signal is 01, the switching module 102 switches the pair of the internal terminals c connected to the Debug interface to realize one-to-one connection with the external terminal b. When the first pin a1 is at the high level VH and the second pin a2 is at the low level VL, that is, the control signal is 10, the switching module 102 switches the pair of the internal terminals c connected to the Host interface to realize one-to-one connection with the external terminal b. When the first pin a1 is at the high level VH and the second pin a2 is at the high level VH, that is, the control signal is 11, the switching module 102 switches the pair of the internal terminals c connected to the SWD interface to be connected to the pair of the external terminals b in a one-to-one manner. The universal interface with the implementation Type of USB Type-A interface is selectively connected with any one of four different functional interfaces of an OTG interface, a Debug interface, a Host interface and a SWD interface in the central processor 104.
According to the multifunctional interface circuit provided by the embodiment of the invention, various potential combinations of the first pin and the second pin lead-in signals are respectively corresponding to a pair of internal terminals, a user can set the potential combinations of the first pin and the second pin through operating the hardware control unit or inputting signals to the software control unit, so that switching between different functions of a universal interface is realized, under the condition that the central processing unit is debugged for the first time and works normally, the control signals are generated by inputting the input signals to the software control unit, a reliable hardware interface control mode can be provided before software of the electronic equipment is burnt and in the fault process, a more convenient software interface control mode can be provided in the normal use process of the electronic equipment, and the stability and the convenience degree of the circuit are improved.
The embodiment of the invention provides electronic equipment. Fig. 4 is a schematic diagram of an electronic device according to an embodiment of the present invention, and, based on the foregoing embodiment, referring to fig. 4, an electronic device 400 includes a central processing unit 104 and a multifunctional interface circuit 100.
Optionally, fig. 5 is a schematic diagram of another electronic device according to an embodiment of the present invention, and on the basis of the foregoing embodiment, referring to fig. 5, the central processor 104 includes a master processor 501 and a slave processor 502. The output terminals of the main processor 501 include a data exchange terminal M1 (also referred to as an OTG terminal, corresponding to a data exchange interface of the one-out-of-many analog switch chip), a network Debug terminal M2 (also referred to as a Debug terminal, corresponding to a network Debug interface of the one-out-of-many analog switch chip), and a Host terminal M3 (also referred to as a Host terminal, corresponding to a Host interface of the one-out-of-many analog switch chip). The output terminals of the slave processor 502 include a serial debug terminal M4 (also referred to as a SWD terminal, corresponding to the serial debug interface of the one-out-of-multiple analog switch chip).
Specifically, the main processor 501 requires OTG terminals and Debug terminals to connect with the debugging device during the process of software system download and software debugging. After the main processor 501 is debugged, the main processor 501 may need a Host terminal to external the required storage device. While the slave processor 502 on the board is connected to the debug device through the SWD terminals as needed during the debug process. The multifunctional interface circuit 100 is arranged for the electronic equipment 400, so that the function switching of a single external interface of the electronic equipment 400 can be realized, and different connection requirements of the central processing unit are met.
The multifunctional interface circuit and the electronic device provided by the embodiment are provided with a universal interface, a switching module and a control module, wherein the universal interface is used for being externally connected with other devices, and the other devices comprise debugging equipment. The switching module comprises a control terminal, an external terminal and an internal terminal which is different from the plurality of types; the external terminal is connected with the universal interface; the opposite inner terminals are respectively and correspondingly connected with different types of output terminals of a central processing unit in the electronic equipment; the switching module is used for switching the pair internal terminal connected with the external terminal according to the control signal accessed by the control terminal, wherein the type of the pair internal terminal is consistent with that of the corresponding output terminal. The control module comprises a hardware control unit, the hardware control unit is connected with the control terminal, the hardware control unit is used for generating control signals according to the operation behaviors of a user, integration of multiple types of interfaces of the electronic equipment is achieved, switching of multiple functions of the universal interfaces is achieved through the switching module, the number of the external interfaces of the electronic equipment is reduced, the structure of the electronic equipment is simplified, the attractiveness of the electronic equipment is improved, and the use experience of the user is improved.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements, combinations, and substitutions can be made by those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

1. A multi-function interface circuit for use in an electronic device, the multi-function interface circuit comprising: the system comprises a universal interface, a switching module and a control module;
the universal interface is used for being externally connected with other devices, wherein the other devices comprise debugging equipment;
the switching module comprises a control terminal, an external terminal and an internal terminal which is different from a plurality of types; the external terminal is connected with the universal interface; the pair of inner terminals are respectively and correspondingly connected with different types of output terminals of a central processing unit in the electronic equipment; the switching module is used for switching the pair of inner terminals connected with the external terminal according to the control signal accessed by the control terminal, wherein the types of the pair of inner terminals and the corresponding output terminals are consistent;
the control module comprises a hardware control unit, wherein the hardware control unit is connected with the control terminal and is used for generating the control signal according to the operation behavior of a user.
2. The multi-function interface circuit of claim 1, wherein the control module further comprises a software control unit; the software control unit is arranged in the central processing unit and connected with the control end, and the software control unit is used for generating the control signal according to the presence or absence of an input signal of a user or a signal of the output terminal.
3. The multi-function interface circuit of claim 2, wherein the control signal is generated by operating the hardware control unit in case of first debugging or malfunction of the central processor;
and under the condition that the central processing unit is debugged for the first time and works normally, the control signal is generated by inputting the input signal to the software control unit.
4. The multi-function interface circuit of claim 1, wherein the control terminal of the switching module comprises a first pin and a second pin;
the hardware control unit comprises a first jumper cap and a second jumper cap, wherein an output pin of the first jumper cap is connected with the first pin, and three input pins of the first jumper cap are respectively connected with a high level, a low level and a suspension end; the output pins of the second jumper cap are connected with the second pins, and the three input pins of the second jumper cap are respectively connected with a high level, a low level and a suspension end.
5. The multi-function interface circuit of claim 4, wherein the switching module comprises a multi-one analog switch chip, one output terminal of the analog switch chip is used as the external terminal of the switching module, and a plurality of input terminals of the analog switch chip are respectively used as a plurality of the internal terminals of the switching module.
6. The multifunctional interface circuit of claim 5, wherein the number of inputs of the one-to-one analog switch chip is 4, and the 4 inputs of the one-to-one analog switch chip are respectively used as a data exchange interface, a network debug interface, a host interface and a serial debug interface.
7. The multi-function interface circuit of claim 6, wherein the one-to-one analog switch chip controls the serial debug interface to connect with the universal interface if both the first pin and the second pin are high;
under the condition that the first pin is at a high level and the second pin is at a low level, the one-out-of-many analog switch chip controls the host interface to be connected with the universal interface;
under the condition that the first pin is at a low level and the second pin is at a high level, the one-out-of-many analog switch chip controls the network debugging interface to be connected with the universal interface;
and under the condition that the first pin and the second pin are both in a low level, the one-out-of-many analog switch chip controls the data exchange interface to be connected with the universal interface.
8. The multi-function interface circuit of claim 1, wherein the universal interface comprises a USB Type-a interface.
9. An electronic device, comprising: a central processing unit and a multi-function interface circuit as claimed in any one of claims 1 to 8.
10. The electronic device of claim 9, wherein the central processor comprises a master processor and a slave processor.
CN202311072170.6A 2023-08-24 2023-08-24 Multifunctional interface circuit and electronic equipment Pending CN116881062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311072170.6A CN116881062A (en) 2023-08-24 2023-08-24 Multifunctional interface circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311072170.6A CN116881062A (en) 2023-08-24 2023-08-24 Multifunctional interface circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN116881062A true CN116881062A (en) 2023-10-13

Family

ID=88260745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311072170.6A Pending CN116881062A (en) 2023-08-24 2023-08-24 Multifunctional interface circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN116881062A (en)

Similar Documents

Publication Publication Date Title
US11162997B2 (en) Automatic circuit board test system and automatic circuit board test method applied therein
US8756360B1 (en) PCI-E compatible chassis having multi-host capability
US20070174535A1 (en) Asynchronous/synchronous KVMP switch for console and peripheral devices
US7979745B2 (en) On-chip debug emulator, debugging method, and microcomputer
KR100905874B1 (en) Programmable Logic Controller
CN1972142B (en) Communications device single board active/standby changeover apparatus and implementation method
US6715019B1 (en) Bus reset management by a primary controller card of multiple controller cards
US20030120970A1 (en) Method and apparatus for debugging an electronic product using an internal I/O port
CN116881062A (en) Multifunctional interface circuit and electronic equipment
US20150324266A1 (en) Server System
CN202453435U (en) Debug control device, debug execution device and debug system
US5274766A (en) Universal keyboard and keyboard/spatial input device controller
CN111723032B (en) Interrupt management and control method and electronic equipment
CN113760800A (en) Serial port path selection method, system, terminal and storage medium based on BMC
CN115794710A (en) Interface multiplexing method and server
CN105260335A (en) Data processing system and method for extending optical interface
JP2009211149A (en) Control circuit
CN219716105U (en) Computer module and computer module application system
CN212209944U (en) Connecting piece, PCB and electronic device
CN108932200B (en) Test circuit and software debugging method
US9404968B1 (en) System and methods for debug connectivity discovery
KR100205608B1 (en) Microcontroller developing system
WO2024139211A1 (en) Signal control circuit and signal control method
KR100375524B1 (en) ROM Emulator
Cimino Rack-and-stack instruments: often a better choice than VXI or PXI systems

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