CY7C64713/14
Document #: 38-08039 Rev. *B
Page 3 of 50
4.3
I2C Bus
FX1 supports the I2C bus as a master only at 100/400 KHz.
SCL and SDA pins have open-drain outputs and hysteresis
inputs. These signals must be pulled up to 3.3V, even if no I2C
device is connected.
4.4
Buses
All packages: 8- or 16-bit “FIFO” bidirectional data bus, multi-
plexed on I/O ports B and D. 128-pin package: adds 16-bit
output-only 8051 address bus, 8-bit bidirectional data bus.
4.5
USB Boot Methods
During the power-up sequence, internal logic checks the I2C
port for the connection of an EEPROM whose first byte is
either 0xC0 or 0xC2. If found, it uses the VID/PID/DID values
in the EEPROM in place of the internally stored values (0xC0),
or it boot-loads the EEPROM contents into internal RAM
(0xC2). If no EEPROM is detected, FX1 enumerates using
internally stored descriptors. The default ID values for FX1 are
VID/PID/DID (0x04B4, 0x6473, 0xAxxx where xxx=Chip
revision).[2]
4.6
ReNumeration™
Because the FX1’s configuration is soft, one chip can take on
the identities of multiple distinct USB devices.
When first plugged into USB, the FX1 enumerates automati-
cally and downloads firmware and USB descriptor tables over
the USB cable. Next, the FX1 enumerates again, this time as
a device defined by the downloaded information. This
patented two-step process, called ReNumeration
, happens
instantly when the device is plugged in, with no hint that the
initial download step has occurred.
Two control bits in the USBCS (USB Control and Status)
register control the ReNumeration process: DISCON and
RENUM. To simulate a USB disconnect, the firmware sets
DISCON to 1. To reconnect, the firmware clears DISCON to 0.
Before reconnecting, the firmware sets or clears the RENUM
bit to indicate whether the firmware or the Default USB Device
will handle device requests over endpoint zero: if RENUM = 0,
the Default USB Device will handle device requests; if RENUM
= 1, the firmware will.
4.7
Bus-powered Applications
The FX1 fully supports bus-powered designs by enumerating
with less than 100 mA as required by the USB specification.
4.8
Interrupt System
4.8.1
INT2 Interrupt Request and Enable Registers
FX1 implements an autovector feature for INT2 and INT4.
There are 27 INT2 (USB) vectors, and 14 INT4 (FIFO/GPIF)
vectors. See EZ-USB Technical Reference Manual (TRM) for
more details.
Note:
2.
The I2C bus SCL and SDA pins must be pulled up, even if an EEPROM is not connected. Otherwise this detection method does not work properly.
Table 4-1. Special Function Registers
x8x
9x
Ax
Bx
Cx
Dx
Ex
Fx
0
IOA
IOB
IOC
IOD
SCON1
PSW
ACC
B
1SP
EXIF
INT2CLR
IOE
SBUF1
2DPL0
MPAGE
INT4CLR
OEA
3DPH0
OEB
4
DPL1
OEC
5
DPH1
OED
6
DPS
OEE
7PCON
8
TCON
SCON0
IE
IP
T2CON
EICON
EIE
EIP
9
TMOD
SBUF0
ATL0
AUTOPTRH1
EP2468STAT
EP01STAT
RCAP2L
BTL1
AUTOPTRL1
EP24FIFOFLGS
GPIFTRIG
RCAP2H
CTH0
reserved
EP68FIFOFLGS
TL2
DTH1
AUTOPTRH2
GPIFSGLDATH
TH2
E
CKCON
AUTOPTRL2
GPIFSGLDATLX
F
reserved
AUTOPTRSETUP
GPIFSGLDATLNOX
Table 4-2. Default ID Values for FX1
Default VID/PID/DID
Vendor ID
0x04B4 Cypress Semiconductor
Product ID 0x6473 EZ-USB FX1
Device
release
0xAnnn Depends chip revision (nnn = chip
revision where first silicon = 001)