max97001 Maxim Integrated Products, Inc., max97001 Datasheet - Page 32

no-image

max97001

Manufacturer Part Number
max97001
Description
Audio Subsystem With Mono Class D Speaker And Class H Headphone Amplifiers
Manufacturer
Maxim Integrated Products, Inc.
Datasheet
Audio Subsystem with Mono Class D Speaker
and Class H Headphone Amplifiers
Figure 10. Writing One Byte of Data to the MAX97001
Figure 11. Writing n-Bytes of Data to the MAX97001
Send the slave address with the R/W bit set to 1 to initiate
a read operation. The MAX97001 acknowledges receipt
of its slave address by pulling SDA low during the 9th
SCL clock pulse. A START command followed by a read
command resets the address pointer to register 0x00.
The first byte transmitted from the MAX97001 is the con-
tents of register 0x00. Transmitted data is valid on the
rising edge of SCL. The address pointer autoincrements
after each read data byte. This autoincrement feature
allows all registers to be read sequentially within one
continuous frame. A STOP condition can be issued after
any number of read data bytes. If a STOP condition is
issued followed by another read operation, the first data
byte to be read is from register 0x00.
The address pointer can be preset to a specific register
before a read command is issued. The master presets
32
S
ACKNOWLEDGE FROM MAX97001
S
SLAVE ADDRESS
SLAVE ADDRESS
ACKNOWLEDGE FROM MAX97001
R/W
0
A
R/W
ACKNOWLEDGE FROM MAX97001
0
REGISTER ADDRESS
Read Data Format
A
ACKNOWLEDGE FROM MAX97001
REGISTER ADDRESS
ACKNOWLEDGE FROM MAX97001
A
B7 B6
the address pointer by first sending the MAX97001’s
slave address with the R/W bit set to 0 followed by the
register address. A REPEATED START condition is then
sent followed by the slave address with the R/W bit set
to 1. The MAX97001 then transmits the contents of the
specified register. The address pointer autoincrements
after transmitting the first byte.
The master acknowledges receipt of each read byte
during the acknowledge clock pulse. The master must
acknowledge all correctly received bytes except the last
byte. The final byte must be followed by a not acknowl-
edge from the master and then a STOP condition. Figure
12 illustrates the frame format for reading one byte from
the MAX97001. Figure 13 illustrates the frame format for
reading multiple bytes from the MAX97001.
B5 B4
DATA BYTE 1
1 BYTE
B3 B2
REGISTER ADDRESS POINTER
AUTOINCREMENT INTERNAL
B1 B0
A
B7
A
B6
ACKNOWLEDGE FROM MAX97001
ACKNOWLEDGE FROM MAX97001
B5
B7 B6
DATA BYTE
B4
1 BYTE
B5 B4
B3
DATA BYTE n
1 BYTE
B2
REGISTER ADDRESS POINTER
B3 B2
AUTOINCREMENT INTERNAL
B1
B1 B0
B0
A
A
P
P

Related parts for max97001