USB superspeed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
With FX3 Evalutation Kit "CYUSB3KIT-003", modifying its sample project "cyfxuvc_an75779", I am trying to control another image sensor(OV5642) that is connected to GPIF2. In order to generate the master clock (XCLK), I assigned the signal to GPIF2 Pin CTL11(GPIO29) by GPIF2 Designer. And I modified codes in uvc.c CyFxUVCApplnInit() with functions CyU3PDeviceGpioOverride() and CyU3PGpioSetComplexConfig(), then I already got the target 25MHz PWM signal.
But I cannot find the way to adjust amplitude(Voltage) that comes out from a pin of GPIF2. Is there a setting method by software manipulation?
Does Infineon have an example that supports USB 3.x to JTAG?
A USB SuperSpeed (3.0) to JTAG would support downloading an image to an FPGA without setting up a separate channel for data to run over USB 2.0.
CY765215 is a good option to interface USB 2.0 with JTAG.
Reference USB-Serial as JTAG Master - KBA224254 @ https://community.infineon.com/t5/Knowledge-Base-Articles/USB-Serial-as-JTAG-Master-KBA224254/ta-p/252019
The JTAG interface of FX3 is used for debugging firmware only.
Infineon posted a Knowledge Based Article (KBA) in 2014 to documents this:
https://community.infineon.com/t5/Knowledge-Base-Articles/EZ-USB-FX3-Boundary-Scanning-Support-KBA90923/ta-p/248212
Re-affirmed in July 2021 @ https://community.infineon.com/t5/USB-superspeed-peripherals/JTAG-FX3-read-gpio/m-p/282168
Application Note AN84868 = Configuring an FPGA over USB Using Infineon EZ-USB™ FX3 , describes some alternate methods to JTAG programming. Are there examples for users who want to continue to use the JTAG method with FX3?
Greg
Show LessHello all,
I need to start a slave device which has SPI control lines interfacing with FX3 (CYUSB3KIT-003) with separate data lines (D0...D8) something. I am using SDK1.3. Is there any example which refers to the SPI control only operation with FX3?
Which mode is better to go with FW control or GPIO?
Please suggest~
Thanks
Best Regards,
/Ash
Show LessHi all,
I am looking for USB FX3 SDK version 1.3.5 as mentioned in KBA218830,but i can just find version 1.3.4 from the following link: https://softwaretools.infineon.com/tools/com.ifx.tb.tool.ezusbfx3sdk.
Any idea where I can find FX3 SDK version 1.3.5?
Thanks!
Show LessI have problem to discard DMA buffer.
I'm receiving data using isochronous transfer.
I have tested data receiving GPIF to USB isochronous transfer mode. DMA buffer has always previous received data. I want to clear this data and receive new data from the first.
"Start reviving data >> Stop receiving data >> Clear DMA buffer >> Restart receiving data"
I added control command to discard DMA buffer. But it returns error message.
How to discard DMA buffer GPIF to USB isochronous transfer mode.
I attached source code. Please review this code to solve this problem.
Show LessHello,
Is the FX3 (CYUSB3014) limited on the above mentioned SPI flash devices? Is it possible to use existing SPI flash in control center and other related functions with other SPI flash devices i.e., W25Q64JVSSIM?
Thanks and regards,
jl46
你好:
请问我用上位机控制cyusb3014传输数据,每次初始化*USBDevice指针时,都会消耗很长时间,大概15-20ms左右呢?以下是上位机初始化的程序。
CCyUSBDevice *USBDevice = new CCyUSBDevice();
CCyControlEndPoint *ept = USBDevice->ControlEndPt;
CCyUSBEndPoint *ept_in = USBDevice->EndPoints[2]; //控制端点0x81接收
Show LessHi,
I'm using the FX3 to interface with 3 10-bit image sensors and send the data via USB. Sensor data is synchronized into a 30-bit word via an FPGA connected to 32-bit GPIF interface using standard video signal controls.
The application works correctly as long as there is no a stop/start cycle. After a cycle, the error CY_U3P_ERROR_TIMEOUT is randomly returned in the CyU3PDmaMultiChannelGetBuffer routine called inside the CyFxUvcApplnDmaCallback.
When this error occurs, GPIF data is lost because the total number of bytes at the end of the frame is less than expected.
What would be the reason for a timeout error to occur when accessing a DMA buffer in the event that indicates that there is a buffer ready for reading?
Below can be seen the code snippet where the error occurs.
void CyFxUvcApplnDmaCallback(CyU3PDmaMultiChannel *chHandle, CyU3PDmaCbType_t type, CyU3PDmaCBInput_t *input)
{
CyU3PDmaBuffer_t dmaBuffer;
CyU3PReturnStatus_t status = CY_U3P_SUCCESS;
if (type == CY_U3P_DMA_CB_PROD_EVENT)
{
status = CyU3PDmaMultiChannelGetBuffer(chHandle, &dmaBuffer, CYU3P_NO_WAIT);
//... (Original code of AN75779)
}
//... ... (Original code of AN75779)
}
Show Less
I am using the AN75779 firmware code. When I add a new extension unit and modify the connection between the different units, Windows recognizes the device I am working on as a camera (I opened the device manager and found the device "FX3")
However, I can not access it from any program.
Here is the extension unit descriptor
It is not clear to me what the problem is. Please help!!!!
Thank you in advance
Show Less