MIPI error from CX3 internal mipi block

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

cross mob
dawa_2529456
Level 4
Level 4
5 sign-ins 5 solutions authored First solution authored

Dear Sir,

Because CB failure occurs frequently in my CX3 board, I add the following code after CB failure, I want to know whether mipi-error cause this CB failure.

The errCnts  is

257,(0x101)

or

,1

or

514(0x202)

or

258(0x102)

when CB failure occurs.

Can anyone explain what's the meaning for errCnts?

David

               //read cx3 internal csi2 error status register

                uint32_t errCnts=0;

                static uint32_t i = 0;

                CyU3PMipicsiGetErrors( CyTrue, &errCnts);

                CyU3PDebugPrint (4,"\n\rCyCx3UvcAppThread_Entry:CyU3PMipicsiGetErrors %d,i=%d", errCnts,i);

                i++;

0 Likes
1 Solution
Anonymous
Not applicable

Hi,

The 2nd parameter to the CyU3PMipicsiGetErrors is not uint32. It is a parameter of the type CyU3PMipicsiErrorCounts_t.

Please refer the API guide for more details.

Regards,

- Madhu Sudhan

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Hi,

The 2nd parameter to the CyU3PMipicsiGetErrors is not uint32. It is a parameter of the type CyU3PMipicsiErrorCounts_t.

Please refer the API guide for more details.

Regards,

- Madhu Sudhan

0 Likes