DS1870
LDMOS RF Power-Amplifier Bias
Controller
____________________________________________________________________ 25
setup and hold time requirements (Figure 3). Data is
shifted into the device during the rising edge of the SCL.
Bit read: At the end a write operation, the master must
release the SDA bus line for the proper amount of setup
time (Figure 3) before the next rising edge of SCL dur-
ing a bit read. The device shifts out each bit of data on
SDA at the falling edge of the previous SCL pulse and
the data bit is valid at the rising edge of the current
SCL pulse. Remember that the master generates all
SCL clock pulses, including when it is reading bits from
the slave.
Acknowledgement (ACK and NACK): An acknowl-
edgement (ACK) or not acknowledge (NACK) is always
the 9th bit transmitted during a byte transfer. The
device receiving data (the master during a read or the
slave during a write operation) performs an ACK by
transmitting a zero during the 9th bit. A device per-
forms a NACK by transmitting a one during the 9th bit.
Timing (Figure 3) for the ACK and NACK is identical to
all other bit writes. An ACK is the acknowledgment that
the device is properly receiving data. A NACK is used
to terminate a read sequence or as an indication that
the device is not receiving data.
Byte write: A byte write consists of 8 bits of information
transferred from the master to the slave (most signifi-
cant bit first) plus a 1-bit acknowledgement from the
slave to the master. The 8 bits transmitted by the mas-
ter are done according to the bit write definition and the
acknowledgement is read using the bit read definition.
Byte read: A byte read is an 8-bit information transfer
from the slave to the master plus a 1-bit ACK or NACK
from the master to the slave. The 8 bits of information
that are transferred (most significant bit first) from the
slave to the master are read by the master using the bit
read definition above, and the master transmits an ACK
using the bit write definition to receive additional data
bytes. The master must NACK the last byte read to ter-
minated communication so the slave will return control
of SDA to the master.
Slave address byte: Each slave on the I
2
C bus
responds to a slave addressing byte sent immediately
following a start condition. The slave address byte
(Figure 4) contains the slave address in the most signifi-
cant 7 bits and the R/W bit in the least significant bit.
The DS1870’s slave address is 1010A
2
A
1
A
0
(binary),
where A
2
, A
1
, and A
0
are the values of the address
pins. The address pins allow the device to respond to
one of eight possible slave addresses. By writing the
correct slave address with R/W = 0, the master indi-
cates it will write data to the slave. If R/W = 1, the mas-
ter will read data from the slave. If an incorrect slave
address is written, the DS1870 assumes the master is
communicating with another I
2
C device and ignores the
communications until the next start condition is sent.
Memory address: During an I
2
C write operation, the
master must transmit a memory address to identify the
memory location where the slave is to store the data.
The memory address is always the second byte trans-
mitted during a write operation following the slave
address byte.
I
2
C Communication
Writing a single byte to a slave: The master must
generate a start condition, write the slave address byte
(R/W = 0), write the memory address, write the byte of
data, and generate a stop condition. Remember the
master must read the slave’s acknowledgement during
all byte write operations.
Writing multiple bytes to a slave: To write multiple
bytes to a slave, the master generates a start condition,
writes the slave address byte (R/W = 0), writes the
memory address, writes up to 8 data bytes, and gener-
ates a stop condition.
The DS1870 writes 1 to 8 bytes (1 page or row) with a
single write transaction. This is internally controlled by
an address counter that allows data to be written to
consecutive addresses without transmitting a memory
address before each data byte is sent. The address
counter limits the write to one 8-byte page (one row of
the memory map). Attempts to write to additional pages
of memory without sending a stop condition between
pages results in the address counter wrapping around
to the beginning of the present row.
Example: A 3-byte write starts at address 06h and
writes three data bytes (11h, 22h, and 33h) to three
“consecutive” addresses. The result is that addresses
06h and 07h would contain 11h and 22h, respectively,
and the third data byte, 33h, would be written to
address 00h.
To prevent address wrapping from occurring, the mas-
ter must send a stop condition at the end of the page,
then wait for the bus-free or EEPROM-write time to
elapse. Then the master can generate a new start con-
1 010
A
2
A
1
A
0
7-BIT SLAVE ADDRESS
MOST
SIGNIFICANT BIT
DETERMINES
READ OR WRITE
A
2
, A
1
, AND A
0
PIN VALUES
R/W
Figure 4. Slave Address Byte
DS1870
LDMOS RF Power-Amplifier Bias
Controller
26 ____________________________________________________________________
dition, and write the slave address byte (R/W = 0) and
the first memory address of the next memory row
before continuing to write data.
Acknowledge polling: Any time an EEPROM page is
written, the DS1870 requires the EEPROM write time
(t
W
) after the stop condition to write the contents of the
page to EEPROM. During the EEPROM write time, the
DS1870 will not acknowledge its slave address
because it is busy. It is possible to take advantage of
that phenomenon by repeatedly addressing the
DS1870, which allows the next page to be written as
soon as the DS1870 is ready to receive the data. The
alternative to acknowledge polling is to wait for maxi-
mum period of t
W
to elapse before attempting to write
again to the DS1870.
EEPROM write cycles: When EEPROM writes occur,
the DS1870 writes the whole EEPROM memory page,
even if only a single byte on the page was modified.
Writes that do not modify all 8 bytes on the page are
allowed and do not corrupt the remaining bytes of
memory on the same page. Because the whole page is
written, bytes on the page that were not modified dur-
ing the transaction are still subject to a write cycle. This
can result in a whole page being worn out over time by
writing a single byte repeatedly. Writing a page one
byte at a time wears the EEPROM out eight times faster
than writing the entire page at once. The DS1870’s
EEPROM write cycles are specified in the
Nonvolatile
Memory Characteristics
table. The specification shown
is at the worst-case temperature. It can handle approxi-
mately 10x that many writes at room temperature.
Writing to SRAM-shadowed EEPROM memory with SEE
= 1 does not count as an EEPROM write cycle when
evaluating the EEPROM’s estimated lifetime.
Reading a single byte from a slave: Unlike the write
operation that uses the memory address byte to define
where the data is to be written, the read operation occurs
at the present value of the memory address counter. To
read a single byte from the slave, the master generates a
start condition, writes the slave address byte with
R/W = 1, reads the data byte with a NACK to indicate the
end of the transfer, and generates a stop condition.
Manipulating the address counter for reads: A dummy
write cycle can be used to force the address counter to
a particular value. To do this, the master generates a
start condition, writes the slave address byte (R/W = 0),
writes the memory address where it desires to read, gen-
erates a repeated start condition, writes the slave
address byte (R/W = 1), reads data with ACK or NACK
as applicable, and generates a stop condition.
S
P
Sr
A
N
START
8 BITS ADDRESS OR DATA
REPEATED
START
STOP
ACK
NOT
ACK
WHITE BOXES INDICATE THE MASTER IS
CONTROLLING SDA
SHADED BOXES INDICATE THE SLAVE IS
CONTROLLING SDA
WRITE A SINGLE BYTE
WRITE UP TO AN 8-BYTE PAGE WITH A SINGLE TRANSACTION
READ A SINGLE BYTE WITH A DUMMY WRITE CYCLE TO MOVE THE ADDRESS COUNTER
READ MULTIPLE BYTES WITH A DUMMY WRITE CYCLE TO MOVE THE ADDRESS COUNTER
COMMUNICATIONS KEY
S
XX XX XX XX
1010 A
0
0
A
MEMORY ADDRESS
A
DATA
A P
S
1010 0
A
MEMORY ADDRESS
A
DATA
A
DATA
A P
S 1010 0 A
MEMORY ADDRESS
A Sr
10 1 0 A
0
1 A DATA N P
S 1010 0 A MEMORY ADDRESS A Sr 10 1 0 1 A DATA A
DATA
A
DATA
A DATA N P
NOTES:
1) ALL BYTES ARE SENT MOST SIGNIFICANT BIT FIRST.
2) THE FIRST BYTE SENT AFTER A START
CONDITION IS ALWAYS THE SLAVE ADDRESS,
FOLLOWED BY THE READ/WRITE BIT.
A
1
A
2
A
0
A
1
A
2
A
0
A
1
A
2
A
0
A
1
A
2
A
1
A
2
A
0
A
1
A
2
Figure 5. I
2
C Communications Examples
DS1870
LDMOS RF Power-Amplifier Bias
Controller
____________________________________________________________________ 27
See Figure 5 for a read example using the repeated
start condition to specify the starting memory location.
Reading multiple bytes from a slave: The read opera-
tion can be used to read multiple bytes with a single
transfer. When reading bytes from the slave, the master
simply ACKs the data byte if it desires to read another
byte before terminating the transaction. After the master
reads the last byte it NACKs to indicate the end of the
transfer and generates a stop condition. This can be
done with or without modifying the address counter’s
location before the read cycle. The DS1870’s address
counter does not wrap on page boundaries during read
operations, but the counter will roll from its upper most
memory address FFh to 00h if the last memory location
is read during the read transaction.
Application Information
Power-Supply Decoupling
To achieve best results, it is recommended that the power
supply is decoupled with a 0.01µF or a 0.1µF capacitor.
Use high-quality, ceramic, surface-mount capacitors, and
mount the capacitors as close as possible to the V
CC
and
GND pins to minimize lead inductance.
SDA
SCL
A2
A1
A0
FAULT
V
CC
GND
5V
5V REFERENCE
R
POT1
R
POT2
R
S2
R
S1
49.9kΩ
4.22kΩ
RF
POWER
AMP
RF
IN
RF
OUT
W
1
L
1
W
2
H
COM
L
2
N.C. N.C.
N.C.
N.C.
4.7kΩ
3 PLACES
28V
I
D1
I
D2
V
D
FACTORY-CALIBRATED 13-BIT ADC
(CUSTOMER ADJUSTABLE FULL-
SCALE AND OFFSET VALUES)
NOTES:
1) IN THIS CONFIGURATION, THE VOLTAGE RANGE OF W
1
AND W
2
IS
3V-5V. THIS RANGE CAN BE EXTENDED USING EXTERNAL RESISTORS.
2) ONE MAX6156B CAN BE USED WITH MULTIPLE DS1870s.
DS1870
MAX6165B
Typical Operating Circuit

DS1870E-010+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Special Purpose Amplifiers LDMOS RF Power-Amp Bias Controller
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet