USB superspeed peripherals Forum Discussions
Hi, I am using CYUSB3014 to stream live images to the PC using a bulk endpoint. I get error 997 for WaitForXfer , FinishDataXfer. Also I get USB underrun error in the firmware.
I am using DMA in manual many to one having two GPIF as the producers and one USB (CY_U3P_UIB_SOCKET_CONS_1) as the consumer. There are two buffers per sockets. When there are some errors I like to reset the whole stream of the data. The code I return resets the GPIF using CyU3PGpifSMSwitch to go to start state then I run the followings:
- CyU3PDmaMultiChannelAbort
- CyU3PUsbFlushEp
- CyU3PDmaMultiChannelReset
- CyU3PDmaMultiChannelSetXfer
- CyU3PGpifControlSWInput, I use this to resume the GPIF to generate the data and starts to commit them.
The thing is when I run the above I can see the call back for the DMA is being called four times saying there consumer event. I am wondering why when I run the above the call back for the DMA is being called four times.
Thanks
Behzad
Show Less
Hello,
I would like to ask about connecting FX3 to Type-C connector.
As I see from this link there are several way to connect FX3 to Type-C connector: https://community.infineon.com/t5/Knowledge-Base-Articles/Designing-Type-C-products-based-on-EZ-USB-FX3-and-CX3-KBA218460/ta-p/251806
1. FX3 Type-C Plug Design - without multiplexer
2. FX3 Type-C Receptacle Design - with multiplexer
In "FX3 Type-C Plug Design" is said that "a multiplexer is not required for selecting the correct pair of USB data lines because the USB host can handle the right connection"
Am i understand correctly that because of Type-C is symmetrical and USB host can handle the right connection, I can switch plug orientation without problem?
If so, why is necessary multiplexer at all?
Hi, All,
Customer has new RFI about USB3 video capture card.
1. Can you provide us the reference design (RDK) to us?
What is its ability? ex : FPS ... product spec
2. Does infineon provide SX3 source code? cuz we maybe need to modify FW to support customization spec.
3. Can you provide more material about IFX- USB3 video capture card solution to us for study
Show LessHi @AliAsgar
i came across some problem with super speed explorer kit
its enumerating while i flash with blink example given with sdk
But while flashing my firmware its not enumerating in the device tree but its giving the debug prints
and aslo after setting the all descriptors i am calling connectstate parameters both are true After i am checking getspeed() its returning 0
again its went to renumerating repeatdliy
/* Connect the USB pins and enable super speed operation */
status = CyU3PConnectState(CyTrue, CyFalse);
//CyU3PDebugPrint(4,"\n\rCyU3PUsbGetSpeed() is %d",CyU3PUsbGetSpeed());
/*if(CyU3PUsbGetSpeed() != CY_U3P_SUPER_SPEED)
{
status = CyU3PConnectState(CyFalse, CyFalse);
CyU3PGpioSetValue(TYPEC_MUX_GPIO, CyFalse);
status = CyU3PUsbControlUsb2Support (CyTrue);
status = CyU3PConnectState(CyTrue, CyFalse);
if (status != CY_U3P_SUCCESS)
{
CyU3PDebugPrint(4, "\n\rUSB Connect failed, Error code = %d", status);
}
}
*/
if i am configuring as above its connected to full speed device
and also i configured gpio 45 as interrupt its connected to pushbutton
that one also not called while pressing the push button
Thanks in advance
Best Regards
clinton
Show LessHello,
I am trying to design a camera (using sensor from Onsemi AR0134 ) shield board , that should be attached to the develop board CYUSB3KIT-003 . The interface is simply between image sensor and FX3, no ISP or FPGA inbetween.
The output signals from the image sensor should be parallel. Since I am going to supply the VDD_IO of the sensor using 2.8V, I am wondering whether I should place a level shifter IC (2.8V <-> 3.3V) on my shield board, so that the DQ pins from my shield are board 3.3V compatible.
Thanks,
Zhangshun
Show LessDear All,
I am implementing FX3 U3V device with the demo provided in this link. (https://community.infineon.com/t5/USB-superspeed-peripherals/FX3-application-note-for-USB3-Vision/td-p/52071#comment-293031)
And I refer the following discussions and make some modification to the demo as well as the xml file to make it enumerated but the eBUS palyer then shows XML_ERROR while the xml file contained in the device has been read by the host app. I change the xml files and adjust the size of the xml file, but the error remains. Is there any step i missed? Any help would be appreciated!
Thank you!
Show Less
Hi,
I want to configure a complex GPIO as a timer. I want it to go at 200 or 100 MHz (the GPIO can either be a static timer or -even better- toggle the pin at the chosen frequency).
However, when i try to set these high frequencies,my device stops enumerating. Is there a limit to the GPIO frequency i can set?
My code for gpio configuration:
gpioComplexConfig.outValue = 0;
gpioComplexConfig.inputEn = 0;
gpioComplexConfig.driveLowEn = 0;
gpioComplexConfig.driveHighEn = 0;
gpioComplexConfig.pinMode = CY_U3P_GPIO_MODE_STATIC;
gpioComplexConfig.intrMode = CY_U3P_GPIO_INTR_TIMER_ZERO;
gpioComplexConfig.timerMode = CY_U3P_GPIO_TIMER_HIGH_FREQ; //
gpioComplexConfig.timer = 0;
gpioComplexConfig.period = 1; // period after which time resets
gpioComplexConfig.threshold = 0; // value after which interrupt generates
gpio clock:
CyU3PGpioClock_t gpioClock;
gpioClock.fastClkDiv = 2;
gpioClock.slowClkDiv = 64;
gpioClock.simpleDiv = CY_U3P_GPIO_SIMPLE_DIV_BY_2;
gpioClock.clksrc=CY_U3P_SYS_CLK;
gpioClock.halfDiv = 0;
Any ideas ?
Thanks,
Linda
Hellow (I am a non-native English speaker)
I have a question.
I recently purchased the CYUSB3KIT-003 board and the MGSG-CIS-S6-FX3CON board.
I am trying to test using AN75779 (How to implement an image sensor interface using EZ-USB™ FX3 in a USB Video Class (UVC) framework)
By the way,
While looking at the CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, a problem occurred in 2.SOFTWARE INSTALLATION on page 11.
Could not download SDK. (EZ-USB™ FX3 Software Development Kit)
Thank you.
I am developing real-time data transmission using fx3 (USB\VID_04B4&PID_00F3).
The number of modules is a system that receives data at the same time using 7 to 8 modules.
But
Errors often occur in FinishDataXfer(), and the error codes are as
The source is roughly as follows. follows:
lease check the attached file for the approximate source and situation.
Show Less
Is there any important GPIO pins in CYUSB3065-BZXI that should not be left floating?
especially these -
CX3_GPIO23
CX3_GPIO44
CX3_GPIO18
CX3_GPIO24
CX3_GPIO45
Show Less