Cypress AN2121SC Product Manual Download Page 8

EZ-USB Series 2100

 Turbo Performance

To make full use of the USB
bandwidth, the EZ-USB family
has large endpoint buffers and a
fast method for transferring data
into and out of the buffers. With
the EZ-USB architecture, bulk
and isochronous endpoints can
be configured as double-buffered
with maximum packet sizes.
With the 2-Kbyte FIFO, the
EZ-USB family can transfer a
1024-byte isochronous packet
within a single USB frame.
Similarly for bulk endpoints, the
EZ-USB can transfer data using
the 64-byte double buffer capa-
bilities at a data transfer rate of
greater than 2 Mbytes per
second.

Fast transfer rates can occur in
and out of the internal FIFOs to
external peripherals since the
EZ-USB core automatically
monitors 8051 transfers between
the accumulator and the end-
point FIFO registers. When one of
these transfers occurs, the
EZ-USB core also reads or writes
the FIFO data over the external
data bus and provides external
FIFO read and write strobes for
the external interface.

Turbo Isochronous
Capability

The EZ-USB family provides
1024 bytes of double-buffered
FIFO memory (2048 bytes in all)
which may be divided between
16 isochronous endpoints.
During any one millisecond
frame time, one of the FIFOs is
connected to the USB and the
other to the 8051.  At every SOF
(Start Of Frame), the buffers
“ping-pong” so the 8051 can

access the last frame’s data while
the other FIFO empties or fills
with new USB data.

A single “movx” instruction
transfers data between EZ-USB
endpoint FIFOs and external logic
in two cycles or 330 nano seconds.

Based on these connections a
complete 1024-byte transfer can
take 388 microseconds, less than
40% of the 1 ms USB frame time.
This is an equivalent transfer rate
of greater than 2 Mbytes per
second.

Turbo Bulk Capability

USB bulk endpoint data is avail-
able to the 8051 as 16 64-byte
buffers in RAM. A special bulk
data pointer allows this RAM data
to also be accessed as a FIFO. The
8051 loads this sixteen-bit pointer
with the address of a bulk buffer.
Then, using a special data register,
accesses the buffer data as if it
were a FIFO. Every read or write
to the data register increments the
address pointer. This gives the
8051 a third data pointer: one that
auto-increments.

As with the fast isochronous
mode, the special data register
uses the turbo mode that allows a
byte of data to be transferred
using a single “movx” instruction.
Bulk transfers in and out of the
8051 therefore can be done with
the speed of the isochronous
transfers, one byte every two
cycles (330 nanoseconds). This
performance can generate well
over the maximum allowable bulk
packets within a USB frame.

The EZ-USB family
provides the maximum
performance specified for
USB. This allows the
peripheral manufacturer to
take advantage of USB’s
full bandwidth in high-
speed applications such as
full-motion video,
continuous audio, scanning,
digital photography, and
printing.

Summary of Contents for AN2121SC

Page 1: ...also supports an equiva lent data transfer rate for bulk packets of over 2 Mbytes per second which is more than the USB bandwidth The EZ USB family conforms to the high speed 12 Mbps require ments of...

Page 2: ...y eliminates the need to become an expert in USB It allows the designer to take advantage of the benefits of USB without investing large amounts of time and energy With the EZ USB family peripheral de...

Page 3: ...nificantly less 8051 USB code since core handles most USB activity Architecture Shortened USB learning curve Quicker working prototypes and final production models More software development time to de...

Page 4: ...gn implementation Peripheral manufacturers can provide firmware updates in conjunction with driver changes via a floppy disk or through Internet downloads Thus Unprecedented Soft Architecture software...

Page 5: ...code download while holding the 8051 in reset Once enumerated the host PC downloads 8051 code into EZ USB RAM over the USB interface Anchor Chips supplies the software tools to incorporate the loader...

Page 6: ...compared to other solutions And since less memory is needed for firmware board size and system cost are reduced Automatically Handles Low Level USB Overhead Test Code Supports USB Chapter 9 String des...

Page 7: ...rt address of the requested descriptor data 2 The EZ USB core does the rest The EZ USB core automatically takes care of error checking and retries dividing the table into packets for the various IN tr...

Page 8: ...he last frame s data while the other FIFO empties or fills with new USB data A single movx instruction transfers data between EZ USB endpoint FIFOs and external logic in two cycles or 330 nano seconds...

Page 9: ...ike the FRW signal the FRD signal may be tailored for different interface requirements support extra features such as a second data pointer a second UART cycle stretched timing an expanded interrupt s...

Page 10: ...ware Because of the flexibility of the external EEPROM and inter nal RAM manufacturers have the option to make last minute changes to a design code without impacting production schedules External mem...

Page 11: ...ata integrity must be guaran teed but without critical delivery time The EZ USB family provides 14 bulk endpoints seven IN and seven OUT These endpoints can be programmed to be double buffered which i...

Page 12: ...signals and provide a convenient interface to a logic analyzer C Compiler from Keil The C compiler from Keil Soft ware lets the designer write 8051 microcontroller applications in C and still get the...

Page 13: ...are frame works With this library of predefined function calls devel opers can quickly develop their peripheral function The firm ware library includes functions such as ReNumeration I2 C programming...

Page 14: ...nd Pin Definitions 1 10 10 9 90 13 45 12 95 8 00 REF 11 33 23 12 22 44 34 0 80 BSC 44 PQFP 2 35 MAX 0 45 0 30 0o 7o 1 00 0 80 1 95 0 15 80 Pin Lead Detail 2 7 6 2 6 6 0 28 0 18 8 Places 12o REF Base P...

Page 15: ...o P d n u o r G d n a r e w o P d n u o r G d n a r e w o P d n u o r G d n a r e w o P 7 7 8 1 D N G A 0 1 0 1 1 2 C C V A 5 4 3 1 3 2 2 1 6 8 3 4 3 5 4 3 1 3 2 2 1 6 8 3 4 3 3 1 6 5 3 3 2 7 1 4 1 3...

Page 16: ...10 Fax 408 943 6848 www cypress com Anchor Chips Incorporated 12396 World Trade Drive M S 212 San Diego CA 92128 Telephone 858 613 7900 Fax 858 676 6896 www anchorchips com A Business Unit of Cypress...

Reviews: