Intel
82801BA ICH2 Datasheet
5-121
Functional Description
5.17.1.1
Command Protocols
In all of the following commands, the Host Status Register (offset 00h) is used to determine the
progress of the command. While the command is in operation, the HOST_BUSY bit is set. If the
command completes successfully, the INTR bit is set in the Host Status Register. If the device does
not respond with an acknowledge and the transaction times out, the DEV_ERR bit is set. If
software sets the KILL bit in the Host Control Register while the command is running, the
transaction will stop and the FAILED bit will be set.
Quick Command
When programmed for a Quick Command, the Transmit Slave Address Register is sent. The
format of the protocol is shown in
Table 5-77
.
Send Byte / Receive Byte
For the Send Byte command, the Transmit Slave Address and Device Command Registers are sent
For the Receive Byte command, the Transmit Slave Address Register is sent. The data received is
stored in the DATA0 register.
The Receive Byte is similar to a Send Byte; the only difference is the direction of data transfer. The
format of the protocol is shown in
Table 5-78
.
Write Byte/Word
The first byte of a Write Byte/Word access is the command code. The next 1 or 2 bytes are the data
to be written. When programmed for a write byte/word command, the Transmit Slave Address,
Device Command and Data0 Registers are sent. In addition, the Data1 Register is sent on a write
word command. The format of the protocol is shown in
Table 5-79
.
Table 5-77. Quick Protocol
Bit
Description
1
Start Condition
2:8
Slave Address - 7 bits
9
Read / Write Direction
10
Acknowledge from slave
11
Stop
Table 5-78. Send / Receive Byte Protocol
Send Byte Protocol
Receive Byte Protocol
Bit
Description
Bit
Description
1
Start
1
Start
2:8
Slave Address - 7 bits
2:8
Slave Address - 7 bits
9
Write
9
Read
10
Acknowledge from slave
10
Acknowledge from slave
11:18
Command code - 8 bits
11:18
Data byte from slave
19
Acknowledge from slave
19
NOT Acknowledge
20
Stop
20
Stop
Powered by ICminer.com Electronic-Library Service CopyRight 2003