Hi @lex,
sorry for wake up the topic but I am in similar problem with ov5640.
I am using A20 SoC and sunxi kernel 3.4. My goal is HD resolution 720p and 25 fps.
Currently, I can get max 15fps (although on oscilloscope VSYNC has 30 Hz, HREF 22kHz, MCLK 24MHz, and PCLK 84MHz).
I am not sure why VSYNC is 30 Hz and SCI driver give to me only 15 fps. I can print debug message from CSI driver which tell me that 'frame interval' is 66 ms (~15fps). It looks like that CSI driver detects every second frame. On my application or gstreamer, I can get max 15 fps.
- Another issue is CPU load. When I start capturing frames form CSI sensor CPU in kernel space goes very high 60-70% on average for both cores.
It looks like SCI driver consumes CPU for something. I know that CPU load is from kernel space because I use 'mpstat -P ALL 2 5' and system column tell you CPU load for kernel space.
Did you manage to get ov5640 working properly or you give up?
Any help is welcome.
Best regards,
Milos Ladni