USB superspeed peripherals Forum Discussions
Hello everyone,
1) I wanted to know if we can change the number of "bytes to transfer" in the USB Control Center when programming a stream IN from an FPGA to my super speed explorer kit. The purpose of this question is wanting to have a transfer of exactly a certain number of bytes from the FPGA to the FX3. It happens that I want a big numbers of bytes ( exactly 12 Mega Bytes ) but the documentation specifies that I can't have more that 16 384 Bytes per transfer.
2) I don't understand how come the number of bytes is very little ( knowing that I test the same transfer with a PCI bus and can have up to 12 Mega bytes per transfer. It is not instantaneous so I guess they do a continuous transfer until having the wanted bytes : so I want to do the same with usb 3.0.
I want to create my own application where I can change the number of "bytes to transfer" each time without restarting the board every time and can have up to 12 Mega Bytes.
Which software is used to develop the application USB Control center and the Streamer ?? How can I increase the number of the transferred bytes : can I just do a simple loop when calling the API that does the transfer ? could you please suggest some ideas ?
Regards,
Sameh
Show LessI'm designing a USB camera device, I want to know if I can use the USB3.0 as the channel of UVC camera, and use the USB2.0 as the control channel of the other sensors at the same time?the USB2.0 will transfer data and control the G sensor and ALS sensor, these data and command will via the I2C interface to USB interface.
Is this possible and how can I implement it?
Thanks,
CII
Show LessHi,
Here I met some problems: I use FX3 Kits to achieve a USB3.0 Bulk stream device, but The CyAPI.lib doesn't support USB3.0 Bulk streams when I look over the document "The cypress CyAPI Programmer's Reference". Is there a C++ or C-sharp liabrary support it? Where could i find it?
Best regards,
Tomsen.
Show LessHi all,
dealing with FX3S power management I see on its manual (CYUSB303X_001-84160_0D_V.pdf, page 13) an interesting suspend mode: "
Suspend mode with USB 3.0 PHY disabled (L2)". The strange thing is that "Methods of Exit" is equal to L1, where the PHY is enabled.
1 - How can the cpu be re-woken from USB bus if the PHY disabled?
2 - Is it possible to enter in L2 suspend mode using the API? this can be very useful to save some mW and reach the (in)famous 2.5mA total suspend current...
Thanks
Dax
Show LessI am initializing two threads to run HID and UVC endpoints. When I initialize both endpoints in one thread, the endpoint in the thread containing the initialization seems to work, but the other one doesn't. Does all of the USB initialization need to be in a single thread? If not, what are the rules for what has to be in one thread and what can be done in different threads?
Show LessIn my new project I need to control a servo. So I need generate on GPIO short impulses from 0.8 to 2ms. I've tried to do it with the timer. But with surprise I have known that the timer tick is equal 1ms. So there are 2 questions:
Can I configure timer that it ticks faster than 1ms?
Is there another way to generate short impulses?
Show LessI have a FX3 project that builds fine using FX3_SDK_Windows_v1.3.3 (Windows7, ezUsbSuite). I wanted to move it under Linux and I have installed FX3_SDK_Linux_v1.3.3 (Ubuntu12.04, ezUsbSuite)
First, automatically generated makefile does not set target properly and I have to modify it manually. Second, suite cannot link libraries even after I have added lib names and lib path exclusively.
Does anybody have similar issues transitioning FX3 Windows projects to Linux? Are there special steps to do this?
Regards,
Show LessI am able to get 100MBps in a bulk transfer with your bulk performance example program in the Mac sdk written in c. That program fills a buffer using memset with 4MB buffers. My goal is to select a file with the host software and send that file via bulk transfer. I have written the c code to select a file using 'fread' to an unsigned char for the bulk transfers. When I send the unsigned char via the bulk transfer I'm getting about 400kBps which is much slower than sending the unsigned char generated by memset in the example code.
I also tried breaking the data up in 16kB, 32kB, and 64kB buffers and sending them synchronously and asynchronously which gave me the same results
I tested the same using usb4java and getting the exact same results by filling a byte array with arbitrary data and getting 100+MBps using the arrays.fill method and then only getting 400kBps when filling a byte array with a file and sending it via the same bulk transfer call as the arbitrary data method.
Could it be a hard drive read time limitation. I have a solid state drive so I wouldn't think it's that slow. i am running a 2012 MacBook Pro with an SSD hard drive and USB 3.0 capability.
Link to an example of my method for reading a file to unsigned char
Show LessHi,
I need to implement a UVC-based application. There is a FPGA before the CYUSB3014.
I find the video get stuck very often(every 2 or 3 minutes) on the AMCap. But after I restart the AMCap, the video could continue again.
And I find when the video stops displaying, the uart frame count also stops increasing but the video continues streaming from FPGA to USB.
What could the problem be? And what can I do (with the FPGA part or the USB firmware) to fix this issue?
P.S. I find the problem is "backflow detected...", has anyone met this before?
P.P.S. I have the same problem with the post below, do I need to create a case for technical support?
Best Regards!
Show Less