DS4402N+

Acknowledgement (ACK and NACK): An Acknowledge-
ment (ACK) or Not Acknowledge (NACK) is always the
ninth 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 transmit-
ting a zero during the ninth bit. A device performs a
NACK by transmitting a one during the ninth bit. Timing
for the ACK and NACK is identical to all other bit writes
(Figure 4). 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 significant
bit first) plus a 1-bit acknowledgement from the slave to
the master. The 8 bits transmitted by the master 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 address byte sent immediately follow-
ing a START condition. The slave address byte contains
the slave address in the most significant 7 bits and the
R/W bit in the least significant bit. The DS4402/DS4404s’
slave address is determined by the state of the A0 and A1
address pins. Table 1 describes the addresses corre-
sponding to the state of A0 and A1.
When the R/W bit is 0 (such as in A0h), the master is
indicating it will write data to the slave. If R/W = 1 (A1h
in this case), the master is indicating it wants to read
from the slave. If an incorrect slave address is written,
the DS4402/DS4404 assume the master is communi-
cating with another I
2
C device and ignore the commu-
nication 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 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 gener-
ate a STOP condition. Remember that the master must
read the slave’s acknowledgement during all byte-write
operations.
Reading from a Slave: To read 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.
DS4402/DS4404
Two/Four-Channel, I
2
C Adjustable Current DAC
_____________________________________________________________________ 7
SCL
NOTE: TIMING IS REFERENCED TO V
IL(MAX)
AND V
IH(MIN)
.
SDA
STOP START REPEATED
START
t
BUF
t
HD:STA
t
HD:DAT
t
SU:DAT
t
SU:STO
t
HD:STA
t
SP
t
SU:STA
t
HIGH
t
R
t
F
t
LOW
Figure 3. I
2
C Timing Diagram
DS4402/DS4404
Two/Four-Channel, I
2
C Adjustable Current DAC
8 ______________________________________________________________________
Applications Information
Example Calculations
for an Adjustable Power Supply
Using the typical circuit, assuming a typical output volt-
age of 2.0V, a feedback voltage of 0.8V, R1 = 500Ω,
and R2 = 333Ω, to adjust or margin the supply 20%
requires a full-scale current equal to [(0.2 x 2.0V) /
500Ω = 800µA]. Using Equation 1, R
FS
can be calculat-
ed [R
FS
= (V
REF
/ 800µA) x (31 / 4) = 11.9kΩ]. The cur-
rent DAC in this configuration allows the output voltage
to be stepped linearly from 1.6V to 2.4V using 63 set-
tings. This corresponds to a resolution of 12.7mV/step.
Power-Supply Feedback Voltage
The feedback voltage for adjustable power supplies
must be between 0.5V and V
CC
- 0.5V for the DS4402/
DS4404 to properly sink/source currents for adjusting
the voltage.
I
2
C Reset on Address Change
In addition to defining the I
2
C slave address, the DS4402/
DS4404 address select inputs have an alternate function.
Changing the address select inputs resets the I
2
C inter-
face. This function aborts the current transaction and puts
the SDA driver into a high-impedance state. This hard-
ware reset function should never be required because it
is achievable through software, but it does provide an
alternative way of resetting the I
2
C interface, if needed.
V
CC
Decoupling
To achieve the best results when using the DS4402/
DS4404, decouple the power supply with a 0.01µF or
0.1µF capacitor. Use a high-quality ceramic surface-
mount capacitor if possible. Surface-mount compo-
nents minimize lead inductance, which improves
performance, and ceramic capacitors tend to have
adequate high-frequency response for decoupling
applications.
Layout Considerations
Care should be taken to ensure that traces underneath
the DS4402/DS4404 do not short with the exposed pad.
The exposed pad should be connected to the signal
ground, or can be left unconnected.
SLAVE
ADDRESS*
START
START
a7 a6 a5 a4 a3 a2 a1 R/W
SLAVE
ACK
SLAVE
ACK
SLAVE
ACK
MSB LSB MSB LSB MSB LSB
b7 b6 b5 b4 b3 b2 b1 b0
READ/
WRITE
REGISTER/MEMORY ADDRESS
b7 b6 b5 b4 b3 b2 b1 b0
DATA
STOP
SINGLE BYTE WRITE
-WRITE RESISTOR
F9h TO 00h
SINGLE BYTE READ
-READ RESISTOR F8h
START
REPEATED
START
A1h
MASTER
NACK
STOP
1 0100000
11111 000
F8h
10100 001
1 0100000
11111 001
A0h F9h
STOP
DATA
EXAMPLE I
2
C TRANSACTIONS (WHEN A0 AND A1 ARE N.C.)
TYPICAL I
2
C WRITE TRANSACTION
*THE SLAVE ADDRESS IS DETERMINED BY ADDRESS PINS A0 AND A1 (SEE TABLE 1).
00000000
A0h
A)
B)
SLAVE
ACK
SLAVE
ACK
SLAVE
ACK
SLAVE
ACK
SLAVE
ACK
SLAVE
ACK
Figure 4. I
2
C Communication Examples
Chip Information
TRANSISTOR COUNT: 10,992
Package Information
For the latest package outline information and land patterns, go
to www.maxim-ic.com/packages
.
PACKAGE TYPE PACKAGE CODE DOCUMENT NO.
14 TDFN-EP T1433+1
21-0137
DS4402/DS4404
Two/Four-Channel, I
2
C Adjustable Current DAC
Heaney
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 _____________________
9
© 2009 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc.
is a registered trademark of Dallas Semiconductor Corporation.
Revision History
REVISION
NUMBER
REVISION
DATE
DESCRIPTION
PAGES
CHANGED
0 4/06 Initial release.
1 8/06 In the Features, corrected the operating range from 1.7V to 5.5V to 2.7V to 5.5V. 1
2 10/08
Added the I/O capacitance (C
I/O
) parameter to the DC Electrical Characteristics
table.
2
3 5/09
In the Output Current Characteristics table, added V
OUT:SINK
= 0.5V;
V
OUT:SOURCE
= V
CC
= 0.8V to the I
OUT:FS
conditions.
2

DS4402N+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Digital to Analog Converters - DAC 2 Ch Adjustable
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet