ds1841nt-r Maxim Integrated Products, Inc., ds1841nt-r Datasheet - Page 14

no-image

ds1841nt-r

Manufacturer Part Number
ds1841nt-r
Description
Ds1841 - New! - Temperature-controlled, Nv, I?c, Logarithmic Resistor
Manufacturer
Maxim Integrated Products, Inc.
Datasheet
Temperature-Controlled, NV, I
Logarithmic Resistor
Figure 3. I 2 C Timing Diagram
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, 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 terminate
communication so the slave returns control of SDA to
the master.
Slave address byte: Each slave on the I
responds to a slave address byte sent immediately fol-
lowing a START condition. The slave address byte con-
tains the slave address in the most significant 7 bits
and the R/W bit in the least significant bit.
The DS1841’s slave address is determined by the state
of the A0 and A1 address pins as shown in Figure 2.
Address pins tied to GND result in a 0 in the corre-
sponding bit position in the slave address. Conversely,
address pins tied to V
sponding bit positions.
When the R/W bit is 0 (such as in 50h), the master is
indicating that it will write data to the slave. If R/W = 1
(51h in this case), the master is indicating that it wants
to read from the slave.
14
SDA
SCL
NOTE: TIMING IS REFERENCE TO V
______________________________________________________________________________________
STOP
t
BUF
START
IL(MAX)
CC
t
t
HD:STA
LOW
AND V
result in a 1 in the corre-
IH(MIN)
.
t
R
t
HD:DAT
t
F
t
HIGH
2
C bus
t
SU:DAT
If an incorrect slave address is written, the DS1841
assumes the master is communicating with another I
device and ignores the communication until the next
START condition is sent.
Memory address: During an I
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.
Writing a single byte to a slave: The master must gen-
erate 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 acknowledgment during
all byte write operations.
When writing to the DS1841, the potentiometer adjusts to
the new setting once it has acknowledged the new data
that is being written, and the EEPROM is written following
the STOP condition at the end of the write command. To
change the setting without changing the EEPROM, termi-
nate the write with a repeated START condition before
the next STOP condition occurs. Using a repeated
START condition prevents the t
EEPROM write cycle to finish.
REPEATED
START
2
t
SU:STA
C,
t
HD:STA
I
2
W
2
C Communication
C write operation, the
delay required for the
t
SP
t
SU:STO
2
C

Related parts for ds1841nt-r