D ts e t
aa h e
R c e t r lc r nc
o h se Ee to is
Ma u a t r dCo o e t
n fc u e
mp n n s
R c e tr b a d d c mp n ns ae
o h se rn e
o oet r
ma ua trd u ig ete dewaes
n fcue sn i r i/ fr
h
p rh s d f m te oiia s p l r
uc a e r
o h r n l u pi s
g
e
o R c e tr waes rce td f m
r o h se
fr e rae r
o
te oiia I. Al rce t n ae
h
r nl P
g
l e rai s r
o
d n wi tea p o a o teOC
o e t h p rv l f h
h
M.
P r aetse u igoiia fcoy
at r e td sn r n la tr
s
g
ts p o rmso R c e tr e eo e
e t rga
r o h se d v lp d
ts s lt n t g aa te p o u t
e t oui s o u rne
o
rd c
me t o e c e teOC d t s e t
es r x e d h
M aa h e.
Qu l yOv riw
ai
t
e ve
• IO- 0 1
S 90
•A 92 cr ct n
S 1 0 et ai
i
o
• Qu l e Ma ua trr Ls (
ai d
n fcues it QML MI- R -
) LP F
385
53
•C a sQ Mitr
ls
lay
i
•C a sVS a eL v l
ls
p c ee
• Qu l e S p l r Ls o D sr uos( L )
ai d u pi s it f it b tr QS D
e
i
•R c e trsacic l u pir oD A a d
o h se i
r ia s p l t L n
t
e
me t aln u t a dD A sa d r s
es lid sr n L tn ad .
y
R c e tr lcrnc , L i c mmi e t
o h se Ee t is L C s o
o
tdo
t
s p ligp o u t ta s t f c so r x e t-
u pyn rd cs h t ai y u tme e p ca
s
t n fr u lya daee u loto eoiial
i s o q ai n r q a t h s r n l
o
t
g
y
s p l db id sr ma ua trr.
u pi
e yn ut
y n fcues
T eoiia ma ua trr d ts e t c o a yn ti d c me t e e t tep r r n e
h r n l n fcue’ aa h e a c mp n ig hs o u n r cs h ef ma c
g
s
o
a ds e ic t n o teR c e tr n fcue v rino ti d vc . o h se Ee t n
n p c ai s f h o h se ma ua trd eso f hs e ie R c e tr lcr -
o
o
isg aa te tep r r n eo i s mio d co p o u t t teoiia OE s e ic -
c u rne s h ef ma c ft e c n u tr rd cs o h r n l M p c a
o
s
g
t n .T pc lv le aefr eee c p r o e o l. eti mii m o ma i m rt g
i s ‘y ia’ au s r o rfrn e up s s ny C r n nmu
o
a
r xmu ai s
n
ma b b s do p o u t h rceiain d sg , i lt n o s mpetsig
y e a e n rd c c aa tr t , e in smuai , r a l e t .
z o
o
n
© 2 1 R cetr l t n s LC Al i t R sre 0 1 2 1
0 3 ohs E cr i , L . lRg s eevd 7 1 0 3
e e oc
h
T l r m r, l s v iw wrcl . m
o e n oe p ae it w . e c o
a
e
s
o ec
CY7C64713
EZ-USB FX1™ USB Microcontroller
Full Speed USB Peripheral Controller
EZ-USB FX1™ USB Microcontroller Full Speed USB Peripheral Controller
Features
■
■
❐
❐
❐
❐
❐
❐
■
■
■
■
■
■
■
Up to 48 MHz clock rate
Four clocks for each instruction cycle
Two USARTS
Three counters or timers
Expanded interrupt system
Two data pointers
Single chip integrated USB transceiver, SIE, and enhanced
8051 microprocessor
Fit, form, and function upgradable to the FX2LP (CY7C68013A)
❐
❐
❐
Pin compatible
Object code compatible
Functionally compatible (FX1 functionality is a subset of the
FX2LP)
3.3 V operation with 5 V tolerant inputs
Smart SIE
Vectored USB interrupts
Separate data buffers for the setup and DATA portions of a
CONTROL transfer
Integrated I
2
C controller, running at 100 or 400 KHz
48 MHz, 24 MHz, or 12 MHz 8051 operation
Four integrated FIFOs
❐
❐
❐
■
■
Draws no more than 65 mA in any mode, making the FX1
suitable for bus powered applications
Software: 8051 runs from internal RAM, which is:
❐
❐
❐
Downloaded using USB
Loaded from EEPROM
External memory device (128 pin configuration only)
BULK/INTERRUPT/ISOCHRONOUS
■
■
16 KB of on-chip code/data RAM
Four programmable
endpoints
❐
Brings glue and FIFOs inside for lower system cost
Automatic conversion to and from 16-bit buses
Master or slave operation
FIFOs can use externally supplied clock or asynchronous
strobes
Easy interface to ASIC and DSP ICs
Buffering options: double, triple, and quad
programmable
(BULK/INTERRUPT)
64-byte
■
■
■
■
Additional
endpoint
❐
❐
■
■
■
8- or 16-bit external data interface
Smart media standard ECC generation
GPIF
❐
❐
❐
Vectored for FIFO and GPIF Interrupts
Up to 40 general purpose IOs (GPIO)
Four package options:
❐
❐
❐
❐
Allows direct connection to most parallel interfaces; 8- and
16-bit
Programmable waveform descriptors and configuration
registers to define waveforms
Supports multiple ready (RDY) inputs and Control (CTL)
outputs
128-pin TQFP
100-pin TQFP
56-pin SSOP
56-pin QFN Pb-free
■
Integrated, industry standard 8051 with enhanced features:
Errata:
For information on silicon errata, see
“Errata”
on page 71. Details include trigger conditions, devices affected, and proposed workaround.
Cypress Semiconductor Corporation
Document Number: 38-08039 Rev. *K
•
198 Champion Court
•
San Jose
,
CA 95134-1709
•
408-943-2600
Revised July 22, 2013
CY7C64713
Logic Block Diagram
24 MHz
Ext. XTAL
High performance micro
using standard tools
with lower-power options
Address (16)
Data (8)
FX1
Address (16) / Data Bus (8)
VCC
x20
PLL
/0.5
/1.0
/2.0
8051 Core
12/24/48 MHz,
four clocks/cycle
I
2
C
Master
Additional IOs (24)
1.5k
connected for
enumeration
D+
USB
D–
Integrated
full speed XCVR
XCVR
CY
Abundant I/O
including two USARTS
General
programmable I/F
to ASIC/DSP or bus
standards such as
ATAPI, EPP, etc.
ADDR (9)
GPIF
ECC
RDY (6)
CTL (6)
Smart
USB
Engine
16 KB
RAM
4 kB
FIFO
8/16
Up to 96 MBytes
burst rate
Enhanced USB core
Simplifies 8051 code
‘Soft Configuration’
Easy firmware changes
FIFO and endpoint memory
(master or slave operation)
Document Number: 38-08039 Rev. *K
Page 2 of 74
CY7C64713
Contents
Functional Description ..................................................... 4
Applications ...................................................................... 4
Functional Overview ........................................................ 4
USB Signaling Speed .................................................. 4
8051 Microprocessor ................................................... 4
I
2
C Bus ........................................................................ 5
Buses .......................................................................... 5
USB Boot Methods ...................................................... 5
ReNumeration™ .......................................................... 6
Bus-powered Applications ........................................... 6
Interrupt System .......................................................... 6
Reset and Wakeup ...................................................... 8
Program/Data RAM ..................................................... 9
Endpoint RAM ........................................................... 11
External FIFO Interface ............................................. 11
GPIF .......................................................................... 12
ECC Generation ........................................................ 13
USB Uploads and Downloads ................................... 13
Autopointer Access ................................................... 13
I
2
C Controller ............................................................. 13
Compatible with Previous Generation
EZ-USB FX2 ..................................................................... 14
Pin Assignments ............................................................ 14
CY7C64713 Pin Definitions ............................................ 20
Register Summary .......................................................... 28
Absolute Maximum Ratings .......................................... 47
Operating Conditions ..................................................... 47
DC Characteristics ......................................................... 47
USB Transceiver ....................................................... 47
AC Electrical Characteristics ........................................ 48
USB Transceiver ....................................................... 48
PORTC Strobe Feature Timings ............................... 51
GPIF Synchronous Signals ....................................... 52
Slave FIFO Synchronous Read ................................. 53
Slave FIFO Asynchronous Read ............................... 54
Slave FIFO Synchronous Write ................................. 55
Slave FIFO Asynchronous Write ............................... 56
Slave FIFO Synchronous Packet End Strobe ........... 56
Slave FIFO Asynchronous Packet End Strobe ......... 58
Slave FIFO Output Enable ........................................ 58
Slave FIFO Address to Flags/Data ............................ 58
Slave FIFO Synchronous Address ............................ 59
Slave FIFO Asynchronous Address .......................... 59
Sequence Diagram .................................................... 60
Ordering Information ...................................................... 64
Ordering Code Definitions ......................................... 64
Package Diagrams .......................................................... 65
Quad Flat Package No Leads (QFN) Package
Design Notes ................................................................... 68
Acronyms ........................................................................ 70
Document Conventions ................................................. 70
Units of Measure ....................................................... 70
Errata ............................................................................... 71
Part Numbers Affected .............................................. 71
EZ-USB FX1 Qualification Status .............................. 71
EZ-USB FX1 Errata Summary .................................. 71
Document History Page ................................................. 72
Sales, Solutions, and Legal Information ...................... 74
Worldwide Sales and Design Support ....................... 74
Products .................................................................... 74
PSoC® Solutions ...................................................... 74
Cypress Developer Community ................................. 74
Technical Support ..................................................... 74
Document Number: 38-08039 Rev. *K
Page 3 of 74
CY7C64713
Functional Description
EZ-USB FX1 (CY7C64713) is a full speed, highly integrated,
USB microcontroller. By integrating the USB transceiver, Serial
Interface Engine (SIE), enhanced 8051 microcontroller, and a
programmable peripheral interface in a single chip, Cypress has
created a very cost effective solution that provides superior
time-to-market advantages.
The EZ-USB FX1 is more economical, because it incorporates
the USB transceiver and provides a smaller footprint solution
than the USB SIE or external transceiver implementations. With
EZ-USB FX1, the Cypress Smart SIE handles most of the USB
protocol in hardware, freeing the embedded microcontroller for
application specific functions and decreasing the development
time to ensure USB compatibility.
The General Programmable Interface (GPIF) and Master/Slave
Endpoint FIFO (8 or 16-bit data bus) provide an easy and
glueless interface to popular interfaces such as ATA, UTOPIA,
EPP, PCMCIA, and most DSP/processors.
Four Pb-free packages are defined for the family: 56-pin SSOP,
56-pin QFN, 100-pin TQFP, and 128-pin TQFP.
FX1 does not support the low speed signaling mode of 1.5 Mbps
or the high speed mode of 480 Mbps.
8051 Microprocessor
The 8051 microprocessor embedded in the FX1 family has
256 bytes of register RAM, an expanded interrupt system, three
timer/counters, and two USARTs.
8051 Clock Frequency
FX1 has an on-chip oscillator circuit that uses an external
24 MHz (±100 ppm) crystal with the following characteristics:
■
■
■
■
Parallel resonant
Fundamental mode
500
W
drive level
12 pF (5% tolerance) load capacitors.
Applications
■
■
■
■
■
■
■
■
An on-chip PLL multiplies the 24 MHz oscillator up to 480 MHz,
as required by the transceiver/PHY, and the internal counters
divide it down for use as the 8051 clock. The default 8051 clock
frequency is 12 MHz. The clock frequency of the 8051 is
dynamically changed by the 8051 through the CPUCS register.
The CLKOUT pin, which is three-stated and inverted using the
internal control bits, outputs the 50% duty cycle 8051 clock at the
selected 8051 clock frequency which is 48, 24, or 12 MHz.
USARTS
FX1 contains two standard 8051 USARTs, addressed by Special
Function Register (SFR) bits. The USART interface pins are
available on separate I/O pins, and are not multiplexed with port
pins.
UART0 and UART1 can operate using an internal clock at
230 KBaud with no more than 1% baud rate error. 230 KBaud
operation is achieved by an internally derived clock source that
generates overflow pulses at the appropriate time. The internal
clock adjusts for the 8051 clock rate (48, 24, 12 MHz) such that
it always presents the correct frequency for 230-KBaud
operation.
[1]
Special Function Registers
Certain 8051 SFR addresses are populated to provide fast
access to critical FX1 functions. These SFR additions are shown
in
Table 1 on page 5.
Bold type indicates non-standard,
enhanced 8051 registers. The two SFR rows that end with ‘0’ and
‘8’ contain bit addressable registers. The four I/O ports A–D use
the SFR addresses used in the standard 8051 for ports 0–3,
which are not implemented in the FX1. Because of the faster and
more efficient SFR addressing, the FX1 I/O ports are not
addressable in the external RAM space (using the MOVX
instruction).
DSL modems
ATA interface
Memory card readers
Legacy conversion devices
Home PNA
Wireless LAN
MP3 players
Networking
The
Reference Designs
section of the cypress website provides
additional tools for typical USB applications. Each reference
design comes complete with firmware source and object code,
schematics,
and
documentation.
Please
visit
http://www.cypress.com
for more information.
Functional Overview
USB Signaling Speed
FX1 operates at one of the three rates defined in the USB
Specification Revision 2.0, dated April 27, 2000:
Full speed, with a signaling bit rate of 12 Mbps.
Note
1. 115-KBaud operation is also possible by programming the 8051 SMOD0 or SMOD1 bits to a ‘1’ for UART0 and UART1, respectively.
Document Number: 38-08039 Rev. *K
Page 4 of 74