STM32-H407 development board USER’S MANUAL

30
STM32-H407 development board USER’S MANUAL Document revision G, March 2018 Designed by OLIMEX Ltd, 2012 All boards produced by Olimex LTD are ROHS compliant

Transcript of STM32-H407 development board USER’S MANUAL

Page 1: STM32-H407 development board USER’S MANUAL

STM32-H407 development boardUSER’S MANUAL

Document revision G, March 2018Designed by OLIMEX Ltd, 2012

All boards produced by Olimex LTD are ROHS compliant

Page 2: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

DISCLAIMER© 2018 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other productnames may be trademarks of others and the rights belong to their respective owners.

The information in this document is provided in connection with Olimex products. No license, express or impliedor otherwise, to any intellectual property right is granted by this document or in connection with the sale ofOlimex products.

This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy ofthis license, visit http://www.creativecommons.org/licenses/by-sa/3.0/.

This hardware design by Olimex LTD is licensed under a Creative Commons Attribution-ShareAlike 3.0 UnportedLicense.

The software is released under GPL.

It is possible that the pictures in this manual differ from the latest revision of the board.

The product described in this document is subject to continuous development and improvements. All particulars of theproduct and its use contained in this document are given by OLIMEX in good faith. However all warranties implied orexpressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded. Thisdocument is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss ordamage arising from the use of any information in this document or any error or omission in such information or anyincorrect use of the product.

This evaluation board/kit is intended for use for engineering development, demonstration, or evaluation purposes onlyand is not considered by OLIMEX to be a finished end-product fit for general consumer use. Persons handling theproduct must have electronics training and observe good engineering practice standards. As such, the goods beingprovided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing-relatedprotective considerations, including product safety and environmental measures typically found in end products thatincorporate such semiconductor components or circuit boards.

Olimex currently deals with a variety of customers for products, and therefore our arrangement with the user is notexclusive. Olimex assumes no liability for applications assistance, customer product design, software performance, orinfringement of patents or services described herein.

THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS USED TO CREATE STM32-H407. THEY ARE CONSIDERED SUITABLE ONLY FOR STM32-H407.

Page 2 of 30

Page 3: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

Table of Contents

DISCLAIMER ............................................................................................................. 2CHAPTER 1 OVERVIEW ......................................................................................... 5

1. Introduction to the chapter ....................................................................................................... 5

1.1 Features ..................................................................................................................................... 51.2 H407 or E407? .......................................................................................................................... 6

1.3 Target market and purpose of the board ............................................................................... 61.4 Organization ............................................................................................................................. 6

CHAPTER 2 SETTING UP THE STM32-H407 BOARD ....................................... 72. Introduction to the chapter ....................................................................................................... 7

2.1 Electrostatic warning ............................................................................................................... 72.2 Requirements ........................................................................................................................... 7

2.3 Powering the board .................................................................................................................. 82.4 Prebuilt software ...................................................................................................................... 8

CHAPTER 3 STM32-H407 BOARD DESCRIPTION ............................................ 93. Introduction to the chapter ....................................................................................................... 9

3.1 Layout (top view) ..................................................................................................................... 93.2 Layout (bottom view) ............................................................................................................. 10

CHAPTER 4 THE STM32F407ZGT6 MICROCONTROLLER ......................... 114. Introduction to the chapter ..................................................................................................... 11

4.1 The STM32F407ZGT6 features ............................................................................................ 11

CHAPTER 5 CONTROL CIRCUITY AND HARDWARE MODULES ............. 135. Introduction to the chapter ..................................................................................................... 135.1 Reset ........................................................................................................................................ 13

5.2 Clocks ...................................................................................................................................... 135.3 Power supply circuit .............................................................................................................. 13

CHAPTER 6 CONNECTORS AND PINOUT ....................................................... 146. Introduction to the chapter ..................................................................................................... 14

6.1 JTAG/SWD debug ................................................................................................................. 146.2 SD/MMC slot .......................................................................................................................... 15

6.3 UEXT module ......................................................................................................................... 156.4 USB HOST .............................................................................................................................. 16

6.5 USB_OTG ............................................................................................................................... 166.6 Arduino platform ................................................................................................................... 16

6.7 20-pin connectors – PD – PE – PF – PG .............................................................................. 186.8 PWR Jack ............................................................................................................................... 19

6.9 Battery connector ................................................................................................................... 196.10 U3BOOT ............................................................................................................................... 19

Page 3 of 30

Page 4: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

6.11 Jumper description .............................................................................................................. 196.11.1 PWR_SEL ................................................................................................................................ 196.11.2 B1_1/B1_0 and B0_1/B0_0 ...................................................................................................... 206.11.3 R-T ............................................................................................................................................ 206.11.4 3.3V_E ....................................................................................................................................... 206.11.5 AGND_E ................................................................................................................................... 206.11.6 AREF_EN ................................................................................................................................. 21

6.12 Additional hardware components ...................................................................................... 21

CHAPTER 7 HOW TO USE THE BOARD WITH ARDUINO IDE ................... 22CHAPTER 8 BLOCK DIAGRAM AND MEMORY ............................................. 23

8. Introduction to the chapter ..................................................................................................... 238.1 Processor family block diagram ........................................................................................... 23

8.2 Physical memory map ........................................................................................................... 24

CHAPTER 9 SCHEMATICS ................................................................................... 259. Introduction to the chapter ..................................................................................................... 259.1 Eagle schematic ...................................................................................................................... 25

9.2 Physical dimensions ............................................................................................................... 27

CHAPTER 10 REVISION HISTORY AND SUPPORT ........................................ 2810. Introduction to the chapter ................................................................................................... 2810.1 Document revision ............................................................................................................... 28

10.2 Hardware revision ............................................................................................................... 2810.3 Useful web links and purchase codes ................................................................................. 29

10.4 Product support ................................................................................................................... 30

Page 4 of 30

Page 5: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

CHAPTER 1 OVERVIEW

1. Introduction to the chapter

Thank you for choosing the STM32-H407 single board computer from Olimex! This document provides a user’s guide for the Olimex STM32-H407 board. As an overview, this chapter gives the scope of this document and lists the board’s features. The differences between the members of the OLIMEX STM32 F407 boards are mentioned. The document’s organization is then detailed.

The STM32-H407 development board enables code development of applications running on the microcontroller STM32F407ZGT6, manufactured by STMicrocontrollers.

1.1 Features

STM32F407ZGT6 Cortex-M4 210DMIPS, 1MB Flash, 196KB RAM, 3×12-bit 2.4 MSPS A/D, 2×12-bit D/A converters, USB OTG HS and USB OTG HS, Ethernet, 14 timers, 3 SPI,3 I2C, Ethernet, 2 CANs, 3 12 bit ADCs, 2 12 bit DACs, 114 GPIOs, Camera interface

JTAG connector with ARM 2×10 pin layout for programming/debugging UEXT connector USB host USB-OTG SD-card Input DCDC power supply which allows operation from 6-16VDC source Power and user LEDs Reset and user buttons Arduino shield platform with provided headers 4 full 20-pin ports with the external memory bus for add-on modules PCB: FR-4, 1.5 mm (0,062"), soldermask, silkscreen component print Dimensions: 90×76 mm (3.54×3")

Page 5 of 30

