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
datawidth issue when using cyusb3014 mastermode.
I changed the example autoMaster to access a standard FIFO in FPGA. There are two changes:
1. the GPIF state Machine to compatible the standard FIFO interface timing .
2. I add an addtional IN endpoint for furture use.(it is not used in this issue)
finally I got the changes works, the timing is met and the data can be wrote to the fifo and readback.
the issue is: I can only got lowest byte in each data readout. It means, I do set the datawidth to 32bits, and I checked the data in and out of FIFO in FPGA 32bit width, but the ControlCenter transfer in fucntion only update one byte every four byte.
I have checked:
1. the databus width in GPIF is set to 32 bit
2. CY_FX_GPIF_16_32BIT_CONF_SELECT in firmware is set to ture
3. the DMA channel in firmware is set to auto
I can't figure out what's wrong with it?
Show Less
Hello,
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