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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 239
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 95
EZ-USB SX2 Development Kit Manual - Getting Started
Page 12 Rev 2.0
5. Start the SIEMaster utility by selecting Start\Programs\Cypress\USB\SX2 SIEMaster and click
enumerate. You can verify that the Host is recognizing the devices by opening up Windows
Device Manager. If using the same PC, two Cypress sample devices should appear under the
Universal Serial Bus Controllers. If two PCs are being used then one sample device should
show up on each PC. Your system is now ready for development.
6. To ensure that the hardware is properly installed, press the READ button on the SIEMaster
utility with the register value set at IFCONFIG. If a value of C8 or C9, (depending on the state
of the SX2 being connected or not), appears then it is verified that the system is ready for
examples and development. Please see ..\ CYPRESS\USB\Doc\Sx2\SX2 SIEMaster User
Guide.pdf for more information about using SIEMaster.
5.0 EZ-USB SX2 Example Firmware
5.1 Loopback Example
The Cypress Semiconductor EZ-USB SX2 can be used in a system where an external CPU initial-
izes the SX2 chip and masters the SX2 FIFOs. Host data enters the SX2 OUT endpoints at
USB2.0 speeds, and is immediately moved into the SX2 FIFOs. The external CPU may then mas-
ter the SX2 FIFOs to retrieve data. Conversely, data may be moved from the external master into
the SX2 FIFOs for immediate transfer of SX2 IN endpoints (and back to the host PC).
The firmware example “xmaster.hex” (and the associated “xmaster.iic” EEPROM load) is an exam-
ple of using the EZ-USB FX as the external CPU master. The EZ-USB FX firmware causes SX2 to
loop bulk data back to the PC.
The EZ-USB FX master processor uses it's GPIF functionality to provide the FIFO interface sig-
nals, and it is configured to use burst transfers to simply loop data back to the SX2, thereby illus-
trating both reads and writes to the SX2 FIFOs.
It does this by looping back SX2 data across the physical interface — the headers which connect
the SX2 daughter card to the EZ-USB FX Development Board. The FX reads data out of an SX2
FIFO, then writes the data into a different SX2 FIFO.
The data path is illustrated in Figure 5.
Page view 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 238 239

Comments to this Manuals

No comments