Page 6: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

1.2 H407 or E407?

The major difference between STM32-H407 and STM32-E407 is that the latter has built-in Ethernet (physical level transceiver Microchip's LAN8710A-EZC). STM32-E407 also features an extra USB-OTG and a number of SMD jumpers on the bottom which help the user to control the multiplexing on some pins easier. STM32-E407 has 2 x USB-OTG both with a miniUSB interface. STM32-H407 has 1x USB-OTG and 1x USB-HOST with the On-The-Go interfaced by miniUSB and the HOST by USB type A connector.

If you need built-in Ethernet check the STM32-E407.

1.3 Target market and purpose of the board

STM32-H407 is a development board featuring a powerful ARM Cortex-M4F microcontroller with the most important peripherals, interfaces and connectors mounted and ready to use. The board can be powered by a number of different sources, can be programmed via two different interfaces, has a TON of GPIO pins available on a number of headers. The board's Arduino platform headers give another option for enthusiasts who wish to implement support for Arduino/Maple/Pinguino shields giving the board additional features altogether with the option to add Olimex extension modules on the OLIMEX UEXT.

The board can be programmed via Arduino IDE using USB_HOST connector.

All of the above options make the board quite versatile and suitable for numerous tasks and situations. The power of ARM and the creativity of OLIMEX come at the best price and the well-known quality.

Every ARM enthusiast would see STM32-H407 as an interesting bargain and quite capable board for its low price.

1.4 Organization

Each section in this document covers a separate topic, organized as follow:– Chapter 1 is an overview of the board usage and features– Chapter 2 provides a guide for quickly setting up the board– Chapter 3 contains the general board diagram and layout– Chapter 4 describes the component that is the heart of the board: the STM32F207ZET6

microcontroller– Chapter 5 is an explanation of the control circuitry associated with the microcontroller to

reset. Also shows the clocks on the board– Chapter 6 covers the connector pinout, peripherals and jumper description– Chapter 7 gives advice on how to use the board with Arduino IDE– Chapter 8 shows the memory map– Chapter 9 provides the schematics– Chapter 10 contains the revision history, useful links and support information

Page 6 of 30

Page 7: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

CHAPTER 2 SETTING UP THE STM32-H407 BOARD

2. Introduction to the chapter

This section helps you set up the STM32-H407 development board for the first time.Please consider first the electrostatic warning to avoid damaging the board, then discover the hardware and software required to operate the board.

The procedure to power up the board is given, and a description of the default board behavior is detailed.

2.1 Electrostatic warning

STM32-H407 is shipped in a protective anti-static package. The board must not be exposed to high electrostatic potentials. A grounding strap or similar protective device should be worn when handling the board. Avoid touching the component pins or any other metallic element.

2.2 Requirements

In order to set up the STM32-H407 optimally, the following items are required:

- JTAG or SWD interface programmer/debugger* – can power the board and gives the ability to program/debug the board – to choose the correct programmer be sure that you are aware what software tools you are going to use when programming STM32-H407, and that the programmer supports STM32F407 processor.

*The board can also be programmed with Arduino IDE via USB cable with USB type A connector using board's USB-HOST connector;

Additional components can be acquired in order to increase the functionality of the board:

- External power supply- SD-card or USB-mini cable or extensive UEXT modules are recommended but not required- 3.7V Battery- MOD-XXXX boards for additional features on the UEXT (RTC, TC, GSM, MP3, RS-485 among others) – note that you will have to implement the software setup between the boards- Arduino/Maple/Pinguino shields – every shield is hardware compatible with H407 but will not work out-of-the-box, software implementation should be considered

Some of the suggested items can be purchased by Olimex, for instance:

ARM-USB-TINY-H – high-speed OpenOCD ARM JTAG debuggerARM-USB-OCD-H – high-speed OpenOCD ARM JTAG debugger with buffer protectionUSB-MINI-CABLE – USB mini to USB-A cableBATTERY-LIPO1400MAH – lithium-polymer battery 1400mAhSY0612E – power supply adapter 12V/0.5A for iMX233-STM32-H407

Page 7 of 30

Page 8: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

2.3 Powering the board

The board is powered in one of the following ways: 1) by PWR jack, 2) by JTAG/SWD programmer, 3) by USB-OTG.

The PWR jack should be supplied from a 6V to 16V source with maximum current of 1A from the power jack. Without additional components and peripherals (no microSD card mounted, nothing connected to the USB, etc.) the typical consumption is 30mA @ 12V. For the European customers we sell an affordable power supply adapter 12V/0.5A – SY0612E.

It is worth mentioning that the board can NOT be powered by the battery connector. The battery connected keeps some of the processor's functions remain intact (hibernate) during power down but it provides insufficient power for the board to operate properly. For example the RTC doesn't lose the values when there is a battery connected.

2.4 Prebuilt software

Upon powering initially the board's red PWR LED and the green PWR LED should turn on. There are demo examples available for download at the product's page at the Olimex's web-site.

Page 8 of 30

Page 9: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

CHAPTER 3 STM32-H407 BOARD DESCRIPTION

3. Introduction to the chapter

In this chapter you will get acquainted with the main parts of the board. Note the names used on the board differ from the names used to describe them. For the actual names check the STM32-H407 board itself.

The board comes with a bag with 4 headers for the Arduino/Maple/Pinguino platform which were left unsoldered in case you don't wish to use those environments or you don't plan on using shields.

There is also a bag of 4 rubber pads which can be placed in the 4 corner holes of the board. That way the board will be safe from short-circuiting on the bottom if placed on low-resistance surface. The placement stability of the board will also increase.

3.1 Layout (top view)

Page 9 of 30

Page 10: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

3.2 Layout (bottom view)

On the bottom there are three tables printed – general jumper table, boot mode jumper table, power mode jumper table. The default positions of the tables are also shown.

Page 10 of 30

Page 11: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

CHAPTER 4 THE STM32F407ZGT6 MICROCONTROLLER

4. Introduction to the chapter

In this chapter is located the information about the heart of STM32-H407 – its Cortex-M4F microcontroller. The information is a modified version of the datasheet provided by its manufacturers from ST.

4.1 The STM32F407ZGT6 features

Core: ARM 32-bit Cortex™-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator™) allowing 0-wait state execution from Flash memory, frequency up to 168 MHz, memory protection unit, 210 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions

Memories 1 Mbyte of Flash memory 192+4 Kbytes of SRAM including 64-Kbyte of CCM (core coupled memory) data RAM Flexible static memory controller supporting Compact Flash, SRAM, PSRAM, NOR

and NAND memories LCD parallel interface, 8080/6800 modes Clock, reset and supply management

1.8 V to 3.6 V application supply and I/Os POR, PDR, PVD and BOR 4-to-26 MHz crystal oscillator Internal 16 MHz factory-trimmed RC (1% accuracy) 32 kHz oscillator for RTC with calibration Internal 32 kHz RC with calibration Sleep, Stop and Standby modes VBATsupply for RTC, 20×32 bit backup registers + optional 4 KB backup SRAM

3×12-bit, 2.4 MSPS A/D converters: 24 channels and 7.2 MSPS in triple interleaved mode 2×12-bit D/A converters General-purpose DMA: 16-stream DMA controller with FIFOs and burst support Up to 17 timers: up to twelve 16-bit and two 32-bit timers up to 168 MHz, each with up to 4

