cancel
Showing results for 
Search instead for 
Did you mean: 

New project Requirement using STM32f4

Haresh Prajapati
Associate II
Posted on November 06, 2017 at 14:29

The purpose this post is to need some suggestion. I am describing the information below.

The system will contain micro-controller, camera and SD card(SDIO Interface). For camera we have selected 5 MP DCMI Interface. We capture the picture and save this picture into SD card memory. To achieve this application we have selected STM32F407VGT6 micro-controller. So we have below queries regarding the same.

Camera description mention below

Features:

  • Onboard LDO regulators for 2.8V and 1.8V

  • Single 3.3V power input

  • 2.54mm (0.1 inch) standard pin out

  • Open source project

    http://www.arducam.com/

    supported

  • active array size: 2592 x 1944

  • power supply:

    core: 1.5VDC + 5% (internal regulator)

    analog: 2.6 ~ 3.0V

    I/O: 1.7 ~ 3.0V

  • output formats :

    (8-bit): YUV(422/420) / YCbCr422,

    RGB565/555/444, CCIR656,

    8-bit compression data,

    8/10-bit raw RGB data

  • lens size: 1/4?

  • input clock frequency: 6 ~ 27 MHz

  • shutter: rolling shutter

  • maximum image transfer rate:

    5 megapixel (2592�1944): 15 fps (and any size scaling down from 5 megapixel)

    1080p (1920�1080): 30 fps

    720p (1280�720): 60 fps

    VGA (640�480): 60 fps

    QVGA (320�240): 120 fps

  • scan mode: progressive

  • pixel size: 1.4 ?m x 1.4 ?m

  • image area: 3673.6 ?m x 2738.4 ?m

  • RAW,RGB,YUV,JPEG output support

  • External 1/4 inch high quality M12x0.5 lens

Pin Out:

Pin No.

PIN NAME

TYPE

DESCRIPTION

1

VCC

POWER

3.3v Power supply

2

GND

Ground

Power ground

3

SCL

Input

Two-Wire Serial Interface Clock

4

S

DATA

Bi-directional

Two-Wire Serial Interface Data I/O

5

VSYNC

Output

Active High: Frame Valid; indicates active frame

6

HREF

Output

Active High: Line/Data Valid; indicates active pixels

7

PCLK

Output

Pixel Clock output from sensor

8

XCLK

Input

Master Clock into Sensor

9

D

OUT

9

Output

Pixel Data Output 9 (MSB)

10

D

OUT

8

Output

Pixel Data Output 8

11

D

OUT

7

Output

Pixel Data Output 7

12

D

OUT

6

Output

Pixel Data Output 6

13

D

OUT

5

Output

Pixel Data Output 5

14

D

OUT

4

Output

Pixel Data Output 4

15

D

OUT

3

Output

Pixel Data Output 3

16

D

OUT

2

Output

Pixel Data Output 2 (LSB)

17

PWDN

Input

Power down

18

RSV

NC

Reserved

19

D

OUT

1

Output

Pixel Data Output 1(10bit mode)

20

D

OUT

0

Output

Pixel Data Output 0 (10bit mode)

  • Is this micro-controller suitable for this application? If no, then please suggest us Micro-Controller.
  • Is DCMI interface good to interface with micro-controller or any suggestion regarding camera interface from your side?
  • If we will go with this approach then do we need to interface external RAM with Micro-controller? if yes then which RAM required?

Looking forward for your positive response. Kindly let us know if you need any other information.

##dcmi #sdcard ##stm32f4 ##camera ##ram
2 REPLIES 2
Posted on November 06, 2017 at 15:05

>>

If we will go with this approach then do we need to interface external RAM with Micro-controller?

You're going to need to stage the data somewhere to process it. The F407 is not something I'd chose to do 5MP @ 15fps. I'd suggest you do some basic math on the data volume and bandwidth to understand what you're asking to do.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Amel NASRI
ST Employee
Posted on November 06, 2017 at 15:20

Hi

haresh.prajapati

‌,

I recommend you to refer to

http://www.st.com/content/ccc/resource/technical/document/application_note/group0/c0/ef/15/38/d1/d6/49/88/DM00373474/files/DM003734pdf/jcr:content/translations/en.DM003734pdf

(Digital camera interface (DCMI) for STM32 MCUs). It will give you some insights about the DCMI usage for the STM32 devices and then may help you to decide what to do exactly.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.