# US 2008/0307134 A1 · I2C bus interface and protocol for thermal and power management support

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0307134 A1
- Document ID: US20080307134A1
- Status: Published application
- Kind: A1
- Application number: 11/758,158
- Filed: 2007-06-05
- Published: 2008-12-11
- Earliest claimed: 2007-06-05
- Inventors: Andrew J. Geissler; Michael C. Hollinger; Martha A. Broyles; Todd J. Rosedahl; Hye-Young McCreary; Andreas Bieswanger
- Web page: https://patentgrep.com/patent/US20080307134A1

## CPC

- G06F 13/4291: {using a clocked protocol}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, apparatus and computer instructions are provided for controlling communications between controller devices over an I2C bus hardware interface and a separate communication line, such as a GPIO line. With thermal/power management firmware installed on a system controller device, communications between the system controller device and a real time embedded controller device are sent using a predefined protocol whereby the system controller generates commands to the embedded controller by first performing an I2C write with a command packet, followed immediately thereafter by an I2C read to get the return packet. The embedded controller processes the command and returns the response to the I2C read. In addition, the embedded controller is able to make the system controller aware that it has a communication request by interrupting the system controller by asserting the separate communication line, in response to which the system controller issues a status request command to the embedded controller.

## Claims

### Claim 1

A method for controlling communications between a master station controller and one or more slave station controllers, each of which is connected to the master station controller with an I2C bus and a separate communication line, comprising:
sending a command from a master station controller over the I2C bus to a slave station controller by performing in sequence an I2C write operation and an I2C read operation to the slave station controller;
receiving within a first timeout interval a response to the command over the I2C bus from the slave station controller after the slave station controller processes the command;
resending the command from the master station controller over the I2C bus to the slave station controller if a response is not received at the master station controller within the first timeout interval; and
receiving within a second timeout interval a response to the command that was resent by the master station controller, or else logging an error if no response to the command is received within the second timeout interval.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving a communication request from a slave station controller at a master station controller when the separate communication line between the master station controller and a slave station controller is asserted; and
responding to the communication request by sending a status request command from the master station controller over the I2C bus to the slave station controller by performing in sequence an I2C write operation and an I2C read operation to the slave station controller.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
receiving within the first timeout interval a response to the status request command over the I2C bus from the slave station controller after the slave station controller processes the status request command; and
receiving a reset request from a slave station controller at a master station controller when the separate communication line between the master station controller and a slave station controller is cleared.

### Claim 4 (depends on 1)

The method of claim 1, where sending a command comprises sending a status request command to obtain status information from the slave station controller.

### Claim 5 (depends on 1)

The method of claim 1, where sending a command comprises sending an error log command to obtain or clear an error log from the slave station controller.

### Claim 6 (depends on 1)

The method of claim 1, where sending a command comprises sending a set command to set a state or power management mode for the slave station controller.

### Claim 7 (depends on 1)

The method of claim 1, where sending a command comprises sending a setup command to configure one or more sensors or regulators that are controlled by the slave station controller.

### Claim 8 (depends on 1)

The method of claim 1, where sending a command comprises sending a data download command to download data to the slave station controller.

### Claim 9 (depends on 1)

The method of claim 1, where sending a command comprises sending an interface test command for testing an interface to one or more sensors or regulators that are controlled by the slave station controller.

### Claim 10 (depends on 1)

The method of claim 1, where sending a command comprises generating a command packet comprising a sequence number field, a command type field, a data length field, a command data field and an error correction field.

### Claim 11 (depends on 1)

The method of claim 1, where sending a command comprises sending a plurality of commands from a master station controller over the I2C bus to a slave station controller when a response from the slave station controller indicates that the response exceeds a predetermined size limit.

### Claim 12

A computer-usable medium embodying computer program code, the computer program code comprising computer executable instructions configured for controlling communications between a master station controller and one or more slave station controllers, each of which is connected to the master station controller with an I2C bus and a separate communication line, by:
sending a command from a master station controller over the I2C bus to a slave station controller by performing in sequence an I2C write operation and an I2C read operation to the slave station controller;
receiving within a first timeout interval a response to the command over the I2C bus from the slave station controller after the slave station controller processes the command;
resending the command from the master station controller over the I2C bus to the slave station controller if a response is not received at the master station controller within the first timeout interval; and
receiving within a second timeout interval a response to the command that was resent by the master station controller, or else logging an error if no response to the command is received within the second timeout interval.

