CN117097614A - Storage system and plug-in card working mode switching device thereof - Google Patents

Storage system and plug-in card working mode switching device thereof Download PDF

Info

Publication number
CN117097614A
CN117097614A CN202311043806.4A CN202311043806A CN117097614A CN 117097614 A CN117097614 A CN 117097614A CN 202311043806 A CN202311043806 A CN 202311043806A CN 117097614 A CN117097614 A CN 117097614A
Authority
CN
China
Prior art keywords
power supply
capacitor
resistor
card
switching tube
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
CN202311043806.4A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN202311043806.4A priority Critical patent/CN117097614A/en
Publication of CN117097614A publication Critical patent/CN117097614A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • H04L41/0809Plug-and-play configuration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/109Integrated on microchip, e.g. switch-on-chip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/112Switch control, e.g. arbitration

Abstract

The invention relates to the technical field of computers and discloses a storage system and an external card communication working mode switching device thereof, wherein in the related art, the switching between different communication working modes is realized by configuring the working state of a complex logic programmable device.

Description

Storage system and plug-in card working mode switching device thereof
Technical Field
The invention relates to the technical field of computers, in particular to a storage system and an external card communication working mode switching device thereof.
Background
With the rapid development of the server industry, the functions of chips are increasingly concentrated, and in a hardware system, a plurality of chips are usually required to cooperate, so that a communication bus between the chips is indispensable.
However, the interface levels between the chips are not consistent, interface compatibility cannot be achieved, and a plurality of connectors are needed to be connected respectively when the communication function is achieved, so that the cost is increased. In the related art, the switching between the communication working modes of different chips is realized by configuring the working state of a complex logic programmable device so as to realize the communication after the different chips are accessed to a host. The method is only suitable for communication switching of the internal equipment of the main board, and can not control the externally accessed equipment.
Therefore, how to switch the communication working modes between the add-in card and the host is a problem to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a storage system and an external card communication working mode switching device thereof, which are used for solving the problem that communication with a controller cannot be performed due to inconsistent interface level signals of equipment communicating with the controller in the related art and realizing switching of communication working modes between the external card and a host according to different access external cards.
In order to solve the above technical problems, the present invention provides an external card communication working mode switching device, including:
an external card collector, a complex programmable logic device, a channel selector and a controller;
the external card collector is respectively connected with the external card and the complex programmable logic device and is used for collecting the power supply voltage of the external card in a communication working mode and sending the power supply voltage to the complex programmable logic device for processing;
the complex programmable logic device is respectively connected with the channel selector and the controller and is used for controlling the conduction of a corresponding line in the channel selector according to the power supply voltage and configuring a communication pin selected by the controller;
the complex programmable logic device is also connected with a power supply to select a corresponding power supply enabling circuit in the power supply to be conducted according to the power supply voltage of the external card in a communication working mode;
the add-in card is connected with the controller through the channel selector so as to communicate with the controller through a conductive line.
In some embodiments, the add-in card collector is an analog-to-digital converter.
In other embodiments, the add-in card collector further includes a sampling circuit and a filtering circuit.
In one aspect, the modes of operation of the add-in card in communication with the controller include a low pin count interface specification bus mode and an enhanced serial peripheral interface mode.
On the other hand, the power supply voltage of the external card in the communication working mode, which is acquired by the external card acquisition unit, is:
after the external card is inserted into the connector of the main board, the power supply on the main board is used for carrying out power conversion according to the power distribution on the external card and then providing the voltage for the external card.
In some embodiments, the power enable circuits in the power supply include a first power enable circuit, a second power enable circuit, and a third power enable circuit;
the input end of the first power supply enabling circuit is connected with a power supply pin corresponding to a low-pin-number interface standard bus mode of the complex programmable logic device, and the output end of the first power supply enabling circuit is connected with a power supply pin corresponding to a low-pin-number interface standard bus mode of the controller;
the input end of the second power supply enabling circuit is connected with a power supply pin corresponding to the enhanced serial peripheral interface mode of the complex programmable logic device, and the output end of the second power supply enabling circuit is connected with a power supply pin corresponding to the enhanced serial peripheral interface mode of the controller;
the input end of the third power supply enabling circuit is connected with the power supply pin of the complex programmable logic device, and the output end of the third power supply enabling circuit is connected with the switch chip in the channel selector so as to conduct the corresponding circuit;
the communication working mode is selected by firstly controlling the switch chip to conduct the corresponding line in the channel selector and then conducting the corresponding power supply enabling circuit.
In other embodiments, the first power supply enable circuit includes: the first switch tube, the second switch tube, the third switch tube, the first resistor, the second resistor, the third resistor, the first capacitor, the second capacitor and the third capacitor;
the first end of the first resistor and the control end of the first switch tube are connected together to serve as the input end of the first power supply enabling circuit to be connected with the power supply pins corresponding to the low-pin-number interface standard bus mode of the complex programmable logic device, the second end of the first resistor and the first end of the first switch tube are grounded, the second end of the first switch tube is connected with the first end of the second resistor and the control end of the second switch tube, the second end of the second resistor is connected with the first power supply, the first end of the second switch tube is grounded, the second end of the second switch tube is connected with the first end of the third resistor and the control end of the third switch tube, the second end of the third resistor is connected with the second end of the third capacitor to serve as the output end of the first power supply enabling circuit to be connected with the second end of the third capacitor corresponding to the low-pin interface standard bus mode of the controller, and the second end of the third capacitor is connected with the second end of the third capacitor.
In other embodiments, the second power supply enable circuit includes: the fourth switching tube, the fifth switching tube, the sixth switching tube, the fourth resistor, the fifth resistor, the sixth resistor, the fourth capacitor, the fifth capacitor and the sixth capacitor;
the first end of the fourth resistor and the control end of the fourth switching tube are connected together to serve as the input end of the second power supply enabling circuit to be connected with a power supply pin corresponding to an enhanced serial peripheral interface mode of the complex programmable logic device, the second end of the fourth resistor and the first end of the fourth switching tube are grounded, the second end of the fourth switching tube is connected with the first end of the fifth resistor and the control end of the fifth switching tube, the second end of the fifth resistor is connected with a fourth power supply, the first end of the fifth switching tube is grounded, the second end of the fifth switching tube is connected with the first end of the sixth resistor and the control end of the sixth switching tube, the second end of the sixth resistor is connected with a fifth power supply, the first end of the sixth switching tube, the first end of the fourth capacitor and the first end of the fifth capacitor are connected together to serve as the output end of the second power supply enabling circuit to be connected with the second end of the fourth capacitor and the fourth end of the fourth capacitor, the second end of the fourth capacitor is connected with the fourth capacitor and the sixth end of the sixth capacitor is connected with the fourth capacitor.
In other embodiments, the third power supply enable circuit includes: a seventh switching tube, an eighth switching tube, a ninth switching tube, a seventh resistor, an eighth resistor, a ninth resistor, a seventh capacitor, an eighth capacitor and a ninth capacitor;
the first end of the seventh resistor and the control end of the seventh switching tube are connected together to serve as the input end of the third power supply enabling circuit to be connected with a power supply pin of the complex programmable logic device, the second end of the seventh resistor and the first end of the seventh switching tube are grounded, the second end of the seventh switching tube is connected with the first end of the eighth resistor and the control end of the eighth switching tube, the second end of the eighth resistor is connected with a seventh power supply, the first end of the eighth switching tube is grounded, the second end of the eighth switching tube is connected with the first end of the ninth resistor and the control end of the ninth switching tube, the second end of the ninth resistor is connected with an eighth power supply, the first end of the ninth switching tube, the first end of the seventh capacitor and the first end of the eighth capacitor are connected together to serve as the output end of the third power supply enabling circuit to be connected with a switch chip in the channel selector, the second end of the seventh capacitor and the eighth capacitor are connected with the second end of the eighth capacitor and the ninth capacitor are grounded, and the ninth end of the eighth capacitor is connected with the ninth capacitor is grounded.
In order to solve the technical problems, the invention also provides a storage system which comprises a main board and the external plug-in card communication working mode switching device.
According to the communication working mode switching device for the external plug-in card, after the external plug-in card is inserted into the main board through the connector, the power supply voltage of the external plug-in card in the communication working mode is obtained through the external plug-in card collector, and the complex programmable logic device confirms the communication working mode of the external plug-in card inserted into the main board according to the collected power supply voltage, so that a communication line between the external plug-in card and the controller is selected and switched. The complex programmable logic device is used for selecting a corresponding line in the channel selector to communicate according to the confirmed communication working mode of the external card, configuring a communication pin selected by the controller to realize a communication function, and selecting a power supply enabling circuit in a power supply to supply power for the channel selector and the controller.
Compared with the prior art, the external card communication working mode switching device has the advantages that the switching among different communication working modes is realized by configuring the working state of the complex logic programmable device, the method is only suitable for communication switching of equipment inside a main board, and can not control the equipment which is externally accessed.
In addition, the storage system provided by the invention corresponds to the external plug-in card communication working mode switching device, and has the same effect.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a switching device of a communication operation mode in the related art;
fig. 2 is a circuit diagram of a switching operation mode of a communication in the related art;
fig. 3 is a block diagram of an external card communication working mode switching device according to an embodiment of the present invention;
fig. 4 is a circuit diagram of a connector according to an embodiment of the present invention;
FIG. 5 is a circuit diagram of a channel selector according to an embodiment of the present invention;
FIG. 6 is a circuit diagram of a controller according to an embodiment of the present invention;
FIG. 7 is a circuit diagram of a complex programmable logic device according to an embodiment of the present invention;
FIG. 8 is a circuit diagram of a first power enabling circuit according to an embodiment of the present invention;
FIG. 9 is a circuit diagram of a second power enabling circuit according to an embodiment of the present invention;
FIG. 10 is a circuit diagram of a third power enabling circuit according to an embodiment of the present invention;
the reference numerals are as follows: 01 is a platform controller hub chip, 2 is a complex programmable logic device, 03 is a substrate control manager, 04 is a buffer, 1 is an external card collector, 2 is a complex programmable logic device, 3 is a channel selector, 4 is a controller, 5 is an external card, 6 is a power supply, and 7 is an external card communication working mode switching device.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present invention.
The low pin count interface specification (Low pin count Bus, LPC) bus of the memory product motherboard is a set of data information sent by the platform controller hub (Platform Controller Hub, PCH) chip 01, and is transmitted to three modules of the complex programmable logic device 02 (Complex Programmable logic device, CPLD), the baseboard control manager 03 (Baseboard Management Controller, BMC) and the trusted platform module (Trusted Platform Module, TPM), and the CPLD analyzes after receiving the bus data information, and is used for indicating the current motherboard startup process; the BMC receives LPC bus data information and then executes commands from the intelligent platform management interface tool (Intelligent Platform Management Interface Tool, IPMITOOL). The TPM is used to protect the computer from access by an unauthorized user. At present, along with the high-speed development of the server industry, more hosts simultaneously support LPC and ESPI interfaces, CPLDs are also arranged on a plurality of external cards and are required to communicate with the hosts, but the interfaces cannot be compatible due to inconsistent levels of the LPC and ESPI interfaces, so that a plurality of connectors are required to be connected respectively, and the cost is increased. When only one interface is used, resource waste is caused, so that an interface scheme compatible with LPC and ESPI is needed.
Fig. 1 is a switching device of a communication operation mode in the related art, as shown in fig. 1, in this way, a CPLD02 controls a buffer 04 to switch between an LPC mode and an ESPI mode, specifically, access of signals is achieved by controlling on/off of a transistor. Fig. 2 is a circuit diagram of switching of a communication operation mode in the related art. In the technology, CPLD needs to be configured in advance to switch LPC and ESPI modes, and the method can only realize the use of LPC and ESPI of the internal equipment of the main board, but can not realize the configuration in the main board according to the external LPC or ESPI mode when external LPC and ESPI are communicated.
The core of the invention is to provide a memory system and an external card communication working mode switching device thereof, which are used for solving the problem that communication with a controller cannot be carried out due to inconsistent interface level signals of equipment communicating with the controller in the related art, and realizing the switching of the external card and a host communication working mode according to the different access external cards.
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description.
Fig. 3 is a block diagram of an external card communication operation mode switching device according to an embodiment of the present invention, and as shown in fig. 3, the external card communication operation mode switching device 7 includes:
an external card collector 1, a complex programmable logic device 2, a channel selector 3 and a controller 4;
the external card collector 1 is respectively connected with the external card 5 and the complex programmable logic device 2 and is used for collecting the power supply voltage of the external card 5 in a communication working mode and sending the power supply voltage to the complex programmable logic device 2 for processing;
the complex programmable logic device 2 is respectively connected with the channel selector 3 and the controller 4, and is used for controlling the conduction of corresponding lines in the channel selector 3 according to the power supply voltage and configuring communication pins selected by the controller 4;
the complex programmable logic device 2 is also connected with a power supply 6 to select a corresponding power supply 6 enabling circuit in the power supply 6 to be conducted according to the power supply voltage of the external card 5 in the communication working mode;
the add-in card 5 is connected to the controller 4 through the channel selector 3 to communicate with the controller 4 through a conductive line.
The invention provides an external plug-in card communication working mode switching device 7 which is mainly applied to a computer system, realizes communication connection of various external plug-in devices and assists a central processing unit of a computer to perform unified management.
In the structure shown in fig. 3, the controller 4 is a device that communicates with the add-in card 5, and in an implementation, the controller 4 may be a PCH, and processes low-speed signals input by the add-in card 5. The add-in cards 5 referred to in the present invention include, but are not limited to, low pin count interface specification bus mode add-in cards and enhanced serial peripheral interface mode (Enhanced Serial Peripheral Interface, ESPI) add-in cards.
In this embodiment, after the external card 5 with the LPC function or the ESPI function is connected to the motherboard through the connector, a 12V power supply on the motherboard supplies power to the external card 5, and the voltage specifically provided is converted according to the type of the external card 5. Specifically, the power of the external card 5 with the LPC mode and the 12V power supply will provide 3.3V power for the LPC function area on the external card 5 after power conversion, and the power of the external card 5 with the ESPI mode and the 12V power supply will provide 1.8V power for the ESPI function area on the external card 5 after power conversion. After the LPC function area or the ESPI function area of the external card 5 is electrified, the external card collector 1 collects the power supply voltage of the LPC function area or the ESPI function area of the external card and sends the collected signal to the complex programmable logic device 2 for processing. Specifically, the power supply voltage of the external card 5 collected by the external card collector 1 in the communication working mode is as follows: after the external card 5 is inserted into the connector of the main board, the power supply on the main board performs power conversion according to the power distribution on the external card 5, and then provides the voltage to the external card 5.
It will be appreciated that when the power supply voltage is 3.3V, the communication operation mode of the add-in card 5 is confirmed to be the LPC mode, and when the power supply voltage is 1.8V, the communication operation mode of the add-in card 5 is confirmed to be the ESPI mode. In the invention, the power supply voltage of the external card 5 in the communication working mode is acquired by the external card collector 1, the working mode of the external card 5 inserted into the main board is identified, and the communication between the external card 5 and the controller 4 can be realized by matching the corresponding communication line according to the identified working mode.
It can be understood that, the device 7 for switching the communication working modes of the external card provided by the invention is used for switching the connection modes of the controller 4 and the external card 5 according to different working modes of the external card 5 after the external card 5 with different working modes is connected to the main board, so as to ensure the normal communication. Therefore, the external card communication working mode switching device 7 further comprises a channel selector 3, and communication between the external card 5 and the controller 4 can be controlled to be transmitted through an LPC channel or an ESPI channel by controlling the corresponding line in the channel selector 3 to be conducted. After the communication channel is selected, it is also necessary to configure the communication pins of the controller 4, corresponding to the communication channel, and to provide an adapted power supply to power the entire communication circuit.
In a specific implementation, the add-in card collector 1 is used for collecting a voltage signal and then transmitting the voltage signal to the complex programmable logic device 2 for processing, so that the add-in card collector 1 can adopt an analog-to-digital converter to convert the collected electric signal into a digital signal for the complex programmable logic device 2 to confirm the working mode of the add-in card 5. In a specific implementation, in order to avoid errors caused by signal disturbance and ensure voltage acquisition accuracy, the external card collector 1 may further be provided with a sampling circuit and a filtering circuit. In a specific implementation, the sampling circuit comprises a sampling resistor, two ends of the sampling resistor are connected with the functional area of the extrapolation card 5 to form a loop, so that the sampling voltage is calculated by collecting the current at two ends of the sampling resistor and combining the size of the sampling resistor. In addition, an amplifying circuit may be further disposed in the add-in card collector 1 to amplify the collected signal.
After confirming the working mode of the add-in card 5, the complex programmable logic device 2 outputs a corresponding switching signal to the channel selector 3 and the controller 4, the channel selector 3 switches on a corresponding communication line according to the switching signal, and the controller 4 completes configuration of the communication pins according to the switching signal. It will be appreciated that a switching device should be present in the channel selector 3 to switch on different lines in dependence of the switching signal. In a specific implementation, the switching device may be an external triode, a field effect transistor, or the like, and in this embodiment, the switching chip is selected as the switching device. In this embodiment, when the operation mode of the add-in card 5 is only the LPC mode and the ESPI mode, the switching device in the channel selector 3 is a high-bandwidth bus switch chip, which is a selection chip having two channels. For example, opening the first channel is the LPC mode, and opening the second channel is the ESPI mode.
For ease of understanding, the following description will be given with reference to specific embodiments and circuit diagrams of the working flow of the external card communication working mode switching device 7, fig. 4 is a circuit diagram of an external card connector provided by an embodiment of the present invention, fig. 5 is a circuit diagram of a channel selector provided by an embodiment of the present invention, fig. 6 is a circuit diagram of a controller provided by an embodiment of the present invention, and fig. 7 is a circuit diagram of a complex programmable logic device provided by an embodiment of the present invention, where connection relationships between the connector and the channel selector, between the channel selector and the complex programmable logic device and the controller, and between the complex programmable logic device and the power enable circuit are shown.
If the collected working mode voltage of the add-in card 5 is 3.3V, the complex programmable logic device 2 determines that the motherboard enters the LPC mode, and outputs a switching signal selection signal en_lpc_espi_sel to be at a low level, then a switch chip in the channel selector 3 opens a first channel, then a cpu_espi_reset_n_lframe_n signal of the controller 4 part is connected to a slot_lpc_lframe_n_espi_cs0_n signal of the add-in card connector, a cpu_espi_cs0_n_lpc_clkrun_n signal of the controller 4 part is connected to a slot_lpc_run_n signal of the add-in card connector, and a cpu_espi_alert1_n_serirq signal of the controller 4 part is connected to a slot_serirq_espi_cs1_n signal of the add-in card connector, wherein the data signal espi_lpc_lad3:0 > is not required to be selected, and the controller 4 part is connected to the add-in the same manner as the switch pin.
If the collected working mode voltage of the external card 5 is 1.8V, the complex programmable logic device 2 judges that the main board enters an ESPI mode, outputs a switching signal selection signal en_lpc_espi_sel to be at a high level, the switch chip opens a second channel, a cpu_espi_reset_n_lframe_n signal of the controller 4 is connected with a slot_rst_espi_reset signal of the external card connector, the CPU_ESPI_CS0_N_LPC_CLKRUN_N signal of the controller 4 part is connected with the SLOT_LPC_LFRAME_N_ESPI_CS0_N signal of the card connector, the CPU_ESPI_CS1_N_LPC_CLKOUT1 signal of the controller 4 part is connected with the SLOT_LPC_SERIRQ_ESPI_CS1_N signal of the card connector, the CPU_ESPI_ALERT0_N signal of the controller 4 part is connected with the SLOT_ESPI_ALERT0_N signal of the card connector, and the data signal ESPI_LPC_LAD <3:0> does not need to be selected. It will be appreciated that the structures shown in the figures are not limiting on the structure of the add-in card connector, channel selector, controller, complex programmable logic device, and that the signals shown in the figures are used to indicate the connection between the devices. The en_lpc_espi_sel signal in fig. 5 is connected to the en_lpc_espi_sel signal in fig. 7, indicating the connection relationship of the control chip to the complex programmable logic device.
According to the communication working mode switching device for the external plug-in card, after the external plug-in card is inserted into the main board through the connector, the power supply voltage of the external plug-in card in the communication working mode is obtained through the external plug-in card collector, and the complex programmable logic device confirms the communication working mode of the external plug-in card inserted into the main board according to the collected power supply voltage, so that a communication line between the external plug-in card and the controller is selected and switched. The complex programmable logic device is used for selecting a corresponding line in the channel selector to communicate according to the confirmed communication working mode of the external card, configuring a communication pin selected by the controller to realize a communication function, and selecting a power supply enabling circuit in a power supply to supply power for the channel selector and the controller.
Compared with the prior art, the external card communication working mode switching device has the advantages that the switching among different communication working modes is realized by configuring the working state of the complex logic programmable device, the method is only suitable for communication switching of equipment inside a main board, and can not control the equipment which is externally accessed.
It will be appreciated that the power enabling circuit not only needs to power the controller 4 according to the selection of the different modes of operation of the add-in card, but also needs to provide power to the channel selector 3 for switching of the communication lines. And for the LPC mode and the ESPI mode, the power supply enabling circuit in the power supply comprises a first power supply enabling circuit, a second power supply enabling circuit and a third power supply enabling circuit;
the input end of the first power supply enabling circuit is connected with a power supply pin corresponding to the low-pin-number interface standard bus mode of the complex programmable logic device 2, and the output end of the first power supply enabling circuit is connected with a power supply pin corresponding to the low-pin-number interface standard bus mode of the controller 4;
the input end of the second power supply enabling circuit is connected with a power supply pin corresponding to the enhanced serial peripheral interface mode of the complex programmable logic device 2, and the output end of the second power supply enabling circuit is connected with a power supply pin corresponding to the enhanced serial peripheral interface mode of the controller 4;
the input end of the third power supply enabling circuit is connected with the power supply pin of the complex programmable logic device 2, and the output end of the third power supply enabling circuit is connected with the switch chip in the channel selector 3 to conduct the corresponding circuit;
the communication operation mode is selected by firstly controlling the switch chip to conduct the corresponding circuit in the channel selector 3 and then conducting the corresponding power supply enabling circuit.
In this embodiment, when the first power enable circuit is the LPC mode for the operation mode of the add-in card 5, the complex programmable logic device 2 configures a circuit used by the LPC power pin of the controller, and when the second power enable circuit is the ESPI mode for the operation mode of the add-in card 5, the complex programmable logic device 2 configures a circuit used by the ESPI power pin of the controller, and the third power enable circuit is a circuit used by the complex programmable logic device 2 to output a switching signal to control the switch chip. It can be understood that, in this embodiment, in order to avoid the situation that the channels are not matched after power-up and cause the 3.3V and 1.8V level to be connected in error, in this embodiment, when the complex programmable logic device 2 configures the communication mode, the channel is selected first, and then the power source is enabled.
On the basis of the above embodiment, the present embodiment provides a specific power connection diagram, and fig. 8 is a circuit diagram of a first power enabling circuit according to an embodiment of the present invention, where, as shown in fig. 8, the first power enabling circuit includes: the switching device comprises a first switching tube Q1, a second switching tube Q2, a third switching tube Q3, a first resistor R1, a second resistor R2, a third resistor R3, a first capacitor C1, a second capacitor C2 and a third capacitor C3; in a specific implementation, the first switching tube Q1, the second switching tube Q2, and the third switching tube Q3 may all be transistors.
The first end of the first resistor R1 and the gate of the first transistor Q1 are commonly connected as an input end of the first power supply enabling circuit and connected to a power supply pin (e.g., en_lpc_p3v3 in fig. 7) corresponding to the low pin count interface specification bus mode of the complex programmable logic device 2, the second end of the first resistor R1 and the source of the first transistor Q1 are grounded, the drain of the first transistor Q1 is connected to the first end of the second resistor R2 and the gate of the second transistor Q2, the second end of the second resistor R2 is connected to the first power supply, the source of the second transistor Q2 is grounded, the drain of the second transistor Q2 is connected to the first end of the third resistor R3 and the gate of the third transistor Q3, the second end of the third resistor R3 is connected to the second power supply, the source of the third transistor Q3, the first end of the first capacitor C1 and the first end of the second capacitor C2 are commonly connected as a source of the third transistor Q3, the output end of the first transistor Q1 is connected to the first end of the low pin count interface specification bus mode of the controller 4 and the gate of the second transistor Q2, the second end of the second capacitor C2 is connected to the third end of the third capacitor C3 is connected to the third capacitor C3.
Fig. 9 is a circuit diagram of a second power enabling circuit according to an embodiment of the present invention, where, as shown in fig. 9, the second power enabling circuit includes: the fourth switching tube Q4, the fifth switching tube Q5, the sixth switching tube Q6, the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, the fourth capacitor C4, the fifth capacitor C5 and the sixth capacitor C6; similarly, the fourth switching tube Q4, the fifth switching tube Q5 and the sixth switching tube Q6 may be transistors.
The first end of the fourth resistor R4 and the gate of the fourth switching tube Q4 are connected together to serve as a power supply pin (e.g., en_espi_p1v8 in fig. 7) corresponding to the enhanced serial peripheral interface mode of the complex programmable logic device 2, the second end of the fourth resistor R4 and the source of the fourth switching tube Q4 are grounded, the drain of the fourth switching tube Q4 is connected to the first end of the fifth resistor R5 and the gate of the fifth switching tube Q5, the second end of the fifth resistor R5 is connected to a fourth power supply, the source of the fifth switching tube Q5 is grounded, the drain of the fifth switching tube Q5 is connected to the first end of the sixth resistor R6 and the gate of the sixth switching tube Q6, the second end of the sixth resistor R6 is connected to the fifth power supply, the source of the sixth switching tube Q6, the first end of the fourth capacitor C4 and the first end of the fifth capacitor C5 are commonly connected to serve as a power supply pin corresponding to the enhanced serial peripheral interface mode of the second power supply enabling circuit, the output end of the fourth switching tube Q4 is connected to the output end of the fourth switching tube Q5 is connected to the fourth end of the fourth capacitor C4 and the fourth capacitor C4 is connected to the drain of the fourth capacitor C6 is connected to the fourth capacitor C6.
Fig. 10 is a circuit diagram of a third power enabling circuit according to an embodiment of the present invention, where, as shown in fig. 10, the third power enabling circuit includes: a seventh switching tube Q7, an eighth switching tube Q8, a ninth switching tube Q9, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a seventh capacitor C7, an eighth capacitor C8 and a ninth capacitor C9; similarly, the seventh switching transistor Q7, the eighth switching transistor Q8, and the ninth switching transistor Q9 may be transistors.
The first end of the seventh resistor R7 and the gate of the seventh switching tube Q7 are connected together to serve as an input end of the third power supply enabling circuit to be connected with a power supply pin (e.g., en_lpcespi_swjp3v3 in fig. 7) of the complex programmable logic device 2, the second end of the seventh resistor R7 and the source of the seventh switching tube Q7 are connected together, the drain of the seventh switching tube Q7 is connected with the first end of the eighth resistor R8 and the gate of the eighth switching tube Q8, the second end of the eighth resistor R8 is connected with a seventh power supply, the source of the eighth switching tube Q8 is connected with the first end of the ninth resistor R9 and the gate of the ninth switching tube Q9, the second end of the ninth resistor R9 is connected with an eighth power supply, the source of the ninth switching tube Q9, the first end of the seventh capacitor C7 and the first end of the eighth capacitor C8 are commonly connected to serve as a switching chip in the third power supply enabling circuit, the second end of the seventh capacitor C7 and the second end of the eighth capacitor C8 are connected with the ground, and the ninth end of the eighth capacitor C9 is connected with the ninth capacitor C9 is connected with the ground.
In this embodiment, when the complex programmable logic device 2 determines that the motherboard enters the LPC mode, the complex programmable logic device 2 outputs an en_lpc_p3v3 signal to be at a high level, p3v3 is communicated with p3v3_lpc, p3v3_lpc is powered on, and is supplied with power for use by LPC, then the complex programmable logic device 2 outputs an en_lpcespi_sw_p3v3 signal to be at a high level, p3v3 is communicated with p3v3_sw, p3v3_sw is supplied to the switch chip, the link of the LPC mode is turned on, and the controller 4 can communicate with the add-in card 5 through the LPC mode.
When the complex programmable logic device 2 judges that the main board enters the ESPI mode, the complex programmable logic device 2 outputs an EN_ESPI_P1V8 signal to be high level, the P1V8 is communicated with the P1V8_ESPI, the P1V8_ESPI is electrified and is provided with power for ESPI, then the complex programmable logic device 2 outputs an EN_LPCESPI_SW_P3V3 signal to be high level, the P3V3 is communicated with the P3V3_SW, the P3V3_SW power supply 6 is provided for the switch chip, the ESPI mode link is conducted, and the controller 4 and the add-in card 5 can communicate through the ESPI mode.
In a specific implementation, the first power supply, the second power supply, the fourth power supply, the fifth power supply, the seventh power supply and the eighth power supply can be connected with a 12V power supply on the motherboard, the third power supply is connected with an LPC mode working power supply, the sixth power supply is connected with an ESPI mode working power supply, and the ninth power supply is a common 3.3V power supply.
In addition, the invention also provides a storage system which comprises a main board and the external plug-in card communication working mode switching device in the embodiment.
The memory system provided by the invention comprises a main board and an external card communication working mode switching device, wherein after the external card is inserted into the main board through a connector, the external card collector is used for obtaining the power supply voltage of the external card in the communication working mode, and the complex programmable logic device confirms the communication working mode of the external card inserted into the main board according to the collected power supply voltage, so that the communication line between the external card and the controller is selectively switched. The complex programmable logic device is used for selecting a corresponding line in the channel selector to communicate according to the confirmed communication working mode of the external card, configuring a communication pin selected by the controller to realize a communication function, and selecting a power supply enabling circuit in a power supply to supply power for the channel selector and the controller. Compared with the prior art, the method is only suitable for communication switching of the internal equipment of the main board and can not control the externally accessed equipment by configuring the working state of the complex logic programmable device to realize switching among different communication working modes.
The memory system and the device for switching the communication working modes of the plug-in card provided by the invention are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. An add-in card communication operation mode switching device, comprising:
an external card collector, a complex programmable logic device, a channel selector and a controller;
the external card collector is respectively connected with the external card and the complex programmable logic device and is used for collecting the power supply voltage of the external card in a communication working mode and sending the power supply voltage to the complex programmable logic device for processing;
the complex programmable logic device is respectively connected with the channel selector and the controller and is used for controlling the conduction of a corresponding line in the channel selector according to the power supply voltage and configuring a communication pin selected by the controller;
the complex programmable logic device is also connected with a power supply to select a corresponding power supply enabling circuit in the power supply to be conducted according to the power supply voltage of the external card in a communication working mode;
the add-in card is connected with the controller through the channel selector so as to communicate with the controller through a conductive line.
2. The device for switching modes of operation of add-in card communication according to claim 1, wherein said add-in card collector is an analog-to-digital converter.
3. The device for switching the communication operation modes of the add-in card according to claim 2, wherein the add-in card collector further comprises a sampling circuit and a filtering circuit.
4. The add-in card communication mode switching device of claim 1, wherein the modes of communication operation of the add-in card with the controller include a low pin count interface specification bus mode and an enhanced serial peripheral interface mode.
5. The device for switching a communication operation mode of an add-in card according to claim 1, wherein the power supply voltage of the add-in card in the communication operation mode collected by the add-in card collector is:
after the external card is inserted into the connector of the main board, the power supply on the main board is used for carrying out power conversion according to the power distribution on the external card and then providing the voltage for the external card.
6. The add-in card communication operation mode switching device of claim 4, wherein the power enable circuit in the power supply comprises a first power enable circuit, a second power enable circuit, and a third power enable circuit;
the input end of the first power supply enabling circuit is connected with a power supply pin corresponding to a low-pin-number interface standard bus mode of the complex programmable logic device, and the output end of the first power supply enabling circuit is connected with a power supply pin corresponding to a low-pin-number interface standard bus mode of the controller;
the input end of the second power supply enabling circuit is connected with a power supply pin corresponding to the enhanced serial peripheral interface mode of the complex programmable logic device, and the output end of the second power supply enabling circuit is connected with a power supply pin corresponding to the enhanced serial peripheral interface mode of the controller;
the input end of the third power supply enabling circuit is connected with the power supply pin of the complex programmable logic device, and the output end of the third power supply enabling circuit is connected with the switch chip in the channel selector so as to conduct the corresponding circuit;
the communication working mode is selected by firstly controlling the switch chip to conduct the corresponding line in the channel selector and then conducting the corresponding power supply enabling circuit.
7. The add-on card communication operation mode switching device of claim 6, wherein the first power supply enabling circuit comprises: the first switch tube, the second switch tube, the third switch tube, the first resistor, the second resistor, the third resistor, the first capacitor, the second capacitor and the third capacitor;
the first end of the first resistor and the control end of the first switch tube are connected together to serve as the input end of the first power supply enabling circuit to be connected with the power supply pins corresponding to the low-pin-number interface standard bus mode of the complex programmable logic device, the second end of the first resistor and the first end of the first switch tube are grounded, the second end of the first switch tube is connected with the first end of the second resistor and the control end of the second switch tube, the second end of the second resistor is connected with the first power supply, the first end of the second switch tube is grounded, the second end of the second switch tube is connected with the first end of the third resistor and the control end of the third switch tube, the second end of the third resistor is connected with the second end of the third capacitor to serve as the output end of the first power supply enabling circuit to be connected with the second end of the third capacitor corresponding to the low-pin interface standard bus mode of the controller, and the second end of the third capacitor is connected with the second end of the third capacitor.
8. The add-in card communication mode switching device of claim 6, wherein the second power supply enabling circuit comprises: the fourth switching tube, the fifth switching tube, the sixth switching tube, the fourth resistor, the fifth resistor, the sixth resistor, the fourth capacitor, the fifth capacitor and the sixth capacitor;
the first end of the fourth resistor and the control end of the fourth switching tube are connected together to serve as the input end of the second power supply enabling circuit to be connected with a power supply pin corresponding to an enhanced serial peripheral interface mode of the complex programmable logic device, the second end of the fourth resistor and the first end of the fourth switching tube are grounded, the second end of the fourth switching tube is connected with the first end of the fifth resistor and the control end of the fifth switching tube, the second end of the fifth resistor is connected with a fourth power supply, the first end of the fifth switching tube is grounded, the second end of the fifth switching tube is connected with the first end of the sixth resistor and the control end of the sixth switching tube, the second end of the sixth resistor is connected with a fifth power supply, the first end of the sixth switching tube, the first end of the fourth capacitor and the first end of the fifth capacitor are connected together to serve as the output end of the second power supply enabling circuit to be connected with the second end of the fourth capacitor and the fourth end of the fourth capacitor, the second end of the fourth capacitor is connected with the fourth capacitor and the sixth end of the sixth capacitor is connected with the fourth capacitor.
9. The add-in card communication operation mode switching device of claim 6, wherein the third power supply enabling circuit comprises: a seventh switching tube, an eighth switching tube, a ninth switching tube, a seventh resistor, an eighth resistor, a ninth resistor, a seventh capacitor, an eighth capacitor and a ninth capacitor;
the first end of the seventh resistor and the control end of the seventh switching tube are connected together to serve as the input end of the third power supply enabling circuit to be connected with a power supply pin of the complex programmable logic device, the second end of the seventh resistor and the first end of the seventh switching tube are grounded, the second end of the seventh switching tube is connected with the first end of the eighth resistor and the control end of the eighth switching tube, the second end of the eighth resistor is connected with a seventh power supply, the first end of the eighth switching tube is grounded, the second end of the eighth switching tube is connected with the first end of the ninth resistor and the control end of the ninth switching tube, the second end of the ninth resistor is connected with an eighth power supply, the first end of the ninth switching tube, the first end of the seventh capacitor and the first end of the eighth capacitor are connected together to serve as the output end of the third power supply enabling circuit to be connected with a switch chip in the channel selector, the second end of the seventh capacitor and the eighth capacitor are connected with the second end of the eighth capacitor and the ninth capacitor are grounded, and the ninth end of the eighth capacitor is connected with the ninth capacitor is grounded.
10. A memory system comprising a motherboard, and further comprising an add-in card communication operation mode switching device according to any one of claims 1 to 9.
CN202311043806.4A 2023-08-18 2023-08-18 Storage system and plug-in card working mode switching device thereof Pending CN117097614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311043806.4A CN117097614A (en) 2023-08-18 2023-08-18 Storage system and plug-in card working mode switching device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311043806.4A CN117097614A (en) 2023-08-18 2023-08-18 Storage system and plug-in card working mode switching device thereof