IC/OC/PWM or pulse counter and quadrature (incremental) encoder input Debug mode

Serial wire debug (SWD) & JTAG interfaces Cortex-M4 Embedded Trace Macrocell™

114 I/O ports with interrupt capability Up to 15 communication interfaces

3 × I2C interfaces (SMBus/PMBus) 4 USARTs/2 UARTs (10.5 Mbit/s, ISO 7816 interface, LIN, IrDA, modem control) 3 SPIs (37.5 Mbits/s), 2 with muxed full-duplex I2S to achieve audio class accuracy via

internal audio PLL or external clock 2 × CAN interfaces (2.0B Active) SDIO interface

Advanced connectivity USB 2.0 full-speed device/host/OTG controller with on-chip PHY

Page 11 of 30

Page 12: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip full-speed PHY and ULPI

10/100 Ethernet MAC with dedicated DMA: supports IEEE 1588v2 hardware, MII/RMII

8- to 14-bit parallel camera interface up to 54 Mbytes/s True random number generator CRC calculation unit 96-bit unique ID RTC: subsecond accuracy, hardware calendar

For comprehensive information on the microcontroller visit the ST’s web page for a datasheet.

At the moment of writing the microcontroller datasheet can be found at the following link:

Document DM00037051

Page 12 of 30

Page 13: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

CHAPTER 5 CONTROL CIRCUITY AND HARDWARE MODULES

5. Introduction to the chapter

Here you can find information about reset circuit and quartz crystals locations, the power supply circuit is discussed.

5.1 Reset

STM32-H407's reset circuit includes R21 (10KΩ), R19 (1 KΩ), C35 (100nF) and a RESET button.

5.2 Clocks

There are two quartz crystals available on the board:

12 MHz quartz crystal Q1 is connected to pins 23 and 24 of the CORTEX-M4F processor.

Quartz crystal Q2 is a 32 768Hz RTC (real-time clock) and is connected to pins 8 and 9.

5.3 Power supply circuit

The power supply circuit of STM32-H407 allows flexible input supply from 6V to 16V direct current. This means a wide range of power supplies, adapters, converters are applicable. The maximum amperage the board can draw is 1A.

The Li-Po battery connector cannot be used to fully power the board. Its function is to give an option to save internal data if the board needs to be relocated. It will keep the RTC alive, for instance.

If you have successfully powered the board the red PWR LED will turn on. Note that it is possible to have the PWR LED on even if there isn't enough power for proper operation of the board and all the peripherals currently connected.

Page 13 of 30

Page 14: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

CHAPTER 6 CONNECTORS AND PINOUT

6. Introduction to the chapter

In this chapter are presented the connectors that can be found on the board all together with their pinout and notes about them. Jumpers functions are described. Notes and info on specific peripherals are presented. Notes regarding the interfaces are given.

Note that slashed signals (xxxx/yyyy) in the tables below might mean either multiplexing between signals or port name correspondence on the processor.

6.1 JTAG/SWD debug

The board can be debugged from the 20-pin JTAG connector either by a JTAG or a SWD compatible debugger. Below is the table of the JTAG. This interface can be used with the Olimex's OpenOCD debuggers.

JTAG/SWD interface

Pin #SignalName Pin #

SignalName

1 +3.3V 11 -

2 +3.3V 12 GND

3 PB4/TRST 13 PB3/TDO

4 GND 14 GND

5 PA15/TDI 15 PB4/TRST

6 GND 16 GND

7 PA13/TMS 17 -

8 GND 18 GND

9 PA14/TCK 19 +5V_JTAG

10 GND 20 GND

Page 14 of 30

Page 15: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

6.2 SD/MMC slot

The microSD card slot is a standard 8pin connector.

We have tested a number of microSD cards on the STM32-H407 boards and all of them worked fine regardless manufacturer or capacity. However, keep in mind that some of the lower quality microSD cards might draw too much current from the slot which might cause power-state problems.If you suspect the microSD card is causing problems please try using another one of better quality for better results.

microSD card connector

Pin # Signal Name

1 DAT2/RES

2 CD/DAT3/CS

3 CMD/DI

4 VDD

5 SCL/SCLK

6 VSS

7 DAT0/RES

8 DAT1/RES

Notice that the pad numeration is written at the bottom of STM32-H407 under the microSD card connector.

When removing the card, please make sure that you release it from the connector by pushing and NOT by pulling the card directly (this can damage both the connector and the microSD card).

6.3 UEXT module

STM32-H407 board has UEXT connector and can interface Olimex's UEXT modules.For more information on UEXT please visit:

https://www.olimex.com/Products/Modules/UEXT/

UEXT connector

Pin # Wire Name Microcontroller port

1 3.3V -

2 GND -

3 PC6/USART6_TX PC6

4 PC7/USART6_RX PC7

5 PB8/I2C1_SCL PB8

6 PB9/I2C1_SDA PB9

Page 15 of 30

Page 16: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

7 PC2/SPI2_MISO PC2

8 PC3/SPI2_MOSI PC3

9 PB10/SPI2_SCK/UART3_TX PB10

10 RB7/UEXT_CS PB7

6.4 USB HOST

The big advantage of having USB hosts available over USB devices is that you can as well use them as masters. A USB host may implement multiple host controllers and each host controller mayprovide one or more USB ports.

Note DFU bootloader uses the host USB port, and a "USB A-A" cable is required. This is the port used to program the board via Arduino IDE.

The signals follow the familiar and standard USB host pattern:

USB 2-level host

PIN# SIGNAL NAME

1 +5V_HOST_PWR

2 USB_HOST_D-

3 USB_HOST_D+

4 GND

6.5 USB_OTG

USB On-The-Go, often abbreviated USB OTG, is a specification that allows USB devices such as digital audio players or mobile phonesto act as a host allowing a USB flash drive, mouse, or keyboard to be attached and also connecting USB peripherals directly for communication purposes among them.

Pin # Signal Name

1 +5V_OTG_PWR

2 USB_OTG_D-

3 USB_OTG_D+

4 PB12/OTG_HS_ID

5 GND

6.6 Arduino platform

The Arduino/Maple platform connectors (2×6 pin and 2×8 pin plastic headers) are not mounted but are included in the package. The reasons for not mounting the headers on the pin holes are two: firstyou might not need them if you do not wish to experiment with Arduino/Maple software; second there are two rows depending on the shield you might want to use the difference between the two

Page 16 of 30

Page 17: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

rows is the distance between the two digital rows one is made according to the Arduino shield standard (e.g. you want to mount the row there if using Arduino certified shield), the other one is adjusted properly at 100mil step (e.g. you want to solder the digital pins here if using properly adjusted shields).

The pinhole names are printed near the actual pinhole on the top of the board.

Arduino platform pinholes

CON1 CON2

Pin Signal Name Processor pin# Pin Signal Name Processor pin#

RST RST 25 A0 PC0 26

3V3 3.3V - A1 PC1 27

5V 5V - A2 PB0 46

GND GND - A3 PB1 47

GND GND - A4 PC4 44

VIN VIN - A5 PC5 45

Arduino platform pinholes

CON3 CON4

Pin Signal Name Processor pin# Pin Signal Name Processor pin#

