I'm trying to get a STM32DIS_CAM (OV9655/Embest DM_CAM130) work with STM32F746NG_Discovery kit. I have imitated the instructions of driving the camera like what proposed in the example: https://codeload.github.com/adityamanglik/STM32F7DiscoCamera/zip/master.
When executing the instructions to initialize the camera by the function BSP_CAMERA_Init(..) with any resolution, it returns the value CAMERA_NOT_SUPPORTED. What are the possible reasons to get that error whereas the camera OV9655 is absolutely supported? Can it be damaged? and if yes, how to get sure of that?, Should I initialize the code in another way?.
In the attached file there is the 'main.c' file, the whole project is written in Keil uVision5, and the peripheral initialization made in STM32CubeMX.
Please guide me to solve this problem and to get the camera to work.