I've been slowly digging through the OV5640 configuration, trying to fit it to my needs. And it's difficult to do, if you have 3 sets of potential error sources:
- Your own code
- Target device (camera) driver code
- STM HAL!
Every now and then I've been getting chopped up images, such as this:
Eventually they would go away (after 5-10 captures), but meanwhile it's unusable. Especially if you are dealing with an autonomous device, which needs proper imagery.
Of course, first I blame myself, then others. Except this time it's not me, it's ST Micro!