USB superspeed peripherals Forum Discussions
Hello,
I followed AN75779 to implement an 8 bit interface UVC. I have a card with a fx3 and a fpga. With fpga, I generate signals lv, fv and pixels (1920 * 2 * 1080 / Y = counter; U / V = 0x80). Everything works and I have a grey-scale image. But when I want to switch to 16-bit interface, it does not work. However, I modified the GPIF with a 16-bit bus and a limit of 8183 meter. Obviously, the state machine is stuck in a state PARTIAL/FULL_BUFF_IN_SC0/1. Any idea?
Thank you!
If any of you folks need a demo app using Qt that does USB transfers over a device, you can use the one attached to this post.
This project is compiled with MinGW and so CyAPI was also recompiled accordingly. The source project for that is in the CyAPI_lib_cpp folder and a simple makefile is included with that (you may need to modify that to make it work on your PC).
The Qt app itself is very simple -- it lists out all devices attached to cyusb3.sys and then enumerates the endpoints in a ComboBox. When you then click the "transfer data" button, it reads/writes 1 packet from/to the device.
Note that this is a very crude demo project. It's probably has bugs and is not good for production use as-is.
Show LessDoes Infineon provide the Verilog or VHDL that would go on the Xilinx FPGA to support the CYUSB3035?
I searched through the FX3 webpage and related link starting @ https://www.infineon.com/cms/en/product/universal-serial-bus-usb-power-delivery-controller/peripheral-controllers/ez-usb-fx3-superspeed-usb-3.0-peripheral-controller/
I also looked through Application Note AN65974 "Designing with the EZ-USB FX3 Slave FIFO Interface" and the associated source files.
I’m looking for the RTL (Verilog or VHDL) for the Spartan FPGA that interfaces to the GPIF interface.
Greg
Hello,
I'm currently discovering the EZ-USB development kit along with the CPLD board, following the SuperSpeed Device Design By Example book, and I wanted to play a bit with the I2C_Example that is provided, by adding LED command to control the LEDs of the CPLD through TeraTerm. I haven't managed to make it works for reasons, but the thing that is annoying me is that when I got back to the I2C_Example provided (so untouched), I now get this on the console:
ConsoleOutEnabled Successful
CyU3PUartRxSetBlockXfer Successful
CreateDebugRxDmaChannel Successful
ConsoleInEnabled Successful
Debug Console Initialized Successful
CyU3PI2cInit Successful
CyU3PI2cSetConfig Successful
I2C_Init Successful
LEDs = 170,
I2C_Write failed, 69 = CY_U3P_ERROR_TIMEOUT
I2C_WaitForAck failed, 69 = CY_U3P_ERROR_TIMEOUT
0, 170:
I2C_Read failed, 69 = CY_U3P_ERROR_TIMEOUT
It was working fine before and now I get that Timeout error everytime on the example that was working, so i really don't understand what is going on here. Does anybody had any ideas to unblock the situation ?
Thanks,
BH
Show LessHi,
I want the FX3 to Boot in bootloader mode so I'm using "Fx3BootAppGcc" project, I also want him to boot in SSC disable.
I'm trying to add the function "CyU3PUsbSSCDisable();" to the file "usb_boot.c"
Just before calling the function "CyFx3BootUsbConnect (CyTrue, CyTrue);"
When I try to build the project I get the next error:
11:04:14 **** Incremental Build of configuration Release for project Fx3BootAppGcc ****
cs-make all
'Building target: Fx3BootAppGcc.elf'
'Invoking: ARM Sourcery Windows GCC C Linker'
arm-none-eabi-gcc ./cyfx_gcc_startup.o ./gpio_test.o ./i2c_test.o ./main.o ./spi_test.o ./test_uart.o ./usb_boot.o ./usb_descriptors.o -T"../cyfx3.ld" -nostartfiles -Xlinker --gc-sections -Wl,-Map,Fx3BootAppGcc.map -Wl,-d -Wl,-elf -Wl,--no-wchar-size-warning -Wl,--entry,Reset_Handler "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/firmware/boot_fw/lib/cyfx3_boot.a" "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\ARM GCC\/arm-none-eabi/lib/libc.a" "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\ARM GCC\/lib/gcc/arm-none-eabi/4.8.1/libgcc.a" -mcpu=arm926ej-s -mthumb-interwork -o "Fx3BootAppGcc.elf"
./usb_boot.o: In function `myUsbBoot':
usb_boot.c:(.text.myUsbBoot+0x10c): undefined reference to `CyU3PUsbSSCDisable'
collect2.exe: error: ld returned 1 exit status
cs-make: *** [Fx3BootAppGcc.elf] Error 1
11:04:15 Build Finished (took 737ms)
Can you help me add the function to this project and understand why the build doesn't work?
I attached the project that I'm trying to build.
Thanks,
EliW.
Show Less-
Hardware
-
host: tinker board 2s(rk3399),kernel 5.13
-
slave: sg130gs(1280*720, YUYV, 30fps) + fpga(spartan 6) + cyusb3014, isochronous mode
-
-
Problem
-
Run this script on host
#!/bin/bash
while :
do
yavta -c30 /dev/video0
sleep 2
yavta -c30 /dev/video1
sleep 2
done -
After random time(from minutes to hours), one of these cameras would be stuck
-
USB packets captured by tcpdump indicate that the host keeps polling(isochronous) the slave while the slave keeps responding with a data packet with zero-length
-
After this, if I restart the test script, the device that is stuck will be missed
-
-
some trials on other settings also failed
-
ov5640(1280*720, YUYV,30fps) + cyusb3014, bulk mode
-
sg130gs(1280*720, YUYV, 30fps) + fpga(spartan 6) + cyusb3014, bulk mode
-
-
In addition, test with a single camera is fine
Any ideas? thanks
Show LessGreetings,
I was wondering anybody encountered this failure: "Error, "Write failed. Aborting" while programming the firmware to the particular eMMC device, which is Koxia THGBMJG6C1LBAIL (8GB, eMMV 5.1 compliant). We use SanDisk iNAND7250 and this device has no issues to program the firmware using 'cyfwstorprog.exe.'
===
[Problem description]
Two partitions, and a user partition were successfully created but while programming the firmware, I got the following error:
Hi, I am working on interfacing ov7670 with CYUSB3KIT-003 as per this blog:
Checked all the signals like PCLK,HREF,VSYNC,XCLK, all looks fine. firmware loaded to FX-3 but failed to display anything on vlc/webcamoid application. Here s the frame/buffer log...
Please help to resolve this issue. What more I should figure out.
Best Regards,
/Ash
Show Less