cy8c9520 Cypress Semiconductor Corporation., cy8c9520 Datasheet - Page 3

no-image

cy8c9520

Manufacturer Part Number
cy8c9520
Description
20-, 40-, And 60-bit I/o Expander With Eeprom
Manufacturer
Cypress Semiconductor Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cy8c9520-24PVXI
Manufacturer:
CY
Quantity:
5
Part Number:
cy8c9520A-24PVXI
Manufacturer:
LT
Quantity:
1 378
Part Number:
cy8c9520A-24PVXI
Manufacturer:
CYPRESS/赛普拉斯
Quantity:
20 000
CY8C95xx Preliminary Data Sheet
Device Access Addressing
Following a start condition, the I2C master device sends a byte
to address an I2C slave. This address selects the device to be
accessed in the CY8C95xx. By default there are two possible
address formats in binary representation: 010000A0X and
101000A0X. The first is used to access the multi-port device
and the second to access the EEPROM. If additional address
lines (A1-A6) are used then the Device Addressing Table 1-2
defines the device addresses. This addressing method uses a
technique called Extendable Soft Addressing™, described later
in this document.
Table 1-2. Device Addressing
When all address lines A1-A6 are used, the device being
accessed is defined by the first byte following the address in the
write transaction. If the most significant bit (MSb) of this byte is
‘0’, this byte is treated as a command (register address) byte of
the multi-port device. If the MSb is ‘1’, this byte is the first of a 2-
byte EEPROM address. In this case, the device will mask the
MSb to determine the EEPROM address.
Serial EEPROM Device
EEPROM reading and writing operations require 2 bytes, AHI
and ALO, which indicate which memory address to use.
To read one or more bytes, the master device addresses the
unit with a write cycle (= 0) to send AHI followed by ALO, read-
dresses the unit with a read cycle (= 1), and reads one or more
data bytes. Each data byte read will increment the internal
address counter by one up to the end of the EEPROM address
space. A read or write beyond the end of the EEPROM address
space should result in a NAK response by the Port Expander.
To write data to the EEPROM, the master device performs one
write cycle, with the first two bytes being AHI followed by ALO.
This is followed by one or more data bytes. In the case of block
writing it is advisable to set the starting address on the begin-
ning of the 64-byte boundary, for example 01C0h or 0080h, but
this is not mandatory. When a 64-byte boundary is crossed in
the EEPROM, the I2C clock is stretched while the device per-
forms an EEPROM write sequence. If the end of available
EEPROM space is reached, then further writes will be
responded to with a NAK.
Refer to
page
dures for the EEPROM device.
August 17, 2005
01
A
0
0
0
0
0
6
A
A
1
1
1
1
10, which illustrates memory reading and writing proce-
5
5
A
A
A
Multi-Port Device
0
0
0
0
4
4
4
Figure 2-2, “Memory Reading and Writing,” on
A
A
A
A
0
0
0
3
3
3
3
A
A
A
A
A
0
0
2
2
2
2
2
A
A
A
A
A
A
0
1
1
1
1
1
1
A
A
A
A
A
A
A
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W A
1
1
1
1
1
1
6
A
A
0
0
0
0
0
5
5
A
A
A
1
1
1
1
EEPROM Device
4
4
4
A
A
A
A
0
0
0
3
3
3
3
A
A
A
A
A
0
0
Document No. 38-12036 Rev. *A
2
2
2
2
2
A
A
A
A
A
A
0
1
1
1
1
1
1
A
A
A
A
A
A
A
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Multi-Port I/O Device
This device allows the user to set various configurations and I/O
operations through internal registers.
Each data transfer is preceded by the command byte. This byte
is used as a pointer to a register that will receive or transmit
data. Available registers are listed in
Register Address Map,” on page
11.
Table 3-1, “The Device
Overview
3

Related parts for cy8c9520