cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 Interfacing with OV5640 Camera

vishal patel
Associate II
Posted on March 23, 2017 at 07:49

I am trying to fetch the RAW image data from the OV5640..I can successfully receive the JPEG image but I can not configure it for YUV RAW data ? I have configured it to receive Black and White and Negative image which I can receive fine in JPEG format..

Anyone has received raw data RGB/YUV  from OV5640 ?

#ov5640 #stm32 #camera #raw-data
5 REPLIES 5
Martin.Sergio
Associate III
Posted on March 23, 2017 at 15:01

Hi,

I am starting a project with STM32F479I-Eval Board and OV5640 Camera Module, I am trying to modify DCMI_CaptureMode Example to work with OV5640 and not with S5K5CAG CAMERA provided in the Eval Board.

Using OVTATPantherAM program i can see that the Initialitation sequence for VGA(JPG)(640x480) is in the attached file VGA(JPG).txt

Can you share yours Initialitation sequence for OV5640 Camera

I attach the sequence for VGA(YUV)(640x480) is in the file VGA(YUV).txt

-Sergio

________________

Attachments :

VGA(YUV).txt.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyZc&d=%2Fa%2F0X0000000bCB%2F7AVcVQqRI1RWQWa5thIKlVm64gtwgBbjJ1wr.CUiotQ&asPdf=false

VGA(JPG).txt.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hyl2&d=%2Fa%2F0X0000000bC7%2FaaCpcf9Sqv5FdGc1O.s9VGWkQQh0b_CzzE8GSvaqJy8&asPdf=false
Posted on March 24, 2017 at 11:18

hi Serigo,

Thanks..

But It doesn't work for me.. Did you ever worked with the RAW data ? I need kind of data on which I can do image processing in my controller.. i need to do OCR..

Posted on March 24, 2017 at 12:02

Hi,

I have the Evaluation Kit  TD' 5640 5MP (

http://cammodules.td-next.com/5mp-td5640/

) and with the OVTATPantherAM program I can configure the OV5640

I just start working with this camera, but sniffing the I2C and with the Panther program can I get different sequences, maybe some of thenm works for you

-Sergio

tai tran
Associate
Posted on April 12, 2017 at 04:12

Hi vishal patel

I am also doing STM32 communication with OV5640 but I'm have problems with setting for OV5640 to receive JPEG image.

Can you share yours setting for OV5640 Camera to successfully receive the JPEG image?

Thank you so much
Martin.Sergio
Associate III
Posted on May 08, 2017 at 14:37

Hi,

I have the STM32F479I-Eval Board and OV5640 Camera Module running with a modify code of STM32469I_EVAL\Applications\Camera\Camera_To_USBDisk. I can save pictures in JPG format at 640x480,1280x720,1280x960,1920x1080, but when i try save pictures in 2592x1944 it doesn't work.

I read [RM0386(16.6.1)] -> maximum input size is 2048 × 2048.

Could this be the cause?

Any idea how to fix it?

Someone has this camera working in JPG format at 5 Megapixels?

Best Regards,

    Sergio