D0 PA3/USART_RX 37 D8 PA1 35

D1 PA2/USART_TX 36 D9 PB11 70

D2 PG7 92 D10 PA4 40

D3 PG8 93 D11 PA7 43

D4 PG12 127 D12 PA6 42

D5 PG13 128 D13 PA5 41

D6 PG14 129 GND AGND 31

D7 PG15 132 AREF AREF 32

Page 17 of 30

Page 18: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

6.7 20-pin connectors – PD – PE – PF – PG

The 4×20-pin connectors combine different processor ports and provide very nice GPIO option – you can use them with your breadboarding wires, you can mount headers, you can take measures, etc, etc.Note that all 4 headers come without connectors (unlike the UEXT or the JTAG) and connectors arenot included in the package (unlike the Arduino platform). However they follow the standard 100mil step connectors – not hard to find and mount/solder if needed etc.

PD PE

Pin # Signal Name Pin # Signal Name Pin # Signal Name Pin # Signal Name

1 +3.3V 11 PD8 1 +3.3V 11 PE8

2 GND 12 PD9 2 GND 12 PE9

3 PD0 13 PD10 3 PE0 13 PE10

4 PD1 14 PD11 4 PE1 14 PE11

5 PD2 15 PD12 5 PE2 15 PE12

6 PD3 16 PD13 6 PE3 16 PE13

7 PD4 17 PD14 7 PE4 17 PE14

8 PD5 18 PD15 8 PE5 18 PE15

9 PD6 19 +5V 9 PE6 19 +5V

10 PD7 20 GND 10 PE7 20 GND

PF PG

Pin #SignalName Pin # Signal Name Pin #

SignalName Pin # Signal Name

1 +3.3V 11 PF8 1 +3.3V 11 PG8

2 GND 12 PF9 2 GND 12 PG9

3 PF0 13 PF10 3 PG0 13 PG10

4 PF1 14 PF11 4 PG1 14 PG11

5 PF2 15 PF12 5 PG2 15 PG12

6 PF3 16 PF13 6 PG3 16 PG13

7 PF4 17 PF14 7 PG4 17 PG14

8 PF5 18 PF15 8 PG5 18 PG15

9 PF6 19 +5V 9 PG6 19 +5V

10 PF7 20 GND 10 PG7 20 GND

Page 18 of 30

Page 19: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

6.8 PWR Jack

The power jack used is the typical 2.5mm one used by Olimex in most of our products. You should provide between 6 and 16 volts @ 1A to the board.

Pin # Signal Name

1 Power Input

2 GND

More info about the power supply can be found in chapters 2 and 5 of this manual.

6.9 Battery connector

When using the battery connector keep in mind that it is an energy solution that wouldn't be able to power the board and all the peripherals!

It help keeping information in the processor if you need to transport the board from one power supply to other.

Pin # Signal Name

1 VBAT

2 GND

The pin names are also written on the bottom of the board in the base of the connector.

6.10 U3BOOT pads

The best use for the GND, RX3, TX3 pins from the U3BOOT connector would be getting the output of the available demo program on a computer terminal via USB-SERIAL-CABLE-M (https://www.olimex.com/Products/Components/Cables/USB-Serial-Cable/USB-Serial-Cable-M/)

U3BOOT are 3 pinholes set on USART3 and are named on the bottom – GND, RX3, TX3 and notice there are two vias near them which are actually VCC and can be used if connecting U3BOOT. More information about booting over UART can be found in the processor's datasheet.

6.11 Jumper description

Please note some of the jumpers on the board are SMD type. If you feel insecure in your soldering/cutting technique it is better not to try adjusting SMD jumpers.Also if you feel incapable of removing the PTH jumper with hand better use tweezers. We do.

6.11.1 PWR_SEL

PWR_SEL is important PTH jumper allowing easy switching of input current. If you are powering the board via the PWR_JACK set it to position 1-2 (default → to the edge of the board).

Page 19 of 30

Page 20: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

If powering from the JTAG/SWD set the jumper in position 3-4 (middle position). If powering fromthe USB-OTG set it in 5-6 position (to the tall capacitor C46)

The default position is 1-2.

6.11.2 B1_1/B1_0 and B0_1/B0_0

B1_1/B1_0 and B0_1/B0_0 are PTH jumpers which can be moved relatively easy.

Notice that these two jumpers must be moved together – they are responsible for the boot mode if bootloader is present. The board can search for bootloader on three places – User Flash Memory, System Memory or the Embedded SRAM.

If B0_0 is closed the board will try to boot from User Flash Memory.

If B0_1 is closed there are two variants depending on the state of B1_1/B1_0 jumper – if B0_1 is closed and B1_0 is closed the board will try to boot from System Memory. If B0_1 is closed and B1_1 is closed bootloader must be located in the Embedded SRAM.

The default positions are B0_0 and B1_0 (Boot from User Flash Memory).

6.11.3 R-T

This is SMD type jumper.

If you close/solder this jumper RST and TRST at the JTAG will be connected.

The default position is open/unsoldered.

6.11.4 3.3V_E

This is SMD type jumper.

Board digital power will be disabled if open/unsoldered

The default position is closed.

6.11.5 AGND_E

This is SMD type jumper.

If open/unsoldered will disable analog ground.

The default position is closed.

Page 20 of 30

Page 21: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

6.11.6 AREF_EN

This is SMD type jumper.

If open/unsoldered will disable ADC reference.

The default position is closed.

6.12 Additional hardware components

The components below are mounted on STM32-H407 but are not discussed above. They are listed here for completeness:

Reset button – used for hardware reset of the board

WKUP button – can be used as user button

User LED + Power LED

Page 21 of 30

Page 22: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

CHAPTER 7 HOW TO USE THE BOARD WITH ARDUINO IDE

In order to program the board with Arduino IDE you would need a USB cable with USB type A-A connector. Note that you you would also need to enter bootloader mode by manipulating the B0_1/B0_0 and B1_1/B1_0 jumpers.

1) Download and install latest Arduino IDE.

2) Go to: File –> Preferences –> Additional Boards Manager URLs: https://raw.githubusercontent.com/OLIMEX/Arduino_configurations/master/STM/package_olimex_stm_index.json

3) Tools –> Board –> Boards manager…

4) Select "Olimex STM32 boards" –> Install (if Arduino SAM Boards package is not installed it will download the compiler so it will take some time)

5) Select: Tools –> Board –> STM32-H407

6) Select: File –> Examples –> STM32-H407 –> <choose one of the examples>

7) Connect the USB cable to USB_HOST port (big USB port) of STM32-H407.

8) Set the board in DFU bootloader mode (set jumper B0_1/B0_0 –> B0_1; and B1_1/B1_0 –> B1_0 and reset the board)

8.1) If the device is not recognized install driver (WinUSB) using Zadig installer (download link: http://zadig.akeo.ie/)

9) Compile and upload the sketch

10) Run the board in the default boot from flash mode (jumpers B0_1/B0_0 –> B0_0; B1_1/B1_0 –> B1_0 and reset the board)

11) The uploaded sketch would be executed.

You need to set the jumpers in DFU bootloader mode every time that you want to upload. Then to execute the code, revert the jumpers back to boot from flash mode and reset.

Page 22 of 30

