- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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++;
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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