Datasheet

PACKET PROTOCOL
SDA
SCL
SlaveAddress R/W
(1)
ACK
(2)
DATA
(3)
ACK DATA ACK
1to7 8 9 1to8 9 1to8 9
ACK
9
St
Start
Condition
Sp
Stop
Condition
WRITE OPERATION
Transmitter
DataType
St
M
SlaveAddress
M
W
M
ACK
S
RegAddress
M
ACK
S
WriteData1
M
ACK
S
WriteData2
M
ACK
S
ACK
S
Sp
M
READ OPERATION
Transmitter
M
St
M
SlaveAddress
M
W
S
ACK
M
RegAddress
S
ACK
M
Sr
M
SlaveAddress
M
R
S
ACK
S
ReadData
M
NACK
M
Sp
DataType
PCM1690
www.ti.com
.............................................................................................................................................. SBAS448A OCTOBER 2008 REVISED JANUARY 2009
A master device must control the packet protocol, which consists of a start condition, slave address with the
read/write bit, data if a write operation is required, acknowledgment if a read operation is required, and stop
condition. The PCM1690 supports both slave receiver and transmitter functions. Details about DATA for both
write and read operations are described in Figure 36 .
(1) R/ W: Read operation if '1'; write operation otherwise.
(2) ACK: Acknowledgment of a byte if '0', not Acknowledgment of a byte if '1'.
(3) DATA: Eight bits (byte); details are described in the Write Operation and Read Operation sections.
Figure 36. I
2
C Packet Control Protocol
The PCM1690 supports a receiver function. A master device can write to any PCM1690 register using single or
multiple accesses. The master sends a PCM1690 slave address with a write bit, a register address, and the
data. If multiple access is required, the address is that of the starting register, followed by the data to be
transferred. When valid data are received, the index register automatically increments by one. When the register
address reaches & h4F, the next value is & h40. When undefined registers are accessed, the PCM1690 does not
send an acknowledgment. Figure 37 illustrates a diagram of the write operation. The register address and write
data are in 8-bit, MSB-first format.
NOTE: M = Master device, S = Slave device, St = Start condition, W = Write, ACK = Acknowledge, and Sp = Stop condition.
Figure 37. Framework for Write Operation
A master device can read the registers of the PCM1690. The value of the register address is stored in an indirect
index register in advance. The master sends the PCM1690 slave address with a read bit after storing the register
address. Then the PCM1690 transfers the data that the index register points to. Figure 38 shows a diagram of
the read operation.
NOTE: M = Master device, S = Slave device, St = Start condition, Sr = Repeated start condition, W = Write, R = Read, ACK = Acknowledge,
NACK = Not acknowledge, and Sp = Stop condition.
NOTE: The slave address after the repeated start condition must be the same as the previous slave address.
Figure 38. Framework for Read Operation
Copyright © 2008 2009, Texas Instruments Incorporated Submit Documentation Feedback 25
Product Folder Link(s): PCM1690