Download Print this page

Intel 8x930Ax Converting Instructions page 5

Converting from intel 8x930ax to cypress ez-usb

Advertisement

Table 2. Product Options
Part Number
Package
AN2121SC
44 PQFP
AN2122SC
44 PQFP
AN2122TC
48 TQFP
AN2125SC
44 PQFP
AN2126SC
44 PQFP
AN2126TC
48 TQFP
AN2131SC
44 PQFP
AN2135SC
44 PQFP
AN2136SC
44 PQFP
AN2131QC
80 PQFP
10.Passive Networks
Both the 8x930Ax and EZ-USB have active-HIGH RESET
pins, but while the 8x930Ax requires only a capacitor to
V
, the EZ-USB family parts require a resistor-capacitor
CC
network.
11. Connect any programmable I/Os that were used to gen-
2
erate I
C signals directly to the EZ-USB I
If a peripheral required an I
would require the use of a programmable I/O along with
the appropriate firmware to emulate the I
2
has a dedicated I
C port that is a master and can be used
2
to control other I
C devices on the peripheral board.
Additional Firmware Issues To Consider When
Converting
1. Compile as 8051 (not 251)
Since the EZ-USB core operates in the 8051 mode only,
you must recompile your application in only this configura-
tion. The '251 mode uses different instructions and formats
and will not work. Most compilers for the 8051 family have
compile switches that make this translation transparent.
2. Add EZ-USB frameworks code
• Handles endpoint 0 transfers (getdesc...)
• Provides hooks to USB events
• Performs ReNumeration
All of the firmware that is required to handle default device
requests, set up the processor environment, perform Re-
Numeration, and set up hooks to all of the USB events is
included in the Application Frameworks which is included
in the EZ-USB Developer's Kit. Although much of the end-
point 0 traffic is handled by the EZ-USB Smart core, the
8051 still has USB overhead to handle. The frameworks
code serves as a good example of how to handle the re-
maining processing necessary by the 8051.
3. Remove control transfer code
Since the EZ-USB Smart core automatically handles
much of the Endpoint 0 Control transfer processing, a
good portion of the firmware required by the 930 can be
removed from the code after conversion.
RAM
I/O Rate
Size
(Bytes/s)
4K
600K
4K
600K
4K
600K
4K
4K
4K
8K
600K
8K
8K
8K
2
C port.
2
C bus master, the 8x930Ax
2
C bus. EZ-USB
Converting from Intel 8x930Ax to Cypress EZ-USB
# of Prog
I/Os
16
16
19
2M
8
2M
8
2M
11
16
2M
8
2M
8
2M
24
4. Use Turbo transfer mode when USB performance is
desired
To utilize the full bandwidth of the USB and still achieve the
maximum processing power, all data transfers for
high-bandwidth data should use the Turbo transfer mode.
The firmware required to perform these transfers is very
simple and is written in assembly to utilize the full speed
of this mode. These transfers will replace standard XDATA
accesses in the 930 firmware.
5. Remove 251 configuration setup
Since there are no configuration features that require set-
up for the 8051, the configuration setup code for the '251
can be removed.
6. Endpoint data is in RAM, not FIFOs
The 930 provides all of the bulk endpoint data in FIFOs,
making the processor read each byte out in series to pro-
cess a block of endpoint data. The EZ-USB architecture
places its data in RAM, which can be accessed in any
order necessary. This process can greatly reduce the pro-
cessing overhead, especially when processing control
transfers.
7. EZ-USB registers are in XDATA space, not SFRs
All of the registers in the EZ-USB chip are contained in the
XDATA memory space. This requires MOVX instructions to
access them.
8. I/O Ports are in XDATA space
The Intel 8x930Ax family uses SFR (Special Function
Register) bits to control their I/O port pins. The EZ-USB
family memory maps I/O port control registers, accessible
with MOVX instructions. Thus bit set and clear instructions
cannot be used with the EZ-USB I/O Ports.
Case Example– Zoran Video Inlet Reference
Design
Zoran manufacturers a Motion JPEG device, ZR36060, per-
forming on-the-fly hardware compression and yielding 30 fps
performance for video captures at CIF resolutions over USB.
With the advent of supporting JPEG compression, end users
can still capture video frame and maintain sharp images dur-
ing the capture. The Video Inlet reference design offers the
ability for the consumer to use a standard consumer video-
5
8-bit
ISO
Databus?
Support?
No
Yes
No
No
No
No
Yes
Yes
Yes
No
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes+Addr
Yes

Advertisement

loading

This manual is also suitable for:

N80930adN80930hfN80931aaS80931aaN80931haS80931ha