USB superspeed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
Does 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
I download FX3SDKSetup_1.3.4.exe And install.
But find no windows host driver source code and the C++ & C# API library source code.
Where can I get it
I really appreciate your help
Show LessIn my project, there are two interrupt endpoints, 0x01 and 0x81, and the DMA configuration for the interrupt OUT endpoints is as follows:
dmaCfg_int_ep1_out.size = 1024;
dmaCfg_int_ep1_out.count = CY_FX_INT_DMA_BUF_COUNT;
//dmaCfg_int_ep1_out.prodSckId = CY_FX_UIB_INT_EP_PRODUCER_CMD_SOCKET;
dmaCfg_int_ep1_out.prodSckId = CY_U3P_UIB_SOCKET_PROD_1;
dmaCfg_int_ep1_out.consSckId = CY_U3P_CPU_SOCKET_CONS;
dmaCfg_int_ep1_out.dmaMode = CY_U3P_DMA_MODE_BYTE;
dmaCfg_int_ep1_out.notification = CY_U3P_DMA_CB_PROD_EVENT;
dmaCfg_int_ep1_out.cb = CyFxEP1_OUT_CMD_DmaCallback;
dmaCfg_int_ep1_out.prodHeader = 0;
dmaCfg_int_ep1_out.prodFooter = 0;
dmaCfg_int_ep1_out.consHeader = 0;
dmaCfg_int_ep1_out.prodAvailCount = 0;
apiRetStatus = CyU3PDmaChannelCreate (&glChHandle_H2F_CMD, CY_U3P_DMA_TYPE_MANUAL_IN, &dmaCfg_int_ep1_out);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint(CY_FX_DEBUG_PRIORITY, "EP1 OUT CyU3PDmaChannelCreate failed, Error code = %d\r\n", apiRetStatus);
CyFxAppErrorHandler(apiRetStatus);
}
/* Set DMA Channel transfer size */
apiRetStatus = CyU3PDmaChannelSetXfer (&glChHandle_H2F_CMD, CY_FX_BULKSRCSINK_DMA_TX_SIZE);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint(CY_FX_DEBUG_PRIORITY, "EP1 OUT CyU3PDmaChannelSetXfer failed, Error code = %d\r\n", apiRetStatus);
CyFxAppErrorHandler(apiRetStatus);
}
apiRetStatus = CyU3PDmaChannelSetWrapUp (&glChHandle_H2F_CMD);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint(CY_FX_DEBUG_PRIORITY, "EP1 OUT CyU3PDmaChannelSetWrapUp failed, Error code = %d\r\n", apiRetStatus);
CyFxAppErrorHandler (apiRetStatus);
}
When I download the project-compiled firmware to the FX3 development board, the interrupt callback that interrupts the OUT endpoint is executed once,Attached is my project. Could you help me check it,please.
Show LessHello,
Due to supply chain issues I had to re-implement the AN75779 with a different image sensor than I was using before, with a 1280x1024 resolution.
Interestingly, in my camera app I do get a 1280x1024 window, but 150-ish rows on the top and bottom of the image are always black, and the effective area of active pixels come out to 1280x720. And I believe this is somehow squeezing the full Y-dimension of the image into a reduced height, because when I tried to capture a checkerboard pattern for spatial characterization, the squares did not come out to be nearly perfectly square, but they are shorter in the Y direction.
I know this is not my sensor electrically because I plugged the same sensor into an FPGA system and initialized it with the same setup command sequence and the image comes out to the full resolution.
So is there something in the FX3 firmware that could cause this to happen, or is it somehow in the Windows side of things?
Show LessWhat are the costs we can expect when we want to resell and sign the Cypress CyUSB driver?
A USB Vendor ID seems to cost $6000: https://www.usb.org/getting-vendor-id. And there will be costs to get a Extended Validation (EV) Code Signing Certificate. But which other costs can be expected?
Regards,
Show Less