Cypress EZ-USB Series 2100 User's Guide Page 97

  • Download
  • Add to my manuals
  • Print
  • Page
    / 239
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 96
EZ-USB SX2™ Development Kit Manual Page 13
Figure 5. SX2 Xmaster Example Data Path
5.1.1 Running the Loopback Example Firmware (Xmaster - External Master)
The Cypress Semiconductor EZ-USB SX2 comes with an EZ-USB FX development board, which
is connected to the SX2 development board. The FX development board is already programmed
with the xmaster.iic firmware, so it loads automatically from the EEPROM when power is applied to
the board.
1. Make sure that your jumper settings are configured as follows:
a. SX2:JP7=1-2 (SX2 USB connector powers both boards)
b. SX2:JP3=2-3 (selects Reset from the FX board, see Table 2)
c. FX:JP9=1-2 (FX EEPROM Connect)
2. Connect a USB cable from the USB 2.0 “High Speed” port on the host PC to the USB port on
the SX2 development board. Note that the EZ-USB FX board needs no USB connection
because the code is burst-loaded into FX memory then to the EEPROM.
3. The loopback code is part of the xmaster firmware in the EEPROM on the EZ-USB FX board.
There is no need to load it independently. It will run automatically.
4. Make sure the SX2 is plugged into a high-speed port.
SX2
USB Pipe
Endpoint 2 OUT
USB Pipe
Endpoint 6 IN
USB Pipe
Endpoint 8 IN
PC
FX
EP2 FIFO
EP6 FIFO
EP8 FIFO
AOUT
FIFO
BOUT
FIFO
AIN
FIFO
BIN
FIFO
DMA
DMA
EZ-USB Control Panel is
used to send and request
USB packets through the
various endpoints.
SX2 automatically receives USB data and makes it
available to the FX. The SX2 also receives data
from the FX and automatically makes it available to
the PC in the form of USB packets.
FX firmware (xmaster.c)
monitors the FIFO flags
and reads data into a
FIFO. The FX firmware
uses internal DMA to
transfer the data to
another FIFO and then
writes the data back into
the SX2.
USB Pipe
Endpoint 4 OUT
EP4 FIFO
Logical Data Path
Logical Data Path
Logical Data Path
Logical Data Path
Page view 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 238 239

Comments to this Manuals

No comments