cancel
Showing results for 
Search instead for 
Did you mean: 

Recommeded for STM32F407 with DCMI

nagano
Associate II
Posted on September 27, 2014 at 06:01

I would like work easly and quickly camera with DCMI on STM32F407.

Does anyone know sample source code on this system?

I hope the program work parfect when I write to STM32 byEWARM.

Actually, I already have a STM32F407 Board on my desk(not discovery kit) and OV7670 and OV7725, but unfortunately doesn't work.

Surely myy coworker and I ready other threads, but  it seems anyone doesn't work.

If anyone help us to suggest DCMI code with something camera,

I will try to write it on my STM32F407 and get the camera.

thank you.
7 REPLIES 7
megahercas6
Senior
Posted on September 27, 2014 at 10:25

Why not simply download code examples for DCMI from st.com ?

nagano
Associate II
Posted on September 30, 2014 at 03:14

Thank you for your reply.

How can I find the code?

Could you send me the URL?

DMA started to work step by step yesterday, yet Data Bus doesn't work completely.

Although I confirmed something image data from camera.

I bet, if you provide me to ST sample codes site, it'll work soon.

Posted on September 30, 2014 at 04:17

http://www.st.com/web/en/catalog/tools/PF257901

STM32F4xx_DSP_StdPeriph_Lib_V1.3.0\Project\STM32F4xx_StdPeriph_Examples\DCMI\DCMI_CameraExample

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
nagano
Associate II
Posted on September 30, 2014 at 06:17

Thank you, clive1.

It'll be helpfull for me.

I haven't get the file before, that's why my program doesn't work.

Posted on September 30, 2014 at 10:21

Hi Nagano,

You can also refer to the STM32Cube based application as follows:

\Projects\STM324xG_EVAL\Applications\Camera\Camera_To_USBDisk

 

You've just to download the STM32Cube_FW_F4_V1.3.0 from this

http://www.st.com/web/en/catalog/tools/PF259243#

.

Regards,

Heisenberg.

nagano
Associate II
Posted on October 01, 2014 at 03:14

Hello, Heisenber.

It's first time to use STM32 seriese in my office so that we don't have enough skills.

Finally, I got a color bar image in this morning, but I haven't check camera image yet.

I have still some proberem that is VGA size, something like that.

It'll be find good way soon.

I'll check camera image from now.

Thank you.

0690X00000602y2QAA.jpg

nagano
Associate II
Posted on October 09, 2014 at 09:51

Thank you everyone.

I got a actual pic color throuh a lense, however I stiil have a problem.

How can I send to VGA data to external SRAM(MT45W4MW16PCGA)?

Normal DMA uppler limit is 65536 times with 4 byte setting.

(I mean ''DMA_Memory_Data_Size''.)

Therefore, it's not enough to send for (640 x 480 x 2bytes(color bytes) = 614400).