USB superspeed peripherals Forum Discussions
Hi I am using FX3 USB superspeed hardware. I am trying to do file transfer from Master to Slave using cyusb_linux application. I have downloaded the latest application from your website. My OS is Ubuntu. I am getting the below errors LIBUSB_ERROR_TIMEOUT , LIBUSB_ERROR_OTHER and unable to clear halt data pipe. I want to transfer bulk files from master to slave. Kindly help me out in this. I have attached the screen shot. Thanks in advance.
Show Lesshi,下午好
最近在使用CX3进行相关项目开发,应用场景基于UVC AN90369,将sensor 数据通过CX3 向PC端传输,目前遇到的问题是这样的:
当我配置dmaMultiConfig.size=32KB,dmaMultiConfig.count=2 时,无法正常出图,CSI 模块可以正常解析HSYNC VSYNC。
当我配置dmaMultiConfig.size=54KB,dmaMultiConfig.count=2 时,可以出 1920x1280@30fpsz帧的图,但是非常不稳定,经过大概几分钟就会死机,状态机 SMstate =10 或者 SMstate =09;无法再进入DMAcb 回调函数,或者GPIFCB 回调函数。(由于前期设计没有加入JTAG设计,无法进行在线调试,所以也不确定程序运行到什么地方了。) dmaMultiConfig.size=54kb,dmaMultiConfig.count=2 是我尝试能正常工作的最大DMAbuffer 配置了,死机现象可以加大DMAbuffer 大小解决,但似乎我已经加大到最大值了。
当我修改sensor 端的配置,加大HTS ,即加大了HBLANK, 该方法也能改善,或者说解决死机问题。但是加大HTS 后,帧率达不到30fps ,无法满足我的使用需求。
我想请问,DMAbuffer 的大小和count的设置遵循什么样的规则,(我的项目中还有其他DMA通道用以传输控制命令,他们之间会有影响吗?)
Show Less
Hello,
I see that there is no Mac M1 driver for the EZ-USB GX3 / CYUSB3610.
When can we expect a driver for macOS 12+ Monterey for the M1 (arm64) architecture?
I see that the Linux driver is Open Source. Perhaps the Xcode project and source for macOS 11 could be released so that interested parties could port it to macOS 12 more easily?
Cheers,
Joe
Hi there,
Just a simple question..
Can I left open "U3RXVDDQ" and "U3TXVDDQ" when using CYUSB3035-BZXI but only with USB2.0 connector?
We have a chance to revision the PCB and design so I am curious whether or not I can remove the power from "U3RXVDDQ" and "U3TXVDDQ"?
@JayakrishnaT_76 , can you kindly help me on this?
Thanks!
Show LessHello
Recently i try to update to the latest cypress driver with CYUSB3_1.3.0.2_21H2_x64_MSFT_Signed.zip from this link
https://community.infineon.com/t5/USB-low-full-high-speed/Win10-specific-issue-in-data-transfer-from-an-FX3-over-USB3/td-p/122477
After successful driver update, we verify from device manager and it is updated to 1.30 version and enable the window to signed startup. We could not able to receive any data with this driver.
We are running with window 10 64bits. However if i downgrade back to cyusb3_win10_x64_1.2.3.25, we can received data from FX3 again.
Is there any steps i need to do in either firmware/software to use the latest driver? We are using C++ CYAPI for our software.
Thanks
Can someone help me find project files for AN84868 anywhere. Only the PDF file is available here:
Thanks
Show LessHi , on my device there no UART pins.
I take the reference of "cyfxusbdebug" example code to print the Debug messages on USB interface.
I configure the Endpoint as interrupt endpoint.
epCfg.enable = CyTrue;
epCfg.epType = CY_U3P_USB_EP_INTR;
epCfg.burstLen = (usbSpeed == CY_U3P_SUPER_SPEED) ? (BURST_LEN) : 1;
epCfg.streams = 0;
epCfg.pcktSize = size;
/* Interrupt endpoint configuration */
CyU3PSetEpConfig(CY_FX_EP_DEBUG, &epCfg);
After that I make the entry this endpoint on "cyfxusbdscr.c" in CyFxUSBSSConfigDscr[], CyFxUSBHSConfigDscr[],CyFxUSBFSConfigDscr[] descriptors
And Host application retrieve the data through interrupt endpoint.
while (1)
{
// cout << "In Thread" << endl;
if ((lpParams->IsOpen() == TRUE) && 1)
{
if (lpParams->InterruptInEndPt)
{
length = lsize - 1;
if ((lpParams->InterruptInEndPt->XferData(fInBuf, length) == FALSE))
{
Sleep(100);
cout << "InterruptInEndPt->XferData Failure!" << endl;
}
else
{
cout << "RD= " << length << endl;
if (length == 0)
{
cout << "IN THREAD LENGTH_0" << endl;
#if 0
if ((m_bLogFileOpenFlag == TRUE))
{
fclose(wrLogFile);
m_bLogFileOpenFlag = FALSE;
}
#endif
Sleep(100);
}
else
{
cout << "IN THREAD LENGTH_NON_0" << endl;
fInBuf[length + 1] = '\0';
#if 0
if (m_bLogFileOpenFlag == FALSE)
{
wrLogFile = fopen(DEBUF_FILE_NAME, "a+"); //TODO FIle check
m_bLogFileOpenFlag = TRUE;
}
#endif
// Sleep(100);
wrLogFile = fopen("./Fwlog.txt", "a+");
fwrite((fInBuf /*+ 8*/), 1, length, wrLogFile);
fclose(wrLogFile);
}
}
}
else
{
cout << "No Interrupt Endpoint on Device" << endl;
break;
}
}
this error
InterruptInEndPt->XferData Failure!
The Debug are not coming ??
Show LessHi,
We got a new proposal design where we connect two FX3 to the CYUSB4347-BZXCES as below. Currently the design are still in proposal and we do not have CYUSB4347-BZXCES.
Currently our one FX3 solution design is working PC<->FX3<->FPGA. We also understand that if connect two FX3 to PC directly via two USB cable also should work just by checking the devicecount in c++ API. I got vey little info on CYUSB4347-BZXCES device on firmware design or API, it only has share a .bin file.
https://www.infineon.com/cms/en/product/universal-serial-bus-usb-power-delivery-controller/hub-controllers/hx3pd-usb-3.1-gen-2-pd-hub/cyusb4347-bzxces/#!tools
Question:
1.) is CYUSB4347-BZXCES plug and play solution? where i expect our current software/firmware do not need to change by connecting as above design. the worst case is just flash the Cypress provided bin file thru USB and we expect it to be working.
2.) Can current FX3 API still recognize the FX3_A and FX3_B with "devicecount" with above configuration? or any software need to change for above configuration?
Thanks
Hi, I have a C++ program that sends data from my Linux host PC to the FX3, and then has the FX3 return that data back to the host. I would like to read some registers and log them in a file on my host PC during all of these data transfers. I've found the CyU3PReadDeviceRegisters() API function, but I don't know if it needs to be in the C++ program I wrote, or the firmware I have downloaded onto the FX3 using the USB bootloader. I am using the cyfxbulklpautoenum image file that comes with the Linux cyfx3sdk.
To summarize, can I get an example program or code snippet describing where to use the CyU3PReadDeviceRegisters() function (either in firmware or C++ program) and how to log that data for each transfer onto my Linux host computer?
Thank you.
Show Less请问CYUSB3014有没有提供MacOS系统驱动?如果有,我可以在哪里获取得到?与其它MacOS驱动相比有没有使用注意事项?