I2C Port Expander Complete Guide.pdf

Evaluation Kit
CY3242-IOX
I2C Port Expander Guide
Associated Project: Yes
Associated Part Family: CY8C9520A
Software Version: PSoC Designer™ v. 4.2
Associated Application Notes and Kits: AN2352, CY3240-I2USB
Table 1. Board Specifications
Feature
Description
Number of Port Expander Devices
3
Device Part Number
CY8C9520A, CY8C9540A, CY8C9560A
Communication Interface
IC
Power Sources
DC Adapter 9-15V 0.3A, External 3.3V/5V 0.5A Power Supply, USB-I2C Bridge 3.3V/5V
Maximum Power Consumption
5V 400 mA, 3.3V - 150 mA
Device Power Consumption
5V 28 mA, 3.3V - 16 mA
Board Size
7656x4560 mils (194x116 mm)
Additional Features
Speaker, 7-segment LED indicator, 3 buttons, 2 external protected inputs, 2 external protected
outputs with Open Drain (High or Low) drive mode, prototyping area
2
LEDs and Peripherals
Selection Jumpers
Figure 1. Components Location
Address Select
for U2
Address
Select for
U4
Interrupt Selection Jumper
I2C-USB Bridge
Power Supply
LED Indicator
Power Supply ON/OFF
DC Adapter Plug Connector
Reset
3.3/5V
Speaker
Switches
External Inputs/Outputs Connector
Address Select
for U3
J8 Power Source
Selection
CY3242-IOX
Jumper Settings and Connector
Descriptions
J9 - J34 LEDs and Peripherals to Expander Pins
Connection Selection Jumper
See schematic for details.
Open - Expander pin is disconnected from LEDs and
peripherals
J1 I2C-USB Bridge Board
1
2
3
4
5
+5V
Gnd
Int
Clk
Data
Closed - Expander pin is connected to LED or/and
peripheral
J35 U2 Interrupt Selection Jumper
J3 External 3.3V/5V Power Supply ON/OFF Jumper
2
Make sure that the I C interrupt line is available before
connection. Only one device can use this line.
Closed - External Power Supply ON
Open - External Power Supply OFF (Default)
2
Open - U2 interrupt pin is disconnected from I C interrupt
line (Default)
2
Closed - U2 interrupt pin is connected to I C interrupt line
J4 External Power Supply Connector
1
2
+5V
Gnd
J36 - J37 LEDs and Peripherals to Expander Pins
Connection Selection Jumper
See schematic for details.
Open - Expander pin is disconnected from LEDs and
peripherals
J5 DC Adapter Plug Connector
+
Closed - Expander pin is connected to LED or/and
peripheral
DC 9-15V 0.3A
-
J38 - J39 U2 Address Selection Jumper
See description below for details about Port Expander
address selection.
J6 External Inputs/Outputs Connector
1
2
3
4
5
In1
In2
Out1
Out2
Gnd
J40 - J41 LEDs and Peripherals to Expander Pins
Connection Selection Jumper
J7 Internal Regulator Output Voltage-Select Jumper
See schematic for details.
This jumper selects regulator output voltage when board is
powered from external DC adapter.
Open - Expander pin is disconnected from LEDs and
peripherals
Closed - 3.3V
Closed - Expander pin is connected to LED or/and
peripheral
Open - 5V (Default)
J42 - J67 U2 Address Selection Jumper
J8 Expander Device Power Source Selection Jumper
See description below for details about Port Expander
address selection.
Open 1, 2, 3 - All devices are powered from external
3.3V/5V power supply if J3 is closed
Closed 1, 2 - Devices are powered from I2C-USB bridge
J68 - J79 LEDs and Peripherals to Expander Pins
Connection Selection Jumper
Closed 2, 3 - Devices are powered from external DC
power supply via internal regulator (Default)
See schematic for details.
Open - Expander pin is disconnected from LEDs and
peripherals
Closed - Expander pin is connected to LED or/and
peripheral
September 13, 2006
Rev. **
-2-
CY3242-IOX
J80 U3 Interrupt Selection Jumper
J126 – J127 U4 Address Selection Jumper
2
Make sure that the I C interrupt line is available before
connection. Only one device can use this line.
See description below for details about Port Expander
address selection.
2
Open - U3 interrupt pin is disconnected from I C interrupt
line (Default)
J128 - J129 LEDs and Peripherals to Expander Pins
Connection Selection Jumper
2
Closed - U3 interrupt pin is connected to I C interrupt line
See schematic for details.
J81 - J88 LEDs and Peripherals to Expander Pins
Connection Selection Jumper
Open - Expander pin is disconnected from LEDs and
peripherals
See schematic for details.
Closed - Expander pin is connected to LED or/and
peripheral
Open - Expander pin is disconnected from LEDs and
peripherals
Closed - Expander pin is connected to LED or/and
peripheral
J130 - J155 U4 Address Selection Jumper
See description below for details about Port Expander
address selection.
J89 - J116 U3 Address Selection Jumper
See description below for details about Port Expander
address selection.
I2C Port Expander Address Selection
Jumpers
J117 - J120 LEDs and Peripherals to Expander Pins
Connection Selection Jumper
The I2C Port Expander board includes three different
expander devices. Every device must be configured to an
2
2
individual I C address. For I C address configuration, the
address selection jumper is used.
See schematic for details.
Open - Expander pin is disconnected from LEDs and
peripherals
Table 2. Address Selection Jumper
Closed - Expander pin is connected to LED or/and
peripheral
Jumpers
Jumper Addresses
J121 U4 Interrupt Selection Jumper
2
Make sure that the I C interrupt line is available before
connection. Only one device can use this line.
Open - U4 interrupt pin is disconnected from I2C interrupt
line (Default)
A6
A5
A4
A3
A2
A1
A0
LW
LW
LW
LW
LW
LW
LW
LS
LS
LS
LS
LS
LS
LS
HW
HW
HW
HW
HW
HW
HW
HS
HS
HS
HS
HS
HS
HS
LW - Weak pull down.
LS - Strong pull down.
HW - Weak pull up.
HS - Strong pull up.
2
Closed - U4 interrupt pin is connected to I C interrupt line
J121 - J125 LEDs and Peripherals to Expander Pins
Connection Selection Jumper
See schematic for details.
Open - Expander pin is disconnected from LEDs and
peripherals
Closed - Expander pin is connected to LED or/and
peripheral
September 13, 2006
Rev. **
-3-
CY3242-IOX
The A0 line is always used to define the corresponding bit
of the I2C address. This pin should be pulled up or down. If
A0 is a strong pull up or a strong pull down (connected
through a resistor, 330 ohms or less, to Vdd or Vss), then
that is the only address line being specified and the A1-A6
lines are used as GPIO. If A0 is a weak pull up or a weak
pull down (connected to Vdd or Vss through 75 - 200kohm resistor), then A0 is not the only externally defined
address bit.
There is a pin assigned to be A1 if it is needed. This pin
can be pulled up or pulled down strong or weak with a
resistor. As with A0, the type of pull determines whether
the address bit is the last externally defined address bit.
Different from A0, A1 is not dedicated as an address pin. It
is only used if A0 is not the only address bit externally
defined. There are also predefined pins for A2, A3, A4, A5
and A6 that will only be used for addressing if needed.
The last address bit in the chain is pulled strong. That
way, only the number of pins needed to assign the
address desired for the part are allocated as address pins;
any pins not used for address bits are available to be used
as GPIO pins. The table, “Device Addressing,” on page 3
of the I2C Port Expander Data Sheet defines the resulting
2
device I C address.
2
For example, to set the I C address to 0x40 (0100000), we
simply set A0 to LS, Strong Pull Down. The other address
pins have their jumpers removed, making them available
2
for use as GPIO. The resulting I C address is as follows.
A
6
A
5
A
4
A
3
A
2
A
1
A0
N/A
Jumper Address Pins
7
6
5
4
3
2
1
0
I2C Address Bits
0
1
0
0
0
0
0
0
Bit Value
O
p
e
n
O
p
e
n
O
p
e
n
O
p
e
n
O
p
e
n
O
p
e
n
LS
N/A
Jumper Setting
Note before using, make sure all address pins that use the
address selection jumper are not connected to any
peripherals (LEDs, inputs/outputs, etc.).
September 13, 2006
Rev. **
-4-
CY3242-IOX
I2C Port Expander Address Select Examples
Table 3. Example 1
A6
LW
LS
HW
HS
A5
LW
LS
HW
HS
A4
LW
LS
HW
HS
A3
LW
LS
HW
HS
A2
LW
LS
HW
HS
A1
LW
LS
HW
HS
A0
LW
LS
HW
HS
A5
LW
LS
HW
HS
A4
LW
LS
HW
HS
A3
LW
LS
HW
HS
A2
LW
LS
HW
HS
A1
LW
LS
HW
HS
A0
LW
LS
HW
HS
A5
LW
LS
HW
HS
A4
LW
LS
HW
HS
A3
LW
LS
HW
HS
A2
LW
LS
HW
HS
A1
LW
LS
HW
HS
A0
LW
LS
HW
HS
Black - Jumper is closed.
White - Jumper is open.
I2C address is set to 0x40.
Table 4. Example 2
A6
LW
LS
HW
HS
Black - Jumper is closed.
White - Jumper is open.
I2C address is set to 0x42.
Table 5. Example 3.
A6
LW
LS
HW
HS
Black - Jumper is closed.
White - Jumper is open.
I2C address is set to 0x80.
September 13, 2006
Rev. **
-5-
CY3242-IOX
Demonstration Example Scripts
Code 1. Script 1
1 kHz tone to speaker. U2 address is 0x40. Jumper U2 - GP1[3] must be installed.
s40
s40
s40
s40
s40
s40
28
09
18
1c
1a
21
00 04 25 10 2
08
01
00
08
08
;select and configure PWM
;select output port register
;select the Gport to be configured
;configure port as output
;connect port to PWM output
;select strong drive mode
Code 2. Script 2
Read buttons state. U2 address is 0x40. Jumpers U2 - GP1[0], GP1[1], and GP1[2] must be installed.
s40
s40
s40
s40
s40
s41
09
18
1c
1e
01
01
00
01
ff
ff
x
;write to port zero
;select the Gport to be configured
;set the port direction to input
;select resistive pull down drive mode
;start reading
;repeat this line to continuously read button state
Code 3. Script 3
Turn on external outputs. U2 address is 0x40. Jumpers U2 - GP1[4] and GP3[0] must be installed.
s40
s40
s40
s40
09
18
1c
21
10
01
00
10
;set bit 4 port 1
;select the Gport1 to be configured
;set the port direction to output
;select strong drive mode
s40
s40
s40
s40
0b
18
1c
21
01
03
00
01
;set bit 0 port 3
;select the Gport3 to be configured
;set the port direction to output
;select strong drive mode
2
See the I C Port Expander Data Sheet for more details about configuration.
September 13, 2006
Rev. **
-6-
CY3242-IOX
I2C Port Expander Board Schematics
Out1
Power
R1
30K
GP3[2]_1
R2
R3
Q2
R4
30K
510
510
5
4
3
2
1
SDA
SCL
INT
D1
R5 1k
Q1
BC817-16L
In2
J1
FZT690BTA
GP1[4]_1
R6
5k1
R7
D2
5K1
P6KE6.8A
Q3
P6KE33A
BC817-16L
+5V_IIC
LS1
R8
0.5
CON5
CEM-1206S
C9 1uF
R9 1K
Out2
Q4
BC807-40 T/R
GP1[3]_1
D91
STPS340U
GP3[1]_1
R10
5K1
R11
Power
Power
510
GP1[0]_1
510
GP3[0]_1
BC817-16L
R14
R15
5K1
D3
FZT690BTAL
R13 1k
Q5
SW1
SW2
Q6
R12
In1
5K1
BC817-16L
GP1[1]_1
R19
R20
R21
R22
R23
R25
R26
R27
Power
GP1[2]_1
R18
1K
10
9
8
5
4
2
3
7
XRES
D5
D6
EG1867CT-ND
Power
QTLP630C7TR QTLP630C7TR
1, 6
C8 10n
J3
A
B
C
D
E
F
G
H
Power
D7
2
R28
3
6
5
7
1K
IN
SW
Power
1
47uH
C BOOST
FB
nc
SS
4
TP2
Vdd
R29
J6
Power
21K
J7
C1
0.1
D9
QTLP630C7TR
TP1
GND
R30
D90
3
17K
2
1
STPS340U
1
+5V_IIC
1
2
3
4
5
In1
In2
Out1
Out2
2
2
1
1
2
QTLP630C7TR
L1
U1 LM2676S-ADJ
J4 Power
1
1K
LTS-4802BJR-H1
GND
D8 STPS340U
2
R24
HL1
PJ-102BJ5
P6KE33A
R16
0.5
1
R17
1K
SW4
1K
1K
1K
1K
1K
1K
1K
1K
1
+5V_IIC
SW3
D4
Q7
P6KE6.8A
D10
P6KE6.8A
In/Out
J8Power Source
C3
R31
C4
0.1
R154
1K
12K
Title
I2C Port Expander
C2 220uF 25V
220uF 6.3V
Size
A4
Date:
September 13, 2006
Rev. **
Document Number
REF-13522
Tuesday , May 16, 2006
Rev
<B>
Sheet
0
of
4
-7-
GP3[0]_A
GP3[1]_A
GP3[2]_A
GP3[3]_A
8
9
10
11
12
13
14
15
DNU
GP1[3]
DNU
GP1[4]
GP0[3]
GP0[4]
GP0[5]
GP0[6]
GP0[7]
DNU
GP1[5]
GP1[6]
GP1[7]
GP3[0]
GP3[1]
GP3[2]
GP3[3]
GP4[0]
GP4[1]
U2
DNU
DNU
DNU
Vss
GP4[2]
GP4[3]
CY8C9560-24PVXI
Vss
XRES
CON2
J44
2
1
CON2
2
1
J50
CON2
J62
GP1[4]_A
GP0[4]_A
GP0[5]_A
GP0[6]_A
GP0[7]_A
1
2
3
4
1
2
3
4
1
2
3
4
71
70
69
68
GP1[5]_A
GP1[6]_A
GP1[7]_A
67
66
GP4[0]_A
GP4[1]_A
64
63
GP4[2]_A
GP4[3]_A
62
XRES
GP4[4]_A
GP4[5]_A
GP4[6]_A
GP4[7]_A
55
54
53
52
GP5[5]_A
GP5[4]_A
GP5[0]_A
GP5[1]_A
CON4
GP3[0]_A
GP3[1]_A
GP3[2]_A
GP3[3]_A
100K
100K
GP1[7]_A
2
1
CON2
J54
100K
2
1
100K
100K
2
1
CON2
J42
CON2
J45
2
1
CON2
J51
2
1
CON2
J57
R85
R87
100K
2
1
CON2
J46
2
1
CON2
J52
2
1
R88
100K
R94
CON2
J49
2
1
CON2
J55
2
1
CON2
2
1
J61
2
1
100K
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
R91
100K
R97
100K
Power
Power
Power
Title
CON2
J67
CON2
J64
CON2
J63
CON2
J43
I2C Port Expander
Size
B
0.1
GP0[0]_B
GP0[1]_B
GP0[2]_B
GP0[3]_B
GP0[4]_B
GP0[5]_B
GP0[6]_B
GP0[7]_B
1
2
3
4
5
6
7
8
GP0[0]
GP0[1]
GP0[2]
GP0[3]
GP0[4]
GP0[5]
GP0[6]
GP0[7]
GP1[0]
GP1[1]
GP1[2]
GP1[3]
GP1[4]
GP1[5]
GP1[6]
GP1[7]
47
46
45
44
43
42
41
40
GP3[0]_B
GP3[1]_B
GP3[2]_B
GP3[3]_B
9
10
11
12
GP3[0]
GP3[1]
GP3[2]
GP3[3]
GP4[0]
GP4[1]
GP4[2]
GP4[3]
39
38
37
36
GP4[0]_B
GP4[1]_B
GP4[2]_B
GP4[3]_B
35
XRES
13
Vss
XRES
GP3[4]_B
GP3[5]_B
GP3[6]_B
GP3[7]_B
14 GP3[4]
15 GP3[5]
16 GP3[6]
17 GP3[7]
GP4[4] 34
GP4[5] 33
GP4[6] 32
GP4[7] 31
GP5[2]_B
GP5[3]_B
18 GP5[2]
19 GP5[3]
GP5[0] 30
GP5[1] 29
SCL
SDA
GP2[3]_B
A0_B
20
21
22
23
GP2[0]
GP2[1]
INT
GP2[2]
24
SCL
SDA
GP2[3]
A0
28
27
262
25
GP1[0]_B
GP1[1]_B
GP1[2]_B
GP1[3]_B
GP1[4]_B
GP1[5]_B
GP1[6]_B
GP1[7]_B
1
2
3
4
1
2
3
4
GP0[4]_B
GP0[5]_B
GP0[6]_B
GP0[7]_B
J70
CON41
2
3
4
1
2
3
4
J72
CON4
GP1[4]_B
GP1[5]_B
GP1[6]_B
GP1[7]_B
GP4[4]_B
GP4[5]_B
GP4[6]_B
GP4[7]_B
GP2[0]_B
GP2[1]_B
GP2[2]_B
GP2[3]_B
GP5[0]_B
GP5[1]_B
CON2
J104
2
1
2
1
CON2
J111
R123
100K
R130
2
1
CON2
J105
100K
2
1
2
1
Power
CON2
J112
R124
3
of
4
D62 QTLP630C7TR
D63 QTLP630C7TR
D64 QTLP630C7TR
R102 R101
1K
1K
D65 QTLP630C7TR
D66 QTLP630C7TR
D67 QTLP630C7TR
D68 QTLP630C7TR
J79CON4
GP3[0]_B
GP3[1]_B
GP3[2]_B
GP3[3]_B
1
2
3
4
GP3[4]_B
GP3[5]_B
GP3[6]_B
GP3[7]_B
CON4J81
1
2
3
4
J82CON4
1
2
3
4
1
2
3
4
GP4[0]_B
GP4[1]_B
GP4[2]_B
GP4[3]_B
J83
CON4
1
2
3
4
J84CON4
1
2
3
4
R110 1K R111 1K
R112 1K R113 1K
J86CON4
1
2
3
4
R114 1K R116 1K R117
R115 1K
1K
1
2
3
4
A3
A4
R105 1K
D69 QTLP630C7TR
J88CON4
R106 1K R108 1K R109
R107 1K
1K
CON2
J92
2
1
100K
CON2
J99
R131
CON2
J106
2
1
Power
2
1
100K
CON2
J113
2
1
R125
100K
R132
100K
2
1
CON2
J96
2
1
CON2
J103
2
1
CON2
Power J110
2
1
R122
100K
R129
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
D74 QTLP630C7TR
D75 QTLP630C7TR
D76 QTLP630C7TR
D77 QTLP630C7TR
D78 QTLP630C7TR
D79 QTLP630C7TR
D80 QTLP630C7TR
D81 QTLP630C7TR
D82
D83
D84
D85
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
A2
GP2[0]_B
CON2
J89
D70
D71
D72
D73
R118 1K R119 1K
R120 1K R121 1K
A0_B
A0
GP2[3]_B
A1
GP2[1]_B
GP1[7]_B
CON2
J98
Sheet
R98 1K R100 1K
R99 1K
J77CON4
1
2
3
4
CON4 J78
GP2[0]_B
GP2[1]_B
J80
1
INT
GP1[6]_B
2
1
4
J71
CON4
J73
CON4
1
2
3
4
J75
CON4
1
2
3
4
1
2
3
4
J74
CON4
1
2
3
4
J76
CON4
1
2
3
4
CON4 J85
1
GP4[4]_B
2
GP4[5]_B
3
GP4[6]_B
4
GP4[7]_B
CON4 J87
1
GP5[0]_B
2
GP5[1]_B
3
GP5[2]_B
4
GP5[3]_B
A5
of
R103 1K
R104 1K
GP2[2]_B
CON2
J91
0
J69
GP0[0]_B
GP0[1]_B
GP0[2]_B
GP0[3]_B
GP1[0]_B
GP1[1]_B
GP1[2]_B
GP1[3]_B
Vss
GP1[5]_B
Rev
B
Sheet
GP1[0]_1
GP1[1]_1
GP1[2]_1
GP1[3]_1
GP1[4]_1
GP3[0]_1
GP3[1]_1
GP3[2]_1
J68
48
Friday , May 19, 2006
CON4 CON4
C6
Vdd
Document Number
REF-13522
A
B
C
D
E
F
G
H
Power
2
1
D42 QTLP630C7TR
D44 QTLP630C7TR
D48 QTLP630C7TR
D49 QTLP630C7TR
A0_A
A0
2
1
100K
Power
U3 CY 8C9540-24PVXI
CON2
J97
D35 QTLP630C7TR
D37 QTLP630C7TR
D39 QTLP630C7TR
D41 QTLP630C7TR
R66 1K
R67 1K
R69 1K
R71 1K
Date:
2
1
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
GP2[3]_A
2
1
CON2
J58
R93
2
1
100K
2
1
Power
J66
A6
D27
D29
D31
D33
CON4 R53 1K R55
1 J28 R56 1K R59
2
1K
3 R61
4
R63
1K
J31
1K
CON4
1
2
3
4
CON4
GP2[1]_A
R80
2
1
100K
CON2
CON2
J90
D21 QTLP630C7TR
D20 QTLP630C7TR
D24 QTLP630C7TR
D25 QTLP630C7TR
D54 QTLP630C7TR
D55 QTLP630C7TR
D56 QTLP630C7TR
D57 QTLP630C7TR
D59
D58
D60
D61
A2
GP2[0]_A
2
1
CON2
J39
R96
2
1
Power
CON2
J38
R90
2
1
CON2
J60
R95
2
1
A3
A4
CON2
J48
R89
2
1
CON2
J65
GP7[4]_A
GP7[5]_A
GP7[6]_A
GP7[7]_A
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
D12 QTLP630C7TR
D14 QTLP630C7TR
D17 QTLP630C7TR
D18 QTLP630C7TR
Power
GP1[6]_A
2
1
CON2
J59
GP7[0]_A
GP7[1]_A
GP7[2]_A
GP7[3]_A
J23
CON4
1
2
3
4
J27
CON4
1
2
3
4
J32
CON4
1
2
3
4
R33 1K
R36 1K
J16 CON4 R35 1K
R39 1K
1
2
3
4
J20
R45
R44
CON4
1
1K
1K
2
3
4
J24
R47 1K R41 1K
CON4
1
R49 1K R48
2
1K
3
1K
4
100K
2
1
CON2
J53
GP6[0]_A
GP6[1]_A
GP6[2]_A
GP6[3]_A
J19
CON4
1
2
3
4
J15
D50 QTLP630C7TR
D51 QTLP630C7TR
D52 QTLP630C7TR
D53 QTLP630C7TR
R81 1K R82 1K
R83 1K R84 1K
A1
CON2
J47
CON4
1
2
3
4
R92
2
1
A5
D43
D45
D46
D47
GP5[4]_A
GP5[5]_A
GP5[6]_A
GP5[7]_A
GP6[4]_A
GP6[5]_A
GP6[6]_A
GP6[7]_A
D34 QTLP630C7TR
D36 QTLP630C7TR
D38 QTLP630C7TR
D40 QTLP630C7TR
R77 1K R78 1K
R76 1K R79 1K
2
3
4
CON4
J41
1
2
3
4
CON4
R58 1K R60 1K
R62
R57 1K
1K
R72 1K R73 1K
R74 1K R75 1K
CON4
J37
1
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
D28 QTLP630C7TR
D26 QTLP630C7TR
D30 QTLP630C7TR
D32 QTLP630C7TR
R65 1K R68 1K
R64 1K R70 1K
CON4
1 J30
2
3
4
CON4
J34
1
2
3
4
CON4J36
1
2
3
4
D19
D22
D23
D91
R51 1K R52 1K
R54
R50 1K
1K
J26 CON4
1
2
3
4
CON4J40
1
GP5[0]_A
2
GP5[1]_A
3
GP5[2]_A
4
GP5[3]_A
R86
D11 QTLP630C7TR
D13 QTLP630C7TR
D16 QTLP630C7TR
D15 QTLP630C7TR
1
2
3
4
J25
1
2
3
4
R32 1K
R34 1K
R37 1K
R38 1K
R40 1K R42 1K
R43 1K
R46
1K
J22CON4
1
2
3
4
CON4 J33
1
GP4[0]_A
2
GP4[1]_A
3
GP4[2]_A
4
GP4[3]_A
GP4[4]_A
GP4[5]_A
GP4[6]_A
GP4[7]_A
J12
1
2
3
4
J18
CON4 J29
1
2
3
4
GP3[4]_A
GP3[5]_A
GP3[6]_A
GP3[7]_A
DNU
DNU
DNU
CON4
J14
CON4 J21
1
2
3
4
GP2[0]_A
GP2[1]_A
GP2[2]_A
GP2[3]_A
51
CON4
CON4
J13
1
2
3
4
GP1[4]_A
GP1[5]_A
GP1[6]_A
GP1[7]_A
61
60
59
58
57
56
CON4
1
2
3
4
J17
GP1[0]_A
GP1[1]_A
GP1[2]_A
GP1[3]_A
65
48
49
50
GP2[1]
GP2[0]
INT
245
46
47
GP2[2]
GP1[3]_A
73
72
1
INT
J35
GP2[1]_A
GP2[0]_A
32
33
DNU
J10
1
2
3
4
J11
75
74
GP1[5]_A
2
1
CON2
J56
44
30
31
A0_A
A6
GP2[2]_A
29
SDA
28
GP2[3]_A
26
27
SDA
Power
36
37
38
39
40
41
42
43
DNU
GP7[7]
GP7[6]
GP7[5]
GP7[4]
GP7[3]
GP7[2]
GP7[1]
GP7[0]
SCL
DNU
DNU
25
GP7[7]_A
GP7[6]_A
GP7[5]_A
GP7[4]_A
GP7[3]_A
GP7[2]_A
GP7[1]_A
GP7[0]_A
24
GP5[5]
GP5[4]
GP5[0]
GP5[1]
Vss
DNU
SCL
GP5[7]
GP5[6]
GP5[2]
GP5[3]
Vdd
DNU
20
21
22
23
GP4[4]
GP4[5]
GP4[6]
GP4[7]
34
35
GP5[7]_A
GP5[6]_A
GP5[2]_A
GP5[3]_A
DNU
DNU
GP3[4]
GP3[5]
GP3[6]
GP3[7]
A0
DNU
16
17
18
19
GP2[3]
GP3[4]_A
GP3[5]_A
GP3[6]_A
GP3[7]_A
A
B
C
D
E
F
G
H
GP1[2]_A
GP1[1]_A
J9
79
78
77
76
GP1[0]_A
GP1[0]
DNU
Vss
Vss
Vdd
Vdd
CON4 CON4
GP0[0]_A
GP0[1]_A
GP0[2]_A
GP0[3]_A
GP1[1]
DNU
GP1[2]
DNU
85
84
83
82
81
80
GP0[0]_A
GP0[1]_A
GP6[7]_A
GP6[6]_A
GP6[5]_A
GP6[4]_A
GP6[3]_A
GP6[2]_A
GP6[1]_A
GP6[0]_A
94
93
92
91
90
89
88
87
86
DNU
GP6[7]
GP6[6]
GP6[5]
GP6[4]
GP6[3]
GP6[2]
GP6[1]
GP6[0]
DNU
DNU
Power
GP1[0]_1
GP1[1]_1
GP1[2]_1
GP1[3]_1
GP1[4]_1
GP3[0]_1
GP3[1]_1
GP3[2]_1
3
4
5
6
7
DNU
GP0[0]
1
2
GP0[3]_A
GP0[4]_A
GP0[5]_A
GP0[6]_A
GP0[7]_A
DNU
GP0[2]
U2
98
97
100
99
C5
0.1
DNU
GP0[1]
Power
96
95
GP0[2]_A
CY3242-IOX
CON2
J94
2
1
CON2
J101
2
1
CON2
2
1
J108
100K
2
1
Power
R127
100K
R134
CON2
J95
2
1
CON2
J102
2
1
CON2
J109
100K
2
1
Power
CON2
J115
2
1
CON2
J116
R128
100K
R135
CON2
J93
2
1
CON2
J100
2
1
CON2
J107
2
1
100K
2
1
R126
100K
R133
100K
Power
Power
CON2
J114
Title
I2C Port Expander
Size
B
Date:
September 13, 2006
Rev. **
Document Number
REF-13522
Thursday , May 11, 2006
Rev
B
-8-
A
B
C
D
E
F
G
H
CY3242-IOX
Power
CON4 CON4
J117
J118
C7
28
Vdd
1
2
3
4
5
6
7
8
GP0[0]_C
GP0[1]_C
GP0[2]_C
GP0[3]_C
GP0[4]_C
GP0[5]_C
GP0[6]_C
GP0[7]_C
GP0[0]
GP0[1]
GP0[2]
GP0[3]
GP0[4]
GP0[5]
GP0[6]
GP0[7]
GP1[0]
GP1[1]
GP1[2]
GP1[3]
GP1[4]
GP1[5]
GP1[6]
GP1[7]
9 Vss
10
11
12
13
SCL
SDA
GP2[3]_C
A0_C
14
XRES
SCL
SDA
GP2[3]
A0
GP2[0]
GP2[1]
INT
GP2[2]
0.1
27
26
25
24
23
22
21
20
GP1[0]_C
GP1[1]_C
GP1[2]_C
GP1[3]_C
GP1[4]_C
GP1[5]_C
GP1[6]_C
GP1[7]_C
19
XRES
GP2[0]_C
GP2[1]_C
18
17
16
2
15
1 INT
J121
GP0[0]_C
GP0[1]_C
GP0[2]_C
GP0[3]_C
1
2
3
4
1
2
3
4
GP0[4]_C
GP0[5]_C
GP0[6]_C
GP0[7]_C
J119
1
2
3
4
1
2
3
4
CON4 CON4
CON4 CON4
J122
J123
1
2
3
4
J124
CON4
1
2
3
4
GP1[0]_C
GP1[1]_C
GP1[2]_C
GP1[3]_C
GP2[2]_C
Vss
CON2
J135
2
1
CON2
R145
CON2
2
1
J147
1
2
3
4
GP2[0]_C
GP2[1]_C
GP2[2]_C
GP2[3]_C
100K
2
1
J141
GP1[4]_C
GP1[5]_C
GP1[6]_C
GP1[7]_C
GP1[6]_C
A5
R151
1
2
3
4
J125
CON4
1
2
3
4
R137
R138
R139
R140
1
2
3
4
CON4
J128
100K
2
1
J120
GP1[0]_1
GP1[1]_1
GP1[2]_1
GP1[3]_1
GP1[4]_1
GP3[0]_1
GP3[1]_1
GP3[2]_1
U4 CY8C9520-24PVXI
1K
1K
1K
1K
D86
D87
D88
D89
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
QTLP630C7TR
CON4
J129
Power
A6
CON2
J132
GP1[5]_C
2
1
CON2
J138
2
1
CON2
2
1
J144
2
1
R142
100K
CON2
J153
A4
CON2
J136
2
1
CON2
J142
R148
CON2
J148
100K
2
1
2
1
Power
CON2
J150
2
1
CON2
J154
A3
R146
100K
R152
CON2
J126
2
1
CON2
J127
2
1
2
1
CON2
J130
100K
2
1
Power
CON2
J131
A2
GP2[0]_C
GP1[7]_C
R136
CON2
J133
100K
CON2
J139
R141
CON2
J145
100K
Power
2
1
2
1
2
1
2
1
GP2[3]_C
A1
GP2[1]_C
R143
CON2
J134
100K
R149
CON2
J140
CON2
J146
100K
Power
CON2
J151
2
1
2
1
2
1
2
1
R144
100K
R150
A0
CON2
J137
2
1
CON2
J143
2
1
CON2
J149
2
1
Power
2
1
100K
CON2
J152
A0_C
R147
100K
R153
100K
Power
CON2
J155
Title
A6
I2C Port Expander
Size
A
Date:
Document Number
REF-13522
Tuesday , May 16, 2006
Rev
B
Sheet
0
of
4
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone: 408-943-2600
Fax: 408-943-4730
http://www.cypress.com
© Cypress Semiconductor Corporation, 2006. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no
responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress
products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement
with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be
expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such
use and in doing so indemnifies Cypress against all charges.
September 13, 2006
Rev. **
-9-