USB superspeed peripherals Forum Discussions
hi there, these days i was designing the GPIFII interface of FX3. cypress company has provided four image file (streamout.img, streamout.img,loopback.img,short_zlp.img,) for learning different configuration of GPIFII. now i want to see the source project of the streamout.img and modify some code to generate different configurantion.. And i have read the AN65974, there is not enough description of how to modify and use the source project to generate the streamout.img. besides, there is a project file (slaveFifoSync) with AN65974, i don't know if it is the source code of those four image files.
Show LessI updated SDK 1.3.3 with 1.3.4, rebuilt my project and now the .img file size generated is 132K which won't fit into our 128K eeprom. The old SDK produced a 127K file. The source code did not change. What changed?
Show LessI'm having problems in sending consecutive "CyU3PI2cSendCommand" commands.
I modified the FX3 i2c example in this way:
case CY_FX_RQT_I2C_EEPROM_WRITE:
status = CyU3PUsbGetEP0Data(wLength, glEp0Buffer, NULL); // Here I receive the data
// Here I'm trying to send 4 times the same message...
if (status == CY_U3P_SUCCESS)
{
CyFxUsbI2cTransfer (wIndex, i2cAddr, wLength,
glEp0Buffer, CyFalse);
}
if (status == CY_U3P_SUCCESS)
{
CyFxUsbI2cTransfer (wIndex, i2cAddr, wLength,
glEp0Buffer, CyFalse);
}
if (status == CY_U3P_SUCCESS)
{
CyFxUsbI2cTransfer (wIndex, i2cAddr, wLength,
glEp0Buffer, CyFalse);
}
if (status == CY_U3P_SUCCESS)
{
CyFxUsbI2cTransfer (wIndex, i2cAddr, wLength,
glEp0Buffer, CyFalse);
}
break;
Observing SDA and SCL with an oscilloscope, the weird thing is that if data has "wLength" up to 33 bytes, all transactions go fine, while if wLength is 34 or more, only the first transaction goes through.
Show LessHI, everyone,
I had a problem and I don't know how to handle it:
When I use Cypress 3014 platform(FX3) AN75779 project to achieve binocular camera through USB super-speed transmission of images to the PC. The camera uses two OV9281 cameras. This is an 8-BIT camera. The original project used a 16-bit data camera.So the schematic is designed as follows.DQ0 to DQ7 and DQ8 to DQ15 are connected by different cameras.The two cameras are synchronized.
When I configure the two cameras to 480P, they work normally, so I infer that my GPIF configuration is okay, but when I configure them to 720P, “DMA Reset Event: Commit buffer failure” mistake occurred.PC can receive some data, but there is no image. It is supposed that DMA has some data commit failures,but the original project is not to transfer 720p-16bit image? My two cameras are also 16 bit(8bit+8bit) images.I made some changes as follows. Is there anything else such as DMA configuration that needs to be changed?
Show Less
We had the Sony IMX219 sensor working in a custom CX3 board. Until now, we were using 2 MIPI lanes, and everything worked just fine, the VGA resolution worked at 110FPS.
We want to use the 4 MIPI lanes now, so I kept the sensor PLL clock configuration, and on the CX3 side I just modified the "numDataLanes" parameter in the CyU3PMipicsiCfg_t variable.
CyU3PMipicsiCfg_t cfgUvcFullFOVx2Mipi4 = {
CY_U3P_CSI_DF_RAW10, /* dataFormat */
4, /* numDataLanes */
1, /* pllPrd */
82, /* pllFbd */
CY_U3P_CSI_PLL_FRS_500_1000M, /* pllFrs */
CY_U3P_CSI_PLL_CLK_DIV_8, /* csiRxClkDiv */
CY_U3P_CSI_PLL_CLK_DIV_8, /* parClkDiv */
0x00, /* mclkCtl */
CY_U3P_CSI_PLL_CLK_DIV_8, /* mClkRefDiv */
1640, /* hResolution */
00 /* fifoDelay */
};
If I understand correctly, the CSI RX LP-HS clock and the Output Parallel clock in the CX3 should be set to a value near its maximum for better results.
1. Is there anything else to modify that I'm not taking into consideration to use 4 MIPI lanes?
2. Should I change the CX3 clocks configuration? Why?
Thanks.
Show LessDear All,
I want to transmit large amount of data to the CYUSB3014 by the control center. A FPGA is always reading the FIFO of CYUSB3014. The USB firmware and the FPGA verilog files are just the ones provided by the guideline AN65974.
There are two issues:
1) The CYUSB3014 can only be connected to the USB2.0 port of my PC. If it is connected to the USB3.0 port. The Control Center and the PC Device Manager keep flashing. The
2) The data can be transmitted successfully to CYUSB3014 if the txt file is 30MB. However, it fails when the file is about 70MB. I am sure the FPGA does not finish the data reading. So I guess it is the problem of the code in CYUSB3014.
I have tried many days, but I still cannot figure it out. Could anyone please help me to solve these two problems?
Show LessHello
Could you please tell me the whether FX3(CYUSB3014-BZXI) can be entered loop back mode?If it is possible to enter the loop back mode, please tell me the method.
Best Regards
Arai
Show LessHallo,
i have a Program, where i read 16-Bit Data from GPIF II Interface, then with Manual DMA i put a Header in da DMA buffer end send it to the PC. It is quite similar to the UVC-Example.
Wenn i just start the programm and try to read the data with the USB control Center, after a short time i get the Error CyU3PSetEpConfig failed, Error code = 71. What does the Error mean and can a error occur, when i don't read the incoming data on the PC.
kind regards
Matthias
Show LessHello
Currently, the customer is using CYUSB3011-BZXC.However, due to the small amount of internal
RAM, they are going to change the device itself from CYUSB3011 to CYUSB3014.
Q1) In this case, is it possible to use the CYUSB3011-BZXI FW(HEX) as it is in 3014-BZXI?
Q2) Or it is necessary to re-build it as CYUSB3014?
Best Regards
Arai
Show Less