### Claim 13 (depends on 12)

The computer-usable medium of claim 12, wherein the embodied computer program code further comprises computer executable instructions configured for:
receiving a communication request from a slave station controller at a master station controller when the separate communication line between the master station controller and a slave station controller is asserted; and
responding to the communication request by sending a status request command from the master station controller over the I2C bus to the slave station controller by performing in sequence an I2C write operation and an I2C read operation to the slave station controller.

### Claim 14 (depends on 13)

The computer-usable medium of claim 13, wherein the embodied computer program code further comprises computer executable instructions configured for:
receiving within the first timeout interval a response to the status request command over the I2C bus from the slave station controller after the slave station controller processes the status request command; and
receiving a reset request from a slave station controller at a master station controller when the separate communication line between the master station controller and a slave station controller is cleared.

### Claim 15 (depends on 12)

The computer-usable medium of claim 12, where sending a command comprises:
sending a status request command to obtain status information from the slave station controller, or
sending an error log command to obtain or clear an error log from the slave station controller, or
sending a set command to set a state or power management mode for the slave station controller, or
sending a setup command to configure one or more sensors or regulators that are controlled by the slave station controller, or
sending a data download command to download data to the slave station controller, or
sending an interface test command for testing an interface to one or more sensors or regulators that are controlled by the slave station controller, or
generating a command packet comprising a sequence number field, a command type field, a data length field, a command data field and an error correction field, or
sending a plurality of commands from a master station controller over the I2C bus to a slave station controller when a response from the slave station controller indicates that the response exceeds a predetermined size limit.

### Claim 16

A data processing system comprising:
a processor;
a data bus coupled to the processor; and
a computer-usable medium embodying computer program code, the computer-usable medium being coupled to the data bus, the computer program code comprising instructions executable by the processor and configured for controlling communications between a master station controller and one or more slave station controllers, each of which is connected to the master station controller with an I2C bus and a separate communication line, by:
sending a command from a master station controller over the I2C bus to a slave station controller by performing in sequence an I2C write operation and an I2C read operation to the slave station controller;
receiving within a first timeout interval a response to the command over the I2C bus from the slave station controller after the slave station controller processes the command;
resending the command from the master station controller over the I2C bus to the slave station controller if a response is not received at the master station controller within the first timeout interval; and
receiving within a second timeout interval a response to the command that was resent by the master station controller, or else logging an error if no response to the command is received within the second timeout interval.

### Claim 17 (depends on 16)

The data processing system of claim 16, the computer program code further comprising instructions executable by the processor and configured for controlling communications between a master station controller and one or more slave station controllers by:
receiving a communication request from a slave station controller at a master station controller when the separate communication line between the master station controller and a slave station controller is asserted; and
responding to the communication request by sending a status request command from the master station controller over the I2C bus to the slave station controller by performing in sequence an I2C write operation and an I2C read operation to the slave station controller.

### Claim 18 (depends on 17)

The data processing system of claim 17, the computer program code further comprising instructions executable by the processor and configured for controlling communications between a master station controller and one or more slave station controllers by:
receiving within the first timeout interval a response to the status request command over the I2C bus from the slave station controller after the slave station controller processes the status request command; and
receiving a reset request from a slave station controller at a master station controller when the separate communication line between the master station controller and a slave station controller is cleared.

### Claim 19 (depends on 16)

The data processing system of claim 16, where sending a command comprises:
sending a status request command to obtain status information from the slave station controller, or
sending an error log command to obtain or clear an error log from the slave station controller, or
sending a set command to set a state or power management mode for the slave station controller, or
sending a setup command to configure one or more sensors or regulators that are controlled by the slave station controller, or
sending a data download command to download data to the slave station controller, or
sending an interface test command for testing an interface to one or more sensors or regulators that are controlled by the slave station controller, or
generating a command packet comprising a sequence number field, a command type field, a data length field, a command data field and an error correction field, or
sending a plurality of commands from a master station controller over the I2C bus to a slave station controller when a response from the slave station controller indicates that the response exceeds a predetermined size limit.

### Claim 20 (depends on 16)

The data processing system of claim 16, where the separate communication line comprises a GPIO pin which is used to connect the master station controller to a slave station controller.
