Cypress CY7C64113C Manual De Usuario

Descargar
Página de 51
 
CY7C64013C
 CY7C64113C
Document #: 38-08001 Rev. *B
Page 10 of 51
4.0
 Product Summary Tables
4.1
Pin Assignments 
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-1.  Pin Assignments
Name
I/O
28-Pin SOIC
28-Pin PDIP
48-Pin SSOP
Description
D+[0], D–[0]
I/O
6, 7
7, 8
7, 8
Upstream port, USB differential data.
P0
I/O
P0[7:0]
10, 14, 11, 15,
12, 16, 13, 17
P0[7:0]
11, 15, 12, 16, 
13, 17, 14, 18
P0[7:0]
20, 26, 21, 27,
22, 28, 23, 29
GPIO Port 0 capable of sinking 7 mA (typical).
P1
I/O
P1[2:0]
25, 27, 26
P1[2:0]
26, 4, 27
P1[7:0]
6, 43, 5, 44,
4, 45, 47, 46
GPIO Port 1 capable of sinking 7 mA (typical).
P2
I/O
P2[6:2]
19, 9, 20, 8, 
21
P2[6:2]
20, 10, 21,
9, 23
P2[7:0]
18, 32, 17, 33,
15, 35, 14, 36
GPIO Port 2 capable of sinking 7 mA (typical).  HAPI 
is also supported through P2[6:2].
P3
I/O
P3[2:0]
23, 5, 24
P3[2:0]
24, 6, 25
P3[7:0]
13, 37, 12, 39,
10, 41, 7, 42
GPIO Port 3, capable of sinking 12 mA (typical).
DAC
I/O
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.
XTAL
IN
IN
2
2
2
6-MHz crystal or external clock input.
XTAL
OUT
OUT
1
1
1
6-MHz crystal out.
V
PP
IN
18
19
30
Programming voltage supply, tie to ground during 
normal operation.
V
CC
IN
28
28
48
Voltage supply.
GND
IN
4, 22
5, 22
11, 16, 34, 40 Ground.
V
REF
IN
3
3
3
External 3.3V supply voltage for the differential data 
output buffers and the D+ pull-up.
NC
38
No Connect.
Table 4-2.  I/O Register Summary 
Register Name
I/O Address
Read/Write
Function
Page
Port 0 Data
0x00
R/W
GPIO Port 0 Data 
Port 1 Data
0x01
R/W
GPIO Port 1 Data
Port 2 Data
0x02
R/W
GPIO Port 2 Data
Port 3 Data
0x03
R/W
GPIO Port 3 Data
Port 0 Interrupt Enable
0x04
W
Interrupt Enable for Pins in Port 0
Port 1 Interrupt Enable
0x05
W
Interrupt Enable for Pins in Port 1
Port 2 Interrupt Enable
0x06
W
Interrupt Enable for Pins in Port 2
Port 3 Interrupt Enable
0x07
W
Interrupt Enable for Pins in Port 3