We are having a strange behavior in video capture (VPFE). All the registers (CCDC and VPFE) are setup correctly, and the video stream runs well in most of time. However, it will occasionally miss one frame. Though interrupt is received, the received image is empty. The buffer address was set correctly when we read back and check the SDR_ADDR register. In ISR, no other register has been changed.
We checked VPSS PCR register (the error identification register), and it is clean, no buffer overflow or underflow. We also checked the previously captured buffer, and the new image was not written there either.
If you have any idea about what could be the potential problem, it will be highly appreciated.
Alan