Publications (1)

Publication Number Publication Date
CN117097614A true CN117097614A (en) 2023-11-21

Family

ID=88782315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311043806.4A Pending CN117097614A (en) 2023-08-18 2023-08-18 Storage system and plug-in card working mode switching device thereof

Country Status (1)

Country Link
CN (1) CN117097614A (en)

Similar Documents

Publication Publication Date Title
US6249825B1 (en) Universal serial bus interface system and method
US5615344A (en) Apparatus used to interface a peripheral device to a computer employing a reconfigurable interface circuit
CN109446145B (en) Server mainboard I2C channel expansion chip, circuit and control method
CN212009333U (en) Interface board compatible with multiple interface signals
US7660346B1 (en) Apparatus and method for enabling a connection over a serial interface
US6438624B1 (en) Configurable I/O expander addressing for I/O drawers in a multi-drawer rack server system
CN117097614A (en) Storage system and plug-in card working mode switching device thereof
CN111948971A (en) Intelligent card management device and data switching method thereof
CN107577574B (en) Debugging switching circuit and debugging circuit board
US20060095626A1 (en) Multifunction adapter
CN113392054B (en) Interface integrated circuit and server
CN115858426A (en) Hard disk interface, hard disk and electronic equipment
CN104679123A (en) Mainboard and data burning method thereof
CN114355815A (en) Controller, control system and communication method of controller
CN110047550B (en) Data storage device, memory control circuit and monitoring method thereof
CN114020669A (en) I2C link system and server based on CPLD
KR101139135B1 (en) Configurable data port for I2C or single-wire broadcast interface
US20090185559A1 (en) Integration module for universal serial bus
CN115422110B (en) Port configuration method of electronic equipment and PCIE Switch chip
CN217157277U (en) Storage device sharing SMBUS and UART interfaces
CN100595715C (en) Signal processing circuit
CN218037986U (en) Data channel switching device
CN109344016B (en) USB device capable of switching between host and device modes and switching method
CN217821586U (en) USB switching circuit and USB switching device
CN216161088U (en) Display card switching device, mainboard and computer equipment

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