MIPI Errors explanation

  • Hello, we haven't encountered the "ERROR: csi fifo overflow" issue ourselves, so I can only help troubleshoot based on experience.

    In general, an "ERROR: csi size err" usually indicates an unstable connection or an excessively high data rate. In such cases, it's important to check whether the PCB layout and ribbon cable connections are stable, and to consider adjusting the relevant clock settings.

    However, since you're not seeing that particular error, you can probably rule out hardware layout or clock configuration issues for now. It's more likely a software configuration problem. I recommend first verifying whether you can successfully capture raw images using v4l2-ctl.
  • Hello,

    actually, we believe it is some sort of combination of hw issues. A bit of low-end camera module and not the best cable connecting the board. However, while fixing that issue we figured out we can avoid it, by closing and opening camera (cap.open(0) in opencv) everytime we need to take a photo. We need a photo every few minutes so that is actually quite a big deal when it comes to power usage. But after every few images the board completely freezes. The logs stop and I need to manually reset the board to gain access to it again. I think while closing the isp stream something majorly crashes under the hood which stops the whole board. The last entry I can see is "start stopping the isp" or something similar, which indicates that the ISP flow should stop, but doesn't 🫤

    I'm now searching for a solution on how to close it properly so that we don't hit this bug.