recrErrCnt and ctlErrCnt errors with different CX3.

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

cross mob
mapper
Level 1
Level 1
5 questions asked 10 sign-ins 5 replies posted

Hello,

 

I'm using a Denebola board to receive data from an image sensor. I have developed a passive adapter board that simply routes the MIPI lanes and I2C from the Denebola daughter board connector to the image sensor connector. 

 

The image dimensions are 4056x3040=12330240 B at 10 fps. RAW8. And the MIPI configuration is:

CY_U3P_CSI_DF_YUV422_8_2, /* CyU3PMipicsiDataFormat_t dataFormat */
2, /* uint8_t numDataLanes */
2, /* uint8_t pllPrd */
119, /* uint16_t pllFbd */
CY_U3P_CSI_PLL_FRS_250_500M, /* 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 */
4056, /* uint16_t hResolution */
0 /* uint16_t fifoDelay */

 

I have 3 setups (denebola board + adapter board + image sensor):

 - 1st: Works well, the frame size received is 12330240 B, 0 MIPI errors, and the host application receives the image correctly.

 - 2nd: Frame size shown is wrong (sometimes 30000000 or 8000000), many recrErrCnt, and the host application receives a frame with the wrong size.

- 3rd: Frame size shown is wrong (sometimes 30000000 or 8000000), manyctlErrCnt, and the host application receives a frame with the wrong size.

 

We are checking the hardware of 2nd and 3rd setups. However, so far we can't find any issue with them. 

 

The firmware applied on all setups is the same. Is there any custom configuration that should be done to different CX3s? This would explain the different behavior from CX3 to the other.

 

I appreciate any insight you can provide. 

 

Best regards,

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

Hello,

Please refer to this KBA for details on the MIPI error  MIPI-CSI Protocol and Physical Layer Errors in CX3... - Cypress Developer Community  

Please let me know if the MIPI Transmitter (sensor) used in all the three setups are same. If yes, are these sensors configured with same settings as for the working case. If the sensors are not same, can you please confirm if the sensor is compliant to MIPI CSI-2  (Version 1.01, Revision 0.04 – 2nd April 2009)

Also, as per the KBA the error seems to be due to error on MIPI lines. Please check if MIPI lines are routed properly in the adapter.

Regards,
Rashi

View solution in original post

0 Likes
7 Replies