Datasheet

Migrating from EZ-USB
®
FX2LP™ Based Design to EZ-USB FX3 Based Design
www.cypress.com Document No. 001-76348 Rev. ** 2
Introduction
Cypress EZ-USB FX3 is the next generation USB 3.0
peripheral controller, which provides highly integrated and
flexible features that enable developers to add USB 3.0
functionality to any system.
EZ-USB FX3 has a fully configurable, parallel, general
programmable interface called GPIF II, which can connect
to an external processor, ASIC, or FPGA. The GPIF II is
an enhanced version of the GPIF in FX2LP, Cypress’s
flagship USB 2.0 product. GPIF II provides easy and
glueless connectivity to popular interfaces, such as
asynchronous SRAM, asynchronous and synchronous
address data multiplexed interface, and many others.
EZ-USB FX2LP based design cannot be used as it is with
the EZ-USB FX3 as both of these are totally different
devices. But the top level application can be modified to
work with EZ-USB FX3. A simple example, bulkloop is
used to explain the differences in the firmware
frameworks. EZ-USB FX3 has many enhancements over
EZ-USB FX2LP; later sections give more details of these.
Note This application note is targeted to the customers
who already worked with EZ-USB FX2LP device. So, this
application note has been written by assuming that you
are already familiar with the FX2LP device.
Architectural Differences
The following table lists the differences between EZ-USB
FX3 and EZ-USB FX2LP.
Feature EZ-USB FX2LP EZ-USB FX3
Core 8051 ARM926EJ
CPU speed 48 MHz 200 MHz
RAM 16 KB 512 KB
Endpoints 7 32
serial interfaces
supported
I
2
C, UART I
2
C, UART, I
2
S, SPI
Flexible
programmable
interfaces
GPIF, 48 MHz, 8/16
bit interface
GPIF II, 100 MHz,
8/16/32 bit
interface
USB USB 2.0 device
USB 3.0 device,
USB 2.0 OTG
Speeds
supported
High speed, full speed
Super speed, high
speed, full speed
GPIOs Up to 40 Up to 60
JTAG debugger
interface
Not available Supported.
Serial Interfaces
More details on the serial interfaces supported by FX2LP
and FX3 are listed in the following table.
Serial
Interface
EZ-USB FX2LP EZ-USB FX3
I
2
C master only at 100
and 400 kHz
master only at 100 kHz,
400 kHz and 1 MHz
UART supports only
115.2 K baud and
230.4 K baud
range of baud rates from
300 bps to 4608 Kbps
I
2
S not supported I
2
S Master as transmitter
only; sampling
frequencies supported by
the I
2
S interface are
32 kHz, 44.1 kHz, and
48 kHz
SPI not supported SPI Master; maximum
frequency of operation is
33 MHz
GPIF versus GPIF II
EZ-USB FX3 offers a high-performance general
programmable interface, GPIF II. This interface enables
functionality similar to but more advanced than FX2LP's
GPIF and Slave FIFO interfaces.
The GPIF II is a programmable state machine that enables
a flexible interface that may function either as a master or
slave in industry standard or proprietary interfaces. Both
parallel and serial interfaces may be implemented with
GPIF II.
The features of the GPIF II are summarized as follows:
Functions as master or slave
Provides 256 firmware programmable states
Supports 8 bit, 16 bit, and 32 bit parallel data bus
Enables interface frequencies up to 100 MHz.
Supports 14 configurable control pins when 32 bit
data bus is used. All control pins can be either
input/output or bidirectional.
Supports 16 configurable control pins when 16 or 8
data bus is used. All control pins can be either
input/output or bidirectional.