Oculink equipment detection circuit and mobile terminal
By designing a detection circuit on the Oculink connector and generating a hot-plug control signal using changes in pin level, the problem of Oculink interface not supporting hot-plugging was solved, enabling the hot-plugging process of the device and improving user experience and system compatibility.
Patent Information
- Application Number
- CN202423144953.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2034-12-18
Smart Images

Figure CN223526706U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to data transmission technical field especially relates to Oculink equipment detection circuit and mobile terminal. BACKGROUND
[0002] With the continuous development of computer technology, the demand for high-performance external devices is increasing, especially in the aspects of graphics cards, storage devices, etc. In order to meet these needs, PCI-SIG (PCI Special Interest Group) developed the Oculink (Optical Copper Link) standard, which is a kind of optical and electrical composite connector, aiming to provide a connection solution with high bandwidth, low latency and high stability. Since 2013, Oculink has become an ideal choice for high-performance peripheral expansion. The standard supports PCIe 3.0 and PCIe 4.0 protocols, with a bandwidth of up to 64Gbps. Compared with traditional USB-C and Thunderbolt interfaces, Oculink has lower transmission loss and higher stability, especially suitable for high-bandwidth demand application scenarios such as external graphics card docks and external storage devices.
[0003] However, the existing Oculink technical solution still has a significant drawback: it does not support hot plugging. This means that when connecting external devices, users need to first turn off the device power, then connect, and then restart to work normally, which is not only inconvenient, but also limits the use experience of Oculink interface. In contrast, most external interfaces on modern computer devices (such as USB-C, Thunderbolt interface, etc.) support hot plugging function, and users can easily connect and use the device without disconnecting the power. This makes Oculink not flexible enough in actual application, especially in the scene of quickly switching peripherals and upgrading devices, the competitive advantage of the product is also reduced. Therefore, how to make Oculink support hot plugging and solve the cold plugging problem in the existing solution has become an important direction to improve its market application value and user experience. SUMMARY
[0004] The utility model embodiment mainly solves the technical problem that Oculink interface does not support hot plugging in the prior art.
[0005] To solve the above technical problems, one technical scheme of the utility model is provided: provide a kind of Oculink equipment detection circuit, the Oculink equipment detection circuit includes: Oculink connector, first control module and second control module, the Oculink connector includes first pin and second pin, the first control module is connected with the first pin, the second control module is connected respectively, the second pin is grounded, and the Oculink connector is used to be connected with Oculink equipment;When the Oculink equipment is connected with the Oculink connector, the first control module detects the level state of the first pin, and exports level change signal to the second control module, and the second control module generates hot plug control signal according to the level change signal, and completes hot plug process according to the hot plug control signal.
[0006] In some embodiments, the first control module includes a first power supply, a first resistor, a second resistor, and a control logic unit, the second end of the first resistor is electrically connected with the first power supply, the first end of the first resistor is electrically connected with the first pin, the second end of the second resistor is electrically connected with the first pin and the first end of the first resistor respectively, and the first end of the second resistor is electrically connected with the control logic unit.
[0007] In some embodiments, the second control module includes an acceleration processing unit, the control logic unit outputs the level change signal to the input and output pin of the acceleration processing unit, so that the acceleration processing unit generates the hot plug control signal according to the hot plug event triggered by the level change signal, and outputs the hot plug control signal to the system management module.
[0008] In some embodiments, the Oculink equipment detection circuit further includes a first wake-up module, and the Oculink connector further includes a third pin, and the third pin is connected with the first wake-up module.
[0009] In some embodiments, the Oculink equipment detection circuit further includes a second wake-up module, and the Oculink connector further includes a fourth pin, and the fourth pin is connected with the second wake-up module.
[0010] In some embodiments, the first wake-up module includes a second power supply, a third resistor, and a fourth resistor, the second end of the third resistor is electrically connected with the third pin, the first end of the third resistor is electrically connected with the first end of the fourth resistor, and the second end of the fourth resistor is electrically connected with the second power supply.
[0011] In some embodiments, the second wake-up module includes a third power supply, a fifth resistor, and a sixth resistor, a first end of the fifth resistor is electrically connected with the fourth pin, a second end of the fifth resistor is electrically connected with a first end of the sixth resistor, and a second end of the sixth resistor is electrically connected with the third power supply.
[0012] In some embodiments, the Oculink device detection circuit further includes a power supply module, and the Oculink connector further includes a fifth pin, and the power supply module is electrically connected with the fifth pin.
[0013] In some embodiments, the power supply module includes a fourth power supply and a seventh resistor, a first end of the seventh resistor is electrically connected with the fourth power supply, and a second end of the seventh resistor is electrically connected with the fifth pin.
[0014] To solve the above technical problems, another technical scheme adopted by the utility model is to provide a mobile terminal, and the mobile terminal is provided with the Oculink device detection circuit.
[0015] Different from the prior art, the utility model provides an Oculink device detection circuit and a mobile terminal. The Oculink device detection circuit includes an Oculink connector, a first control module and a second control module, the Oculink connector includes a first pin and a second pin, the first control module is connected with the first pin and the second control module respectively, the second pin is grounded, and the Oculink connector is used for being connected with an Oculink device; when the Oculink device is connected with the Oculink connector, the first control module detects the level state of the first pin and outputs a level change signal to the second control module, the second control module generates a hot plug control signal according to the level change signal, and completes a hot plug process according to the hot plug control signal. Based on this, a specific detection circuit is formed by connecting the two pins (B1 pin and A21 pin) reserved on the Oculink connector with the corresponding modules. When the Oculink device is inserted into the connector, the signal of the B1 pin changes from high level to low level, the first control module detects the level change of the B1 pin and outputs a level change signal, indicating that the device has been inserted. After the second control module receives the level change signal, it judges that it is a hot plug event, and generates a hot plug control signal according to the signal. The hot plug control signal is transmitted to the system software or hardware, triggering device initialization, resource allocation, driver loading and other operations. In this way, the hot plug process is realized, which is convenient for user operation, and can also make the Oculink connector become a standard interface of the mobile terminal, and has compatibility. BRIEF DESCRIPTION OF DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly introduced as follows. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained by the drawings without paying creative labor under the premise of being obvious to those skilled in the art.
[0017] Figure 1 is a schematic diagram of an Oculink device detection circuit provided by an embodiment of the present application.
[0018] Figure 2 is a schematic diagram of an Oculink device detection circuit provided by another embodiment of the present application.
[0019] Figure 3 is a schematic diagram of the specific circuit structure of the Oculink device detection circuit provided by an embodiment of the present application. DETAILED DESCRIPTION
[0020] In order to facilitate understanding of the present application, the present application will be described in more detail below in combination with the drawings and specific embodiments. It should be noted that when one element is described as "connected" to another element, it can be directly connected to the other element or one or more intermediate elements can be present therebetween.
[0021] Unless otherwise defined, all technical and scientific terms used in the specification are the same as those commonly understood by those skilled in the art to which the present application belongs. The terms used in the specification of the present application are only for the purpose of describing the specific embodiments of the present application, and are not intended to limit the present application.
[0022] Please refer to Figure 1 , Figure 1 is a schematic diagram of an Oculink device detection circuit provided by an embodiment of the present application. As shown in Figure 1 , the Oculink device detection circuit 100 includes an Oculink connector 10, a first control module 20 and a second control module 30, the Oculink connector 10 includes a first pin 11 and a second pin 12, the first control module 20 is connected with the first pin 11 and the second control module 30 respectively, the second pin 12 is grounded, and the Oculink connector 10 is used to be connected with the Oculink device.
[0023] Wherein, Oculink device refers to an external device supporting Oculink interface. Typical Oculink devices include external graphics card docks, storage expansion devices, etc., which are connected to host systems (such as laptops, desktops, etc.) through Oculink connectors. Oculink devices usually use PCIe protocol for data transmission, providing high-speed data bandwidth.
[0024] Oculink connector 10 is a high-speed connection interface designed to support PCIe communication protocol. Oculink connector connects devices with the motherboard through physical plugs and sockets, providing multiple data channels (usually supporting PCIe 3.0 or PCIe 4.0). It has higher bandwidth and lower latency than traditional USB and Thunderbolt interfaces.
[0025] The first pin 11 is the B1 pin reserved on the Oculink connector 10. In this embodiment, the B1 pin serves as an important pin in the Oculink connector 10, responsible for detecting hot plug. When no device is inserted, the B1 pin is pulled to high level by the pull-up resistor. When the device is inserted, the B1 signal is connected to ground by the Oculink device through short circuit, thereby pulling its level low. The first control module 20 detects whether the device is inserted by monitoring the change of the B1 signal, and generates a corresponding level change signal.
[0026] The second pin 12 is the A21 pin reserved on the Oculink connector 10. In this embodiment, the A21 pin is usually used in conjunction with the B1 pin, playing an auxiliary role. The A21 pin is connected to ground through a pull-down resistor, which helps to provide a stable reference level. When the device is inserted or removed, the level state of the A21 pin remains stable, which helps to ensure that the level detection of the B1 pin is not disturbed by noise or unstable level.
[0027] The first control module 20 is mainly responsible for monitoring the level state of the B1 pin. The B1 pin is a hot plug detection pin used to detect the insertion state of the Oculink device. When the Oculink device is inserted or removed, the level of the B1 signal will change. The role of the first control module is to continuously detect the level change of the B1 pin, and generate a level change signal when a change is detected, which is transmitted to the second control module 30.
[0028] The second control module 30 mainly receives the level change signal from the first control module 20, and then generates a hot plug control signal (usually an interrupt signal) according to the signal. This signal is used to start the hot plug process and notify the system to perform subsequent operations such as device insertion or removal. For example, this may involve loading of device drivers, configuration of system resources, etc.
[0029] In particular, please refer toFigure 2 and Figure 3 , Figure 2 is another embodiment of the utility model provides a kind of Oculink equipment detection circuit schematic diagram, Figure 3 is the specific circuit structure of the utility model embodiment and provides the schematic diagram of Oculink equipment detection circuit.It is shown in Figure 2 Oculink equipment detection circuit 100 also include first wake-up module 40, second wake-up module 50 and power supply module 60, Oculink connector 10 also includes third pin 13, fourth pin 14 and fifth pin 15.
[0030] Optionally, the first control module 20 includes a first power supply, a first resistor, a second resistor, and a control logic unit. The second end of the first resistor is electrically connected to the first power supply. The first end of the first resistor is electrically connected to the first pin. The second end of the second resistor is electrically connected to the first pin and the first end of the first resistor, respectively. The first end of the second resistor is electrically connected to the control logic unit.
[0031] As Figure 3As shown, the first power supply is a 3.3V power supply, the first resistor is a 4.7K pull-up resistor, the second resistor is a 0 ohm resistor, and the control logic unit is an HPD Control Logic. It can be understood that the first power supply provides power for the entire hot plug detection circuit, especially for the first resistor (pull-up resistor) to provide the necessary voltage. The first resistor acts as a pull-up resistor, which functions to pull the level of the first pin high. In the absence of Oculink devices inserted into the Oculink connector, the level of the B1 pin will be maintained at a high level (3.3V) due to the pull-up resistor connected to the 3.3V power supply. When the Oculink device is inserted into the Oculink connector, the B1 pin will be shorted to ground (GND) by the device through its pin, thereby pulling the level of the B1 pin low. The second resistor as a 0 ohm resistor is commonly used as a "jumper" in circuits, and its main function is to act as part of the circuit path and provide a connection to other circuit elements. Its resistance value is zero, indicating that it has no actual resistance effect on current flow. In this embodiment, the 0 ohm resistor connects the first pin and the first end of the first resistor, and is electrically connected to the control logic unit (HPD Control Logic), forming a complete signal transmission path. It serves as an unobstructed connection means to ensure that the signal can be transmitted smoothly. The control logic unit is an HPD (Hot Plug Detect) control logic that monitors device insertion and removal events. Its task is to detect the level change of the first pin (B1 pin) in real time, and then decide whether to send an interrupt signal to notify the upper system (such as the operating system) that a device has been inserted or removed. It can be understood that the HPD control logic continuously monitors the level state of the first pin (B1). When the level of the B1 pin changes from high to low (i.e. the level change when the device is inserted), the HPD control logic will detect this change. Once the HPD control logic detects the level change, it will generate a hot plug control signal, i.e. an interrupt signal. This signal notifies the host system that a device has been inserted, and the system can begin the initialization process of the device (e.g. driver loading and resource allocation).
[0032] Optionally, the second control module 30 includes an acceleration processing unit, and the control logic unit outputs a level change signal to an input / output pin of the acceleration processing unit, so that the acceleration processing unit generates a hot plug control signal according to the level change signal triggering a hot plug event, and outputs the hot plug control signal to the system management module.
[0033] It can be understood that the accelerated processing unit (APU) is a component that integrates a processor (CPU) and a graphics processing unit (GPU). It is commonly used to improve the efficiency of data processing and graphics computing. In this embodiment, the APU is mainly responsible for receiving control signals (level change signals) and generating hot plug control signals (interrupt signals). The APU communicates with other modules (such as the control logic unit) through GPIO (general purpose input output) pins. The GPIO pin is used to receive the level change signal, which triggers the subsequent hot plug event after processing. The APU will process the signal and generate an interrupt signal after detecting the level change. This interrupt signal will inform the system management module (such as the CPU) to initialize and configure the device. The GPIO pin is the signal transmission interface between the accelerated processing unit (APU) and other modules. It can be configured to input mode to receive signals from the control logic unit, or configured to output mode to send signals to external devices. In this embodiment, the GPIO pin is used to receive the level change signal (generated by the control logic unit) and trigger the hot plug event. The system management module usually refers to the main processor (CPU), which is responsible for executing all instructions and processing computing tasks. After receiving the interrupt signal transmitted by the accelerated processing unit (APU), the CPU performs system-level processing to complete the initialization and configuration of the device.
[0034] Optionally, the Oculink device detection circuit further comprises a first wake-up module, and the Oculink connector further comprises a third pin connected with the first wake-up module.
[0035] The first wake-up module comprises a second power supply, a third resistor and a fourth resistor, the second end of the third resistor is electrically connected with the third pin, the first end of the third resistor is electrically connected with the first end of the fourth resistor, and the second end of the fourth resistor is electrically connected with the second power supply.
[0036] The third pin 13 (B13 pin) is an important pin in the Oculink connector 10, which is used to connect with the first wake-up module 40. Its function is to trigger or notify the power management module to enable the device power during the Oculink device connection process. It can act as a signal source to help control the power switch state of the device. Specifically, when the Oculink connector is inserted into the device, the level change or state change of the B13 pin will cause the wake-up operation of the power supply. The second power supply provides a stable 3.3V voltage to provide power for the first wake-up module and support for related circuits. This power supply provides a stable power source for other components in the circuit, such as resistors and control logic. The third resistor (0 ohm resistor) is used to connect the third pin (B13 pin) with one end of the fourth resistor, providing an electrical connection path, making the signal transmission between the B13 pin and other circuit components reliable. The fourth resistor is a 4.7KΩ pull-up resistor, which is used to keep the signal pin (third pin B13) at a logic high level, ensuring the stability of the level signal. The pull-up resistor "pulls" the signal line to a high level state by connecting to the 3.3V power supply, preventing the signal line from being in a floating state (i.e., without a clear high or low level).
[0037] It can be understood that when the Oculink device (such as a graphics card dock) is not inserted into the Oculink connector, the third pin (B13) is connected to the 3.3V power supply through the first wake-up module, ensuring that the level of the B13 pin is at a high level, and at this time the power of the external graphics card dock is in the off state. When the Oculink device is inserted into the Oculink connector, the level state of the B13 pin is controlled by the system (for example, when the device is inserted, the signal may be pulled low or trigger certain control logic), so that the external power supply receives the wake-up signal, thereby starting the power supply of the external graphics card dock.
[0038] This embodiment can control the external power switch of the device (graphics card dock) through the third pin and the first wake-up module when the device is inserted through the wake-up signal. This power supply is not directly provided by the Oculink connector, but by the external power supply system of the graphics card dock. The wake-up signal can be combined with the hot plug mechanism to ensure that the external power supply can quickly wake up and supply power when the device is inserted, reducing the delay of device initialization.
[0039] Optionally, the Oculink device detection circuit further comprises a second wake-up module, and the Oculink connector further comprises a fourth pin connected with the second wake-up module.
[0040] The second wake-up module comprises a third power supply, a fifth resistor and a sixth resistor. The first end of the fifth resistor is electrically connected with the fourth pin, the second end of the fifth resistor is electrically connected with the first end of the sixth resistor, and the second end of the sixth resistor is electrically connected with the third power supply.
[0041] The fourth pin 14 is the A9 pin in the Oculink connector 10, which is used to connect with the second wake-up module 50. The level state of this pin will be used to trigger the activation of the external power supply. When the device is inserted, the level state of the fourth pin changes, which can be used to wake up the external power supply. The third power supply is a 3.3V power supply, which is used to provide stable power supply for the control circuit. The fifth resistor is a 0 ohm resistor, which connects the fourth pin (A9) with the signal path of the sixth resistor (4.7K ohm pull-up resistor). Since its value is 0 ohm, it does not introduce resistance, so it only plays a role in connecting the signal transmission, ensuring that the signal can be transmitted from the fourth pin to the subsequent circuit without interference. The sixth resistor is a 4.7K ohm pull-up resistor, which pulls the signal on the fourth pin (A9) to the 3.3V level, ensuring that when the device is not inserted, the signal is in a stable high level state.
[0042] It can be understood that, similar to the first wake-up module, when the Oculink device is not inserted into the connector, the fourth pin (A9) is connected with the sixth resistor through the fifth resistor, and the level of the A9 pin is pulled to 3.3V through the pull-up resistor. Since the level of the A9 pin is maintained at a high level at this time, the external power supply remains off. When the Oculink device (such as a graphics card dock) is inserted into the connector, the fourth pin level is pulled low, and this level change is transmitted to the external power supply through the second wake-up module, sending a wake-up signal to the external power supply. After receiving the wake-up signal, the external power supply activates the power supply to the device, ensuring that the device starts normally.
[0043] It should be noted that the present embodiment provides two ways to wake up the external power supply, i.e., the third pin (B13 pin) and the first wake-up module to complete the wake-up of the external power supply, and the fourth pin (A9 pin) and the second wake-up module to complete the wake-up of the external power supply. It can be understood that the two wake-up mechanisms can support different power management modes, enhancing the flexibility and compatibility of the system. Whether it is the B13 pin or the A9 pin, as long as the corresponding power configuration is adapted, the normal start of the device can be realized. Since there are two schemes for waking up the power supply, the system can avoid the failure of the device to start normally due to a single power management mode. The redundant design improves the reliability of the device and ensures the stability of the device in different working environments. In addition, the two wake-up methods make the hot plug process more flexible. When the device is inserted, whether through the B13 pin or the A9 pin, the system can correctly detect and activate the external power supply, simplifying the device insertion and removal process. Moreover, the external power supply is only activated when the device needs it, which helps to reduce unnecessary power waste and improve energy efficiency.
[0044] Optionally, the Oculink device detection circuit further comprises a power supply module, and the Oculink connector further comprises a fifth pin, and the power supply module is electrically connected with the fifth pin.
[0045] The power supply module comprises a fourth power supply and a seventh resistor, a first end of the seventh resistor is electrically connected with the fourth power supply, and a second end of the seventh resistor is electrically connected with the fifth pin.
[0046] The fifth pin 15 is an A1 pin on the Oculink connector, and a power supply module is formed by connecting the A1 pin with the power supply module, and the power supply module is used for providing power supply for the Oculink connector. The fourth power supply is a 3.3V power supply, and the seventh resistor is a 0.01-ohm precision resistor, which is usually used for high-precision power consumption monitoring. In actual work, the power consumption in the circuit can be indirectly obtained by measuring the voltage drop of the current on the seventh resistor. It can be understood that the power supply module formed by connecting the A1 pin with the power supply module can stably provide a 3.3V power supply, and ensure the normal work of the Oculink connector and related devices. In addition, the power consumption test and monitoring can be conveniently performed through the design of the precision resistor. Due to the extremely low resistance value and the extremely small voltage drop, the normal work of the circuit is not significantly affected, and sufficient measurement accuracy can be provided for later power consumption analysis, which is helpful for performance optimization, fault troubleshooting and power consumption management.
[0047] The utility model embodiment provides a kind of Oculink device detection circuit 100, when in Oculink device is not inserted connector, first pin (B1) is at high level, second pin (A21) is fixed as low level by pull-down resistance, for reference signal. When Oculink device is inserted connector, the signal of B1 pin changes, from high level to low level, and the first control module detects the level change of B1 pin, and outputs a level change signal, indicating that device has been inserted. After the second control module receives the level change signal, it is judged as hot plug event, and generates hot plug control signal according to the signal, and the hot plug control signal is transmitted to system software or hardware, triggers device initialization, resource allocation, drive loading etc. operation. Through the generated interrupt signal, the system executes the following operations: load related device driver;Configuration required for device resources (such as allocation I / O address, memory area etc.); start other system services required for device. If the device is pulled out, the signal of B1 pin will change again, and it will generally change from low level (when device is inserted) to high level (after device is pulled out, pull-up resistance acts). The first control module will detect this change, and handle the event of device pulling out through similar process, such as unloading device driver, releasing resource etc.
[0048] It should be noted that the Oculink device detection circuit 100 is connected between the corresponding module through two pins (B1 pin and A21 pin) reserved on the Oculink connector to form a specific detection circuit to realize hot plug. The specific implementation process of the Oculink device detection circuit 100 is as follows: first, when the device is not inserted into the connector, the B1 pin is connected to the 3.3V power supply through the pull-up resistor, so that the level is at high level, and the A21 pin is connected to the ground through the pull-down resistor and keeps low level. At this time, the system will know that the device is not inserted, and the high level of B1 and the low level of A21 together serve as the reference state of the system. Secondly, when the device is inserted into the connector, the level of the B1 pin will jump from high level to low level, which is due to the internal circuit (usually by shorting) of the device connecting the B1 pin to the ground. This level change (high to low) is the key to the system hot plug detection, indicating that the device has been inserted. The A21 pin usually does not change during this process, and it still keeps low level as a stable reference signal. Thirdly, the HPD Control Logic of the system monitors the level change of the B1 pin. When the B1 pin jumps from high level to low level, the HPD Control Logic detects the change and triggers a Presence Detect event. At this time, the system knows that the device has been inserted into the connector, and the system software or hardware will start the subsequent actions (for example, initializing the device, loading the driver, starting the power supply, etc.). Finally, after the system detects that the device is inserted, an interrupt signal is sent to the control center to indicate that the device has been inserted, and the system can start to manage and initialize the device. At this time, the external power supply of the device will be turned on, and the driver and other related software will be ready for communication with the device. It can be understood that the external power supply can also be awakened through the B13 pin and the A9 pin and the corresponding wake-up module, so that the hot plug process is more flexible. When the device is inserted, the system can correctly detect and activate the external power supply through the B13 pin or the A9 pin, which simplifies the device insertion and removal process and enhances the flexibility and compatibility of the system. In addition, the power supply module can ensure the normal work of the Oculink connector and the related device and facilitate the power consumption test and monitoring. Based on this, the Oculink device detection circuit 100 can not only realize hot plug and facilitate user operation, but also make the Oculink connector become a standard interface of the mobile terminal with compatibility.
[0049] The utility model embodiment further provides a kind of mobile terminal, and the mobile terminal includes above-mentioned Oculink device detection circuit 100, and the specific structure and function of Oculink device detection circuit 100 can be referred to above-mentioned embodiment, and here will not be described one by one.
[0050] It should be noted that the description and drawings of the utility model give the preferred embodiments of the utility model, however, the utility model can be realized through many different forms, and is not limited to the embodiments described in the description, the embodiments are not as additional limitation to the content of the utility model, the purpose of providing the embodiments is to make the understanding of the disclosure of the utility model more thorough and comprehensive. Furthermore, the above technical features continue to combine, form various embodiments not listed above, which are considered as the range of the description of the utility model; further, for those skilled in the art, the above description can be improved or transformed, and all these improvements and transformations should belong to the protection scope of the utility model claims.
Claims
1. An Oculink device detection circuit, characterized by The Oculink device detection circuit comprises an Oculink connector, a first control module and a second control module, the Oculink connector comprises a first pin and a second pin, the first control module is connected with the first pin and the second control module respectively, the second pin is grounded, and the Oculink connector is used for connecting with an Oculink device. When the Oculink device is connected with the Oculink connector, the first control module detects the level state of the first pin and outputs a level change signal to the second control module, the second control module generates a hot plug control signal according to the level change signal, and completes a hot plug process according to the hot plug control signal.
2. The Oculink device detection circuit of claim 1, wherein, The first control module comprises a first power supply, a first resistor, a second resistor and a control logic unit, the second end of the first resistor is electrically connected with the first power supply, the first end of the first resistor is electrically connected with the first pin, the second end of the second resistor is electrically connected with the first pin and the first end of the first resistor respectively, and the first end of the second resistor is electrically connected with the control logic unit.
3. The Oculink device detection circuit of claim 2, wherein, The second control module comprises an acceleration processing unit, the control logic unit outputs the level change signal to an input and output pin of the acceleration processing unit, so that the acceleration processing unit triggers a hot plug event according to the level change signal to generate the hot plug control signal and outputs the hot plug control signal to a system management module.
4. The Oculink device detection circuit of claim 1, wherein, The Oculink device detection circuit further comprises a first wake-up module, and the Oculink connector further comprises a third pin, which is connected with the first wake-up module.
5. The Oculink device detection circuit of claim 1, wherein, The Oculink device detection circuit further comprises a second wake-up module, and the Oculink connector further comprises a fourth pin, which is connected with the second wake-up module.
6. The Oculink device detection circuit of claim 4, wherein, The first wake-up module comprises a second power supply, a third resistor and a fourth resistor, the second end of the third resistor is electrically connected with the third pin, the first end of the third resistor is electrically connected with the first end of the fourth resistor, and the second end of the fourth resistor is electrically connected with the second power supply.
7. The Oculink device detection circuit of claim 5, wherein, The second wake-up module comprises a third power supply, a fifth resistor and a sixth resistor, the first end of the fifth resistor is electrically connected with the fourth pin, the second end of the fifth resistor is electrically connected with the first end of the sixth resistor, and the second end of the sixth resistor is electrically connected with the third power supply.
8. The Oculink device detection circuit of claim 1, wherein, The Oculink device detection circuit further comprises a power supply module, and the Oculink connector further comprises a fifth pin, which is electrically connected with the power supply module.
9. The Oculink device detection circuit of claim 8, wherein, The power supply module comprises a fourth power supply and a seventh resistor, the first end of the seventh resistor is electrically connected with the fourth power supply, and the second end of the seventh resistor is electrically connected with the fifth pin.
10. A mobile terminal, characterized by The mobile terminal is provided with the Oculink device detection circuit according to any one of claims 1 to 9.