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
when CB failure occurs.
Can anyone explain what's the meaning for errCnts?
//read cx3 internal csi2 error status register
static uint32_t i = 0;
CyU3PMipicsiGetErrors( CyTrue, &errCnts);
CyU3PDebugPrint (4,"\n\rCyCx3UvcAppThread_Entry:CyU3PMipicsiGetErrors %d,i=%d", errCnts,i);
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.
- Madhu Sudhan