Page 23: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

CHAPTER 8 BLOCK DIAGRAM AND MEMORY

8. Introduction to the chapter

Below you can find a memory map for this family of processors. It is strongly recommended to refer to the original datasheet released by STMicroelectronics for one of higher quality.

8.1 Processor family block diagram

Page 23 of 30

Page 24: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

8.2 Physical memory map

Page 24 of 30

Page 25: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

CHAPTER 9 SCHEMATICS

9. Introduction to the chapter

In this chapter are located the schematics describing logically and physically STM32-H407.

9.1 Eagle schematic

STM32-H407 schematic is visible for reference here. You can also find them on the web page for STM32-H407 at our site: https://www.olimex.com/Products/ARM/ST/STM32-H407/. They are located in HARDWARE section.

The EAGLE schematic is situated on the next page for quicker reference.

Page 25 of 30

Page 26: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

Page 26 of 30

ETH_RMII_REF_CLKETH_RMII_MDIOETH_RMII_MDINT

ETH_RMII_CRS_DV

ETH_RMII_TX_EN

ETH_RMII_MDC

ETH_RMII_RXD0ETH_RMII_RXD1

ETH_RMII_TXD0ETH_RMII_TXD1

6-16VDC

FSMC_A0FSMC_A1FSMC_A2FSMC_A3FSMC_A4FSMC_A5

FSMC_A6FSMC_A7FSMC_A8FSMC_A9 FSMC_D12

FSMC_D11FSMC_D10FSMC_D9FSMC_D8FSMC_D7FSMC_D6FSMC_D5FSMC_D4FSMC_A22FSMC_A21FSMC_A20FSMC_A19FSMC_A23

FSMC_D1FSMC_D0FSMC_A18FSMC_A17FSMC_A16FSMC_D15FSMC_D14FSMC_D13FSMC_NE1FSMC_NWAITFSMC_NWEFSMC_NOEFSMC_CLK

FSMC_D3FSMC_D2

FSMC_NBL0FSMC_NBL1

FSMC_NIORDFSMC_NREG

FSMC_NIOWRFSMC_CD

FSMC_INTR

FSMC_A10FSMC_A11FSMC_A12FSMC_A13FSMC_A14FSMC_A15FSMC_INT2

FSMC_NE2/FSMC_NCE3FSMC_NCE4_1/FSMC_NCE3

FSMC_NCE4_2

MP1482DS

Close

WF2S

Close

CloseHN1x3(B0_1:Open;B0_0:Close)

HN1x3(B1_1:Open;B1_0:Close)

47pF(NA) 47pF(NA)

100uF/35V/LOWESR/105C/6.3x11mm_RM2.5

100n

F

100nF

100n

F

22uF/6.3V

47pF(NA) 47pF(NA) 100nF

100uF/35V/LOWESR/105C/6.3x11mm_RM2.5

100n

F

2.2uF/6.3V

10uF

/6.3

V

10uF

/6.3

V

100n

F

10uF

/6.3

V

10uF

/6.3

V

100n

F

100n

F

100n

F

100n

F

100n

F

100n

F

100n

F

100n

F

2.2uF/6.3V

10uF/6.3V 100nF100nF

27pF

27pF15pF

15pF100nF

100nF

100nF

22pF

22uF/6.3V22uF/6.3V 22uF/6.3V 100nF

100uF/16V/mini220uF/16V/mini

22uF/6.3V

470u

F/2

5V/L

OW

ES

R/1

05C

100n

F

10nF

3.3nF

22uF/6.3V 22uF/6.3V

NA(PN1X6)

NA(PN1X6)

NA(PN1X8)

NA(PN1X8)

NA(ESDA6V1L)

NA(ESDA6V1L)

BAT54C

SMBJ16A

BH20R

CL

470n

H/0

805/

1.7

6R/2

50m

A

FB0805/600R/200mA(201209-601)

FB0805/600R/200mA(201209-601)

FB

0805

/600

R/2

00m

A(2

0120

9-60

1)

10uH/2.3A/YS75/7x82.2uH/3A/YS75/7x8

LED/GREEN/0603

VIN

VIN

NA(BH20S)

NA(BH20S)

NA(BH20S)

NA(BH20S)

YDJ-1136

LED

/RE

D/0

603

HN2x3(1-2:Close)

Q12.000MHz/HC-49SM(SMD)/20pF

32768Hz/6pF

0R(board_mounted)

15R

NA 15R

NA NA

1M

0R(board_mounted)

15R

15R

0R(b

oard

_mou

nted

)

NA

(10k

)N

A(1

0k)

NA

4.7k

15R

4.7k

NA

10k/1%

150R1k

NA

NA

NANA

NA NANA NA

4.7k 4.7k 47k/1%

4.99k/1% 1k

1k

1k

47k/1%

1.1k/1%

47k

2.2k 1.1k/1%

4.99k/1%

T11

07A

-6_3

.8_2

.5

33k

33k

33k

33k

NA(10k)

NA(10k)

NA(10k)NA(10k)

10k10k

10k

33k33k

33k33k

MICRO

NA(USBLC6-2P6)

MIC2026-1YM

NA(USBLC6-2P6)

NA(HN1X3)

NA

(2xP

N1x

6_2x

PN

1x8)

STM32F407ZGT6

NABH10R

USB_A_VERTICAL

USB-OTG

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

+5V

3.3V

3.3V

3.3V

+5V

+5V

3.3V

3.3V_A

3.3V

+5V

+5V

3.3V+5V

3.3V

3.3V

3.3V 3.3V

+5V

3.3V

3.3V

3.3V3.3V

3.3V

3.3V 3.3V3.3V

3.3V

3.3V

3.3V

T1107A-6_3.8_2.5

+5V_EXT

+5V_HOST_PWR +5V_HOST_PWR

+5V_JTAG

+5V_JTAG

+5V_OTG_PWR

+5V_OTG_PWR +5V_OTG_PWR

AGNDAREF

AREF

BOOT0

LED

LED

PA0/WKUP

PA0/WKUPPA1/D8

PA1/D8

PA2/USART2_TX

PA2/USART2_TX

PA3/USART2_RX

PA3/USART2_RXPA4/D10/SPI1_NSS

PA4/D10/SPI1_NSS

PA5/D13/SPI1_SCK

PA5/D13/SPI1_SCK

PA6/D12/SPI1_MISO

PA6/D12/SPI1_MISO

PA7/D11/SPI1_MOSI

PA7/D11/SPI1_MOSI

PA8/USB_HS_VBUSON PA8/USB_HS_VBUSON

PA8/USB_HS_VBUSONPA9/OTG_FS_VBUS

PA9/OTG_FS_VBUS

PA10/USB_FS_VBUSON PA10/USB_FS_VBUSON

PA10/USB_FS_VBUSONPA11/OTG_FS_DM

PA11/OTG_FS_DM

PA12/OTG_FS_DP

PA12/OTG_FS_DP

PA13/TMS

PA13/TMS

PA14/TCK

PA14/TCK

PA15/TDI

PA15/TDI

PB0/A2

PB0/A2PB1/A3

PB1/A3

PB2PB3/TDO

PB3/TDO

PB4/TRST

PB4/TRST

PB4/TRST

PB5/USB_HS_FAULT

