USB superspeed peripherals Forum Discussions
Below is our architecture diagram. We could got the image data from CX3 (Cyusb3064) but the fps is only 1.
We can get normal camera output, 640x480x30fps with each OV9281 and normal camera output, 1280x480x30fps from Max7366A but get abnormal camera output from Cypress CX3 with only 1fps(1280x480).
Below is camera configuration on Cypress CX3
The CX3 MIPI configuration is :
CyU3PMipicsiCfg_t cfgUvcMAX7366A =
{
CY_U3P_CSI_DF_RAW8, /* CyU3PMipicsiDataFormat_t dataFormat */
2, /* uint8_t numDataLanes */
2, /* uint8_t pllPrd */
89, /* uint16_t pllFbd */
CY_U3P_CSI_PLL_FRS_125_250M, /* CyU3PMipicsiPllClkFrs_t pllFrs */
CY_U3P_CSI_PLL_CLK_DIV_4, /* CyU3PMipicsiPllClkDiv_t csiRxClkDiv */
CY_U3P_CSI_PLL_CLK_DIV_4, /* CyU3PMipicsiPllClkDiv_t parClkDiv */
0, /* uint16_t mClkCtl */
CY_U3P_CSI_PLL_CLK_DIV_2, /* CyU3PMipicsiPllClkDiv_t mClkRefDiv */
1280, /* uint16_t hResolution */
50 /* uint16_t fifoDelay */
};
I also probe the PCLK, HSYNC and VSYNC, the waveform is shown as the following
CX3 pin# | Test Signal Name |
---|---|
H8 | PCLK test signal |
G6 | HSYNC test signal |
H5 | VSYNC test signal |
HSYNC:
HSYNC:
VSYNC:
PCLK:
From the Uart log, we also could see lots of CyU3PDmaMultiChannelCommitBuffer: code 71, the failure rate of OV9281 was 76/134 during 70 seconds.
I tried to increase the DMA buffer from 0x5FF0 to 0x8FF0 but it doesn't work (I will only get the black screen) and we have confirmed with OV and Cypress that correct "Continous mode" has been applied.
Here is all the experiments we have performed so far. Kindly advise if there is any suggestion to fix this issue.
Appreciate!!
Rosszw Chen
Show LessHi Cypress team,
Please suggest suitable parts similar to CYC67300 part at a higher temperature grade of -40 to +125 deg C to use in a new design.
Thanks,
Ranjith
Show LessHi everyone, I'm sorry if my question is not for this thread. I'm working with Cypress EZ USB Suite software on different OS (Windows 7, Windows 10) and all of them have disabled GPIF button on the toolbar. GPIF II Designer works perfectly when I start it from desktop shortcut. But how can I fix GPIF toolbar button in the EZ USB Suite?
Show Lesshi,
FX-3 change packet size and burst rate in ISOC module (USBIsocSourceSink)
I would like to change the packet size and the burst at the same time in the ISOC module (USBIsocSourceSink)
in the 'cyfxisosrcsink.h' I'm changing 'CY_FX_ISO_MAXPKT' parameter from 1024 to 256.
I'm successfully program the FX3 but the device isn't enumerated.
i saw on another question that in order to chance the packet size we need to set "CY_FX_ISO_PKTS" to one. but this dont work for me as i need to send a burst.
is there any other parameter I should change in order to change packet size and burst rate at the same time?
Show LessDear Sir,
I'm using FX3S RAID-ON-CHIP USB DONGLE,
And Format of SD Card(4GB, HC, Class6) is possible in Windows10 OS.
But I can't format SD Card(16GB, HC, Class10) in Windows10 OS.
Why can't I format it?
If you have any modifications, please let me know.
I'd appreciate it.
Show LessHI Everyone,
The cyusb3014 in our board is self-powered through VBATT. The device cannot be renumerated after the usb cable reconnect while the VBATT power is kept.
I though this is caused by the firmware is running, and 3014 is not reset under this condition.
I add the following code to try solve the problem. But it didnot work. What di i do wrong?
In function SlFifoAppThread_Entry() the for loop:
void SlFifoAppThread_Entry(uint32_t input)
{
......
/* Initialize the slave FIFO application */
CyFxSlFifoApplnInit();
for (;;)
{
apiRetStatus = CyU3PGetConnectState(); //chech whether vbus is connected.
if(apiRetStatus == CyFalse)
glIsDeviceRemoved = CyTrue;
if(apiRetStatus && glIsDeviceRemoved) //if the vbus return to high voltage, then reset the CPU and rerun the fireware for PC enumerate.
{
glIsDeviceRemoved = CyFalse;
CyU3PDeviceReset(CyFalse);
}
}
}
I also tried the sample code in cyfxlowpowertest.c but it doesnot work. Maybe those reasons make it useless.
1. The CY_U3P_USB_EVENT_VBUS_REMOVED signal cannot be invoked by usb3.0 cable removed in
void CyFxApplnUSBEventCB (CyU3PUsbEventType_t evtype, uint16_t evdata).
2. The firmware cannot go into standby mode, because the peripheral blocks is not disabled with power on.
3. The suspendmode is not usefull because it need PC send cmd to cyusb3014.
4. The CY_U3P_SYS_UART_WAKEUP_SRC cannot be used because we use spi flash for 3014 boot, so the uart pin is used for SPI.
Show LessI would like to add a filter to the power pins below.
- VDD
- AVDD
- CVDDQ
Only the maximum current value is listed in the data sheet, but how much current flows per pin? I think that power domain with multiple pins carries the same amount of current. Is it correct?
I would like information to determine the constants of passive components.
Thanks,
Tetsuo
Show LessHello!
We using cx3 and ov5460 develop a UVC device,and refclk source is 27 MHZ.We want to use it in 2592*1944,3fps (usb 2.0), We don't know how to config the mipi parameters.we need help,thanks.
Show LessHi all, we try to create a BULK IN&OUT path between FPGA - CYUSB3014 and Android tablet(samsung), the firmware used in FX3 is "slave fifo example image" which support stream in & out function. IN data is generated by FPGA and transferred to FX3 buffer via GPIF-II, then Android host read data from FX3 buffer via USB 3.0. OUT data is a inverted way compared to IN data path. Android usb test program is based on "libusb" which has been intergreated in android system, when android receive a 16384-byte packet from FX3, it just drop it and ready to receive another one(for usb bandwidth test).
Before the Android test, we have successfully verified our FX3 slave fifo image by Cypress offical test tools (Streamer and Control Center), make sure the FPGA logic and FX3 image are OK.
In Android BULK IN test, we found a weird phenomenon, after several successfull packet receiving, the android program always blocked at "bulkTransfer()", this system function call a BULK IN transfer from host to FX3.
I have no idea if the host does not generate a right BULK IN request or the FX3 dose not response, because the "bulkTransfer()" is a system function and we have no way to debug inside it, but one thing can be sure that the data buffer in FX3 is full and FX3 reject data transferring from FPGA via GPIF-II.
any one help me to handle this problem?
Show LessHi all,
We're developing an in-house image sensor and using the FX3 for data streaming.
I want to know if the GPIF bus can handle different line lengths/sizes in the same frame, assuming we know the length of each line.
Is it possible?
Show Less