STM32 HAL DCMI gocha

 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:

  1. Your own code
  2. Target device (camera) driver code
  3. 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!