USB superspeed peripherals Forum Discussions
Hi,
In my case, the USB cable which I want to use does not have USB 2.0 lines. It has only USB 3.0 lines. In that case, If I use that cable to connect my CX3 and the USB 3.0 host, will the CX3 work? Does CX3 has any dependency on USB 2.0 lines during boot/enumeration?
Show LessIs there a known issue with Intel xHCI controllers in SuperSpeed mode? Our FX3 based design works perfectly under several SuperSpeed controllers (Renesas, ASMedia, VIA...) but with Intel xHCI (Suface 3 pro, HP Elitebook 8570w) we have data loss in some cases and sometimes connection problems.
I read an old topic with Z77 issue and tried to disable LPM after connection, but it won´t help. Debugging with LeCroy Advisor T3 shows no errors, but the requested data from FPGA is missing in the failure case.
Edit: We work on WinUSB Driver and tested with Windows 7 and 10, both x64. It´s the same.
Show LessHi,
We are trying to set up a UVC based camera using FX3 super speed explorer kit, FX3 FW example given with AN75779. Our actual sensor is not UVC compliant and therefore we use FPGA as a medium to take data from sensor and give it in UVC format to FX3. However, before interfacing actual sensor, we started working with a test pattern generated from FPGA to test and see out if we can see any display on the host application(VLC Media Player). In doing so we see that FX3 hangs after receiving two buffers of data from sensor(FPGA).
Details of the test/experimental setup and the results given below
Setup 1: Same Resolution 1280x720@30fps, YUV2, No I2C interface
1) We have modified the sensor.c file to
a) i2C bus test to return success unconditionally
b) all i2c read/write calls in sensor init function commented out
2) we have modified the uvc.c file to add more debug print statements to catch the flow of execution
3) We have uncommented the DEBUG FRAME COUNT in uvc.h to print frame and buffer counts
4) FPGA drives FV, LV and PCLK (104MHz for 8bit interface, 2 bytes per pixel)
5) Generated the img file and programmed FX3.
6) The FX3 gets enumerated as a UVC device and debug prints start printing the message "UVC : completed 0 frames and 0 buffers"
7) VLC is set to use FX3 as capture device and start streaming by using Play
😎 Debug prints show streaming request received, gpif sm initiated and status of dma buffer for first two 16kB packets. After that we dont see any further activity from FX3. (This is confirmed as we have added print statements for both pass and fail conditions)
9) When we reset FX3 kit, the FX3 resumes again. Sequence repeats. Plese find attached images cypress1 through cypress4 (snapshot of debug prints, cypress 4 after starting stream from VLC)
Please note that the FV and LV are verified to be active when the strean is initiated from VLC and LV is active for 1280 * 2 PCLKs.
10) We did the same experiment, this time setting the resolution from FPGA to 640x480 @ 30fps, YUV2. We however dint modify the FW according to resolution. We just wanted to check if we could see any change in FX3 behaviour. We get to see same response in this case to. Attached image cypress5 shows the result after starting the streaming in VLC for this case.
Please let me know if i have missed any important change which could impact FX3 to this extent
Also, please provide step by step details of modifying AN75779 FW to use it with sensors of different resolution and frame rate.
Looking for a quicker support. You may call or mail me at the contact details given below
Thanks
Ajay Kumar.
+91 9482427152
Show LessUSB 3.0 consists of both super-speed lines (SS_TX_P, SS_TX_M, SS_RX_P, and SS_RX_M) and high-speed lines (DM and DP). Some designs may use the FX3 device in USB 3.0 mode alone; that is, only super-speed lines are used by the FX3 and high-speed lines are used by another controller. For example, Cypress USB 3.0 hub controllers, CYUSB3328 and CYUSB3326, have a SharedLink™ feature. This enables the USB 3.0 port to be split into an embedded super-speed port and a standard USB 2.0 port. To connect the FX3 to the embedded USB 3.0 port, it should be programmed such that it operates only in USB 3.0 and does not fall back to USB 2.0. There can be other applications besides SharedLink where this may be useful. This KBA addresses the implementation of enabling only the USB 3.0 functionality in the FX3 application firmware.
Show LessHi,
There are a lot of FX3 example code such as USBBulkLoopAuto, USBBulkLoopManual, USBIsochLoopAuto...etc. Does streamer.exe work with all those firmware? How about BulkLoop.exe?
Is there any explanation about how we use those two .exe?
Thanks,
Dick
Show LessHi,
I am working on a Windows console application to write/read EP0. FX3 firmware doesn't do anything other than loopback the data get from EP0.
The Windows console application EP0 Read() takes about 5-6 seconds to complete. See code below -
bXferCompleted = ctrlEpt->Write((PUCHAR)puc_buf_out, (LONG &)ul_len);
bXferCompleted = ctrlEpt->Read((PUCHAR)puc_buf_in, (LONG &)ul_len);
Is there any reason why the EP0 Read takes so long to complete?
Thanks,
Dick
Show LessHi Folks,
We are using slavefifosync firmware for USB3.0.
I am sending data from FGPA to FX3 using Slavefifosync, and after sending data to control center, after every 512 byte default 2 bytes 00 value is coming.
what is the problem here?
please suggest me regarding this issue.
I attached control center data transfer screenshot, Please find the attachment.
Thanks and Best Regards
Vinod Sajjan
Show LessI'm using a CX3 to drive an OV5640. What is the highest resolution that I can receive over USB 2.0? The frame rate doesn't matter - it can be very slow. Is it possible to get the maximum 2592x1944 resolution at a very low frame rate? I'm able to decode at 640x480 successfully, but not the higher resolution. What is the highest resolution possible over USB 2.0?
Thanks...
Show Less