USB superspeed peripherals Forum Discussions
Hello,
The frequency of input CLK (crystal oscillator) can be selected from 19.2 MHz, 26 MHz, 38.4 MHz and 52 MHz.
Are there any recommended for use with DMA and SPI 33 MHz?
Best Regards,
Naoaki Morimoto
Show LessCx3 boot mode is selected by Pmode1 and Pmode2,however,It's not so convenient to set the pmode1 and pmode2
to Float state,especially in mass product process.Now I use a DIP swith to control this two pmode pins(see the attachment),but the switch device is always two large to place on the PCB.I‘m not sure if the CX3 device can support the IAP(In application program),so I can upgrade the firmware by an external button.
Show LessHi,
I used to use the development suite to generate the .img file to load my CYUSB3014. I just found that the current version of the usb control center requires .iic to load the firmware. However, I could could not find the build option to generate the iic file. Therefore, I could not load my firmware anymore.
Please help.
Best, Yicheng
Show LessHi
We use cyprss sdk to generate FW of bulk mode uvc and would like to change into FW of isochronous mode uvc. We reference the isochronous sample code to modify the FW. After the modification, the windows (Windows 10) can see the device as a UVC USB 3.0. But when I open the e-cam it doesn't display any video. Could you please let me know what might be causing this issue? I'm also attaching my project with this email. If you can help on this issue would be greatly appreciated.
Show LessHallo,
my question is, is it possible to put a Header in incoming Data in GPIF II State machine or do i have to it like the UVC example in the firmware.
My situation. I'm getting 10Bit Data from an Image Sensor. Since the GPFI II only can read 16Bit, i have 6 Bit free. Every time a new line occur, i want to count up a counter an write the value in the 6Bit i don't use.
kind regards,
Matthias
Show LessHi
I add the other alternate setting(Interface 1,Alternate setting 2) but the USB descriptor didn't detect this setting.
The descriptor of the alternate_1 and alternate_2 are shown as below:
*Interface 1,Alternate setting 1
/* Standard video streaming interface descriptor (Interface 1,Alternate setting 1) */
0x09, /* Descriptor size */
CY_U3P_USB_INTRFC_DESCR, /* Interface descriptor type */
0x01, /* Interface number */
0x01, /* Alternate setting number */
0x01, /* Number of end points : 1 ISO EP */
0x0E, /* Interface class : CC_VIDEO */
0x02, /* Interface sub class : CC_VIDEOSTREAMING */
0x00, /* Interface protocol code : Undefined */
0x00, /* Interface descriptor string index */
/* Endpoint Descriptor for isochronous Streaming Video Data */
0x07, /* Descriptor size */
CY_U3P_USB_ENDPNT_DESCR, /* Endpoint Descriptor Type */
CX3_EP_VIDEO, /* Endpoint address and description: EP 3 IN */
CY_U3P_USB_EP_ISO | 0x04, /* isochronous End point */
0x00,
0x04, /* Max packet size is 1024 bytes. */
0x01, /* Servicing interval for data transfers */
/* Super Speed Endpoint Companion Descriptor */
0x06, /* Descriptor size */
CY_U3P_SS_EP_COMPN_DESCR, /* SS Endpoint Companion Descriptor Type */
CX3_EP_SUPER_SPEED_BURST_LEN, /* Max no. of packets in a burst */
CX3_EP_SUPER_SPEED_MULT, /* Mult setting: Number of bursts per service interval. */
0x00,
0x90, /* Bytes per interval : 1024 */
*Interface 1,Alternate setting 2
/* Standard video streaming interface descriptor (Interface 1,Alternate setting 2) */
0x09, /* Descriptor size */
CY_U3P_USB_INTRFC_DESCR, /* Interface descriptor type */
0x01, /* Interface number */
0x02, /* Alternate setting number */
0x01, /* Number of end points : 1 ISO EP */
0x0E, /* Interface class : CC_VIDEO */
0x02, /* Interface sub class : CC_VIDEOSTREAMING */
0x00, /* Interface protocol code : Undefined */
0x00, /* Interface descriptor string index */
/* Endpoint Descriptor for isochronous Streaming Video Data */
0x07, /* Descriptor size */
CY_U3P_USB_ENDPNT_DESCR, /* Endpoint Descriptor Type */
CX3_EP_VIDEO, /* Endpoint address and description: EP 3 IN */
CY_U3P_USB_EP_ISO | 0x04, /* isochronous End point */
0x00,
0x04, /* Max packet size is 1024 bytes. */
0x01, /* Servicing interval for data transfers */
/* Super Speed Endpoint Companion Descriptor */
0x06, /* Descriptor size */
CY_U3P_SS_EP_COMPN_DESCR, /* SS Endpoint Companion Descriptor Type */
CX3_EP_SUPER_SPEED_BURST_LEN, /* Max no. of packets in a burst */
CX3_EP_SUPER_SPEED_MULT, /* Mult setting: Number of bursts per service interval. */
0x00,
0x90, /* Bytes per interval : 1024 */
If you can help on this issue would be greatly appreciated.
kelvin
Show LessGreetings.
In the bootloader I am creating I am trying to add the functionality that when a specific vendor request is being sent, I want the device to ReNumerate without causing a cold reset to the system. Though since I do not exactly understand what steps renumeration involves, I would appreciate your insight on how to do it as well as perhaps explaining what happens to the system during renumeration.
The bootloader is based on CyFx3Boot library.
Thank you in advance,
Georgios
Show LessHi, Is there anyone with experience (and time) that can help($) porting an FX2 design(cy7c68013) into an CYUSB301x.
Drop me an email, thanks.
Luis.
Show Lesshello everyone, i am using EZ-USB F3 raid1 and raid0 firmware for storage. i am trying to modify the buffer data (coming from host) before storing the data on storage, unfortunately could not get any success to isolate the buffer. Is it possible to modify buffer before storing on storage? Any help will much appreciated.
Show LessHello,
We have an FX3 based design which we are running on a Windows 10 platform which has both an ASMedia 3.0 eXtensible Host Controller and an ASMedia 3.1 eXtensible Host Controller. On the ASMedia 3.0 xHCI, data will transfer but randomly hang (we cannot communicate with the FX3 over USB when this condition occurs). But on the ASMedia 3.1 xHCI controller, the FX3 will never hang/freeze. A few things to note:
- The FX3 firmware is based off the bulk synchronous slave FIFO example. The slave FIFO interface is driven by an FPGA.
- The hang/freeze only occurs on USB IN transactions. USB OUT transactions never fail on either of the ASMedia xHCIs. We done several hundred gigabytes worth of data transfers to the USB OUT endpoint with no failures and zero data errors.
- We have tried both the current Windows 10 (update) ASMedia driver (1.16.41.3) and what we believe is the latest version (1.16.55.1) with the same results.
- We have tried transferring different PC buffer sizes (Windows application buffer) from 1K to 16MB. Again, this only fails when transferring data from the FX3 device to the PC (IN transaction).
- Even though communication over USB is impossible, the FX3 is still live. Through the debugger, we can pause the software or set breakpoints. Since this is a self-powered device, we can move to a new USB port and enumeration and USB communication works fine until the next time the USB interface hangs/freezes.
- We have tried different DMA FIFO sizes from 1 KB to 32 KB.
- We have tried FIFO counts of 1 and 2.
- We have tried USB/DMA burst counts of 1 through 16.
- We have implemented both CyU3PUsbLPMDisable and CyU3PUsbSetLinkPowerState (CyU3PUsbLPM_U0) in our code.
- We have tried moving the EP to EP1, EP2, EP3, and EP6 with the same failure.
- The same results happens on a different computer.
- Our USB protocol analyzer shows no error, just the last USB IN transaction. Followed by a check of our other “application specific command” EP with an ERDY response. But again, communication over USB at this point is impossible.
- In the hung/frozen state, the FX3 slave FIFO interface has the FIFO full flag and the almost full flag asserted, so no new data can be sent from the FPGA to the FX3. It’s like all the DMA FIFOs got committed but since no data is being transferred over USB, no empty DMA FIFO is returned to the FPGA interface.
- Power management for the USB hubs and the CPU have been disabled.
- We have had this code base working on other USB 3.0 eXtensible host controllers for years with no issues.
- The hang occurs randomly. Sometimes the transfer hangs immediately and sometimes it hangs after 10 minutes of continuous transfers.
Thanks in advance,
Motz
Show Less