Getting started with the STM32F429 Discovery kit

Getting started with the STM32F429 Discovery kit

UM1662

User manual

Getting started with the STM32F429 Discovery kit

Introduction

This document describes the software, firmware and hardware environments and development recommendations required to build an application around the STM32F429

Discovery kit (32F429IDISCOVERY) with demonstration firmware (STSW-STM32138).

The STM32F429 Discovery kit is a low-cost and easy-to-use development kit to quickly evaluate and start applications with an STM32F4 32-bit ARM

®

Cortex™-M4 CPU with FPU high-performance microcontroller. Before installing and using the product, please accept the

Evaluation Product License Agreement from

www.st.com/stm32f4-discovery

.

For more information on the STM32F429 Discovery kit visit

www.st.com/stm32f4-discovery

.

To order the STM32F429 Discovery kit, use the STM32F429I-DISCO order code.

Figure 1. STM32F429 Discovery board: STM32F429I-DISCO

References

STM32F429xx Datasheet

• STM32F40xxx, STM32F41xxx, STM32F42xxx, STM32F43xxx advanced ARM-based

32-bit MCUs reference manual (RM0090)

Discovery kit for STM32F429/439 lines (UM1670)

• Getting started with STM32F429 Discovery software development tools

Forum user question/ discussion.

September 2013 DocID025120 Rev 1

1/11

www.st.com

Contents

Contents

1

2

3

UM1662

Hardware configuration and layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

1.1

Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

1.2

Microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

1.3

System requirement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1.4

Powering up the board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1.5

Reset the board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

1.6

Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Firmware package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2.1

Package description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2.2

Programming firmware application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2.2.1

2.2.2

Programming application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Run pre-loaded demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

2/11

DocID025120 Rev 1

UM1662

List of figures

List of figures

Figure 1.

STM32F429 Discovery board: STM32F429I-DISCO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Figure 2.

STM32F429I-DISCO power sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Figure 3.

Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Figure 4.

Package contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Figure 5.

Hardware environnement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

DocID025120 Rev 1

3/11

3

Hardware configuration and layout

1 Hardware configuration and layout

UM1662

1.1 Features

The STM32F429 Discovery offers the following features:

STM32F429ZIT6 microcontroller featuring 2 MB of Flash memory, 256 KB of RAM in an LQFP144 package

On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone ST-

LINK/V2 (with SWD connector for programming and debugging)

Board power supply: through the USB bus or from an external 3 V or 5 V supply voltage

L3GD20, ST MEMS motion sensor, 3-axis digital output gyroscope

TFT LCD (Thin-film-transistor liquid-crystal display) 2.4", 262K colors RGB,

240 x 320 dots

SDRAM 64 Mbits (1 Mbit x 16-bit x 4-bank) including an AUTO REFRESH MODE, and a power-saving

Six LEDs:

– LD1 (red/green) for USB communication

– LD2 (red) for 3.3 V power-on

– Two user LEDs:

LD3 (green), LD4 (red)

– Two USB OTG LEDs:

LD5 (green) VBUS and LD6 (red) OC (over-current)

Two pushbuttons (user and reset)

USB OTG with micro-AB connector

Extension header for LQFP144 I/Os for a quick connection to the prototyping board and an easy probing

1.2 Microcontroller

The STM32F429ZIT6U device is based on the high-performance ARM

®

Cortex™-M4 32-bit

RISC core operating at a frequency of up to 180 MHz The Cortex-M4 core features a

Floating point unit (FPU) single precision which supports all ARM single-precision data-processing instructions and data types. It also implements a full set of DSP instructions and a memory protection unit (MPU) which enhances application security.

The STM32F429ZIT6U device incorporates high-speed embedded memories (2 Mbytes of

Flash memory, 256 Kbytes of SRAM), up to 4 Kbytes of backup SRAM, and an extensive range of enhanced I/Os and peripherals connected to two APB buses, two AHB buses and a 32-bit multi-AHB bus matrix.

4/11

DocID025120 Rev 1

UM1662 Hardware configuration and layout

Note:

1.4

Windows PC (XP, Vista, 7)

USB type A to Mini-B USB cable

ST-LINK/V2

Supported IDE are EWARM (IAR Embedded Workbench

®

), MDK-ARM™ and Atollic

TrueSTUDIO

®

Required information to download and install desired IDE and ST-LINK/V2 are detailed in

Getting started with STM32F429 Discovery software development tools document.

Powering up the board

The STM32F429I-DISCO board can be powered up from three sources.

• USB ST-LINK: To power the board from the USB connector CN1, use the 'USB type A to Mini-B' cable and connect it between the host and the board USB connector CN1.

External sources: DC power supply can be inserted in the GND and 3 V (or 5 V) pin.

Figure 2. STM32F429I-DISCO power sources

