Electronics > Projects, Designs, and Technical Stuff
Easiest way to collect some data @50MB/s and dump to computer
c64:
--- Quote from: ataradov on June 13, 2020, 03:50:42 am ---And of course you will have to make some PC software.
--- End quote ---
Yep. As I understand it's as simple as opening a stream and just reading data from it?
ataradov:
--- Quote from: c64 on June 13, 2020, 04:13:16 am ---Yep. As I understand it's as simple as opening a stream and just reading data from it?
--- End quote ---
It is quite easy with libusb, but not entirely trivial. There are enough examples though, and I can provide some help too.
On windows you would also need to make a fake driver, since windows is stupid. I usually use this tool https://zadig.akeo.ie/ It creates a nice complete driver package.
c64:
Darn really. Even need to make drivers. FTDI is so much easier
ataradov:
It is not really "making". You just press a couple buttons in that tool and it makes them for you. It also changes descriptor strings and all that stuff, so your device is recognized by the system and looks all professional.
From the actual programming point of view, I don't know what is easier, I have not programmed anything FTDI, but from what I've seen, I prefer libusb.
magic:
AFAIK for FTDI you can just use a similar libftdi where you open_device(), configure_device() and read_device(), roughly speaking.
I wonder if the dual FT2232H would be capable of simultaneously running two streams with its two engines and achieving your throughput target in aggregate.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version