datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

DS4402 View Datasheet(PDF) - Dallas Semiconductor -> Maxim Integrated

Part Name
Description
View to exact match
DS4402
Dallas
Dallas Semiconductor -> Maxim Integrated Dallas
DS4402 Datasheet PDF : 8 Pages
1 2 3 4 5 6 7 8
Two/Four-Channel, I2C Adjustable Current DAC
Memory Organization
To control the DS4402/DS4404s current sources, write
to the memory addresses listed in Table 2.
Table 2. Memory Addresses
MEMORY ADDRESS
(HEXADECIMAL)
F8h
F9h
FAh*
FBh*
*Only for DS4404.
CURRENT SOURCE
OUT0
OUT1
OUT2*
OUT3*
The format of each output control register is given by:
MSB
S
X
LSB
X
D4
D3
D2
D1
D0
Where:
BIT NAME
FUNCTION
POWER-ON
DEFAULT
Determines if DAC sources
S Sign Bit or sinks current. For sink
0b
S = 0, for source S = 1.
X Reserved Reserved. Both bits read
zero.
5-Bit Data Word Controlling
DAC Output. Setting 00000b
DX Data outputs zero current
regardless of the state of the
sign bit.
00b
00000b
Example: IFS0 = 800µA, and register F8h is written to a
value of 92h. Calculate the value of external resistance
required, and the magnitude of the output current with
this register setting.
RFS = (VREF / 800µA) x (31 / 4) = 11.9k
The MSB of the output register is 1, so the output is
sourcing the value corresponding to position 12h (18
decimal). The magnitude of the output current is equal to:
800µA x (18 / 31) = 465µA
I2C Serial Interface Description
I2C Definitions
The following terminology is commonly used to describe
I2C data transfers:
Master Device: The master device controls the slave
devices on the bus. The master device generates SCL
clock pulses, START and STOP conditions.
Slave Devices: Slave devices send and receive data
at the masters request.
Bus Idle or Not Busy: Time between STOP and START
conditions when both SDA and SCL are inactive and in
their logic-high states. When the bus is idle it often initi-
ates a low-power mode for slave devices.
START Condition: A START condition is generated by
the master to initiate a new data transfer with a slave.
Transitioning SDA from high to low while SCL remains
high generates a START condition. See Figure 3 for
applicable timing.
STOP Condition: A STOP condition is generated by the
master to end a data transfer with a slave. Transitioning
SDA from low to high while SCL remains high generates
a STOP condition. See Figure 3 for applicable timing.
Repeated START Condition: The master can use a
repeated START condition at the end of one data trans-
fer to indicate that it will immediately initiate a new data
transfer following the current one. Repeated starts are
commonly used during read operations to identify a spe-
cific memory address to begin a data transfer. A repeat-
ed START condition is issued identically to a normal
START condition. See Figure 3 for applicable timing.
Bit Write: Transitions of SDA must occur during the low
state of SCL. The data on SDA must remain valid and
unchanged during the entire high pulse of SCL, plus the
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 of 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
during 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.
6 ______________________________________________________________________
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]