Atr1841 [preliminary, Two-wire interface (twi), 4 gain setting – Rainbow Electronics ATR1841 User Manual

Page 5

Advertising
background image

5

9103AS–DVD–08/07

ATR1841 [Preliminary]

6.

Two-wire Interface (TWI)

6.1

Slave Address

6.2

Data

6.3

Mode Setting

The first two bits select the mode/gain level.

6.4

Gain Setting

The last six bits are used to finely adjust the gain by ±6 dB

MSB

(ADS)

LSB

0

0

1

1

1

0

0

R/W = 0

Pin ADS = low (GND)

0

0

1

1

1

0

1

R/W = 0

Pin ADS = high (V

CC

)

MSB

LSB

m1

m2

g1

g2

g3

g4

g5

g6

Table 6-1.

Mode Selection Register

m1

m2

Mode Select

1

1

High gain

1

0

Middle gain

0

1

Low gain

0

0

Sleep

Table 6-2.

Gain Selection Register

g1

g2

g3

g4

g5

g6

Gain

1

1

1

1

1

1

+6 dB

1

0

0

0

0

0

0 dB

0

0

0

0

0

0

–6 dB

Advertising