Datasheet

9
SDA
SCL
St
Start
condition
1 7 8 1 8 9 1 8 9 9 Sp
Stop
condition
Slaveaddress R/W ACK DATA ACK DATA ACK ACK
R/W: Read o perationif1; otherwise, write operation
ACK: Acknowledgementofa byteif0, n ot Acknowledgementofabiteif1
DATA: 8 b its(byte) ,Detailsaredescribedinwriteandreadoperation .
PCM9211
www.ti.com
SBAS495 JUNE 2010
Packet Protocol
A master device must control the packet protocol, which consists of a start condition, slave address with
read/write bit, data if a write procedure is desired, or an acknowledgment if read and stop conditions exist. The
PCM9211 supports both slave receiver and transmitter functions. Details of the DATA pulse for both write and
read operations are described in Figure 40.
Figure 40. I
2
C Packet Protocol
Write Operation
The PCM9211 can only function as an I
2
C slave. A master can write to any PCM9211 registers using either
single or multiple accesses. The master sends a PCM9211 slave address with a write bit, a register address, and
the data. When undefined registers are accessed, the PCM9211 does not send an acknowledgment. Figure 41
illustrates the write operation. The register address and the write data are 8-bit, MSB-first format.
Transmitter M M M S M S M S M S S M
Data Type St slave W ACK reg ACK write ACK write ACK ACK Sp
address address data 1 data 2
M: Master Device S: Slave Device St: Start Condition W: Write ACK: Acknowledge Sp: Stop Condition
Figure 41. Framework for Write Operation
Read Operation
A master can read the PCM9211 registers. The value of the register address is stored in an indirect index
register in advance. The master sends the PCM9211 slave address with a read bit after storing the register
address. The PCM9211 then transfers the data to which the index register points. Figure 42 shows the read
operation.
Transmitter M M M S M S M M M S S M M
Data Type St slave W ACK reg address ACK Sr slave address R ACK read NACK Sp
address data
M: Master Device S: Slave Device St: Start Condition Sr: Repeated Start Condition W: Write R: Read
ACK: Acknowledge NACK: Not Acknowledge Sp: Stop Condition
Note: The slave address after the repeated start condition must be the same as the previous slave address.
Figure 42. Framework for Read Operation
Copyright © 2010, Texas Instruments Incorporated Submit Documentation Feedback 57
Product Folder Link(s): PCM9211