USB superspeed peripherals Forum Discussions
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 LessI am developing FX3 self-powered product.
Per FX3 data sheet, the errata 2 (USB enumeration failure in USB boot mode when FX3 is self-powered) has a workaround to reset the device after connecting to USB host.
Not sure how to reset the device. via HW or SW?
Show Less
Dear sir,
After power on,Why CyU3PGpifLoad failed?
Log is below
CyFx3UvcIoMatrixReInit:Cfg1 = 0x410, Cfg = 0x510
CyFx3UvcInitGpifSm: CyU3PPibInit Success
CyFx3UvcInitGpifSm: CyU3PGpifLoad failed, error code = 0x46
CyFx3UvcAppInit:Not Super speed enumeration with MUX_SEL low. Fllipping Mux to try again
FX3 UVC App init complete
CyFx3UvcAppUSBEventCB: Default USB evtype = 6
CyFx3UvcAppUSBEventCB: Detected HS USB Connection
Rcvd suspend evt