USB superspeed peripherals Forum Discussions
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设备,但是无法烧写固件,我需要在执行烧录固件之前,还需要做什么步骤
We are working on a project that streams 1936x1552 RAW12 data from IMX623 imager from Sony. I was able to get an image, but only if I set the output pixel clock for the CX3 MIPI config over 100 MHz and the image does not display correctly(on Windows camera app, VLC) and after some time the stream stops and I get a CB Failure.
This is the MIPI config:
CyU3PMipicsiCfg_t null_RAW12_Resolution0 =
{
CY_U3P_CSI_DF_RAW12, /* CyU3PMipicsiDataFormat_t dataFormat */
4, /* uint8_t numDataLanes */
1, /* uint8_t pllPrd */
95, /* uint16_t pllFbd */
CY_U3P_CSI_PLL_FRS_500_1000M, /* CyU3PMipicsiPllClkFrs_t pllFrs */
CY_U3P_CSI_PLL_CLK_DIV_8, /* CyU3PMipicsiPllClkDiv_t csiRxClkDiv */
CY_U3P_CSI_PLL_CLK_DIV_8, /* CyU3PMipicsiPllClkDiv_t parClkDiv */
0, /* uint16_t mClkCtl */
CY_U3P_CSI_PLL_CLK_DIV_2, /* CyU3PMipicsiPllClkDiv_t mClkRefDiv */
1936, /* uint16_t hResolution */
200 /* uint16_t fifoDelay */
};
This is how the image looks:
And the debugging details:
Is this how the Windows Camera app interprets the RAW12 data or is there an issue with the application? Do I need to convert the RAW12 data into another format to get the right colors on the image?
Also do you know why the stream stops after some time and I get the CB Failure? This seems to be influenced by the USB connection, If I use a USB hub I get the error much faster then when I'm connecting directly on the laptop.
Hi ,
I am trying to stream video data via FX3 coming from my fpga at 5200*3900 resolution at 15fps and not able to set min /max bit rate descriptor value as descriptor size is only 32 bit.
Desired value of the descriptor should be -
(width x height x data width x frame rate)
5200x3900x16x15 = 0x1221B9400
but this value is more than 32 bits.
how can I go ahead with above mentioned requirements?
Note - I have implemented a design taking AN75779 reference with same resolution but at 5fps and it is working fine now I wish to increase frame rate.
Thanks & Regards,
Akash
Show LessHello.
While performing the bulk-in operation, the device did not respond to the host's request (packet no. 9095). So I tried pipe reset/clear, and the response was immediately delivered. This situation only happens on certain PCs after connecting to USB 2.0. What causes this to happen?
Please refer to WIRECAP_usp2.0.pcapng.zip
Thank you in advance
Show Less
Hello,
unfortunately I have to open a new thread again, because I cannot reply to the last one anymore:
@Chaithra_p has given another header file, unfortunately this one fails: The transfer is interrupted after about half a second and the data recorded is not continuous at all.
I investigated the problem further: The problem can occur directly at the start, but it can also occur at any time later during the recording, sometimes it will take an hour before it starts. In same rare cases it's good again after 10 minutes of garbled. I tested on 3 different PCs, I also tested a Linux realtime kernel with the capturing program (sigrok-cli) running with realtime priority, no difference.
The serial output shows nothing when the problem occurs, it only prints messages during USB connect/disconnect. What can I do to make the FX3 board run stable and reliable?
Best regards,
Stefan
Show LessI have a device that is built using FX3. The device has a MFI chip required for connectivity to iPhone. The device works in macOS and iPhone with no issue. The device also works when I use the SPI pin of PMODE and connect to PC and have access to the "Cypress SD3 USB Boot Device". Now, I want to make the device to connect to PC (Windows 10 and higher). I am using the existing VID (04B4) and PID (00F0) that are a part of cyusb3.inf (FX3 USB BulkloopExample Device) provided in EZ-USB FX3 SDK in the firmware.
The problem is that when I connect the device (without SPI pin of PMODE) through USB cable to PC (USB 2.0) and install the driver for WestBridge device, after disconnecting and reconnecting the device to PC, the driver disappears after a few seconds from "Universal Serial Bus Controllers" and under "Other devices" of Device Manager three interfaces (without VID and PID) used in the firmware for MFI authentication were listed with exclamation marks with the error Code 28 (The drivers for this device are not installed. There are no compatible drivers for this device.) The device status of WestBridge shows "Currently, this hardware device is not connected to the computer (Code 45).
The question is, how to install the driver for multiple interfaces when the interfaces have no VID and PID? Is this INF file setting related? If so, how to setup the INF file to avoid the driver installation errors for the three MFI interfaces?
Appreciate your helps.
Regards,
Sia Enayati
Show LessI need to output my camera to Windows in RAW or GARY format. When I looked at this question, someone mentioned that the GUID settings could be modified, but I couldn't find where in the sample program I could change the GUID to GARY. , can you explain in detail how to modify the GUID part? Thank you.
Show Less
I'm using CX3 Configuration Tool v2.0 (SDK 1_3_5)
Please tell me what is the difference between the values of the "Parralel data width" parameter: "16-bit Zero Pad" and "16-bit Pack"?
How does CX3 pack pixels in these cases for "Video Input Format" "RAW12" and "RAW10"?
Thanks.