Cypress 68013 - Xilinx FPGA

Hi everyone,

I am trying to add a USB 480Mbps interface to my fpga design which will stream data in one direction only from the FPGA to PC.

The avnet evaluation board I have has the Cypress 68013 chip.

Can anybody point me in the right direction of where to start (or which is the most suitable application note on the cypress website), and if there is any sample cores to embed on the fpga.

Thanks very much,

Al

Reply to
al99999
Loading thread data ...

Use the 'slave fifo' interface of the 68013. Use it in one of its synchronous modes. (I tend to clock the FPGA off the

48MHz clock from the 68013). After that, it's really simple, provided you've set the 68013 up correctly - you watch the appropriate 'fifo-full' flag from the 68013 and drive data in accordingly. You need the technical reference manual for the 68013 (FX2), not just the datasheet. (Both from Cypress' TERRIBLE website)

You will probably find that the PC is a bottleneck, particularly if you don't make an effort to keep lots of overlapped reads queued on to the USB driver.

If you've never done anything with USB or device drivers before, start with the Cypress "USB developer uStudio" or whatever they call it (CY4604) - the CyUSB.sys generic driver. I can never find it on their TERRIBLE website, but it's there somewhere.

The FPGA -> FX2 link is trivial. The rest of the development might be harder.

Will

Reply to
Will Dean

al99999 schrieb:

Have you thought about the Xilinx ML403 with Gigabit Ethernet. There is a solution called GSRD with Jumboframes. You can get about

500Mbits/s via socket communication with PC. And i made a monta vista linux run on PowerPC in Virtex 4.

This could also be a solution if your not fixed to USB.

Eric

Reply to
eric

Thanks very much, I'll try this and see what I can do.

Al

Reply to
al99999

Hi,

I have now written a program to initialise the 68013 to slave fifo mode, but I am struggling to find any tutorials on how to program this onto the 68013 and test it. If for example I wished to write to a memory location on the 8051 and then read it back how could I do this.

Thanks again,

Al

Reply to
al99999

This is off-topic for this group, but you're clearly struggling.

The 68013 doesn't have non-volatile storage internally, you either store the code in an external EEPROM or you send it down the USB cable at USB enumeration time. The chip will actually run the code from RAM.

You need to get the (free) development tools from Cypress, which contain lots of samples (of variable quality) and utilities/drivers to help you send the code down into the chip or into an external EEPROM.

You would probably find comp.arch.embedded a better group for support - I suspect you're going to need lots of it.

Will

Reply to
Will Dean

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.