Table 6−1 lists the definitions used by the I 2C protocol.
| Table 6−1. I 2C Protocol Definitions |
DEFINITION | DESCRIPTION |
|
|
Transmitter | The device that sends data |
|
|
Receiver | The device that receives data |
|
|
Master | The device that initiates a transfer, generates clock signals, and terminates the transfer |
|
|
Slave | The device addressed by the master |
|
|
Multimaster | More than one master can attempt to control the bus at the same time without corrupting the message. |
|
|
Arbitration | Procedure to ensure the message is not corrupted when two masters attempt to control the bus. |
|
|
Synchronization | Procedure to synchronize the clock signals of two or more devices |
6.3 Operation
The
Table 6−2. I 2C Address Byte Table
I2C ADDRESS BYTE | A6 − A1 | CS1 (A0) |
|
|
|
R/W |
| ||||
68h | 011010 | 0 | 0 |
| |
|
|
|
|
| |
69h | 011010 | 0 | 1 |
| |
|
|
|
|
| |
6Ah | 011010 | 1 | 0 |
| |
|
|
|
|
| |
6Bh | 011010 | 1 | 1 |
| |
|
|
|
|
|
|
6.3.1Write Cycle Example
Start
Slave Address
R/W
A
Subaddress
A
Data
A
Stop
|
| FUNCTION | DESCRIPTION |
|
|
|
|
Start | Start condition as defined in I2C | ||
Slave address | 0110100 (CS1 = 0) | ||
|
| ||
|
|
| 0 (write) |
R/W |
| ||
|
| ||
A | Acknowledgement as defined in I2C (slave) | ||
Subaddress (treble control register) | 0000 0101 | ||
|
| ||
Data (0 dB gain) | 0111 0010 | ||
|
| ||
Stop | Stop condition as defined in I2C |
NOTE: Table is for serial data (SDA); serial clock (SCL) is not shown but conditions apply as well.
Whenever writing to a subaddress, the correct number of data bytes must follow in order to complete the write cycle. For example, if the volume control register with subaddress 04h is written to, six bytes of data must follow; otherwise, the cycle is incomplete and errors occur.
6−2