NOTE: My images are not showing up (they do when I edit the post, just not when I preview or save). This is extremely frustrating...
Image No Movement:
Image with Movement:
I am trying to change the size of the ROI for my P1300C from 1280x1024 to 256x256. I have modified the Avnet reference design, removing all the HDMI/TPG stuff and have a simple video pipeline that includes the onsemicam->vid2axi->cfa->rgb2ycrcb->cresa->vdma. These images were copied from the output of the VDMA core into system memory. 1280 by 1024 with an integration time of 10ms and frame time of 500 ms works great. When I change the ROI to 256x256 I get the above results. To do this requires changes in qite a few places. For the video pipeline I had to add an AXI interface to many of the IP cores and then use the drivers to change the active size parameters (hsize/vsize) used by the core. The register values on the core had to be changed as well mainly 256-258, Also the Avnet cam registers HTIMING1 and VTIMING1 and also SYNCGEN? I'm not sure what SYNCGEN does yet. I've not modified any of the clock sources.
I believe the artifacts above are more related to exposure timing. Cam in global shutter mode with frame mode set to 1 and the frame length set to 500 ms (mult timer set to 10 us). You can see from the images artifacts only occur where there is movement and they seem to fall along boundaries (notice the vertical columns). Any ideas?
Here's some the register changes from the original reference design: