Rainbow Electronics MAX11008 User Manual

Page 23

Advertising
background image

Register Address/Data Bytes (5-Byte Read Cycle)

A read cycle begins with the master issuing a START
condition followed by a 7-bit address, (see Figure 5
and Table 1) and a write bit (R/

W = 0) to instruct the

MAX11008 interface that it is about to receive data.
Once the slave address is recognized and the write bit
is received, the MAX11008 (I

2

C slave) issues an ACK

by pulling SDA low for one clock cycle. The master
then sends the register address byte (command byte)
to the slave. The MSB of the register address byte is
the read/write bit for the destination register address of
the slave and must be set to 1 for a read cycle (see the

Register Address Map

section). After this byte is

received, another acknowledge bit is sent to the master
from the slave. The master then issues a repeated
START (Sr) condition. Following a repeated START (Sr),
the master writes the slave address byte again with a
read bit (R/

W = 1). After a third acknowledge signal

from the slave, the data direction on the SDA bus
reverses and the slave writes the 2 data bytes (the

contents of the register that was addressed in the pre-
vious command byte) to the master. Finally, the master
issues a NACK followed by a STOP condition (P), end-
ing the read cycle. Figure 11 shows a complete 5-byte
read cycle.

Default Read Cycle (3-Byte Read Cycle)

The MAX11008 2-wire interface has a unique feature for
read commands. To avoid the necessity of sending 2
slave address bytes in one read cycle (see the 5-byte
read cycle in Figure 11), the MAX11008 2-wire interface
recognizes a single slave address byte with a read bit
(R/

W = 1). In this case, the interface outputs the con-

tents of the last read device register. This default read
feature is useful when the master must perform multiple
consecutive reads from the same device register.
Figure 11 shows a complete 3-byte read cycle.

MAX11008

Dual RF LDMOS Bias Controller with

Nonvolatile Memory

______________________________________________________________________________________

23

S

1

SLAVE

ADDRESS

SLAVE

ADDRESS

SLAVE

ADDRESS

A

7

1 1

W

COMMAND BYTE

8

P OR Sr

P OR Sr

1

5-BYTE READ CYCLE

NUMBER OF BITS

NUMBER OF BITS

A Sr

1

DATA BYTE

8

1

DATA BYTE

8

1

A

A

7

1 1

R

7

1

R

S

1

3-BYTE READ CYCLE

1

DATA BYTE

DATA BYTE

8

A

1

8

N

N

1

A

1

SLAVE TO MASTER

MASTER TO SLAVE

Figure 11. 5-Byte and 3-Byte Read Cycle

Advertising