PB5/USB_HS_FAULT PB5/USB_HS_FAULT

PB6/USB_FS_FAULT

PB6/USB_FS_FAULT PB6/USB_FS_FAULT

PB8/I2C1_SCL

PB8/I2C1_SCL

PB9/I2C1_SDA

PB9/I2C1_SDA

PB10/SPI2_SCK/UART3_TX

PB10/SPI2_SCK/UART3_TX

PB10/SPI2_SCK/UART3_TX

PB12/OTG_HS_ID

PB12/OTG_HS_ID PB12/OTG_HS_ID

PB12/OTG_HS_ID

PB13/OTG_HS_VBUS

PB13/OTG_HS_VBUS

PB14/OTG_HS_DM

PB14/OTG_HS_DM

PB15/OTG_HS_DP

PB15/OTG_HS_DP

PC0/A0

PC0/A0

PC1/A1

PC1/A1

PC2/SPI2_MISO

PC2/SPI2_MISO

PC3/SPI2_MOSI

PC3/SPI2_MOSI

PC4/A4

PC4/A4

PC5/A5

PC5/A5

PC6/USART6_TX

PC6/USART6_TX

PC7/USART6_RX

PC7/USART6_RX

PC8/SD_D0

PC8/SD_D0

PC9/SD_D1

PC9/SD_D1

PC10/SD_D2

PC10/SD_D2

PC11/SD_D3

PC11/SD_D3

PC12/SD_CLK

PC12/SD_CLK

PD0

PD0

PD1

PD1PD2/SD_CMD

PD2/SD_CMD

PD2/SD_CMDPD3

PD3PD4PD4PD5 PD5

PD6 PD6PD7

PD7

PD8PD8

PD9

PD9

PD10

PD10

PD11

PD11

PD12

PD12

PD13

PD13

PD14

PD14

PD15

PD15

PE0 PE0PE1

PE1

PE2PE2

PE3

PE3

PE4

PE4

PE5

PE5

PE6

PE6

PE7

PE7

PE8

PE8

PE9

PE9

PE10

PE10

PE11

PE11

PE12

PE12

PE13

PE13

PE14

PE14

PE15

PE15

PF0

PF0

PF1

PF1

PF2

PF2

PF3

PF3PF4

PF4PF5

PF5 PF6PF6 PF7PF7

PF9PF9

PF10PF10

PF11

PF11

PF12

PF12

PF13

PF13

PF14

PF14

PF15

PF15

PG0

PG0

PG1

PG1

PG2

PG2

PG3

PG3

PG4

PG4

PG5

PG5PG6

PG6PG7/D2

PG7/D2

PG7/D2 PG8/D3

PG8/D3

PG8/D3 PG9PG9PG10PG10PG11

PG11

PG12/D4

PG12/D4

PG12/D4

PG13/D5

PG13/D5

PG13/D5

PG14/D6

PG14/D6

PG14/D6

PG15/D7

PG15/D7

PG15/D7

RB7/UEXT_CS

RB7/UEXT_CS

RB11/D9/UART3_RX

RB11/D9/UART3_RX

RB11/D9/UART3_RX

RF8RF8

RST

RST

RST

RST

USB_HOST_D+ USB_HOST_D+USB_HOST_D- USB_HOST_D-

USB_OTG_D+ USB_OTG_D+USB_OTG_D- USB_OTG_D-

VBAT

1 23.3V_E

12

3V_BAT

12AGND_E

1 2AREF_EN

1 2 3

B0_1/B0_0

1 2 3

B1_1/B1_0

C1 C2C3

C4

C5

C6

C7

C8 C9 C10

C11 C12

C13C14

C15

C16

C17

C18

C19

C20

C21

C22

C23

C24

C25

C26

C27

C28 C29C30

C31

C32 C33

C34C35

C36

C37

C38

C39C40 C41 C42

C43C44

C45

C46

C47

C48

C49

C50 C51

123456

CON1

123456

CON2

12345678

CON3

12345678

CON4

D1

D2

D3

D4

GND_PIN

1234567891011121314151617181920

JTAG L1 L2

L3L4

L5L6

LED

1 23 45 67 89 10

11 1213 1415 1617 1819 20

PD

1 23 45 67 89 10

11 1213 1415 1617 1819 20

PE

1 23 45 67 89 10

11 1213 1415 1617 1819 20

PF

1 23 45 67 89 10

11 1213 1415 1617 1819 20

PG

PWR_JACK

PW

R_L

ED

1 23 45 6PWR_SEL

Q1

Q2

12

R-T

R1

R2R3

R4

R5 R6

R7

R8

R9

R10

R11

R12

R13

R14R15

R16

R17

R18

R19

R20R21

R22

R23

R24R25

R26 R27R28 R29

R30 R31 R32

R33 R34

R35

R36

R37

R38

R39

R40 R41

R42

RESETR

M1G

1

RM

1G2

RM

1G3

RM

1G4

RM2G1

RM2G2

RM2G3RM2G4

RM3G1RM3G2

RM3G3

RM4G1RM4G2

RM4G3RM4G4

CD/DAT3/CS2

CLK/SCLK5

CMD/DI3

DAT0/DO7

DAT1/RES8

DAT2/RES1

VDD4VSS6

SD/MMC

1234

56

U1

ENA1

ENB4

FLAG_A2

FLAG_B3GND

6IN7OUT_A8

OUT_B5

U2

1234

56

U3

123

U3BOOT

3V35V

A0A1A2A3A4A5

AREF

D0D1D2D3D4D5D6D7

D8D9D10D11D12D13

GNDGND

GND

RST

VIN

U4

BOOT0/VPP138

NRST25

PA0/WKUP/USART2_CTS/USART4_TX/ETH_MII_CRS/TIM2_CH1_ETR/TIM5_CH1/TIM8_ETR/ADC123_CH034

PA1/USART2_RTS/USART4_RX/ETH_RMII_REF_CLK/ETH_MII_RX_CLK/TIM5_CH2/TIM2_CH2/ADC123_IN135

PA2/USART2_TX/TIM5_CH3/TIM9_CH1/TIM2_CH3/ETH_MDIO/ADC123_IN236

PA3/USART2_RX/TIM5_CH4/TIM9_CH2/TIM2_CH4/OTG_HS_ULPI_D0/ETH_MII_COL/ADC123_IN337

PA4/SPI1_NSS/SPI3_NSS/USART2_CK/DCMI_HSYNC/OTG_HS_SOF/I2S3_WS/ADC12_IN4/DAC1_OUT40

PA5/SPI1_SCK/OTG_HS_ULPI_CK/TIM2_CH1_ETR/TIM8_CHIN/ADC12_IN5/DAC2_OUT41

PA6/SPI1_MISO/TIM8_BKIN/TIM13_CH1/DCMI_PIXCLK/TIM3_CH1/TIM1_BKIN/ADC12_IN642

PA7/SPI1_MOSI/TIM8_CH1N/TIM14_CH1/TIM3_CH2/ETH_MII_RX_DV/TIM1_CH1N/RMII_CRS_DV/ADC12_IN743

PA8/MCO1/USART1_CK/TIM1_CH1/I2C3_SCL/OTG_FS_SOF100

PA9/USART1_TX/TIM1_CH2/I2C3_SMBA/DCMI_D0/OTG_FS_VBUS101

