2016-01-06 05:08 AM
Good day!
I get a picture with the camera in the RGB565 format, using DMA. Full frame normally captured and stored to the external SRAM (16-bit word). When I try using a hardware crop of DCMI to capture strip height of 100 pixels, normally captured only the first 2 frames. Other frames are distorted. Tell me what I'm doing wrong. The code to work with DCMI, 2nd (normal) and third (distorted) images attaching. Calling something like this: DCMI_Init(); DCMI_Crop_Enable(0, 334, XGA_X_RES, 100); for (;;) { DCMI_Read(img, IMG_SZ); delay_ms(1000); }