Cyusb3064 with two OV9281 got the low fps (only 1)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
RoCh_4825751
Level 1
Level 1

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).

2.jpg

Below is camera configuration on Cypress CX3

OV9281_para_1.jpg

OV9281_para_2.jpg

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

H8PCLK test signal
G6HSYNC test signal
H5VSYNC test signal

HSYNC:

OV9281_[G6] Hsyn_01.png

HSYNC:

OV9281_[G6] Hsyn_02.png

VSYNC:

OV9281_[H5] Vsyn.png

PCLK:

OV9281_[H8] PCLK.png

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

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

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

Regards,
Rashi

View solution in original post

0 Likes
1 Reply
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

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

Regards,
Rashi
0 Likes