Datasheet
Maxim Integrated
│
160
MAX98090 Ultra-Low Power Stereo Audio Codec
www.maximintegrated.com
Figure 48. Acknowledge Timing
Figure 50. Writing n-Bytes of Data to the MAX98090
Figure 49. Writing One Byte of Data to the MAX98090
Acknowledge
The acknowledge bit (ACK) is a clocked 9th bit that the
MAX98090 uses to handshake receipt each byte of data
when in write mode. The MAX98090 pulls down SDA
during the entire master-generated 9th clock pulse if the
previous byte is successfully received. Monitoring ACK
allows for detection of unsuccessful 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 retries
communication. The master pulls down SDA during the
9th clock cycle to acknowledge receipt of data when the
MAX98090 is in read mode. An acknowledge is sent by
the master after each read byte to allow data transfer to
continue. A not acknowledge is sent when the master
reads the final byte of data from the MAX98090, followed
by a STOP condition.
Write Data Format
A write to the MAX98090 includes transmission of a
START condition, the slave address with the R/W bit set
to 0, one byte of data to configure the internal register
address pointer, one or more bytes of data, and a STOP
condition. Figure 49 illustrates the proper frame format
for writing one byte of data to the MAX98090. Figure 50
illustrates the frame format for writing n-bytes of data to
the MAX98090.
1
SCL
START
CONDITION
SDA
289
CLOCK PULSE FOR
ACKNOWLEDGMENT
ACKNOWLEDGE
NOT ACKNOWLEDGE
ACKNOWLEDGE FROM MAX98090
SLAVE ADDRESS
REGISTER ADDRESS
DATA BYTE 1
AUTOINCREMENT INTERNAL REGISTER ADDRESS POINTER
1 BYTE
ACKNOWLEDGE FROM MAX98090
ACKNOWLEDGE FROM MAX98090
ACKNOWLEDGE FROM MAX98090
B7
B6
B5 B4
B3
B2 B1 B0
B7
B6 B5 B4
B3
B2 B1 B0
S
O
A
A
A
DATA BYTE n
1 BYTE
PA
R/W
1 BYTE
AUTOINCREMENT INTERNAL REGISTER ADDRESS POINTER
ACKNOWLEDGE FROM MAX98090
B7 B6
B5
B4
B3
B2 B1 B0
ACKNOWLEDGE FROM MAX98090
ACKNOWLEDGE FROM MAX98090
S
O
A
A
APSLAVE ADDRESS
R/W
REGISTER ADDRESS DATA BYTE