USB superspeed peripherals Forum Discussions
Our FX3-based device can be powered by battery, so USB is only needed to power it on until the switch over to battery as power source. An FPGA is connected to the GPIF. However, we observed that GPIF transactions fail whenever the USB is disconnected. Does GPIF have dependency on USB?
Show LessHello,
I have developed firmware that operates as a USB 2.0 host on FX3.
This firmware provides support for the HU205 UVC webcam as a device.
Now, I aim to enhance the firmware's capabilities to accommodate an additional webcam, specifically the Logitech StreamCam.
However, during testing, I encountered a significant issue with the resulting video quality, as it appeared severely distorted.
Upon analyzing the video stream using the LeCroy USB Analyzer, I noticed that the stream patterns for the two webcams exhibited slight variations, as demonstrated below.
Case 1. webCam(HU205) -> LeCroy USB Analyzer -> FX3(USB2.0 host) : Video streaming OK
Case 2. webcam(StreamCam) -> LeCroy USB Analyzer -> FX3(USB2.0 host) : Video is broken
There's another device which I developed that can show me the stream that the usb 2.0 host receive. When I saw the video of case 1, it was fine but in case 2, the video was broken like below.
The diffences that I noticed from Case 1&2 are
- Case 1 (EOH of UVC Header is 1), Case 2 (EOH is 0)
- Case 1 ("No Data" not found), Case 2("No Data" found)
Any comments or suggestions will be highly appreciated
Regards,
Rossi
Show LessHello,
I have two successfully running fx3 firmwares, one of which runs as a usb2.0 host(OTG) and the other as a device.
For the new requirement, I have to combine those two firmwares, one firmware which would act as a usb host when it's connected with a device and when it's connected with a host such as PC, it has to work as device.
I'm not considering role negotiation method used in OTG because I'm combining completely different logics together.
When fx3 is connected, the role(whether it'll work as host or device) is already determined and if it's needed, the role can be informed to the fx3 through the GPIO pin, for example.
I have looked into the firmware examples and try to prove my concept with them. Those are
- 7.1.1 USBBulkLoopAuto (to simulate my device)
- 7.2.12 USBHost (to simulate my host)
I think it's crucial to distinguish fx3 is on which state(to determine whether it should work as host or device) and I assume that this could be done with OTG callback within my understanding. But in my testing so far, I imagined that OTG callback would let me know when the device is connected, but seems like something's wrong.
How can I address this problem?
/* Initialize the OTG module. */
otgCfg.otgMode = CY_U3P_OTG_MODE_OTG;
otgCfg.chargerMode = CY_U3P_OTG_CHARGER_DETECT_ACA_MODE;
otgCfg.cb = CyFxOtgEventCb;
status = CyU3POtgStart (&otgCfg);
Regards,
Rossi
Show Less
Hello,
I am working with the CX3 Denebola Dev Kit. I implemented multiple framerate (30 and 60 fps) for VGA, following the discussion from this link => Resolutions with multiple Frame rates in CX3 UVC-CDC .
On Windows and Linux, I was able to see multiple framerate options for the same resolution and was able to switch between framerates. However, I was not able to change or even see multiple framerate options on Mac.
Any help on this matter appreciated!
Irfan
Our hardware product is built around the CYUSB3013 chip. To communicate with the device, the PC uses an isochronous endpoint.
When we configure the device in ISO mode with a burst length of 11, the number of ISO packets per interval set to 3, and a polling interval of 125us (resulting in 3*11 Kbytes of data per USB micro-frame), the device performs as expected. However, when we set the burst length to 12, the device responds with 12 Kbytes of data, but the last packet lacks the LPF (End of Burst) set. Does anyone have insights into why this is happening?
Show Less
Hi,
Now that my USB enumeration is successful, I want to register a control transfer command to switch the usb connection speed freely between USB 2.0 and USB 3.0. What I know so far is using the USBConnectSpeed(connect,connect_speed) API and registering reqcode. What I want to ask is what I need to do before calling the USBConnectSpeed API. If you can give me an example, That's even better.
Thanks.
What is the current consumption at each power pin of CYUSB3014-BZXI?
Dear technical support expert,
I 'm study your KBA237926 article , it says the sensor AR1335 use on board oscillator as input clk.
Can you kindly tell me the oscillator value ? is it 25MHZ?
Show LessHello,
I am registering two control transfer requests to change how my USB works, but I have to wait ten seconds to send the request code to the control endpoint, is there a better way for me to solve this problem, or is there something wrong with how I am using it.
Here are my firmware programs and software.
Thanks.
Show Less
Hi all
Does Cypress Driver support windows 11 ?
Does Cypress provide C#/C++ lib for windows 11??