cancel
Showing results for 
Search instead for 
Did you mean: 

STM3220G_EVAL with OV2640 camera

scott_brendon
Associate
Posted on October 13, 2011 at 03:04

I have the STM3220G-EVAL board with the 2MP ov2640. Is there example code for this camera like the one in STM32F2xx_StdPeriph_Examples/DCMI/OV9655.

I cannot find much resources available for the ov2640 module. And cannot blindly set up the registers.

Any help would be appreciated.

- brendon
11 REPLIES 11
amin23
Associate II
Posted on November 29, 2011 at 08:47

use the OV2640 camera functions (OV2640_HW_Init, OV2640_Init,...) without IO.

pobox2day
Associate II
Posted on November 29, 2011 at 23:17

Thanks AMSN for the suggestion. The IO expander doesn't seem to work on my STM3220G board for some reason. Can't get any of the examples that use the joystick or buttons to work. Have run the OV2640 example and get image wrapping on the LCD. But at least I've something to start to work with. I note there are JPG examples in dcmi_ov2640.c so will give these a try next. Seems a pity that camera_api.c wasn't written to include more of the possible options for each camera. Appreciate hearing from anyone who has had success.

Ian