Electronic Components Datasheet Search
  English  ▼

X  

DS4520 Datasheet(PDF) 9 Page - Maxim Integrated Products

Part # DS4520
Description  9-Bit I2C Nonvolatile I/O Expander Plus Memory
PDF  11 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MAXIM [Maxim Integrated Products]
Direct Link  https://www.maximintegrated.com/en.html
Logo MAXIM - Maxim Integrated Products

DS4520 Datasheet(HTML) 9 Page - Maxim Integrated Products

Back Button DS4520 Datasheet HTML 3Page - Maxim Integrated Products DS4520 Datasheet HTML 4Page - Maxim Integrated Products DS4520 Datasheet HTML 5Page - Maxim Integrated Products DS4520 Datasheet HTML 6Page - Maxim Integrated Products DS4520 Datasheet HTML 7Page - Maxim Integrated Products DS4520 Datasheet HTML 8Page - Maxim Integrated Products DS4520 Datasheet HTML 9Page - Maxim Integrated Products DS4520 Datasheet HTML 10Page - Maxim Integrated Products DS4520 Datasheet HTML 11Page - Maxim Integrated Products  
Zoom Inzoom in Zoom Outzoom out
 9 / 11 page
background image
I2C 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 condi-
tion, 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 DS4520 is capable of writing up to 8 bytes (one 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.
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. The first row begins at address 00h and sub-
sequent rows begin at multiples of 8 there on (08h, 10h,
18h, 20h, etc).
To prevent address wrapping from occurring, the mas-
ter must send a stop condition at the end of the page,
and then wait for the bus free or EEPROM write time to
elapse. Then the master can generate a new start condi-
tion, write the slave address byte (R/W = 0), and the first
memory address of the next memory row before continu-
ing to write data.
Acknowledge Polling: Any time an EEPROM page is
written, the DS4520 requires the EEPROM write time
(tW) after the stop condition to write the contents of
the page to EEPROM. During the EEPROM write time,
the device does not acknowledge its slave address
because it is busy. It is possible to take advantage of this
phenomenon by repeatedly addressing the DS4520,
which allows communication to continue as soon as the
device is ready. The alternative to acknowledge polling
is to wait for a maximum period of tW to elapse before
attempting to access the device.
EEPROM Write Cycles: When EEPROM writes occur,
the DS4520 writes the whole EEPROM memory page
even if only a single byte on a page was modified.
Writes that do not modify all 8 bytes on the page are
valid and do not corrupt any other bytes on the same
page. Because the whole page is written, even bytes
on the page that were not modified during the trans-
action are still subject to a write cycle. The DS4520’s
EEPROM write cycles are specified in the Nonvolatile
Memory Characteristics table. The specification shown is
at the worst-case temperature. It is capable of handling
approximately 10x that many writes at room temperature.
Reading a Single Byte from a Slave: Unlike the write
operation that uses the specified memory address byte
to define where the data is to be written, the read opera-
tion 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.
However, since requiring the master to keep track of the
memory address counter is impractical, the following
method should be used to perform reads from a specified
memory location.
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, generates
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.
See Figure 3 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 must NACK to indicate the end of the
transfer and generates a stop condition.
Applications Information
Power-Supply Decoupling
To achieve best results, it is highly recommended that a
decoupling capacitor is used on the IC power-supply pins.
Typical values of decoupling capacitors are 0.01µF and
0.1µF. Use a high-quality, ceramic, surface-mount capaci-
tor, and mount it as close as possible to the VCC and GND
pins of the IC to minimize lead inductance.
DS4520
9-Bit I2C Nonvolatile
I/O Expander Plus Memory
www.maximintegrated.com
Maxim Integrated │ 9



Html Pages

1 2 3 4 5 6 7 8 9 10 11


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com