Page 1
68013 CY7C68013 CY7C68013 ® ™ EZ-USB USB Microcontroller High-Speed USB Peripheral Controller Cypress Semiconductor Corporation • 3901 North First Street • San Jose • CA 95134 • 408-943-2600 Document #: 38-08012 Rev. *A Revised January 15, 2002...
USB 2.0 integrated microcontroller. By integrating the USB 2.0 transceiver, 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 ingenious architecture of FX2 results in data transfer rates of 56 Mbytes per second, the maximum allowable USB 2.0 bandwidth, while still using a low-cost 8051 microcontroller in...
• MP3 players • Networking. The “Reference Designs” section of the cypress website provides additional tools for typical USB 2.0 applications. Each reference design comes complete with firmware source and object code, schematics, and documentation. Please visit http://www.cypress.com/usb for more information.
CY7C68013 3.2.1 8051 Clock Frequency FX2 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 • 27–33 pF (5% tolerance) load capacitors.
CY7C68013 SCON1 EXIF INT2CLR SBUF1 DPL0 MPAGE INT4CLR DPH0 DPL1 DPH1 PCON TCON SCON0 T2CON EICON TMOD SBUF0 AUTOPTRH1 EP2468STAT EP01STAT RCAP2L AUTOPTRL1 EP24FIFOFLGS GPIFTRIG RCAP2H reserved EP68FIFOFLGS AUTOPTRH2 GPIFSGLDATH CKCON AUTOPTRL2 GPIFSGLDATLX reserved AUTOPTRSETUP GPIFSGLDATLNOX USB Boot Methods During the power-up sequence, internal logic checks the I C-compatible port for the connection of an EEPROM whose first byte is either 0xC0 or 0xC2.
CY7C68013 3.7.2 USB-Interrupt Autovectors The main USB interrupt is shared by 27 interrupt sources. To save the code and processing time that normally would be required to identify the individual USB interrupt source, the FX2 provides a second level of interrupt vectoring, called Autovectoring. When a USB interrupt is asserted, the FX2 pushes the program counter onto its stack then jumps to address 0x0043, where it expects to find a “jump”...
CY7C68013 3.7.3 FIFO/GPIF Interrupt (INT4) Just as the USB Interrupt is shared among 27 individual USB-interrupt sources, the FIFO/GPIF interrupt is shared among 14 individual FIFO/GPIF sources. The FIFO/GPIF Interrupt, like the USB Interrupt, can employ autovectoring. Table 3-3 shows the priority and INT4VEC values for the 14 FIFO/GPIF interrupt sources Table 3-3.
CY7C68013 3.9.2 Internal Code Memory, EA = 0 This mode implements the internal eight-kbyte block of RAM (starting at 0) as combined code and data memory. When external RAM or ROM is added, the external read and write strobes are suppressed for memory spaces that exist inside the chip. This allows the user to connect a 64-kbyte memory without requiring address decodes to keep clear of internal memory spaces.
CY7C68013 3.9.3 External Code Memory, EA = 1 The bottom eight kbytes of program memory is external, and therefore the bottom eight kbytes of internal RAM is accessible only as data memory. Inside FX2 Outside FX2 FFFF 7.5 kbytes (OK to populate...
CY7C68013 3.11.4 Endpoint Configurations (High-speed Mode) EP0 IN&OUT EP1 IN EP1 OUT 1024 1024 1024 1024 1024 1024 1024 1024 1024 1024 1024 Figure 3-3. Endpoint Configuration Endpoints 0 and 1 are the same for every configuration. Endpoint 0 is the only CONTROL endpoint, and endpoint 1 can be either BULK or INTERRUPT.
GPIF The GPIF is a flexible 8- or 16-bit parallel interface driven by a user-programmable finite state machine. It allows the CY7C68013 to perform local bus mastering, and can implement a wide variety of protocols such as ATA interface, printer parallel port, and Utopia.
(or multiple inputs) must be before proceeding. The GPIF vector can be programmed to advance a FIFO to the next data value, advance an address, etc. A sequence of the GPIF vectors make up a single waveform that will be executed to perform the desired data move between the CY7C68013 and the external design. 3.13.1 Six Control OUT Signals The 100- and 128-pin packages bring out all six Control Output pins (CTL0-CTL5).
CY7C68013 Table 3-6. Strap Boot EEPROM Address Lines to These Values Bytes Example EEPROM 24LC00 24LC01 24LC02 24LC32 24LC64 3.16.2 C-compatible Interface Boot Load Access At power-on reset the I C-compatible interface boot loader will load the VID/PID/DID/a configuration byte and up to 8 kbytes of program/data.
CY7C68013 CY7C68013 Pin Descriptions Table 4-1. FX2 Pin Descriptions Name Type Default Description AVCC Power Analog V . This signal provides power to the analog section of the chip. AGND Power Analog Ground. Connect to ground with as short a path as possible.
Page 23
CY7C68013 Table 4-1. FX2 Pin Descriptions (continued) Name Type Default Description Input External Access. This pin determines where the 8051 fetches code between addresses 0x0000 and 0x1FFF. If EA = 0 the 8051 fetches this code from its internal RAM. IF EA = 1 the 8051 fetches this code from external memory.
Page 24
CY7C68013 Table 4-1. FX2 Pin Descriptions (continued) Name Type Default Description PA7 or I/O/Z Multiplexed pin whose function is selected by the IFCONFIG[1:0] and FLAGD or (PA7) PORTACFG.7 bits. SLCS# PA7 is a bidirectional I/O port pin. FLAGD is a programmable slave-FIFO output status flag signal.
Page 25
CY7C68013 Table 4-1. FX2 Pin Descriptions (continued) Name Type Default Description PC5 or I/O/Z Multiplexed pin whose function is selected by PORTCCFG.5 GPIFADR5 (PC5) PC5 is a bidirectional I/O port pin. GPIFADR5 is a GPIF address output pin. PC6 or I/O/Z Multiplexed pin whose function is selected by PORTCCFG.6...
Page 26
CY7C68013 Table 4-1. FX2 Pin Descriptions (continued) Name Type Default Description PE3 or I/O/Z Multiplexed pin whose function is selected by the PORTECFG.3 bit. RXD0OUT (PE3) PE3 is a bidirectional I/O port pin. RXD0OUT is an active-HIGH signal from 8051 UART0. If RXD0OUT is selected and UART0 is in Mode 0, this pin provides the output data for UART0 only when it is in sync mode.
Page 27
CY7C68013 Table 4-1. FX2 Pin Descriptions (continued) Name Type Default Description CTL3 Output CTL3 is a GPIF control output. CTL4 Output CTL4 is a GPIF control output. CTL5 Output CTL5 is a GPIF control output. IFCLK I/O/Z Interface Clock, used for synchronously clocking data into or out of the slave FIFOs.
Page 28
CY7C68013 Table 4-1. FX2 Pin Descriptions (continued) Name Type Default Description Power . Connect to 3.3V power source. Power . Connect to 3.3V power source. Power . Connect to 3.3V power source. Power . Connect to 3.3V power source. Power .
CY7C68013 Absolute Maximum Ratings Storage Temperature ............................ –65°C to +150°C Ambient Temperature with Power Supplied ......................0°C to +70°C Supply Voltage to Ground Potential ........................–0.5V to +4.0V DC Input Voltage to Any Input Pin ..........................5.25V DC Voltage Applied to Outputs in High Z State ..................–0.5V to V + 0.5V...
CY7C68013 AC Electrical Characteristics USB Transceiver USB 2.0-compliant in full- and high-speed modes. Program Memory Read CLKOUT A[15..0] STBH STBL PSEN# [10] ACC1 D[7..0] data in SOEL SCSL Figure 9-1. Program Memory Read Timing Diagram Table 9-1. Program Memory Read Parameters...
CY7C68013 Data Memory Read Stretch = 0 CLKOUT A[15..0] STBH STBL SCSL SOEL [11] ACC1 D[7..0] data in Stretch = 1 CLKOUT A[15..0] [11] ACC1 D[7..0] data in Figure 9-2. Data Memory Read Timing Diagram Note: 11. t and t...
CY7C68013 Data Memory Write CLKOUT STBL STBH A[15..0] SCSL OFF1 data out D[7..0] Stretch = 1 CLKOUT A[15..0] OFF1 D[7..0] data out Figure 9-3. Data Memory Write Timing Diagram Table 9-3. Data Memory Write Parameters Parameter Description Min. Max. Unit...
CY7C68013 [14] Table 9-10. Slave FIFO Synchronous Write Parameters with Externally Sourced IFCLK Parameter Description Min. Max. Unit IFCLK Period 20.83 IFCLK SLWR to Clock Set-up Time 12.1 Clock to SLWR Hold Time FIFO Data to Clock Set-up Time Clock to FIFO Data Hold Time Clock to FLAGS Output Propagation Time 13.5...
CY7C68013 [14] Table 9-13. Slave FIFO Synchronous Packet End Strobe Parameters with Externally Sourced IFCLK Parameter Description Min. Max. Unit IFCLK Period 20.83 IFCLK PKTEND to Clock Set-up Time Clock to PKTEND Hold Time Clock to FLAGS Output Propagation Delay 13.5...
Cypress Semiconductor product. Nor does it convey or imply any license under patent or other rights. Cypress Semiconductor does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress...
Page 48
CY7C68013 Document Title: CY7C68013 EZ USB FX2 USB Microcontroller, High Speed USB Peripheral Controller Document Number: 38-08012 Issue Orig. of REV. ECN NO. Date Change Description of Change 111753 11/15/01 Change from Spec number: 38-00929 to 38-08012 111802 02/20/02 Update functional changes between revision D part and revision E part Changed timing data from simulation data to revision E characterization data Document #: 38-08012 Rev.
Need help?
Do you have a question about the CY7C68013 and is the answer not in the manual?
Questions and answers