Skip to main content
scott_brendon
Associate
October 13, 2011
Question

STM3220G_EVAL with OV2640 camera

  • October 13, 2011
  • 11 replies
  • 2235 views
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
    This topic has been closed for replies.

    11 replies

    John F.
    Associate III
    October 13, 2011
    Posted on October 13, 2011 at 16:24

    OmniVision have an application note,

    http://www.ovt.com/download_document.php?type=document&DID=63

    (pdf)

    http://www.ovt.com/download_document.php?type=document&DID=63

    Does that help? Or you can give them your details and request a Data Sheet.

    scott_brendon
    Associate
    October 13, 2011
    Posted on October 13, 2011 at 23:43

    Thanks for your reply John. But that doesn't help to much. I am really after the datasheet, so I can work out what to set all the registers too. Which there is approx 150 of. With no datasheet or example it is quite frustrating.

    - brendon

    infoinfo989
    Associate III
    October 13, 2011
    Posted on October 14, 2011 at 01:23

    We've used both Omnivision and Aptina image sensors in different designs. Both companies operate similarly. You can buy a number of their chips from digikey and other distributors. However, to get the detailed programming information, you need to contact the company and sign an NDA with them. Then they'll send you the documentation, often with your company name watermarked in the PDF.

    amin23
    Visitor II
    October 19, 2011
    Posted on October 19, 2011 at 12:49

    Hi,

    There is an example under

    standard peripherals library

    :

    “STM32F4 DSP and standard peripherals library, including 82 examples for 26 different peripherals and template project for 5 different�?.

    http://www.st.com/internet/mcu/product/252149.jsp

    myhk1995
    Visitor II
    November 10, 2011
    Posted on November 11, 2011 at 00:02

    do you make 12 bits camera sensor work?

    I am having problem make STM32F207 DMCI and DMA work for MT9P301 image sensor.

    pobox2day
    Visitor II
    November 13, 2011
    Posted on November 13, 2011 at 01:48

    Hi Scott

    I am about to start working with this camera, so pleased to help. Email me and I can send you some more info.

    Regards, Ian

    pobox2day@gmail.com

    pobox2day
    Visitor II
    November 22, 2011
    Posted on November 22, 2011 at 02:34

    Brendon

    Email me and I'll send you some info on the ov2640.

    pobox2day@gmail.com

    Regards, Ian

    amin23
    Visitor II
    November 23, 2011
    Posted on November 23, 2011 at 08:35

    Hi Scott,

    There is an example code for OV2640 camera under STM32F4xx standard peripherals library

    STM32F4xx_StdPeriph_Examples/DCMI/Camera.

    http://www.st.com/internet/mcu/product/252149.jsp

    This example supports OV9650 and OV2640 cameras.

    pobox2day
    Visitor II
    November 28, 2011
    Posted on November 28, 2011 at 02:52

    Hi Guys

    I've tried the example from the F4 eval board and am getting an error on the IO expander initialisation code. Specifically ioe_config() fails. Appreciate any ideas as to why.

    Ian

    amin23
    Visitor II
    November 29, 2011
    Posted on November 29, 2011 at 08:47

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