- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ross,
The reason for commit buffer failures with error code 71 is mentioned in this KBA Invalid Sequence Error in Multi-Channel Commit Buffer - KBA218830 .
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ross,
The reason for commit buffer failures with error code 71 is mentioned in this KBA Invalid Sequence Error in Multi-Channel Commit Buffer - KBA218830 .
Regards,
Rashi
Rashi