CY7C64013
CY7C64113
4.0
4.1
Product Summary Tables
Pin Assignments
Table 4-1. Pin Assignments
Name
D+[0], D–[0]
P0
I/O
I/O
I/O
28-Pin SOIC
6, 7
P0[7:0]
10, 14, 11, 15,
12, 16, 13, 17
P1[2:0]
25, 27, 26
P2[6:2]
19, 9, 20, 8,
21
P3[2:0]
23, 5, 24
28-Pin PDIP
7, 8
P0[7:0]
11, 15, 12, 16,
13, 17, 14, 18
P1[2:0]
26, 4, 27
P2[6:2]
20, 10, 21,
9, 23
P3[2:0]
24, 6, 25
48-Pin SSOP
7, 8
Description
Upstream port, USB differential data.
P0[7:0]
GPIO Port 0 capable of sinking 7 mA (typical).
20, 26, 21, 27,
22, 28, 23, 29
P1[7:0]
6, 43, 5, 44,
4, 45, 47, 46
GPIO Port 1 capable of sinking 7 mA (typical).
P1
I/O
P2
I/O
P2[7:0]
GPIO Port 2 capable of sinking 7 mA (typical). HAPI
18, 32, 17, 33, is also supported through P2[6:2].
15, 35, 14, 36
P3[7:0]
GPIO Port 3, capable of sinking 12 mA (typical).
13, 37, 12, 39,
10, 41, 7, 42
DAC[7,2:0]
19, 25, 24, 31
DAC Port with programmable current sink outputs.
DAC[1:0] offer a programmable range of 3.2 to 16 mA
typical. DAC[7,2] have a programmable sink current
range of 0.2 to 1.0 mA typical.
6-MHz crystal or external clock input.
6-MHz crystal out.
Programming voltage supply, tie to ground during nor-
mal operation.
Voltage supply.
Ground.
External 3.3V supply voltage for the differential data
output buffers and the D+ pull-up.
No Connect.
P3
I/O
DAC
I/O
XTAL
IN
XTAL
OUT
V
PP
V
CC
GND
V
REF
NC
IN
OUT
IN
IN
IN
IN
2
1
18
28
4, 22
3
2
1
19
28
5, 22
3
2
1
30
48
11, 16, 34, 40
3
38
4.2
I/O Register Summary
I/O registers are accessed via the I/O Read (IORD) and I/O Write (IOWR, IOWX) instructions. IORD reads data from the selected
port into the accumulator. IOWR performs the reverse; it writes data from the accumulator to the selected port. Indexed I/O Write
(IOWX) adds the contents of X to the address in the instruction to form the port address and writes data from the accumulator to
the specified port. Specifying address 0 (e.g., IOWX 0h) means the I/O register is selected solely by the contents of X.
All undefined registers are reserved. It is important not to write to reserved registers as this may cause an undefined operation
or increased current consumption during operation. When writing to registers with reserved bits, the reserved bits must be written
with ‘0.’
Table 4-2. I/O Register Summary
Register Name
Port 0 Data
Port 1 Data
Port 2 Data
Port 3 Data
Port 0 Interrupt Enable
Port 1 Interrupt Enable
Port 2 Interrupt Enable
Port 3 Interrupt Enable
Document #: 38-08001 Rev. **
I/O Address
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
Read/Write
R/W
R/W
R/W
R/W
W
W
W
W
GPIO Port 0 Data
GPIO Port 1 Data
GPIO Port 2 Data
GPIO Port 3 Data
Interrupt Enable for Pins in Port 0
Interrupt Enable for Pins in Port 1
Interrupt Enable for Pins in Port 2
Interrupt Enable for Pins in Port 3
Function
Page
18
18
18
18
19
19
19
19
Page 9 of 48