Electronics > Projects, Designs, and Technical Stuff

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

<< < (6/11) > >>

magic:

--- Quote from: c64 on June 13, 2020, 05:08:44 am ---I think dual in it means "dual UART"

--- End quote ---
No, it can also do dual bus modes IIRC, maybe not every one of them but some. Read the datasheet before dismissing it.
Or use a pair of FT chips on different USB ports ;)

SuperFungus:
If you are planning on using the FX2, I can recommend the fx2pipe software: https://www.triplespark.net/elec/periph/USB-FX2/software/fx2pipe.html

It's a command line utility which will allow you to ingest data from an FX2 board at pretty much max possible speed.  One of the advantages is it comes with a firmware image and the capability of updating the attached FX2 over USB, so the whole process is transparent.  No need to set up a 8051 development environment, write and debug firmware for the FX2 etc.

magic:
That's awesome if it works as advertised :-+

abyrvalg:
Indeed there is a driver written by Cypress themselves (cyusb.sys and newer cyusb3.sys), it has an inf file with some predefined vids/pids. We’ve seen >50MB/s throughput with Cypress’s Screamer test firmware/software and their driver. Inability to achieve >45MB/s with libusb can be a problem of libusb/winusb.
Note that you need to implement some specific mode (16-bit synchronous slave FIFO iirc) to get the maximum. 8-bit modes can’t reach it. I’ve seen FX2-based USB-DVB boxes using a latch to convert 8-bit TS bus to 16-bit to increase the bandwidth.

magic:

--- Quote from: SuperFungus on June 14, 2020, 09:23:41 am ---If you are planning on using the FX2, I can recommend the fx2pipe software: https://www.triplespark.net/elec/periph/USB-FX2/software/fx2pipe.html

--- End quote ---
Any option to make it work with nothing external connected to the chip's bus, like those logic analyzers? I just want to test it, but no results so far...

It also doesn't work with libusb1 + libusb0.1-compat. That was resolved by installing genuine libusb0.1 (version 0.1.12).

--- Code: ---fx2pipe: wwusb.cc:129: WWUSBDevice::ErrorCode WWUSBDevice::_DoConnect(usb_device*): Assertion `dev_handle_to_dev(udh)==udev' failed.
--- End code ---
Maybe there are still some issues and it only pretends to work.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

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