USB superspeed peripherals Forum Discussions
Hi
Recently, we working on a project, it need to communicate with OCT camera and FPGA by using USB3.0.
The problem is the OCT camera can't support UVS protocol, it is using a driver making by themselves.(The driver can work on the JETSONTX2 arm64 device, OS is Linux)
When I reviewed the EZ-USB FX3 user manual, the FX3 has ARM and it can working on Linux.
Can EZ-USB FX3 install the extra diver or I need build other driver by myself ?
Or does the EZ-USB FX3 have only USB PHY mode?
Looking forward to your reply, I will appreciate that.
Show LessI am testing CX3 for our new product.
Sensor has 4 lane MIPI with 600Mbps. (Is it right that the maximum summing speed of CX3's MIPI is 2.4Gbps)
The maximum speed of our sensor is 120 frame per second at 1920x1200.
But I found below in "CX3's Technical Manual".
These means that we can't edit GPIF , so our system can't have high frame rate over 30 fps at 1920x1080
Is it right?
The system which I want to make is below.
Is it possible?
Or if you have another solution for high speed camera with CX3, let me know it.
Thank you
Best regards
Show LessHi Cypress forum,
I want to test the UsbUart code example provided in the FX3 examples (EZ-USB FX3 SDK/1.3/firmware/serialif_examples/cyfxusbuart).
I've read on some other forum discussions, that in order to send under 16 bytes, I need to use the CyU3PDmaChannelSetWrapUp() function (which the code-example does in the USBUARTAppThread_Entry() function).
I have several questions regarding this issue:
- The default input parameter is CyU3PDmaChannelSetWrapUp (&glChHandleUarttoUsb), specifying the AUTO_SIG channel. If I wanted to send some binary data, for example "0xD5", how would I do that? How would I send a stream of data, for example "{0x01, 0x02, 0x03, 0x04}"?
- How do I receive data from the USB? Which function checks data coming from the USB, and how do I verify this? For example if I sent 0x01 from USB --> through UART --> FX3, how do I check that I received the correct input?
- How do I emulate USB data to send through to the FX3? I want to implement modbus, but since it's not readily implemented, I want to send some data with an emulator (or some other way, if you have suggestions?).
- Can I use the debug print UART configuration in my program while using the USB to UART example? If not, can I use it if I run the program on seperate threads? Or should I comment out all cases of my CyU3PDebugPrint (2, "debug print"), as well as my configuration of it?
Hope these questions are straight forward. If you need more information, let me know.
Best regards,
Søren
Show LessGreetings,
The GX3 datasheet has maximum time for RESET# assertion. Why is this not infinite? Shouldn't I be able to assert the reset indefinitely?
In Table 18: Trst_pu min=0ms, Max=10ms.
Under Table 20. Reset Timing Parameters: "If the system applications require using hardware reset pin, RESET#, to reset GX3 during device initialization or normal operation after VBUS pin is asserted, the above timing spec (Min = 5 μs, Max =10 ms) of RESET# should be met."
Thanks
Show LessDear sir,
I am debugging the CY3014. Now the firmware is stream example, and I also enable the CDC.
When I tring to control it in control center, I got an Error dialog about the ".net framework".
about the details:
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 CyUSB.CyUSBInterface.get_Tree()
在 CyUSB.CyUSBConfig.get_Tree()
在 CyUSB.CyUSBDevice.get_Tree()
在 CyControl.Form1.RefreshDeviceTree()
在 CyUSB.USBDeviceList.PnP_Event_Handler(IntPtr pnpEvent, IntPtr hRemovedDevice)
在 CyUSB.MsgForm.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9151 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
mscorlib.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9151 (WinRelRS6.050727-9100)
基本代码: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
CyControl
程序集版本: 1.2.3.0
Win32 版本: 1.2.3.0
基本代码: file:///D:/Program%20Files%20(x86)/Cypress/EZ-USB%20FX3%20SDK/1.3/bin/CyControl.exe
----------------------------------------
System.Windows.Forms
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9147 (WinRelRS6.050727-9100)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CyUSB
程序集版本: 1.2.3.0
Win32 版本: 1.2.3.0
基本代码: file:///D:/Program%20Files%20(x86)/Cypress/EZ-USB%20FX3%20SDK/1.3/bin/CyUSB.DLL
----------------------------------------
System.Windows.Forms.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.9136 (WinRelRS6.050727-9100)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
If I closed this dialog, and try to run the Control center again, the Control Center could not run.
There is another warning:
I am not sure what happened. Looks like there is exception uncaught. Is there anyone meet this problem before?
Thanks
Chad
Show LessHello,
I have constructed data receiving module quote from the USBHost example, which is shown below.
In my test, first few minutes, it worked okay but it ends up with "CY_U3P_ERROR_INVALID_SEQUENCE" error which caused by CyU3PUsbHostEpSetXfer function.
FX3 API Guide says the error means "The endpoint is already active" but this is not enough for me.
Can you please explain in more detail in what case, does this error breakout?
Show LessCyU3PReturnStatus_t
CyFxMscRecvBuffer (
uint8_t *buffer,
uint16_t count)
{
CyU3PDmaBuffer_t buf_p;
CyU3PUsbHostEpStatus_t epStatus;
CyU3PReturnStatus_t status = CY_U3P_SUCCESS;
/* Setup the DMA for transfer. */
buf_p.buffer = buffer;
buf_p.count = 0;
buf_p.size = ((count + 0x0F) & ~0x0F);
buf_p.status = 0;
status = CyU3PDmaChannelSetupRecvBuffer (&glMscInCh, &buf_p);
if (status == CY_U3P_SUCCESS)
{
status = CyU3PUsbHostEpSetXfer (glMscInEp,
CY_U3P_USB_HOST_EPXFER_NORMAL, count);
}
if (status == CY_U3P_SUCCESS)
{
status = CyU3PUsbHostEpWaitForCompletion (glMscInEp, &epStatus,
CY_FX_MSC_WAIT_TIMEOUT);
}
if (status == CY_U3P_SUCCESS)
{
status = CyU3PDmaChannelWaitForCompletion (&glMscInCh, CYU3P_NO_WAIT);
}
if (status != CY_U3P_SUCCESS)
{
CyFxMscErrorRecovery ();
}
return status;
}
When multiple format descriptors are configured continuously having same sub type, CV test fails
Sample:
Using Y8 and Y16 format as format 1 and format 2 respectively.. No other formats used. In this configuration CV test fails with error in Input header descriptor as
Uncompressed Format Descriptor Test Errors:
The cy7c1062dv33 was used on the CYUSB3KIT-003 board that I have used and tested with. Now I am trying to develop my own board and the SRAM IC is obsolete. What would be the recommended SRAM IC to use? For context I am mostly using the synchronous 32 bit FIFO where the FPGA is only writing data to the CYUSB3014.
Show LessHello all
I am currently attempting to automate and a plug-in to the Cypress EZ USB Suite this is an older IDE version 2012
I keep getting a popup when attempting to connect to the marketplace
"Connection failed
This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Read timed out"
is there any way to direct this to the correct location. the build server I am on clearly has internet access as I am typing this email.
regards
joshua
Show LessHello all
i am currently trying to automate the build and compile of the Cypress EZ USB IDE and 3 associated projects.
At present I can open the IDE to a certain Workspace, but I cannot find a way to Clean, Build, Compile via Command Line.
Is there a reference document somewhere >?
thanks
joshua
Show Less