cy8c9520a Cypress Semiconductor Corporation., cy8c9520a Datasheet - Page 3

no-image

cy8c9520a

Manufacturer Part Number
cy8c9520a
Description
20-, 40-, And 60-bit Io Expander With Eeprom
Manufacturer
Cypress Semiconductor Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cy8c9520a-24PVXI
Manufacturer:
LT
Quantity:
1 378
Part Number:
cy8c9520a-24PVXI
Manufacturer:
CYPRESS/赛普拉斯
Quantity:
20 000
Device Access Addressing
Following a start condition, the I2C master device sends a byte
to address an I2C slave. This address accesses the device 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.
This addressing method uses a technique called Extendable Soft
Addressing™, described “Extendable Soft Addressing™” on
page 8.
Table 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 masks the
MSb to determine the EEPROM address.
Serial EEPROM Device
EEPROM reading and writing operations require 2 bytes, AHI
and ALO, which indicate the 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, readdresses
the unit with a read cycle (= 1), and reads one or more data bytes.
Each data byte read increments 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 must 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 beginning
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 performs
Document Number: 38-12036 Rev. *B
01
A
0
0
0
0
0
6
A
A
1
1
1
1
5
5
Multi-Port Device
A
A
A
0
0
0
0
4
4
4
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
Table 2
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W A
defines the device addresses.
1
1
1
1
1
1
6
A
A
0
0
0
0
0
5
5
EEPROM Device
A
A
A
1
1
1
1
4
4
4
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
an EEPROM write sequence. If the end of available EEPROM
space is reached, then further writes are responded to with a
NAK.
Refer to
which illustrates memory reading and writing procedures for the
EEPROM device.
Multi Port IO Device
This device allows the user to set configurations and IO opera-
tions through internal registers.
Each data transfer is preceded by the command byte. This byte
is used as a pointer to a register that receives or transmits data.
Available registers are listed in
Address Map,” on page
Document Conventions
Acronyms
Table 3
Table 3. Acronyms
Units of Measure
A units of measure table is located in the Electrical Specifications
section.
abbreviations used in Section 4.
Numeric Naming
Hexidecimal numbers are represented with all letters in
uppercase with an appended lowercase ‘h’ (for example, ‘14h’ or
‘3Ah’). Hexidecimal numbers may also be represented by a ‘0x’
prefix, the C coding convention. Binary numbers have an
appended lowercase ‘b’ (e.g., 01010100b’ or ‘01000011b’).
Numbers not indicated by an ‘h’, ‘b’, or 0x are decimal.
AC
DC
EEPROM
GPIO
IO
MSb
POR
PWM
Acronym
lists the acronyms that are used in this document.
Table 17, “Units of Measure,” on page 15
Figure 6, “Memory Reading and Writing,” on page
alternating current
direct current
electrically erasable programmable read-only
memory (E
general purpose IO
input/output
most-significant bit
power on reset
pulse width modulator
CY8C9520A, CY8C9540A
10.
2
)
Description
Table 7, “The Device Register
CY8C9560A
Page 3 of 24
lists all the
9,
[+] Feedback

Related parts for cy8c9520a