background image

EZ-USB Series 2100

USB firmware develop-
ment is faster since there
is less code to write. This

reduction in firmware allows the
design team to concentrate more
on software development for the
peripheral function.

Fewer 8051 MIPs are
dedicated to USB
processing. With the

EZ-USB family, as little as 10% of
8051 processing time is dedicated
to USB. That makes 90% of the
enhanced 8051 core’s processing
time available for peripheral
functions. Alternate solutions
dedicate more of their micro-
controller bandwidth to USB
processing.

The EZ-USB family
handles most low-level
USB overhead automati-

cally. Therefore, the learning
curve to understand all the
nuances of USB is reduced,
yielding fewer code errors and
faster product development.

Four Major Benefits of
Smart USB Core

The firmware code is
smaller and more
efficient than alternate

USB solutions. In the EZ-USB
family, the memory requirement
is reduced by a factor of two to
five times as 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 descriptors

·

USB suspend/resume

·

Remote wake-up

·

Bulk endpoint loopback

4

2

A USB hardware connection
is simpler than current
interface standards (ISA,
PCI, serial, parallel, and
SCSI). For example, there
are no IRQs or DMAs to set.
USB does not use direct
connections like RS232 or
EPP (Enhanced Parallel
Port). Instead, USB is a
packetized protocol similar
to telecommunication
standards such as X.25 or
frame relay. This makes
software development
complex.

3

The EZ-USB chip family reduces
the complexity of USB. It has a
predefined default descriptor
that causes it to function as a
generic USB device. Very little
code is required to operate the
EZ-USB chip when configured in
this default state. The default
descriptor can be replaced as the
peripheral manufacturer devel-
ops customized firmware.

Efficient EZ-USB Code

1

Firmware

File Type

EZ-USB Family

Alternate Solutions

Source

730 lines of C code

5445 lines of assembly code

Binary

< 1 Kbyte

> 5 Kbytes

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: