Question
DCMI STM32F40x CAMERA VSYNC ISSUE
Posted on April 15, 2014 at 15:06
Dear All,
I'm initialising the DCMI and DMAing camera data fine. The problem comes when I reset and then re-initialise the DCMI after disabling and then re-enabling the camera. The DCMI doesn't seem to wait for the first falling edge of the VSYNC and reads data in regardless. This results in the image start point being set randomly the screen.I've used the DCMI_DeInit() function and initialised the DCMI in exactly the same way as it was first initialised.Any advice on this issue?Thanks in advance.Kirem