鼓勵此網誌:0
Introduction
I2C is an acronym for Inter Integrated Circuit bus. The I2C bus was de- veloped in the early 1980's by Philips semiconductors. It's purpose was to provide an easy way to connect a CPU to peripheral chips in a TV-set.
The BUS physically consists of 2 active wires and a ground connection. The active wires, SDA and SCL, are both bidirectional. Where SDA is the Serial DAta line and SCL is the Serial CLock line.
Every component hooked up to the bus has its own unique address whether it is a CPU, LCD driver, memory, or complex function chip. Each of these chips can act as a receiver and/or transmitter depending on it's func- tionality. Obviously an LCD driver is only a receiver, while a memory or I/O chip can both be transmitter and receiver. Furthermore there may be one or more BUS MASTER's.
The BUS MASTER is the chip issuing the commands on the BUS. In the I2C protocol specification it is stated that the IC that initiates a data transfer on the bus is considered the BUS MASTER. At that time all the others are regarded to as the BUS SLAVEs. As mentioned before, the IC bus is a Multi-MASTER BUS. This means that more than one IC capable of ini- tiating data transfer can be connected to it.
SMBus
The System Management Bus is a two-wire interface through which simple power-related chips can communicate with rest of the system. It uses I2C as its backbone (see iicbus(4)).
A system using SMB passes messages to and from devices instead of trip- ping individual control lines.
With the SMBus, a device can provide manufacturer information, tell the system what its model/part number is, save its state for a suspend event, report different types of errors, accept control parameters, and return its status.
The SMBus may share the same host device and physical bus as ACCESS bus components provided that an appropriate electrical bridge is provided be- tween the internal SMB devices and external ACCESS bus devices.
Supported interfaces
Various I2C and SMBus controllers drivers are provided by the iicbus framework:
- AMD 756 with amdpm(4)
- Intel ServerWorks with ichsmb(4)
- VIA family with viapm(4)
- Acer Aladdin VI/V/Pro2 with alpm(4)
- Intel PIIX4 interface with intpm(4)
- Philips PCF8584 master/slave interface with pcf(4)
- Generic bit-banging master-only driver with iicbb(4)
- Parallel port specific bit-banging interface lpbb(4)
- Brooktree848 video chipset, hardware and software master-only interface with bktr(4)

































































