How to get the frames statistics from MIPI camera ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get the frames statistics from MIPI camera ?

380 Views
titusstalin
Contributor V

Dear All,

I want to get the below details from my OV5640 MIPI camera while stream ON/OFF.

1) Current frame rate  (I think, we can get this using VIDIOC_G_PARAM ioctl call)

2) Number of Packets with CRC errors.

3) Number of frames dropped due to underrun error (or any other errors)

4) Frames count (no of frames received)

5) Frames incomplete (no of frames which are incomplete)

Can you please tell me how can I get this details from mxc MIPI driver ?

Thanks for your support.

Labels (1)
0 Kudos
1 Reply

278 Views
igorpadykov
NXP Employee
NXP Employee

Hi Titus

please check MIPI_CSI_ERR1, MIPI_CSI_ERR2 described in sect.40.6.9

Error state register i.MX6DQ Reference Manual
http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos