USB superspeed peripherals Forum Discussions
Hi, all.
I am a newman of FX3, and i using SuperSpeed Design Examples V1.2\FX3 Firmware Projects\GPIF_Example10 to set up a 8bits parallel communication with one slave mcu.
for now data send out from FX3 is ok, but i don't know how to trigger FX3 read procession.can any one help me out?
i have tried to set up the signals follow the GPIF design timing but the FX3 do not trigger a read procession.
where is the interface signal specification? i want to konw the signals timing.
and is there any files for good understanding of the GPIF state machine?
Tks
Show LessHello
I have a stupid question.
I import example project from USBVideoclass sample from sdk.
import->general->existing project into workingspace and select copy project to the workingspace.
I just want to change the prodcut name to try first.
I modiyf "FX3 "to "AAA" then i use control center to burn into ram.
After doing that, I stll see the name "FX3" from windows device manager.
Could anyone give me a suggestion?
const uint8_t CyFxUSBProductDscr[] __attribute__ ((aligned (32))) =
{
0x08, /* Descriptor Size */
CY_U3P_USB_STRING_DESCR, /* Device descriptor type */
'F',0x00,
'X',0x00,
'3',0x00
};
Show LessI know that MIPI cameras are what are usually used with the CX3, but sometimes it is necessary
to support old-fashioned hardware, and that's where the ADV7280A-M comes in.
Show LessI am working on Cypress FX3 USB3.0.I am using EZ USB FX3 SDK/1.3/Application/cpp/Streamer.In streamer.h code ,there is one function called "Xferloop()".I collected the data of "buffer" stored in "myfile.txt".The throughput of the streamer decreased from 395MBps to 110MBps because of writing data into the myfile.I think if I write data into disk using different thread then speed could increase.How to do this? Please help.
Show Lesshi 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 Less