USB superspeed peripherals Forum Discussions
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.
Hello,
目前我正在使用cyusb3014进行开发设计,硬件包括PC,cyusb3014,以及FPGA。FPGA 负责写入数据,PC端负责读取数据。我希望当有数据从FPGA端写入时,PC端的上位机可以自动检测到有数据写入,并执行读取动作,而并非通过点击tranxfer_in等类似按钮实现,请问需要怎么操作?
祝好!
清风
Show LessI am developing a UVC + UAC device and am ensuring all USB request handlers are correct. While looking over the API guide, I noticed that CyU3PUsbRegisterSetupCallback's fastEnum parameter ensures that only "unknown" setup requests are sent to my callback. What are these "unknown" requests? Is there a list of which requests are automatically handled or any way to see how they are handled?
Show LessHi support,
I'm thinking of configuring HX3 with an external I2C EEPROM. If I only save configuration data to EEPROM and there is no need to change the data, is there any possibility to write to EEPROM from HX3?
If there is no particular writing to be done, I am thinking of setting the Write Protect pin to H to prevent writing.
Best regards,
KOki
Show Less