Electronics > Projects, Designs, and Technical Stuff

Easiest way to collect some data @50MB/s and dump to computer

(1/11) > >>

c64:
Everything below is just for testing a prototype, i.e. not needed in production. It means solution can be ugly.

I receive some data at ~ 50 MBytes / sec into my FPGA (Cyclone IV E). I want to dump it to the computer. Not necessary in real time. Acceptable solution would be to collect just ~1 sec of data and then send to computer at slower speed.

Can you recommend some very easy way to do it? I have no experience with USB or SDRAM. I have USB logic analyzer,  8-bit 24MHz.

So far the only idea I have is to dump everything to memory (but 50MB of non-SDRAM is quite expensive) , then transfer to computer at slower speed using:
1. Logic analyzer (if it has this feature "dump everything to file")
2. LPT port :)
3. Some USB-to-UART thing
4. Write to SDCARD - but need to move it between DUT and computer all the time

I guess the proper thing would be to use USB 2.0 which should be good enough for this speed but have no experience with USB

ataradov:
Cypress CY7C68013 is a high-speed USB to FIFO interface that can do close to 50 MB/s. In theory USB HS can go slightly higher, but in reality I could never get more than around 48-49 MB/s from USB HS. I'm pretty sure this is OS overhead. Windows is slightly worse than Linux in this respect.

That Cypress chip will require some programming of 8051 core, but it is pretty trivial, and the task is so common that you will probably be able to find the readily available firmware.

There is equivalent chip from FTDI, which may not require programming, but then you will have to deal with FTDI.

palpurul:
I believe FT601 can achieve 50MB/s

ataradov:
It is not about what device can do. They all can in theory. OSes can't handle 50 MB/s. Or at least I could not make them do it with many different USB devices, so I'm pretty sure it is OS limitation.

I used libusb on all of them, so it may be libusb thing, but I don't think so.

palpurul:
50 MB/s is pretty decent speed for USB HS. That's about the limit of the interface.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod