beautypg.com

Table 1. setup byte format – Rainbow Electronics MAX11645 User Manual

Page 14

background image

MAX11644/MAX11645

Low-Power, 1-/2-Channel, I

2

C, 12-Bit ADCs

in Ultra-Tiny 1.9mm x 2.2mm Package

14

______________________________________________________________________________________

Configuration/Setup Bytes (Write Cycle)

A write cycle begins with the bus master issuing a
START condition followed by seven address bits
(Figure 7) and a write bit (R/W = 0). If the address byte
is successfully received, the MAX11644/MAX11645
(slave) issues an acknowledge. The master then writes
to the slave. The slave recognizes the received byte as
the set-up byte (Table 1) if the most significant bit
(MSB) is 1. If the MSB is 0, the slave recognizes that
byte as the configuration byte (Table 2). The master

can write either one or two bytes to the slave in any
order (setup byte, then configuration byte; configura-
tion byte, then setup byte; setup byte or configuration
byte only; Figure 9). If the slave receives a byte suc-
cessfully, it issues an acknowledge. The master ends
the write cycle by issuing a STOP condition or a repeat-
ed START condition. When operating in HS mode, a
STOP condition returns the bus into F/S mode (see the

HS Mode

section).

B) TWO-BYTE WRITE CYCLE

SLAVE TO MASTER

MASTER TO SLAVE

S

1

SLAVE ADDRESS

A

7

1 1

W

SETUP OR

CONFIGURATION BYTE

SETUP OR

CONFIGURATION BYTE

8

P OR Sr

1

A

1

MSB DETERMINES WHETHER

SETUP OR CONFIGURATION BYTE

S

1

SLAVE ADDRESS

A

7

1 1

W

SETUP OR

CONFIGURATION BYTE

8

P OR Sr

1

A

1

MSB DETERMINES WHETHER

SETUP OR CONFIGURATION BYTE

A

1

8

A) ONE-BYTE WRITE CYCLE

NUMBER OF BITS

NUMBER OF BITS

Figure 9. Write Cycle

BIT 7

(MSB)

BIT 6

BIT 5

BIT 4

BIT 3

BIT 2

BIT 1

BIT 0

(LSB)

REG

SEL2

SEL1

SEL0

CLK

BIP/UNI

RST

X

BIT

NAME

DESCRIPTION

7

REG

Register bit. 1 = setup byte, 0 = configuration byte (Table 2).

6

SEL2

5

SEL1

4

SEL0

Three bits select the reference voltage (Table 6).
Default to 000 at power-up.

3

CLK

1 = external clock, 0 = internal clock. Defaults to 0 at power-up.

2

BIP/UNI

1 = bipolar, 0 = unipolar. Defaults to 0 at power-up (see the Unipolar/Bipolar section).

1

RST

1 = no action, 0 = resets the configuration register to default. Setup register remains unchanged.

0

X

Don’t-care bit. This bit can be set to 1 or 0.

Table 1. Setup Byte Format