PA10/USART1_RX/TIM1_CH3/OTG_FS_ID/DCMI_D1102

PA11/USART1_CTS/CAN1_RX/TIM1_CH4/OTG_FS_DM103

PA12/USART1_RTS/CAN1_TX/TIM1_ETR/OTG_FS_DP104

PA13/JTMS-SWDIO105

PA14/JTCK-SWCLK109

PA15/JTDI/SPI3_NSS/I2S3_WS/TIM2_CH1_ETR/SPI1_NSS110

PB0/TIM3_CH3/TIM8_CH2N/OTG_HS_ULPI_D1/ETH_MII_RXD2/TIM1_CH2N/ADC12_IN846

PB1/TIM3_CH4/TIM8_CH3N/OTG_HS_ULPI_D2/ETH_MII_RXD3/OTG_HS_INTN/TIM1_CH3N/ADC12_IN947

PB2/BOOT148

PB3/JTDO/TRACESWO/SPI3_SCK/I2S3_CK/TIM2_CH2/SPI1_SCK133

PB4/NJTRST/SPI3_MISO/TIM3_CH1/SPI1_MISO134

PB5/I2C1_SMBA/CAN2_RX/OTG_HS_ULPI_D7/ETH_PPS_OUT/TIM3_CH2/SPI1_MOSI/SPI3_MOSI/DCMI_D10/I2S3_SD135

PB6/I2C1_SCL/TIM4_CH1/CAN2_TX/OTG_FS_INTN/DCMI_D5/USART1_TX136

PB7/I2C1_SDA/FSMC_NL/DCMI_VSYNC/USART1_RX/TIM4_CH2137

PB8/TIM4_CH3/SDIO_D4/TIM10_CH1/DCMI_D6/OTG_FS_SCL/ETH_MII_TXD3/I2C1_SCL/CAN1_RX139

PB9/SPI2_NSS/I2S2_WS/TIM4_CH4/TIM11_CH1/OTG_FS_SDA/SDIO_D5/DCMI_D7/I2C1_SDA/CAN1_TX140

PB10/SPI2_SCK/I2S2_CK/I2C2_SCL/USART3_TX/OTG_HS_ULPI_D3/ETH_MII_RX_ER/OTG_HS_SCL/TIM2_CH369

PB11/I2C2_SDA/USART3_RX/OTG_HS_ULPI_D4/ETH_RMII_TX_EN/ETH_MII_TX_EN/OTG_HS_SDA/TIM2_CH470

PB12/SPI2_NSS/I2S2_WS/I2C2_SMBA/USART3_CK/TIM1_BKIN/CAN2_RX/OTG_HS_ULPI_D5/ETH_RMII_TXD0/ETH_MII_TXD0/OTG_HS_ID73

PB13/SPI2_SCK/I2S2_CK/USART3_CTS/TIM1_CH1N/CAN2_TX/OTG_HS_ULPI_D6/ETH_RMII_TXD1/ETH_MII_TXD1/OTG_HS_VBUS74

PB14/SPI2_MISO/TIM1_CH2N/TIM12_CH1/OTG_HS_DM/USART3_RTS/TIM8_CH2N75

PB15/SPI2_MOSI/I2S2_SD/TIM1_CH3N/TIM8_CH3N/TIM12_CH2/OTG_HS_DP76

PC0/OTG_HS_ULPI_STP/ADC123_IN1026

PC1/ETH_MDC/ADC123_IN1127

PC2/SPI2_MISO/OTG_HS_ULPI_DIR/ETH_MII_TXD2/ADC123_IN1228

PC3/SPI2_MOSI/I2S2_SD/OTG_HS_ULPI_NXT/ETH_MII_TX_CLK/ADC123_IN1329

PC4/ETH_RMII_RX_D0/ETH_MII_RX_D0/ADC12_IN1444

PC5/ETH_RMII_RX_D1/ETH_MII_RX_D1/ADC12_IN1545

PC6/SPI2_MCK/TIM8_CH1/SDIO_D6/USART6_TX/DCMI_D0/TIM3_CH196

PC7/SPI3_MCK/TIM8_CH2/SDIO_D7/USART6_RX/DCMI_D1/TIM3_CH297

PC8/TIM8_CH3/SDIO_D0/TIM3_CH3/USART6_CK/DCMI_D298

PC9/I2S2_CKIN/I2S3_CKIN/MCO2/TIM8_CH4/SDIO_D1/I2C3_SDA/DCMI_D3/TIM3_CH499

PC10/SPI3_SCK/I2S3_CK/UART4_TX/SDIO_D2/DCMI_D8/USART3_TX111

PC11/UART4_RX/SPI3_MISO/SDIO_D3/DCMI_D4/USART3_RX112

PC12/UART5_TX/SDIO_CK/DCMI_D9/SPI3_MOSI/I2S3_SD/USART3_CK113

PC13/RTC_AF17

PC14/OSC32_IN8

PC15/OSC32_OUT9

PD0/FSMC_D2/CAN1_RX114

PD1/FSMC_D3/CAN1_TX115

PD2/TIM3_ETR/UART5_RX/SDIO_CMD/DCMI_D11116

PD3/FSMC_CLK/USART2_CTS117

PD4/FSMC_NOE/USART2_RTS118

PD5/FSMC_NWE/USART2_TX119

PD6/FSMC_NWAIT/USART2_RX122

PD7/USART2_CK/FSMC_NE1/FSMC_NCE2123

PD8/FSMC_D13/USART3_TX77

PD9/FSMC_D14/USART3_RX78

PD10/FSMC_D15/USART3_CK79

PD11/FSMC_A16/USART3_CTS80

PD12/FSMC_A17/TIM4_CH1/USART3_RTS81

PD13/FSMC_A18/TIM4_CH282

PD14/FSMC_D0/TIM4_CH385

PD15/FSMC_D1/TIM4_CH486

PE0/TIM4_ETR/FSMC_NBL0/DCMI_D2141

PE1/FSMC_NBL1/DCMI_D3142

PE2/TRACECK/FSMC_A23/ETH_MII_TXD31

PE3/TRACED0/FSMC_A192

PE4/TRACED1/FSMC_A20/DCMI_D43

PE5/TRACED2/FSMC_A21/TIM9_CH1/DCMI_D64

PE6/TRACED3/FSMC_A22/TIM9_CH2/DCMI_D75

PE7/FSMC_D4/TIM1_ETR58

PE8/FSMC_D5/TIM1_CH1N59

PE9/FSMC_D6/TIM1_CH160

PE10/FSMC_D7/TIM1_CH2N63

PE11/FSMC_D8/TIM1_CH264

PE12/FSMC_D9/TIM1_CH3N65

PE13/FSMC_D10/TIM1_CH366

PE14/FSMC_D11/TIM1_CH467

PE15/FSMC_D12/TIM1_BKIN68

PF0/FSMC_A0/I2C2_SDA10

PF1/FSMC_A1/I2C2_SCL11

PF2/FSMC_A2/I2C2_SMBA12

PF3/FSMC_A3/ADC3_IN913

PF4/FSMC_A4/ADC3_IN1414

PF5/FSMC_A5/ADC3_IN1515

PF6/TIM10_CH1/FSMC_NIORD/ADC3_IN418

