CN105488004A - I2C line multiplexing control logic method under startup and shutdown states of server - Google Patents

I2C line multiplexing control logic method under startup and shutdown states of server Download PDF

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
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
CN201510839440.0A
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.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics 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 Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN201510839440.0A priority Critical patent/CN105488004A/en
Publication of CN105488004A publication Critical patent/CN105488004A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0016Inter-integrated circuit (I2C)

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

A kind of I2C line sharing steering logic method under server on-off state
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.
CN201510839440.0A 2015-11-27 2015-11-27 I2C line multiplexing control logic method under startup and shutdown states of server Pending CN105488004A (en)

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 party
Publication 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 party
Publication 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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication 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 party
Publication 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) Multi-protocol communication on an I2C bus
CN105488004A (en) I2C line multiplexing control logic method under startup and shutdown states of server
US9170975B2 (en) High speed overlay of idle I2C bus bandwidth
US9645954B2 (en) Embedded microcontroller and buses
TWI556113B (en) Hot-pluggable computing system, computer-implemented method and system
CN104050061B (en) A kind of Based PC Ie bus many master control board redundancies standby system
CN111813731B (en) Method, device, server and medium for reading memory information
CN102081568B (en) Multi-motherboard server system
TW202013198A (en) Methods, server systems and computer-readable storage medium for fan speed control via pcie topology
US9806959B2 (en) Baseboard management controller (BMC) to host communication through device independent universal serial bus (USB) interface
US9256569B2 (en) Monitoring and managing storage drives and performing backplane controller firmware using a USB interface
US8954619B1 (en) Memory module communication control
US20150242355A1 (en) Backplane controller capable of transferring and receiving data through usb interface
US8392638B2 (en) Master-slave device communication circuit and ID address setting method thereof
US11709787B2 (en) Network device configuration based on slave device type
US20080288679A1 (en) Resetting a Hypertransport Link in a Blade Server
CN109976489B (en) Automatic reset implementation method and system under IIC (inter-Integrated Circuit) bus abnormal condition
CN110968352A (en) PCIE equipment resetting system and server system
CN102508759A (en) Embedded intelligent platform management system
CN103412838A (en) Expansion system, communication method, address configuration method, equipment and device
TWI630485B (en) Extensible host controller and operation method thereof
CN108953205B (en) System and method for controlling rotating speed of server fan
CN105068962A (en) I2C controller access method and I2C controller access system
CN102467226A (en) Multi-motherboard server with function of controlling electric power consumption and method of controlling electric power consumption
CN103095739A (en) Cabinet server system and node communication method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160413

RJ01 Rejection of invention patent application after publication