USB superspeed peripherals Forum Discussions
Hello,
My team and I are working on a custom FX3 + UVC application, based on AN75779 source code, and encountering issues when trying to implement isochronous communication.
So far, we followed the steps detailed in KBA231897 to implement isochronous mode :
- cyfxuvcdscr.c : adapted UVC descriptors to support isochronous (Alternate settings 0 & 1, ISO. endpoint descriptors, updated descriptor size)
- uvc.h : imported macros from KBA source code ( FX3_EP_ISO_VIDEO_SS_BURST/MULT, FX3_UVC_ISO_PAYLOAD_SIZE /...SIZE_L /...SIZE_H)
- uvc.c : updated glProbeCtrl structure with no. of RX bytes per payload based on FX3_UVC_ISO_PAYLOAD_SIZE_L/H
With these modifications, we were able to stream video data to our host application, and to validate that the stream was configured as isochronous.
However, there seems to be a problem with the images received (see attached). Based at the RAW data from the frames, it appears that some data is missing, and when comparing the data received through the USB with a sniffer (WireShark), this data was already missing at the reception on the host USB, meaning that it was not sent by FX3.
The stream consists of 1950x1150 frames, with each pixel encoded on 2 bytes, at 30 frames per second.
One of our assumption was that we might require a bigger bandwidth than in the original configuration, so we tried increasing the DMA buffer size to 24 (CY_FX_EP_BULK_VIDEO_PKTS_COUNT (0x18)), but still the frames received showed problems apparently caused by data loss.
Did we miss something in the configuration ? Any ideas on the nature of the issue, and how to solve it ? Any help would be much appreciated.
Best regards,
Enzo
Show Less
Hello,
In a previous post called "demo_fx3_u3v_cam01: source code and binary of programmed firmware" you mention that and NDA is mandatory to get the source code of the various demo for this evaluation kit.
I tried to get this NDA ready but it seems a bit complicated to find the right contact for that at Infineon or through distibution partners.
Could you provide the right contact data to get this NDA signed with Infineon in Belgium (or Europe) ?
#FX3
Show Less
Hello
Customer is planning CX3 to connect their image sensor which has MIPI D-PHY 1.2.
I found the similar to Case as the below link.
https://community.infineon.com/t5/USB-superspeed-peripherals/Question-about-CX3-MIPI-version/m-p/263876#M25050
however, it is not clear to me.
Can CX3 support USB-Bridge interface with image sensor has D-PHY 1.2?
I would like to hear if CX3 can be connected with D-PHY1.2 image sensor? Yes or No?
if yes, is there any additional comment that should consider to connect D-PHY1.2?
Regards,
Jake
Hello,
I use Cypress FX3 with my Zynq 7020 SoC. I stream 1920x1080 30FPS YUV 4:2:2 video via USB3.0. I face some issue, after some time(not a certain time), I saw image is mirroring and some lines on the video. Its not always happens but sometimes.
I have attached a footage here.
What should be the reason? Why it can be happens, any idea?
Thanks.
Show Less
Hi Sir/Mam,
We wish to do configuration for FX3 board with our FPGA which is giving video stream at resolution 3264 * 2448 (active resolution) and 2560 * 1440 (active resolution).
I have previously implemented the design for 1920 * 1080 @ 60 fps by taking reference of application note AN75779, but now I want to check compatibility with higher resolutions as mentioned above. I have few questions regarding that -
1. Is FX3 board compatible to stream video data at 2k and 4k resolution?
2. What is the maximum frame rate at which I can stream video data?
3. what is the maximum resolution supported by the board?
4. How to calculate DMA buffer size for changed resolution and frame rate?
Please guide me for the above questions.
Thanks & Regards,
Akash
Show LessHi Chaithra,
Thank you for the clarification!
I still have few questions-
1. I have working design on 1920*1080 at 60fps wchich is working at 148.5 Mhz , so can GPIF work for more than 100 Mhz ?
2. How are you calculating throughput of video stream?
3. As I am using only 16 data bits out of 32 , will it be possible now to work on 4.6Gbps ?
Thanks ,
Akash
Show Less而且Cypress的官方驱动似乎跟libusb不兼容,因为我使用Cypress驱动的设备,无法通过libusb_open打开设备,但是基于winusb的驱动可以
Hi Everyone,
On a custom
CX3 USB 3.0 board, i've tried to run the example code "Cx3UvcOV5640". I am
using SEGGER j-link Plus Compact as debugger. I have installed all necessary drivers and made configurations according to the user manuel provided. I can run/halt CPU at any given breakpoint until the code enters the function "CyU3PUartInit()". After that point i get
"Error while handling inferior event:
Dwarf Error: Cannot find DIE at 0x0 referenced from DIE at 0x81d1" error if there is another breakpoint exists. After this point i can no longer debug.
Strangely, if i dont put a breakpoint on "CyCx3AppDebugInit()" which calls "CyU3PUartInit()", i can see the debugger can halt at next function after "CyCx3AppDebugInit()" which is "CyCx3AppInit()". In "CyCx3AppInit()" , after calling "CyU3PMipicsiInitializeI2c" i get
"Starting target CPU..." after this point whole debug process stops.
Has annybody faced this type of issue before?
Show LessSet EZ-USB Fx3 to a standard UAC device(speaker) with SDK 1.3.5 uac_examples, PC already detected and selected this speaker, but can't send data to it, Fx3 can't receive data from PC yet.
Show Less
我使用libusb可以打开usb设备,但是无法烧写固件,我需要在执行烧录固件之前,还需要做什么步骤