USB superspeed peripherals Forum Discussions
Hi,
I have setup with fx3 connected to the fpga fabric of a xilinx zynq 7000 series chip. I am trying to get bulk streaming in for sending image data from the fpga to the host computer using the fx3.
I am able to send data by using the dma ready flag but certain number of bytes go missing at each transfer. I am guessing it is due to the flag latency.
So I am trying to use the watermark to stop this from happening. I am following the example given in http://www.cypress.com/?rID=51581 (AN65974 slave fifo sync example).
But I am unable to get it working, there is no data received in the host side, I get the following error in the control center
"BULK IN transfer
BULK IN transfer failed with Error Code:997"
So no data is being transfered. Can anyone help me out with this? I can share more of my code if necessary.
Thanks
Sri
Show Lesswho can tell me , the fx3 how to detected the speed,
Hello.
What kind of adapter (PCI-X to USB3) will you advise for USB3 port?
Not all computers (many old) have USB3 port..
But there are transitional cards from PCI-X to USB3 on sale.
Please, tell me, what is the best board to put, which one has the best compatibility with your chips (FX3 and CX3) ?
Tell me, did you do such research?
Many Thanks!
Show LessHi,
I have configured the Boot Mode to "SPI, USB on failure". If i want to update the firmware, i have to change the configuration on the PMODE pins to "USB" boot. I'm now asking myself if there is a possibility to download the firmware without changing the PMODE pins? I mean for developemnt it's not a problem. But if we deliver the device and the customer should set some jumpers or press a button to make a firmware update, this wouldn't be very nice. Can we do something by software?
Best regards
Walt
Show LessI'm working with a custom camera frontend that does not follow MIPI-DPHY spec exacty on the clock lane.
The clock lane of this camera does not have HS-ZERO in its LP-HS transition.
The clock is continuous clock mode: LP-HS transition only happen once, clock does not switch back to LP between lines or frames.
Questions:
1) Can CX3 recognize this non-standard clock lane? (NXP IMX6Q SoC can recognize it)
2) How do I check the status of clock lane? (How do I know whether the clock is recognized by CX3 or not?)
Currently I can get the camera frontend to transimit MIPI data, but I don't get the DMA callback on the CX3 side. I don't get any MIPI errors from CyU3PMipicsiGetErrors(). I'm suspecting the clock lane is not recognized by CX3. I want to confirm this. Is there a register that reports this?
3) It it possible to always run the clock lane always in HS mode?
For NXP IMX6Q SoC, I must reset the MIPI DPHY when the clock lane is LP, then do LP-HS transition, then the SoC will recognize MIPI clock. If I reset MIPI DPHY with the clock already in HS mode, then it won't see the clock at all.
Is it also the case for CX3?
Show LessHello,
Image sensor is interfaced with fx2lp in slavefifo mode.image sensor configuration is 60 frames per second with 752x480 resolution.
we are modified cypress control center in order to display image.what is the frame rate that fx2lp can handle?
regadrs,
geetha.
Show LessHello
1.when host(PC) is connected through USB3.0 A to FX3 the host is showing "unknown device".How to rectify this problem.
2.The 3rd pin of USB3.0 A connector is showing 3.3V in addition to 5V in 1st pin after FPGA is programmed and signals and clock are given to FX3.Why is it so?.
Show Less/* Configure the video streaming endpoint. */
endPointConfig.enable = 1;
endPointConfig.epType = CY_U3P_USB_EP_BULK;
endPointConfig.pcktSize = CY_FX_EP_BULK_VIDEO_PKT_SIZE;
endPointConfig.isoPkts = 1;
endPointConfig.burstLen = 16;
endPointConfig.streams = 0;
apiRetStatus = CyU3PSetEpConfig (CY_FX_EP_BULK_VIDEO, &endPointConfig);
/* Endpoint definition for UVC application */
#define CY_FX_EP_IN_TYPE 0x80 /* USB IN end points have MSB set */
#define CY_FX_EP_BULK_VIDEO (CY_FX_EP_VIDEO_CONS_SOCKET | CY_FX_EP_IN_TYPE) /* EP 3 IN */
#define CY_FX_EP_CONTROL_STATUS (CY_FX_EP_CONTROL_STATUS_SOCKET | CY_FX_EP_IN_TYPE) /* EP 2 IN */
I think the CY_FX_EP_BULK_VIDEO is shoud set to out point ,why it is set to IN?
It should like this #define CY_FX_EP_BULK_VIDEO (CY_FX_EP_VIDEO_CONS_SOCKET ) /* EP 3 OUT*/
Show LessHello,
My program is using the CyAPI to transfer data from a device using the FX3. When it attempts a transfer of over roughly 20 million bytes the entire PC crashes. I was able to compile the source code for CyAPI into my Qt C++ project and by step debugging found the crash to happen on a call to DeviceIoControl. I've attached a WinDbg analysis of the crash dump. It seems to be related to the driver, but I'm not sure. Please help me understand the issue and find a fix if possible. My program needs to transfer upwards of 42MB in one call to XferData.
Thanks,
Forrest
Show LessHello!
I have example UVC+CDC.
Many Thanks. Is very good example.
Yes, video is exist.
But, I looked, that for the case USB2 in descriptors file there is no description of CDC.
I myself added these CDC descriptors for my USB2 (file). In my added project files (descr2.h in added arcive)
the device became defined as a composite in UVC and CDC devices.
And even works.
But it working not stable.
Not full functionality is manifested, mainly in the following.
On some computers on the "upward" channel uart not communication - from uart to the virtual com-port.
On some computers in the case of usb2, on some computers in the case of usb3.
In the opposite direction, from virtual com port to the uart communication is good.
I try any drivers.
I do not even know what to correct. Look here please.
Show Less