CN105488004A - I2C line multiplexing control logic method under startup and shutdown states of server - Google Patents
- ️Wed Apr 13 2016
Info
-
Publication number
- CN105488004A CN105488004A CN201510839440.0A CN201510839440A CN105488004A CN 105488004 A CN105488004 A CN 105488004A CN 201510839440 A CN201510839440 A CN 201510839440A CN 105488004 A CN105488004 A CN 105488004A Authority
- CN
- China Prior art keywords
- cpld
- bmc
- fan
- temperature
- temperature sensor Prior art date
- 2015-11-27 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4072—Drivers or receivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0016—Inter-integrated circuit (I2C)
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses an I2C line multiplexing control logic method under startup and shutdown states of a server. When a BMC (Baseboard Management Controller) cannot be started at an ultralow temperature, a temperature sensor of a mainboard is connected to a CPLD (Complex Programmable Logic Device) logic control device to sense a temperature of the mainboard, and determine whether a mainboard heating function needs to be performed, at this time, the CPLD is an I2C primary device and the temperature sensor is an I2C slave device; after successful booting, two groups of I2C buses of the BMC are switched to control the CPLD and the temperature sensor respectively through an I2C bus switch, and at this time, the BMC is the I2C primary device, and the CPLD and the temperature sensor are the I2C salve devices. According to the I2C line multiplexing control logic method under the startup and shutdown states of the server provided by the invention, under a shutdown state, the BMC and other control units manage a Thermal sensor and other I2C controllers, so that after starting up, other devices control the I2C controllers, thus the problem that computers are not started under a low temperature state can be solved.
Description
Technical field
The present invention relates to I2C circuit control technology field, be specifically related to a kind of I2C line sharing steering logic method under server on-off state.
Background technology
I2C bus supports any IC production run (NMOSCMOS, bipolarity).Two lines--serial data (SDA) and serial clock (SCL) line are being connected to transmission of information between the device of bus.Each device has a unique Address Recognition (no matter be microcontroller---MCU, lcd driver, storer or keyboard interface), and can as a transmitter or receiver (being determined by the function of device).Clearly, lcd driver is a receiver, and storer then both can receive and can send data.Except transmitter and receiver, device also can be counted as main frame or from machine when performing data transmission.Main frame is that the data of initialization bus are transmitted and produce the device of the clock signal allowing transmission.Now, any addressed device is all considered to from machine.
Bus characteristic:
1, two bus lines are only required: a serial data line SDA, a serial time clock line SCL;
2, each device being connected to bus can be software set address by unique address and the simple main frame existed/from office always, and main frame can as main frame transmitter or host receiver;
3, it is real many host buses, if the initialization simultaneously of two or more main frames, data transmission can be destroyed by collision detection and arbitration prevent data;
4,8 bidirectional data transfers bit rate of serial can reach 100kbit/s under mode standard, can reach 400kbit/s, can reach 3.4Mbit/s under fast mode under quick mode;
5, the maximum capacitor 400pF that the IC quantity being connected to same bus is only subject to bus limits.
Summary of the invention
The technical problem to be solved in the present invention is: the invention provides a kind of I2C line sharing steering logic method under server on-off state, overweights and solves same I2C equipment, the master & slave control under switching on and shutting down different operating state.
The technical solution adopted in the present invention is:
A kind of I2C line sharing steering logic method under server on-off state, described method for BMC when ultralow temperature cannot start, the temperature sensor of mainboard is received on CPLD logic control device, carry out the temperature of detecting master plate, and determine the need of carrying out motherboard heating function, now, CPLD is I2C main equipment, and temperature sensor is that I2C is from equipment;
After successfully starting shooting, two groups of I2C buses of BMC are switched to control CPLD and temperature sensor respectively by I2C bus switch, and now, BMC is I2C main equipment, and CPLD and temperature sensor are that I2C is from equipment.
During off-mode, FAN_SCL/SDA and CPLD is connected, and temperature information can be delivered to CPLD, so that logic control device goes to judge whether to need to open heating function according to temperature.
After system boot, FAN_CTL_IBMC signal drags down, and BMC_I2C6 and CPLD is connected, and as master slave relation, BMC can be communicated with CPLD; BMC_I2C8 and FAN_SCL/SDA is connected to make the main equipment as fan control come to control rotation speed of the fan according to corresponding thermaltable.
Described method operation steps is as follows:
1) judge that whether system is at open state;
2) if not at open state, FAN_CTL_IBMC signal is drawn high; BMC, as main equipment, connects CPLD and FAN_CTL respectively;
3) if system is at open state, judge that whether mainboard temperature is too low;
4) if mainboard temperature is not too low, then normal boot-strap, FAN_CTL_IBMC signal is drawn high; BMC, as main equipment, connects CPLD and FAN_CTL respectively;
5) if mainboard temperature is too low, then CPLD opens heating function, repeats step 3.
Beneficial effect of the present invention is:
The present invention is by when off-mode, and the control modules such as BMC manage I2C controllers such as Thermalsensor, and after start by other equipment to its management and control, with the problem do not started under solving computing machine low-temperature condition.
Accompanying drawing explanation
Fig. 1 is described method implementation step process flow diagram;
Fig. 2 is that controlling functions realizes block diagram 1
Fig. 3 is that controlling functions realizes block diagram 2
Fig. 4 is that controlling functions realizes block diagram 3.
Embodiment
With reference to the accompanying drawings, by embodiment, the present invention is further described:
Embodiment 1:
A kind of I2C line sharing steering logic method under server on-off state, described method has the possibility that cannot start for BMC when ultralow temperature, therefore the temperature sensor of mainboard is now received on the logic control devices such as CPLD, carry out the temperature of detecting master plate, and determine the need of carrying out motherboard heating function, now, CPLD is I2C main equipment, and temperature sensor (fan governor) is for I2C is from equipment;
After successfully starting shooting, two groups of I2C buses of BMC are switched to control CPLD and temperature sensor respectively by I2C bus switch, and now, BMC is I2C main equipment, and CPLD and temperature sensor (fan governor) are for I2C is from equipment.
Embodiment 2:
As shown in Figure 2,3, on the basis of embodiment 1, during the present embodiment off-mode, FAN_SCL/SDA and CPLD is connected, and temperature information can be delivered to CPLD, so that logic control device goes to judge whether to need to open heating function according to temperature.
Wherein, U145 and U144 is I2C bus switch, and slightly discrepant place is, the enable signal of these two bus switchs is just contrary.
Embodiment 3:
As shown in Figure 3,4, on the basis of embodiment 2, after the present embodiment system boot, FAN_CTL_IBMC signal drags down, and BMC_I2C6 and CPLD is connected, and as master slave relation, BMC can be communicated with CPLD; BMC_I2C8 and FAN_SCL/SDA is connected to make the main equipment as fan control come to control rotation speed of the fan according to corresponding thermaltable.
Embodiment 4:
On the basis of embodiment 2 or 3, described in the present embodiment, method operation steps is as follows:
1) judge that whether system is at open state;
2) if not at open state, FAN_CTL_IBMC signal is drawn high; BMC, as main equipment, connects CPLD and FAN_CTL respectively;
3) if system is at open state, judge that whether mainboard temperature is too low;
4) if mainboard temperature is not too low, then normal boot-strap, FAN_CTL_IBMC signal is drawn high; BMC, as main equipment, connects CPLD and FAN_CTL respectively;
5) if mainboard temperature is too low, then CPLD opens heating function, repeats step 3.
Above embodiment is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.
Claims (4)
1. the I2C line sharing steering logic method under a server on-off state, it is characterized in that: described method for BMC when ultralow temperature cannot start, the temperature sensor of mainboard is received on CPLD logic control device, carry out the temperature of detecting master plate, and determine the need of carrying out motherboard heating function, now, CPLD is I2C main equipment, and temperature sensor is that I2C is from equipment;
After successfully starting shooting, two groups of I2C buses of BMC are switched to control CPLD and temperature sensor respectively by I2C bus switch, and now, BMC is I2C main equipment, and CPLD and temperature sensor are that I2C is from equipment.
2. the I2C line sharing steering logic method under a kind of server on-off state according to claim 1, it is characterized in that: during off-mode, FAN_SCL/SDA and CPLD is connected, temperature information can be delivered to CPLD, so that logic control device goes to judge whether to need to open heating function according to temperature.
3. the I2C line sharing steering logic method under a kind of server on-off state according to claim 2; it is characterized in that: after system boot, FAN_CTL_IBMC signal drags down, and BMC_I2C6 and CPLD is connected; and as master slave relation, BMC can be communicated with CPLD; BMC_I2C8 and FAN_SCL/SDA is connected to make the main equipment as fan control come to control rotation speed of the fan according to corresponding thermaltable.
4. the I2C line sharing steering logic method under a kind of server on-off state according to Claims 2 or 3, it is characterized in that, described method operation steps is as follows:
1) judge that whether system is at open state;
2) if not at open state, FAN_CTL_IBMC signal is drawn high; BMC, as main equipment, connects CPLD and FAN_CTL respectively;
3) if system is at open state, judge that whether mainboard temperature is too low;
4) if mainboard temperature is not too low, then normal boot-strap, FAN_CTL_IBMC signal is drawn high; BMC, as main equipment, connects CPLD and FAN_CTL respectively;
5) if mainboard temperature is too low, then CPLD opens heating function, repeats step 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510839440.0A CN105488004A (en) | 2015-11-27 | 2015-11-27 | I2C line multiplexing control logic method under startup and shutdown states of server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510839440.0A CN105488004A (en) | 2015-11-27 | 2015-11-27 | I2C line multiplexing control logic method under startup and shutdown states of server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105488004A true CN105488004A (en) | 2016-04-13 |
Family
ID=55674988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510839440.0A Pending CN105488004A (en) | 2015-11-27 | 2015-11-27 | I2C line multiplexing control logic method under startup and shutdown states of server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105488004A (en) |
Cited By (5)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106200840A (en) * | 2016-07-07 | 2016-12-07 | 山东超越数控电子有限公司 | A kind of computer temperature method for handover control |
CN106874228A (en) * | 2017-01-23 | 2017-06-20 | 中航光电科技股份有限公司 | Based on I2Communication means between the controller and communication means, multi-controller of C buses |
CN109471770A (en) * | 2018-09-11 | 2019-03-15 | 华为技术有限公司 | A kind of method for managing system and device |
CN111124981A (en) * | 2019-11-29 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Management system and method for server I2C equipment |
CN111796987A (en) * | 2020-07-14 | 2020-10-20 | 山东超越数控电子股份有限公司 | Device and method for monitoring and controlling internal temperature of computer based on single chip microcomputer |
Citations (6)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1753376A (en) * | 2005-10-27 | 2006-03-29 | 杭州华为三康技术有限公司 | Biprimary controlled network equipment and its master back-up switching method |
CN102023954A (en) * | 2009-09-17 | 2011-04-20 | 研祥智能科技股份有限公司 | Device with multiple I2C buses, processor, system main board and industrial controlled computer |
CN102279764A (en) * | 2011-09-14 | 2011-12-14 | 浪潮电子信息产业股份有限公司 | Method for normally starting reinforced cloud server at ultra-low temperature |
CN102662903A (en) * | 2012-03-31 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | Method for realizing hot-plug of PCIE equipment by CPLD or FPGA |
CN103630987A (en) * | 2013-11-20 | 2014-03-12 | 深圳市易飞扬通信技术有限公司 | CFP (centum form factor pluggable) optical module and MDIO (management data input/output) interface circuit thereof |
US20150026381A1 (en) * | 2013-07-18 | 2015-01-22 | Lsis Co., Ltd. | Remote terminal device and method of operating the same |
-
2015
- 2015-11-27 CN CN201510839440.0A patent/CN105488004A/en active Pending
Patent Citations (6)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1753376A (en) * | 2005-10-27 | 2006-03-29 | 杭州华为三康技术有限公司 | Biprimary controlled network equipment and its master back-up switching method |
CN102023954A (en) * | 2009-09-17 | 2011-04-20 | 研祥智能科技股份有限公司 | Device with multiple I2C buses, processor, system main board and industrial controlled computer |
CN102279764A (en) * | 2011-09-14 | 2011-12-14 | 浪潮电子信息产业股份有限公司 | Method for normally starting reinforced cloud server at ultra-low temperature |
CN102662903A (en) * | 2012-03-31 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | Method for realizing hot-plug of PCIE equipment by CPLD or FPGA |
US20150026381A1 (en) * | 2013-07-18 | 2015-01-22 | Lsis Co., Ltd. | Remote terminal device and method of operating the same |
CN103630987A (en) * | 2013-11-20 | 2014-03-12 | 深圳市易飞扬通信技术有限公司 | CFP (centum form factor pluggable) optical module and MDIO (management data input/output) interface circuit thereof |
Cited By (6)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106200840A (en) * | 2016-07-07 | 2016-12-07 | 山东超越数控电子有限公司 | A kind of computer temperature method for handover control |
CN106874228A (en) * | 2017-01-23 | 2017-06-20 | 中航光电科技股份有限公司 | Based on I2Communication means between the controller and communication means, multi-controller of C buses |
CN109471770A (en) * | 2018-09-11 | 2019-03-15 | 华为技术有限公司 | A kind of method for managing system and device |
CN111124981A (en) * | 2019-11-29 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Management system and method for server I2C equipment |
CN111124981B (en) * | 2019-11-29 | 2021-11-23 | 苏州浪潮智能科技有限公司 | Management system and method for server I2C equipment |
CN111796987A (en) * | 2020-07-14 | 2020-10-20 | 山东超越数控电子股份有限公司 | Device and method for monitoring and controlling internal temperature of computer based on single chip microcomputer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8898358B2 (en) | 2014-11-25 | Multi-protocol communication on an I2C bus |
US9170975B2 (en) | 2015-10-27 | High speed overlay of idle I2C bus bandwidth |
US9645954B2 (en) | 2017-05-09 | Embedded microcontroller and buses |
CN105488004A (en) | 2016-04-13 | I2C line multiplexing control logic method under startup and shutdown states of server |
US9934187B2 (en) | 2018-04-03 | Hot-pluggable computing system |
CN106603265B (en) | 2020-06-09 | Management method, network device, and non-transitory computer-readable medium |
CN102749985B (en) | 2015-10-28 | Method and device for dynamically adjusting bus clock |
CN104050061B (en) | 2016-01-20 | A kind of Based PC Ie bus many master control board redundancies standby system |
CN101539897B (en) | 2010-10-13 | Multicomputer switching device and operation method thereof |
US9201833B2 (en) | 2015-12-01 | Backplane controller capable of transferring and receiving data through USB interface |
CN111813731B (en) | 2022-10-25 | Method, device, server and medium for reading memory information |
US9806959B2 (en) | 2017-10-31 | Baseboard management controller (BMC) to host communication through device independent universal serial bus (USB) interface |
US11366776B1 (en) | 2022-06-21 | Network device configuration based on slave device type |
CN109885457A (en) | 2019-06-14 | Indicate lamp control method, electronic equipment and computer readable storage medium |
CN118503179B (en) | 2024-10-25 | NVMe hard disk hot plug system and method based on Feiteng server |
CN106610712A (en) | 2017-05-03 | Substrate management controller reset system and method |
US20230050294A1 (en) | 2023-02-16 | Method and device for detecting hard disk connection and disconnection during a computer session |
CN109976489B (en) | 2021-04-27 | Automatic reset implementation method and system under IIC (inter-Integrated Circuit) bus abnormal condition |
CN104753720A (en) | 2015-07-01 | PCIE SWITCH-based multi-interface functional module |
CN110968352A (en) | 2020-04-07 | PCIE equipment resetting system and server system |
CN103412838A (en) | 2013-11-27 | Expansion system, communication method, address configuration method, equipment and device |
CN107678919B (en) | 2020-09-25 | Equipment state detection method and electronic equipment |
TWI630485B (en) | 2018-07-21 | Extensible host controller and operation method thereof |
CN108953205B (en) | 2020-06-23 | System and method for controlling rotating speed of server fan |
CN107066415B (en) | 2019-09-27 | A PCIE subsystem power control system and method for a multi-partition server system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2016-04-13 | C06 | Publication | |
2016-04-13 | PB01 | Publication | |
2016-05-11 | C10 | Entry into substantive examination | |
2016-05-11 | SE01 | Entry into force of request for substantive examination | |
2018-12-21 | RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160413 |
2018-12-21 | RJ01 | Rejection of invention patent application after publication |