PF7/TIM11_CH1/FSMC_NREG/ADC3_IN519

PF8/TIM13_CH1/FSMC_NIOWR/ADC3_IN620

PF9/TIM14_CH1/FSMC_CD/ADC3_IN721

PF10/FSMC_INTR/ADC3_IN822

PF11/DCMI_1249

PF12/FSMC_A650

PF13/FSMC_A753

PF14/FSMC_A854

PF15/FSMC_A955

PG0/FSMC_A1056

PG1/FSMC_A1157

PG2/FSMC_A1287

PG3/FSMC_A1388

PG4/FSMC_A1489

PG5/FSMC_A1590

PG6/FSMC_INT291

PG7/FSMC_INT3/USART6_CK92

PG8/USART6_RTS/ETH_PPS_OUT93

PG9/USART6_RX/FSMC_NE2/FSMC_NCE3124

PG10/FSMC_NCE4_1/FSMC_NE3125

PG11/FSMC_NCE4_2/ETH_MII_TX_EN126

PG12/FSMC_NE4/USART6_RTS127

PG13/FSMC_A24/USART6_CTS/ETH_MII_TXD0/ETH_RMII_TXD0128

PG14/FSMC_A25/USART6_TX/ETH_MII_TXD1/ETH_RMII_TXD1129

PG15/USART6_CTS/DCMI_D13132

PH0/OSC_IN23

PH1/OSC_OUT24

VBAT6

VCAP_171

VCAP_2106

VDDA33

VDD_172

VDD_2108

VDD_3143

VDD_439

VDD_517

VDD_652

VDD_762

VDD_884

VDD_995

VDD_10121

VDD_11131

VDD_1230

VDD_SA144

VREF+32

VSSA31

VSS_2107VSS_438VSS_516VSS_651VSS_761VSS_883VSS_994VSS_10120VSS_11130

U5

3

12

GND

VCC RESET

U6

EN1FB

5

GND2

IN4LX

3U7

SY8008C(AA)C

BS1

COMP6

EN7

FB5

GND4

IN2

SS8 SW3

U8

1 23 45 67 89 10

UEXT

1234

USB_HOST

D+D-

GND

GN

D1

GN

D2

GN

D3

GN

D4

ID

VBUS

USB_OTG

WKUP

STM32-H407_Rev_B1OLIMEX LTD PLOVDIVhttp://www.olimex.com

++

+

+

+

GN D

0R

0R

0R

PO

WE

RA

NA

LOG

DIG

ITA

LD

IGIT

AL

AR

DU

INO

: SH

PLA

TF

OR

MU

SB

SHIELD

US

B

POWER SUPPLY CIRCUITBUTTON and LED

JTAG SD/MMC CARD

USB_HOST

USB_OTG

USART3_TXUSART3_RXGND

USART3_RXUSART3_TX

Page 27: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

9.2 Physical dimensions

Note that all dimensions are in millimeters.

The three highest elements on the board in order from the tallest to the shortest are: capacitor C46 – 17.2mm (0.677'') over the pcb; USB host connectors – 14.3mm (0.563''); capacitors C11 and C3 – 11.5mm (0.453'').

Note that the above measures does not include the PCB.

Page 27 of 30

Page 28: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

CHAPTER 10 REVISION HISTORY AND SUPPORT

10. Introduction to the chapter

In this chapter you will find the current and the previous version of the document you are reading. Also the web-page for your device is listed. Be sure to check it after a purchase for the latest available updates and examples.

10.1 Document revision

Revision,Date

Changes Modified Page#

A,20.07.12

Initial Creation All

B,25.07.12

Page 6 – Added comparison detailsPage 16 – Table error

616

C,14.02.13

All pages – formattingAdded info about the DFU bootloader

All17

D,27.11.13

Formatting fixesUpdated disclaimer and warranty information

All2, 28

E,18.05.16

Fixed wrong entry about UEXT pin #10Updated links

15

F,21.12.16

Updated link for Arduino configuration 22

G,22.03.18

Improved the information about how to programvia Arduino; added notices about Arudinoprogramming

22

10.2 Hardware revision

Revision,Date

Revision Notes

B1,07.06.12

Initial release

Page 28 of 30

Page 29: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

10.3 Useful web links and purchase codes

The web page you can visit for more info on your device is https://www.olimex.com/Products/ARM/ST/STM32-H407/.

You can get the latest updates on the software at: https://github.com/OLIMEX/STM32F4.

ORDER CODES:

STM32-H407 – the version of the board discussed in this document

STM32-E407 – the version of the board featuring Ethernet

ARM-USB-TINY-H – OpenOCD compatible high-speed debugger/programmer with JTAG interfaceARM-USB-OCD-H – OpenOCD compatible debugger/programmer with JTAG interface, protection buffers and better power supply circuitSY0612E – power supply adapter 12V/0.5A for STM32-H407 – 220V (European compatibility)

How to order?

You can order directly from our web-shop or from any of our distributors.

Visit https://www.olimex.com/ and https://www.olimex.com/Distributors/ for more information.

Page 29 of 30

Page 30: STM32-H407 development board USER’S MANUAL

OLIMEX© 2018 STM32-H407 user's manual

10.4 Product support

For product support, hardware information and error reports mail to: [email protected]. All document or hardware feedback is welcome. Note that we are primarily a hardware company and our software support is limited. Please consider reading the paragraph below about the warranty of Olimex products.

All goods are checked before they are sent out. In the unlikely event that goods are faulty, they must be returned, to OLIMEX at the address listed on your order invoice.

OLIMEX will not accept goods that have clearly been used more than the amount needed to

evaluate their functionality.

If the goods are found to be in working condition, and the lack of functionality is a result of

lack of knowledge on the customers part, no refund will be made, but the goods will be returned

to the user at their expense.

All returns must be authorized by an RMA Number. Email [email protected] for authorization

number before shipping back any merchandise. Please include your name, phone number and order

number in your email request.

Returns for any unaffected development board, programmer, tools, and cables permitted within 7

days from the date of receipt of merchandise. After such time, all sales are considered final.

Returns of incorrect ordered items are allowed subject to a 10% restocking fee. What is

unaffected? If you hooked it to power, you affected it. To be clear, this includes items that

have been soldered to, or have had their firmware changed. Because of the nature of the

products we deal with (prototyping electronic tools) we cannot allow returns of items that have

been programmed, powered up, or otherwise changed post shipment from our warehouse.

All returned merchandise must be in its original mint and clean condition. Returns on damaged,

scratched, programmed, burnt, or otherwise 'played with' merchandise will not be accepted.

All returns must include all the factory accessories which come with the item. This includes

any In-Circuit-Serial-Programming cables, anti-static packing, boxes, etc.

With your return, enclose your PO#. Also include a brief letter of explanation of why the

merchandise is being returned and state your request for either a refund or an exchange.

Include the authorization number on this letter, and on the outside of the shipping box.

Please note: It is your responsibility to ensure that returned goods reach us. Please use a

reliable form of shipping. If we do not receive your package we will not be held liable.

Shipping and handling charges are not refundable. We are not responsible for any shipping

charges of merchandise being returned to us or returning working items to you.

The full text might be found at https://www.olimex.com/wiki/GTC#Warranty for future reference.

Page 30 of 30