USB superspeed peripherals Forum Discussions
Hi,
I am trying to generate a interrupt based on the BitClock of I2S line. As soon as there is a positive edge on the BCLK line, I am toggling the output on a GPIO pin. I am implementing it by feeding BCLK output to a GPIO pin and then the interupt triggered here toggles another GPIO pin. The I2S BCLK pin is connected to GPIO Pin 20. This pin is configured as an input pin with a positive edge triggered. As soon as the interrupt is triggered, the value on output GPIO Pin 21 is toggled. There is delay of around 12.3 microsecond. This is very large and also the time spent in the interrupt function is too large roughly 17 microseconds. Can anyone help me to understand why the interrupt is taking so long to process this?
Thank You
Show LessHello, I have written the firmware with cyusb3014, which can be enumerated successfully after powered on. Now I am developing the dp altmode function of usb. When the video signal is successfully transmitted by usb, my usb3.0 connection will be broken (I use USB3.0+dp2lane mode), may I ask what the reason may be? I have two guesses:
1. Check whether usb will be enumerated again after the usb3.0+dp2lane mode is negotiated. The enumeration fails
2. Should the usb3.0 link be handled in the firmware (considering that the dp altmode will take up normal usb transfer)
Thanlks.
Show LessHi, not sure why i could not reply previous thread.
https://community.infineon.com/t5/USB-superspeed-peripherals/ASM3142-Controller-USBD-STATUS-STALL-PID/m-p/488987#M35195
I tried the solution of handler = true. It did work but not all the time. We still seeing stall from time to time. (note: we not seeing stall with this solution when plug into non-Asmedia card)
Do you have any 10Ghz pcie card recommended at this point?
Thanks
ZY
Data width problem when using cyusb3014 master mode.
I changed the AutoMaster example to accessing a standard FIFO in an FPGA. There are two changes:
1. GPIF state machines are compatible with standard FIFO interface timing.
2. I added an additional IN endpoint for future use. (It was not used in this period)
I finally got the change to work, the timing was met and the data could be written to fifo and then read back.
Here's the problem: I can only get the lowest byte on each data readout. This means that I do have the data width set to 32 bits, and I check the data in and out of the FPGA's 32-bit wide FIFO, but ControlCenter's transfer function only updates one byte every four bytes.
I've checked:
1. The data bus width in GPIF is set to 32 bits.
2. CY_FX_GPIF_16_32BIT_CONF_SELECT is set to true in the firmware.
3. DMA channel in firmware is set to automatic
I can't figure out what's wrong with it?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/USB-superspeed-peripherals/cyusb3014-autoMaster-datawidth-issue/td-p/626678
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E8%B6%85%E9%AB%98%E9%80%9FUSB%E5%A4%96%E8%AE%BE/cyusb3014-AutoMaster-%E6%95%B0%E6%8D%AE%E5%AE%BD%E5%BA%A6%E9%97%AE%E9%A2%98/td-p/626683
Show LessHello,
I have read the sample about spiregmode, but it is about how to read and write SPI flash. Now I do not use flash, but mount an adc chip on the spi bus, and connect the output value pin of adc to the spi receiving port. I would like to ask how I should call the interface function about SPI (including configuration parameters and API) in this case, so that I can correctly read the voltage value I sample. Like this.
Thanks.
Show Less
Hi,
Quick question. Is it possible to put a .img firmware compiled for CYUSB3011 (with the right linker file and cyfxtx.h updated with CYMEM_256K define) into a board with CYUSB3013 chip?
Have a nice day,
Keven
Show LessHello All,
The below post helped me to stream monochrome camera with FX3 with FFMPEG & GSTREAMER with Linux application and FFPMEG with Windows application.
Solved: How to get FX3 - Monochrome Stream (RAW8) on Windo... - Infineon Developer Community
but right now, i'am trying with GSTREAMER on windows application, i tried with Opencv video capture application but it is not able to open camera with WIDTH=640, HEIGHT=480, format=y8 parameters.
can anyone help ?
Regards,
Tushar
Hello,
I'm reaching out to the community because I have a question regarding topic number 8 of the "Known Problems and Limitations of FX3 SDK 1.3.4" of the "Cypress EZ-USB FX3 SDK Release Notes":
"8. Some data transfer errors may be seen if a Zero Length Packet is followed very quickly (within one microframe or 125 us) by another data packet on a burst enabled USB IN endpoint operating at super speed. The solution is to ensure that some time is allowed to elapse between a ZLP and the next data packet on burst enabled USB IN endpoints. If this cannot be ensured at the data source, the CyU3PDmaChannelSetSuspend() API can be used to suspend the corresponding USB DMA socket on seeing the EOP condition. The channel operation can then be resumed as soon as the suspend callback is received."
I have the following questions:
- Is this topic relevant if we only define infinite transfers with the "SetXfer" API functions?
- What exactly are these errors? Data corruption?
- Are data transfer errors identifiable by the USB CRC (will transferred data be identified as erroneous by the host)?
Thank you in advance for your answer!
Best regards.
Show Less
I have been asked to design a SS USB server over IP with 8 USB ports. It needs to be a hardware device and meet military specs. What SDK could I use? Which devices can you suggest? Are there any reference designs available?
Regards,
Sam Virgillo
A-game Engineering
Show LessHello,
I mount an spi slave device on the spi host of cyusb3014 to read the voltage. I know the process of the chip reading the voltage value, but I don't know how I should use the API of cyusb3014 to read the voltage value collected by my adc chip. May I ask what I should do?
I have initialized my SPI and set the sample rate, how should I receive the data.
Thanks.
Show Less