USB superspeed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
Our application requires following "devices" to be supported on one USB link:
1. One audio device without I2S. Streaming data will be sent and received through the GPIF II interface
2. One SPI device
3. One I2C
4. One UART
Support of items 2,3,4 above will not allow the use of 32 bits on the GPIF II interface. Sixteen bit transfers will be sufficient.
Questions:
1. How is the FX3's 16 Data + UART + SPI + I2S operation mode selected? Software running on the FX3? Hardware?
2. When the 16 Data + UART + SPI + i2S operation mode is selected are GPIOs mapped onto DQ[16} to DQ[27] functional?
3. Can the UART + SPI + GPIF II interfaces be used simultaneously? Of course, transfers on the USB bus can only be for one interface at a time but can the USB Host software "open" all of these interfaces and transfer data as required? Or, will the USB host be forced to "close" one USB device before it "opens" another?
4. When implementing USB bridging functions, how many endpoints are required per bridge? I believe 1 Control Endpoint + 3 (In, Out, Interrupt) is required per bridge. Implementing four USB to UART bridges would require 13 endpoints. One control endpoint shared by all UART bridges plus 12 more endpoints (4 x In, Out and Interrupt endpoints). Is my understand correct?
Thanks for your help,
Wayne
Show Less
the fpga eval board referenced in AN84868 is obsolete. Is there an updated version of this app note with an active fpga board?
Hi, I'm studying the technique for USB Audio Class.
I found a UAC example under "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\uac_examples".
After I built & flashed it into my FX3, I could find it as audio device on Windows.
However, I don't know how to test it...
There is completed tutorial document for UVC, which includes the test procedure on Windows:
Please teach me how to test the UAC example(maybe by VLC player, but the procedure is?).
By the way, is there any tutorial for UAC like UVC?
Thank you!
Show LessDear Yatheesh,
Sorry to bother you again.
After the last /RD signal problem was solved, no more underrun error.
But recently, all system combined test, I received error "No error : 18" from CY3014 uart port ,then, Xfer to FPGA failed.
Please kindly advise what is "No error : 18" ?
BR
Steven.
Show LessHi,
I am developing image sensor application. Basically we want to grab frame send from fpga to FX3. Then FX3 send to PC via usb.
Lets say I have a frame size of 18432bytes, my SW is able to grab the frame successfully. Because 18432 is divisible by 1024.
However, if my frame size is 23040bytes, the frame grab will fail. I have checked the data grabbed using wireshark, it shows that only 22528 bytes is grabbed, and failed to grabbed the remaining data. We also checked on other inputs bytes, where any input data bytes if is not divisible by 1024, SW will fail.
Based on the Firmware, the usb setting are using CY_U3P_SUPER_SPEED, size = 1024, burstlength = 16.
May i know why this could happened or how to adjust the data input where it can divisible by any number?
Let me know if you need further input.
Thanks!
Show Less
Hi,
my setup are FX3 slave fifo, dma auto mode.
I notice that on my host application, sometimes the Xferdata will return false due to timeout. By using Visual studio 2015 set breakpoint to observe why it time out, I found that the Xferdata did not fully grabbed my data and it failed(it only grabbed half of the data which is 4MB). However using Wireshark, i could see the data has fully send from FX3 thru USB3.0 on my PC host.
Things i tried:
Set the timeout to 10s for xferdata longer time to grab, but it still failed. (During this 10 second, I also observed from wireshark the full data packed 4194331 + 4194331 + 65563 - 3*27 has been sent) Xferdata will just wait 10 second do nothing and return false.
//Code explain
if (endPoint->XferData(buffer[1], rLen, 0))
{
//check package is fully grabbed? or return error.
}
else //timeout
{
//debugging purpose
// check lens return value
}
From here we can see the lens return value will always less than < expected bytes. (Eventhough wireshark has shown data has been send from FX3)
Please let me know if you have any idea to this?
Thanks!
ZY
Show LessGX3 release a driver for Android.
On general tablets, such as smartphones, users cannot freely install drivers. Therefore, my understanding is that the tablet supplier should have the driver installed. Is it correct?
If correct, there is no way for the end user to recognize when they try to connect a generic tablet. Is there any way?
Thank you,
Tetsuo
Dear sir, In my FX3 case , Why the usb connection type cannot be identified as Super speed enumeration. Here is print log.
After I start up OBS, CyFx3UvcAppUSBEventCB is CY_U3P_USB_EVENT_SOF_ITP , I think it should be USB 3.0 link. The print log is showed below.
Best Regards,
George Luo
Show Less
Any pointers when merging FX3 code for USBFlashProg and BulkLoopAuto?
Testing a capability to have Flash support simultaneous to BulkLoopAuto (16bit GPIF):
-- merged the relevant (FX3) files from USBFlashProg into BulkLoopAuto.
The core application files are straighforward; and so are the usb descriptor files; albeit some differences I don't yet understand completely.
The build is successful. However, after a successful d/l to ram, the host PC cannot detect the FX3 (kit).
Cx3 has a camera, and other devices can preview images by UVC connection . The customer want to add the time stamp on the image.Can cx3 realize this function?Or is there a corresponding interface?
Show Less