Jul 13, 2021
02:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2021
02:44 AM
Hello guys!
During the process of setting the software, we encountered some difficulties in setting the parameters. The default values in MIPI CSI2 inputs are in the left red box, and we need to set the parameters in the right-hand side box and we could not see any images in the camera. Would you mind giving us some advice on how to fill the boxes?
If anyone could help me, I will really appreciate that!
Solved! Go to Solution.
Labels
- Labels:
-
Sensing Technologies
1 Solution
Jul 21, 2021
08:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 21, 2021
08:36 PM
Hello Sherry,
We are glad to help you!
It seems that PRINT_FRAME_INFO macro is not enabled while capturing the UART logs. Please enable PRINT_FRAME_INFO macro and share the UART logs again
Please confirm if the Thread entry function CyCx3UvcAppThread_Entry is as follows
void
CyCx3UvcAppThread_Entry (
uint32_t input)
{
uint16_t wakeReason;
uint32_t eventFlag;
CyU3PReturnStatus_t status;
#ifdef PRINT_FRAME_INFO
uint32_t fps;
CyU3PMipicsiErrorCounts_t errCnts;
#endif
/* Initialize the Debug Module */
CyCx3UvcAppDebugInit();
/* Initialize the UVC Application */
CyCx3UvcAppInit();
for (;;)
{
eventFlag = 0;
if(glIsConfigured){
CyU3PDebugPrint(4,"\n\r Prod = %d Cons = %d \n\r ", TxCount, RxCount);
}
#ifdef PRINT_FRAME_INFO
if (Printflag == 1)
{
/*For video streaming application of higher FPS refrain from using this debug print or try to reduce the print information*/
CyU3PDebugPrint(4,"\n\rProd = %d Cons = %d Prtl_Sz = %d Frm_Cnt = %d Frm_Sz = %d B", TxCountflag, RxCountflag, PartialBufSize, FrameCount, ((TxCountflag*CX3_UVC_DATA_BUF_SIZE)+PartialBufSize));
Printflag = 0;
if (fpsflag == 1)
{
fps = 30000/(time1 -time0); //FPS calculate using time difference for 30 frames
CyU3PDebugPrint(4,"\n\rTimeDiff = %d ms FPS = %d", (time1 -time0), fps);
fpsflag = 0;
}
#ifndef FX3_STREAMING
CyU3PMipicsiGetErrors( CyTrue, &errCnts);
CyU3PDebugPrint(4,"\n\r%d %d %d %d %d %d %d %d %d",errCnts.crcErrCnt,errCnts.ctlErrCnt, errCnts.eidErrCnt, errCnts.frmErrCnt, errCnts.mdlErrCnt, errCnts.recSyncErrCnt, errCnts.recrErrCnt, errCnts.unrSyncErrCnt, errCnts.unrcErrCnt );
#endif
.....
....
}
Regards,
Rashi
Rashi
9 Replies