USB ST-LINK (CN1)

5V 3V

DocID025120 Rev 1

5/11

10

Hardware configuration and layout

1.5 Reset the board

There are three ways to reset the board:

Push the reset button mounted on the STM32F429I-DISCO.

Remove and reinsert the USB cable.

The MCU can also be reset by debuggers.

1.6

UM1662

Hardware block diagram

The STM32F429I-DISCO is designed around the STM32F429ZIT6U microcontroller in a

144-pin LQFP package.

Figure 3

illustrates the connections between the STM32F429ZIT6U and its peripherals (STLINK/V2, pushbutton, LED, USB and connectors).

Please refer to schematic under

www.st.com/stm32f4-discovery

for more details.

Figure 3. Hardware block diagram

Mini-USB

Embedded

ST-LINK/V2

I/O

STM32F429ZIT6

I/O

I/O RESET

LEDs

LD3...LD6

SDRAM

64 Mbits

2.4" QVGA

TFT LCD

Micro-USB

B2

RESET

B1

USER

L3GD20

ACP/RF

MS31952V1

6/11

DocID025120 Rev 1

UM1662 Firmware package

To get started with the STM32F429 Discovery kit, a firmware package that contains a set of

IP examples and demonstrations of some features exists under

www.st.com/stm32f4-discovery

.

The STM32F429 Discovery firmware applications, demonstration and IPs examples are provided in one single package and supplied in one single zip file. The extraction of the zip file generates one folder, STM32F429I-Discovery_FW_VX.Y.Z, which contains the following subfolders:

Figure 4. Package contents

User can run examples provided within this package. A set of examples for each peripheral are ready to be run.

2.2 Programming firmware application

To start programming, user must:

Install preferred Integrated Development Environment (IDE)

Install the ST-LINK V2 driver from ST web site

DocID025120 Rev 1

7/11

10

Firmware package UM1662

To program application (demonstration or example), follow the sequence below:

1.

Go under application folder

2. Chose the desired IDE project

3. Double click on the project file (ex. STM32F429I-Discovery_Demo.eww for EWARM)

4. Rebuild all files: Project->Rebuild all

5. Load project image: Project->Debug

Please refer to Getting started with STM32F429 Discovery software development tools for more details.

To run and develop any firmware applications on your STM32F429 Discovery board, the minimum requirements are as follows:

– Windows PC (XP, Vista, 7)

– ‘USB type A to Mini-B' cable, used to power the board (through USB connector

CN1) from host PC and connect to the embedded ST-LINK/V2 for debugging and

Programming.

Additional hardware accessories will be needed to run some applications:

– ‘USB type A to Micro-B' cable, used to connect the board (through USB connector

CN5) as USB Device to host PC.

8/11

DocID025120 Rev 1

UM1662 Firmware package

Establish the connection with the STM32F429 Discovery board as follows:

Figure 5. Hardware environnement

The demonstration software, based on the STemWin GUI library, is already preloaded in the board's Flash memory. It uses the LCD TFT mounted on the board to show the Menu based-on-icon view widget (Image Browser, Game, Performance, Clock/Calendar, Video and System Info module). The status bar indicate the CPU Usage, date, USB disk flash connection state, alarm and time.

Follow the sequence below to configure the STM32F429 Discovery board and launch the

DISCOVER application:

1.

Ensure that the jumpers JP3 and CN4 are set to "on" (Discovery mode).

2. Connect the STM32F429 Discovery board to a PC using a USB cable type A/mini-B through the USB ST-LINK connector CN1, to power the board. The LEDs LD2 (PWR) and LD1 (COM).

3. The following applications are available on the screen:

– Clock/Calendar and Game

– Video Player and Image Browser (play videos and view images from the USB mass storage connected to CN6)

– Performance monitor (watch the CPU load and run a graphical benchmark)

– System Info

4. The demo software, as well as other software examples that allow you to discover the

STM32 F4 series features, are available on

www.st.com/stm32f4-discovery

.

5. Develop your own applications starting from the examples.

DocID025120 Rev 1

9/11

10

Revision history

Table 1. Document revision history

Date Revision Changes

09-Sep-2013 1 Initial release.

UM1662

10/11

DocID025120 Rev 1

UM1662

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice.

All ST products are sold pursuant to ST’s terms and conditions of sale.

Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein.

No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED

WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED

WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS

OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.

ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE

SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B)

AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS

OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT

PURCHASER’S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS

EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR “AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL” INDUSTRY

DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE

DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY.

Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.

ST and the ST logo are trademarks or registered trademarks of ST in various countries.

Information in this document supersedes and replaces all information previously supplied.

The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.

© 2013 STMicroelectronics - All rights reserved

STMicroelectronics group of companies

Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -

Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America

www.st.com

DocID025120 Rev 1 11/11

11

Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project