Maxim MAX9778, MAX9777 manual Early Stop Condition, ADD Connection 2C Address

Page 15

Stereo 3W Audio Power Amplifiers with Headphone Drive and Input Mux

Early STOP Conditions The MAX9777 recognizes a STOP condition at any point during the transmission except if a STOP condi- tion occurs in the same high pulse as a START condi- tion (Figure 5). This condition is not a legal I2C format; at least one clock pulse must separate any START and STOP condition.

REPEATED START Conditions

AREPEATED START (Sr) condition may indicate a change of data direction on the bus. Such a change occurs when a command word is required to initiate a

read operation. Sr may also be used when the bus master is writing to several I2C devices and does not want to relinquish control of the bus. The MAX9777 ser- ial interface supports continuous write operations with or without an Sr condition separating them. Continuous read operations require Sr conditions because of the change in direction of data flow.

SCL

SDA

STOPSTART

LEGAL STOP CONDITION

SCL

SDA

STARTILLEGAL

STOP

ILLEGAL EARLY STOP CONDITION

Figure 5. Early STOP Condition

Acknowledge Bit (ACK) The acknowledge bit (ACK) is the ninth bit attached to any 8-bit data word. The receiving device always gen- erates ACK. The MAX9777 generates an ACK when receiving an address or data by pulling SDA low during the night clock period. When transmitting data, the MAX9777 waits for the receiving device to generate an ACK. Monitoring ACK allows for detection of unsuc- cessful data transfers. An unsuccessful data transfer occurs if a receiving device is busy or if a system fault has occurred. In the event of an unsuccessful data transfer, the bus master should reattempt communica- tion at a later time.

Slave Address The bus master initiates communication with a slave device by issuing a START condition followed by a 7-bit slave address (Figure 6). When idle, the MAX9777 waits for a START condition followed by its slave

address. The LSB of the address word is the Read/Write (R/W) bit. R/W indicates whether the master

is writing to or reading from the MAX9777 (R/W = 0 selects the write condition, R/W = 1 selects the read condition). After receiving the proper address, the MAX9777 issues an ACK by pulling SDA low for one clock cycle.

The MAX9777 has a factory-/user-programmed address. Address bits A6–A2 are preset, while A0 and A1 is set by ADD. Connect ADD to either VDD, GND, SCL, or SDA to change the last 2 bits of the slave address (Table 2).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S

A6

A5

A4

A3

A2

A1

A0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 6. Slave Address Byte Definition

Table 2. MAX9777 I2C Slave Addresses

ADD CONNECTION

I2C ADDRESS

GND

100 1000

 

 

VDD

100 1001

SDA

100 1010

 

 

SCL

100 1011

MAX9777/MAX9778

______________________________________________________________________________________ 15

Image 15
Contents MAX9778ETI+ Part Control PIN PKG Interface Package Code MAX9777ETI+Output Amplifiers Speaker MODE, HPS = GND Parameter Symbol Conditions MIN TYP MAX UnitsBias Voltage Bias Digital Inputs MUTE, SHDN, HPSEN, GAINA/B, IN1/2Headphone Sense Input HPS Timing Characteristics MAX9777 Total Harmonic Distortion Plus Noise Typical Operating CharacteristicsMAX9777/MAX9778 Entering Shutdown Speaker Mode RL = 32Ω Headphone Mode Power PIN Name Function Pin DescriptionInput Multiplexer Headphone Sense EnableInputs Gain Mode Hpsd SPKR/HP HPS Path BIT Detailed DescriptionInputs Mode Gain Path Hpsen HPS MAX9778 HPS SettingDigital Interface Wire Serial-Interface Timing DiagramADD Connection 2C Address Early Stop ConditionBIT Name Value Description RegisterAddress BIT Name Value Description Register AddressMAX9777 Control Register Format Single-Ended Headphone Amplifier Power Dissipation and Heat SinkingApplications Information BTL Speaker AmplifiersReducing Cout by Adding Rseries Component SelectionLayout and Grounding Gain SelectMAX9777 Typical Application CircuitsMAX9778 Pvdd Functional DiagramsPV DD Thin QFN Pin ConfigurationsPackage Information MAX9777/MAX9778