STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S...

32
STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 All boards produced by Olimex LTD are ROHS compliant

Transcript of STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S...

Page 1: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

STM32-E407 development boardUSER’S MANUAL

Revision J, March 2018Designed by OLIMEX Ltd, 2012

All boards produced by Olimex LTD are ROHS compliant

Page 2: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 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 orimplied or otherwise, to any intellectual property right is granted by this document or in connection with thesale of Olimex 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 lossor damage arising from the use of any information in this document or any error or omission in such information orany incorrect 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 COMPONENTSUSED TO CREATE STM32-E407. THEY ARE CONSIDERED SUITABLE ONLY FORSTM32-E407.

Page 2 of 32

Page 3: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

Table of Contents

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

1. Introduction to the chapter ....................................................................................................... 51.1 Features ..................................................................................................................................... 5

1.2 H407 or E407? .......................................................................................................................... 51.3 Target market and purpose of the board ............................................................................... 6

1.4 Organization ............................................................................................................................. 6

CHAPTER 2 SETTING UP THE STM32-E407 BOARD ....................................... 72. Introduction to the chapter ....................................................................................................... 72.1 Electrostatic warning ............................................................................................................... 7

2.2 Requirements ........................................................................................................................... 72.3 Powering the board .................................................................................................................. 8

2.4 Prebuilt software ...................................................................................................................... 8

CHAPTER 3 STM32-E407 BOARD DESCRIPTION ............................................. 93. Introduction to the chapter ....................................................................................................... 93.1 Layout (top view) ..................................................................................................................... 9

3.2 Layout (bottom view) ............................................................................................................. 10

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

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

5.1 Reset ........................................................................................................................................ 135.2 Clocks ...................................................................................................................................... 13

5.3 Power supply circuit .............................................................................................................. 13

CHAPTER 6 CONNECTORS AND PINOUT ....................................................... 146. Introduction to the chapter ..................................................................................................... 146.1 JTAG/SWD debug ................................................................................................................. 14

6.2 SD/MMC slot .......................................................................................................................... 146.3 UEXT module ......................................................................................................................... 15

6.4 USB_OTG1 ............................................................................................................................. 166.5 USB_OTG2 ............................................................................................................................. 16

6.6 LAN connector ....................................................................................................................... 176.7 Arduino/Maple platform ....................................................................................................... 17

6.8 20-pin connectors – PD – PE – PF – PG .............................................................................. 186.9 PWR Jack ............................................................................................................................... 19

6.10 Battery connector ................................................................................................................. 20

Page 3 of 32

Page 4: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

6.11 BOOT connector .................................................................................................................. 206.12 Jumper description .............................................................................................................. 20

6.12.1 PWR_SEL ................................................................................................................................................... 206.12.2 B1_1/B1_0 and B0_1/B0_0 ......................................................................................................................... 216.12.3 R-T ............................................................................................................................................................... 216.12.4 3.3V_E ......................................................................................................................................................... 216.12.5 AGND_E ...................................................................................................................................................... 216.12.6 AREF_EN .................................................................................................................................................... 216.12.7 GPIO port jumpers .................................................................................................................................... 22

6.13 Additional hardware components ...................................................................................... 22

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

8. Introduction to the chapter ..................................................................................................... 248.1 Processor family block diagram ........................................................................................... 24

8.2 Physical memory map ........................................................................................................... 25

CHAPTER 9 SCHEMATICS ................................................................................... 269. Introduction to the chapter ..................................................................................................... 269.1 Eagle schematic ...................................................................................................................... 26

9.2 Physical dimensions ............................................................................................................... 28

CHAPTER 10 REVISION HISTORY AND SUPPORT ........................................ 2910. Introduction to the chapter ................................................................................................... 2910.1 Document revision ............................................................................................................... 29

10.2 Hardware revision ............................................................................................................... 3010.3 Useful web links and purchase codes ................................................................................. 31

10.4 Product support ................................................................................................................... 32

Page 4 of 32

Page 5: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

CHAPTER 1 OVERVIEW

1. Introduction to the chapter

Thank you for choosing the STM32-E407 single board computer from Olimex! This document provides a user’s guide for the Olimex STM32-E407 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 STM32-E407 and STM32-H407 boards are mentioned. The document’s organization is then detailed.

The STM32-E407 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 2x10 pin layout for programming/debugging UEXT connector 2 x 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: (4.00 x 3.40)” ~ (102 x 86)mm

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 makes the control of the multiplexing pins easier. STM32-E407 has 2x 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.

Page 5 of 32

Page 6: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

1.3 Target market and purpose of the board

STM32-E407 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_OTG1.

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-E407 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 32

Page 7: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

CHAPTER 2 SETTING UP THE STM32-E407 BOARD

2. Introduction to the chapter

This section helps you set up the STM32-E407 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-E407 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-E407 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-E407, and that the programmer supports STM32F407 processor.

*The board can also be programmed with Arduino IDE via USB cable with mini USB connector using board's USB-OTG1 connector;

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

- External power supply- USB type “A” to USB type “mini” cable is required for bootlader - SD-card or extension 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 1400mAhUSB-SERIAL-CABLE-F – easy way to connect the board to a computer terminal program using

Page 7 of 32

Page 8: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

the BOOT pinsSY0612E – power supply adapter 12V/0.5A for iMX233-STM32-E407

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 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 32

Page 9: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

CHAPTER 3 STM32-E407 BOARD DESCRIPTION

3. Introduction to the chapter

Here you 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-E407 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 32

Page 10: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 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 32

Page 11: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 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-E407 – the Cortex-M4F microcontroller. The information is a modified version of the datasheet provided by its manufacturers from ST.

4.1 The STM32F407ZGT6 features

The processor's features according to the official datasheet:

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

Page 11 of 32

Page 12: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

Advanced connectivity USB 2.0 full-speed device/host/OTG controller with on-chip PHY 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 has a document name DM00037051.pdf andcan be found at the following link:

http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00037051.pdf

Page 12 of 32

Page 13: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 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-E407's reset circuit includes R5 (10KΩ), R6 (1 KΩ), C19 (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. The GND pin of the RTC quartz crystal is not soldered to allow easier change.

5.3 Power supply circuit

The power supply circuit of STM32-E407 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.

Note that 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 32

Page 14: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 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

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-E407 boards and all of them worked fineregardless 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.

Page 14 of 32

Page 15: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

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-E407 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-E407 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

7 PC2/SPI2_MISO PC2

8 PC3/SPI2_MOSI PC3

9 PB10/SPI2_SCK/UART3_TX PB10

10 RB7/UEXT_CS PB7

Page 15 of 32

Page 16: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

6.4 USB_OTG1

USB On-The-Go, often abbreviated USB OTG, is a specification that allows USB devices such as digital audio players or mobile phones to 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.

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

Note that the USB-OTG ESD protection ICs are not placed by default. However, there are pads provided for such protection.

Pin # Signal Name

1 +5V_OTG1_PWR

2 USB_OTG1_D-

3 USB_OTG1_D+

4 PA10/OTG1_FS_ID

5 GND

6.5 USB_OTG2

USB On-The-Go, often abbreviated USB OTG, is a specification that allows USB devices such as digital audio players or mobile phones to 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.

Note that the USB-OTG ESD protection ICs are not placed by default. However, there are pads provided for such protection.

Pin # Signal name

1 +5V_OTG2_PWR

2 USB_OTG2_D-

3 USB_OTG2_D+

4 PB12/OTG2_HS_ID

5 GND

Page 16 of 32

Page 17: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

6.6 LAN connector

Pin # Signal name

1 TD+

2 TD-

3 RD+

4 SHIELD

5 SHIELD

6 RD-

7 SHIELD

8 SHIELD

LED Color Usage

Right Green Link status

Left Yellow Activity status

6.7 Arduino/Maple platform

The Arduino/Maple platform connectors (2x6 pin and 2x8 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 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 NameProcessor

pin# Pin Signal Name Processor pin#

RST RST 25 A0 PC0 26

3V3 3.3V - A1 PF6 18

5V 5V - A2 PF7 19

GND GND - A3 PF8 20

GND GND - A4 PF9 21

VIN VIN - A5 PF10 22

Page 17 of 32

Page 18: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

Arduino platform pinholes

CON3 CON4

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

D0 PB7/USART1_RX 137 D8 PG12 35

D1 PB6/USART1_TX 136 D9 PG15 70

D2 PE2 1 D10 PA4 40

D3 PE4 3 D11 PB5 43

D4 PE5 4 D12 PA6 42

D5 PR6 5 D13 PA5 41

D6 PG7 92 GND AGND 31

D7 PG8 93 AREF AREF 32

6.8 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 are not 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/SD_MMC* 15 PD12 5 PE2/D2* 15 PE12

6 PD3 16 PD13 6 PE3 16 PE13

7 PD4 17 PD14 7 PE4/D3* 17 PE14

8 PD5 18 PD15 8 PE5/D4* 18 PE15

9 PD6 19 +5V 9 PE6/D5* 19 +5V

10 PD7 20 GND 10 PE7 20 GND

Page 18 of 32

Page 19: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

PF PG

Pin # Signal name Pin # Signal namePin# Signal name Pin # Signal name

1 +3.3V 11 PF8/A3* 1 +3.3V 11 PG8/D7*

2 GND 12 PF9/A4* 2 GND 12 PG9

3 PF0 13 PF10/A5* 3 PG0 13 PG10/UEXT_CS

4 PF1 14 PF11/A6* 4 PG1 14 PG11/TX_EN

5 PF2 15 PF12 5 PG2 15 PG12/D8*

6 PF3 16 PF13 6 PG3 16 PG13/TXD0

7 PF4 17 PF14 7 PG4 17 PG14/TXD1

8 PF5 18 PF15 8 PG5 18 PG15/D9*

9 PF6/A1* 19 +5V 9 PG6 19 +5V

10 PF7/A2* 20 GND 10 PG7/D6* 20 GND

Note that all signals marked with asterisk (*) are multiplexed with signals of the Arduino platform. Those signals can be controlled by the provided jumpers. However, the jumpers are soldered by default which enables them on the GPIO connector and the Arduino shield at the same time.

PG11, PG13, PG14, PG16 and PG17 are multiplexed with the UEXT and the Ethernet. Their connection is not controlled by jumpers.

6.9 PWR Jack

The power jack used is the typical one used by Olimex in most of our products – the DC barrel jack has 2.0mm inner pin and 6.3mm hole. More information about the exact component might be foundhere: https://www.olimex.com/wiki/PWRJACK.

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.

Page 19 of 32

Page 20: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

6.10 Battery connector

When using the battery connector keep in mind that it is an energy solution that wouldn't be able topower 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.11 BOOT pads

The best use for the GND, RX3, TX3 pins from the BOOT 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/)

BOOT 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 BOOT. More information about booting over UART can be found in the processor's datasheet.

6.12 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.12.1 PWR_SEL

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

If powering from the JTAG/SWD set the jumper in position 3-4.

If powering from the USB-OTG2 set it in 5-6 position (near battery connector).

If powering from the USB-OTG1 set it in 7-8 position (near LAN connector).

The default position is 1-2.

Page 20 of 32

Page 21: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

6.12.2 B1_1/B1_0 and B0_1/B0_0

These two PTH jumpers set where the board should boot from. B1_1/B1_0 and B0_1/B0_0 are PTH jumpers and their position can be changed relatively easy. The board can try to boot from three places and that depends on the position of the B1_1/B1_0 and B0_1/B0_0 – User Flash Memory, System Memory or the Embedded SRAM.

Notice that these two jumpers must be moved together – they are responsible for the boot mode if bootloader is present.

The DFU bootloader is found on USB_OTG1.

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.12.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.12.4 3.3V_E

This is SMD type jumper.

Board digital power will be disabled if open/unsoldered

The default position is closed.

6.12.5 AGND_E

This is SMD type jumper.

If open/unsoldered will disable analog ground.

The default position is closed.

6.12.6 AREF_EN

This is SMD type jumper. If open/unsoldered will disable ADC reference.

The default position is closed.

Page 21 of 32

Page 22: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

6.12.7 GPIO port jumpers

These are SMD type of jumpers located on the bottom of the board. They are located on the bottom of the board. We provided those in case you want to separate the multiplexing between the Arduino shield and the GPIO connectors. Check chapter 6.8 for more information on the multiplexing. Generally if you wish to avoid the multiplexing you have to cut the wire between the pads.

6.13 Additional hardware components

The components below are mounted on STM32-E407 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 22 of 32

Page 23: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 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 mini USB 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-E407

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

7) Connect the USB cable to USB_OTG1 port of STM32-E407.

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 23 of 32

Page 24: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

CHAPTER 8 BLOCK DIAGRAM AND MEMORY

8. Introduction to the chapter

On the next page 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 24 of 32

Page 25: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

8.2 Physical memory map

Page 25 of 32

Page 26: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

CHAPTER 9 SCHEMATICS

9. Introduction to the chapter

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

9.1 Eagle schematic

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

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

Page 26 of 32

Page 27: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

Page 27 of 32

POWER SUPPLY CIRCUIT

BUTTON and LED

JTAG

SD/MMC CARD

FSMC_A0FSMC_A1FSMC_A2FSMC_A3FSMC_A4FSMC_A5

FSMC_A6FSMC_A7FSMC_A8FSMC_A9 FSMC_D12

FSMC_D11

FSMC_D10

FSMC_D9

FSMC_D8

FSMC_D7

FSMC_D6

FSMC_D5

FSMC_D4

FSMC_A22

FSMC_A21

FSMC_A20

FSMC_A19

FSMC_A23

FSMC_D1

FSMC_D0

FSMC_A18

FSMC_A17

FSMC_A16

FSMC_D15

FSMC_D14

FSMC_D13

FSMC_NE1

FSMC_NWAIT

FSMC_NWE

FSMC_NOE

FSMC_CLK

FSMC_D3

FSMC_D2

FSMC_NBL0

FSMC_NBL1

FSMC_NIORDFSMC_NREGFSMC_NIOWRFSMC_CDFSMC_INTR

FSMC_A10FSMC_A11FSMC_A12FSMC_A13FSMC_A14FSMC_A15FSMC_INT2

FSMC_NE2/FSMC_NCE3

FSMC_NCE4_1/FSMC_NCE3

FSMC_NCE4_2

6-16VDC

USART3_TX

USART3_RXGND

UEXT

USB_OTG1

USB_OTG2

3.3V

Ethernet

The PHY is setted up as follows:

MODE: All capable(10/100Base).

Auto-negotiation enabled.

RMII Configuration

SMI address: 0x00

STM32-E407, hardware revision E

OLIMEX LTD, Bulgaria

1 2

3.3V_E

Close

1

2

3V_BAT

WF2S

12AGND_E

Close

1 2AREF_EN

Close

B0_1/B0_1

HN1x3(B0_1:Open;B0_0:Close)

B1_1/B1_1HN1x3(B1_1:Open;B1_0:Close)

HN1X4

BOOT

1

2

3

4

C12.2uF/6.3V

C152.2uF/6.3V

C16

10uF/6.3V

C17100nF C18

100nF

C19 27pF

C20 27pF C214.7pF

C22

100nF C234.7pF

C2422uF/6.3V

C2522uF/6.3V

C26100nFC27

100nF

2.2uF/6.3V

100nF

C35

100nFC3610uF/6.3V

C37100nF

C3847pF(NA)

C3947pF(NA)

C40100nF

C41100uF/16V/LOWESR/105C/6.3x11mm_RM2.5

C4447pF(NA)

C4547pF(NA)

C46100nF C47

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

C4910nF

C503.3nF C5122pF

VDD

VSS OUT

E/D 1

3

4

2

CD1

6NC2-50MHz

1

2

3

4

5

6

CON1

NA(PN1X6)

1

2

3

4

5

6

CON2

NA(PN1X6)

1

2

3

4

5

6

7

8

CON3

NA(PN1X8)

1

2

3

4

5

6

7

8

CON4

NA(PN1X8)

D1BAT54C

D2

NA(ESDA6V1L)

D3

NA(ESDA6V1L)

D4

SMBJ16A

GND_PIN

12

34

56

78

910

1112

1314

1516

1718

1920

JTAGBH20R

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

L4

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

L5

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

L62.2uH/3A/YS75/7x8L7

10uH/2.3A/YS75/7x8

7575

7575

1nF/2kV

1:1

1:1

1452

3786

GREEN

YELLOW

GND

AGAG

AYAY

COM3

KGKG

KYKY

NC6

RD+7

RD-8

TD+1

TD-2

LAN

RJLBC-060TC1

LEDLED/GREEN/0603

VIN

VIN

NA(BH20S)

PD

1 2

3 4

5 6

7 8

9 10

11 12

13 14

15 16

17 18

19 20

NA(BH20S)

PE

1 2

3 4

5 6

7 8

9 10

11 12

13 14

15 16

17 18

19 20

1 2PE2_E Close

1 2PE4_E Close 1 2 PE5_EClose

1 2PE6_E Close

NA(BH20S)

PF

1 2

3 4

5 6

7 8

9 10

11 12

13 14

15 16

17 18

19 20

1 2PF6_E Close 1 2 PF7_EClose

1 2PF8_E Close 1 2 PF9_EClose

1 2PF10_E Close 1 2 PF11_EClose

NA(BH20S)

PG

1 2

3 4

5 6

7 8

9 10

11 12

13 14

15 16

17 18

19 20

1 2 PG7_EClose

1 2PG8_E Close

1 2PG12_E Close

1 2 PG15_EClose

PWR_JACKYDJ-1136

1 2

3 4

5 6

7 8PWR_SEL

HN2x4(1-2:Close)

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

GND

Q2 32768Hz/6pF

12R-T

R2

NA R3

4.7k

R422R

R5

4.7kR6

10kR7NAR8

1kR9

150R

R10 NA

R11NA

R121M

R132.2kR14150R

R174.7k

R184.7k

R1947k

R261kR27NA

R2810k

R2912.1k/1%R30 1k

R31549R/1%

R32 47k

R33

NA

R34

NA

R3547k R36 NA

0RR37 0R(board_mounted)

R38 22R

R39 22R

0RR40 0R(board_mounted)

R41 22R

R42 22R

R43 NA R44NAR45NA

R46 NA

R4747k

R484.99k/1%

R494.99k/1%R501k

R512.2k R521.1k/1%

R531.1k/1%

R5447k

RESET

RM2G1RA1206_(4X0603)_4B8_4.7k

RM2G2RA1206_(4X0603)_4B8_4.7k

RM2G3RA1206_(4X0603)_4B8_4.7k

RM2G4RA1206_(4X0603)_4B8_4.7k

RM3G1

NA(10k)

NA(10k)RM3G2

RM3G3

NA(10k)

RM3G4

NA(10k)

RM4G1RA1206_(4X0603)_4B8_4.7k

RM4G2RA1206_(4X0603)_4B8_4.7k

RM4G3RA1206_(4X0603)_4B8_4.7k

RM4G4RA1206_(4X0603)_4B8_4.7k

RM5G1

RA1206_(4X0603)_4B8_10k

RM5G2

RA1206_(4X0603)_4B8_10k

RM5G3

RA1206_(4X0603)_4B8_10k

RM6G1

RA1206_(4X0603)_4B8_33k

RM6G2

RA1206_(4X0603)_4B8_33k

RM6G3

RA1206_(4X0603)_4B8_33k

RM6G4

RA1206_(4X0603)_4B8_33k

SD/MMC

MICRO

CD/DAT3/CS2

CLK/SCLK5

CMD/DI3

DAT0/DO7

DAT1/RES8

DAT2/RES1

VDD4

VSS6

BOOT0/VPP138

NRST25

PA0/WKUP/USART2_CTS/USART4_TX/ETH_MII_CRS/TIM2_CH1_ETR/TIM5_CH1/TIM8_ETR/ADC123_CH034PA1/USART2_RTS/USART4_RX/ETH_RMII_REF_CLK/ETH_MII_RX_CLK/TIM5_CH2/TIM2_CH2/ADC123_IN135PA2/USART2_TX/TIM5_CH3/TIM9_CH1/TIM2_CH3/ETH_MDIO/ADC123_IN236PA3/USART2_RX/TIM5_CH4/TIM9_CH2/TIM2_CH4/OTG_HS_ULPI_D0/ETH_MII_COL/ADC123_IN337PA4/SPI1_NSS/SPI3_NSS/USART2_CK/DCMI_HSYNC/OTG_HS_SOF/I2S3_WS/ADC12_IN4/DAC1_OUT40PA5/SPI1_SCK/OTG_HS_ULPI_CK/TIM2_CH1_ETR/TIM8_CHIN/ADC12_IN5/DAC2_OUT41PA6/SPI1_MISO/TIM8_BKIN/TIM13_CH1/DCMI_PIXCLK/TIM3_CH1/TIM1_BKIN/ADC12_IN642PA7/SPI1_MOSI/TIM8_CH1N/TIM14_CH1/TIM3_CH2/ETH_MII_RX_DV/TIM1_CH1N/RMII_CRS_DV/ADC12_IN743PA8/MCO1/USART1_CK/TIM1_CH1/I2C3_SCL/OTG_FS_SOF100PA9/USART1_TX/TIM1_CH2/I2C3_SMBA/DCMI_D0/OTG_FS_VBUS101PA10/USART1_RX/TIM1_CH3/OTG_FS_ID/DCMI_D1102PA11/USART1_CTS/CAN1_RX/TIM1_CH4/OTG_FS_DM103PA12/USART1_RTS/CAN1_TX/TIM1_ETR/OTG_FS_DP104PA13/JTMS-SWDIO105PA14/JTCK-SWCLK109PA15/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_IN846PB1/TIM3_CH4/TIM8_CH3N/OTG_HS_ULPI_D2/ETH_MII_RXD3/OTG_HS_INTN/TIM1_CH3N/ADC12_IN947PB2/BOOT148PB3/JTDO/TRACESWO/SPI3_SCK/I2S3_CK/TIM2_CH2/SPI1_SCK133PB4/NJTRST/SPI3_MISO/TIM3_CH1/SPI1_MISO134PB5/I2C1_SMBA/CAN2_RX/OTG_HS_ULPI_D7/ETH_PPS_OUT/TIM3_CH2/SPI1_MOSI/SPI3_MOSI/DCMI_D10/I2S3_SD135PB6/I2C1_SCL/TIM4_CH1/CAN2_TX/OTG_FS_INTN/DCMI_D5/USART1_TX136PB7/I2C1_SDA/FSMC_NL/DCMI_VSYNC/USART1_RX/TIM4_CH2137PB8/TIM4_CH3/SDIO_D4/TIM10_CH1/DCMI_D6/OTG_FS_SCL/ETH_MII_TXD3/I2C1_SCL/CAN1_RX139PB9/SPI2_NSS/I2S2_WS/TIM4_CH4/TIM11_CH1/OTG_FS_SDA/SDIO_D5/DCMI_D7/I2C1_SDA/CAN1_TX140PB10/SPI2_SCK/I2S2_CK/I2C2_SCL/USART3_TX/OTG_HS_ULPI_D3/ETH_MII_RX_ER/OTG_HS_SCL/TIM2_CH369PB11/I2C2_SDA/USART3_RX/OTG_HS_ULPI_D4/ETH_RMII_TX_EN/ETH_MII_TX_EN/OTG_HS_SDA/TIM2_CH470PB12/SPI2_NSS/I2S2_WS/I2C2_SMBA/USART3_CK/TIM1_BKIN/CAN2_RX/OTG_HS_ULPI_D5/ETH_RMII_TXD0/ETH_MII_TXD0/OTG_HS_ID73PB13/SPI2_SCK/I2S2_CK/USART3_CTS/TIM1_CH1N/CAN2_TX/OTG_HS_ULPI_D6/ETH_RMII_TXD1/ETH_MII_TXD1/OTG_HS_VBUS74PB14/SPI2_MISO/TIM1_CH2N/TIM12_CH1/OTG_HS_DM/USART3_RTS/TIM8_CH2N75PB15/SPI2_MOSI/I2S2_SD/TIM1_CH3N/TIM8_CH3N/TIM12_CH2/OTG_HS_DP76

PC0/OTG_HS_ULPI_STP/ADC123_IN1026PC1/ETH_MDC/ADC123_IN1127PC2/SPI2_MISO/OTG_HS_ULPI_DIR/ETH_MII_TXD2/ADC123_IN1228PC3/SPI2_MOSI/I2S2_SD/OTG_HS_ULPI_NXT/ETH_MII_TX_CLK/ADC123_IN1329PC4/ETH_RMII_RX_D0/ETH_MII_RX_D0/ADC12_IN1444PC5/ETH_RMII_RX_D1/ETH_MII_RX_D1/ADC12_IN1545PC6/SPI2_MCK/TIM8_CH1/SDIO_D6/USART6_TX/DCMI_D0/TIM3_CH196PC7/SPI3_MCK/TIM8_CH2/SDIO_D7/USART6_RX/DCMI_D1/TIM3_CH297PC8/TIM8_CH3/SDIO_D0/TIM3_CH3/USART6_CK/DCMI_D298PC9/I2S2_CKIN/I2S3_CKIN/MCO2/TIM8_CH4/SDIO_D1/I2C3_SDA/DCMI_D3/TIM3_CH499PC10/SPI3_SCK/I2S3_CK/UART4_TX/SDIO_D2/DCMI_D8/USART3_TX111PC11/UART4_RX/SPI3_MISO/SDIO_D3/DCMI_D4/USART3_RX112PC12/UART5_TX/SDIO_CK/DCMI_D9/SPI3_MOSI/I2S3_SD/USART3_CK113PC13/RTC_AF17PC14/OSC32_IN8PC15/OSC32_OUT9

PD0/FSMC_D2/CAN1_RX114PD1/FSMC_D3/CAN1_TX115PD2/TIM3_ETR/UART5_RX/SDIO_CMD/DCMI_D11116PD3/FSMC_CLK/USART2_CTS117PD4/FSMC_NOE/USART2_RTS118PD5/FSMC_NWE/USART2_TX119PD6/FSMC_NWAIT/USART2_RX122PD7/USART2_CK/FSMC_NE1/FSMC_NCE2123PD8/FSMC_D13/USART3_TX77PD9/FSMC_D14/USART3_RX78PD10/FSMC_D15/USART3_CK79PD11/FSMC_A16/USART3_CTS80PD12/FSMC_A17/TIM4_CH1/USART3_RTS81PD13/FSMC_A18/TIM4_CH282PD14/FSMC_D0/TIM4_CH385PD15/FSMC_D1/TIM4_CH486

PE0/TIM4_ETR/FSMC_NBL0/DCMI_D2141PE1/FSMC_NBL1/DCMI_D3142PE2/TRACECK/FSMC_A23/ETH_MII_TXD31PE3/TRACED0/FSMC_A192PE4/TRACED1/FSMC_A20/DCMI_D43PE5/TRACED2/FSMC_A21/TIM9_CH1/DCMI_D64PE6/TRACED3/FSMC_A22/TIM9_CH2/DCMI_D75PE7/FSMC_D4/TIM1_ETR58PE8/FSMC_D5/TIM1_CH1N59PE9/FSMC_D6/TIM1_CH160PE10/FSMC_D7/TIM1_CH2N63PE11/FSMC_D8/TIM1_CH264PE12/FSMC_D9/TIM1_CH3N65PE13/FSMC_D10/TIM1_CH366PE14/FSMC_D11/TIM1_CH467PE15/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_2107

VSS_438

VSS_516

VSS_651

VSS_761

VSS_883

VSS_994

VSS_10120

VSS_11130

GND

VCC RESET12

U2NA

U3

LAN8710A-EZC

COL/CRS_DV/MODE215

CRS14

GNDEXP_PAD

LED1/REGOFF3

LED2/NINTSEL2

MDC17MDIO16

NINT/TXER/TXD418

NRST 19

RBIAS32

RXCLK/PHYAD17

RXD0/MODE011RXD1/MODE110RXD2/RMIISEL9RXD3/PHYAD28RXDV26

RXER/RXD4/PHYAD013

RXN30

RXP31

TXCLK20

TXD022TXD123TXD224TXD325TXEN21

TXN28

TXP29

VDD1A27

VDD2A1

VDDCR6

VDDIO12

XTAL1/CLKIN5

XTAL24

3V3

5V

A0

A1

A2

A3

A4

A5

AREF

D0

D1

D2

D3

D4

D5

D6

D7

D8

D9

D10

D11

D12

D13

GND

GND

GND

RST

VIN

U4

NA(2xPN1x6_2xPN1x8)

1

2

34

5

6

U5

NA(USBLC6-2P6)

U6

MIC2026-1YM

ENA1

ENB4

FLAG_A2

FLAG_B3 GND6

IN 7

OUT_A8

OUT_B5

1

2

34

5

6

U7NA(USBLC6-2P6)

BS 1

COMP6

EN7

FB 5

GND4

IN2

SS8

SW 3

U8

MP1482DS

U9

SY8008C(AA)C

EN1 FB 5

GND2

IN4 LX 3

1 2

3 4

5 6

7 8

9 10

UEXT BH10R

D+

D-

GND

ID

VBUS

USB_OTG1

USB-OTG

D+

D-

GND

ID

VBUS

USB_OTG2

USB-OTG

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

+5V

3.3V

3.3V

3.3V

3.3V

+5V

3.3V

3.3V

3.3V

+5V

+5V

3.3V

3.3V_A

3.3V

3.3V

+5V

3.3V+5V3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

+5V

3.3V

3.3V

3.3V3.3V

3.3V

3.3V

3.3V 3.3V3.3V

3.3V

3.3V

3.3V

3.3V

+5V_EXT

+5V_JTAG

+5V_JTAG

+5V_OTG1_PWR +5V_OTG1_PWR

+5V_OTG1_PWR

+5V_OTG2_PWR +5V_OTG2_PWR

+5V_OTG2_PWR

AGNDAREF

AREF

BOOT0

LED

LED

PA0/WKUP

PA0/WKUPPA1/D8/ETH_RMII_REF_CLK

PA1/D8/ETH_RMII_REF_CLK

PA1/D8/ETH_RMII_REF_CLK

PA2/ETH_RMII_MDIO

PA2/ETH_RMII_MDIO

PA3/ETH_RMII_MDINT

PA3/ETH_RMII_MDINTPA4/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/ETH_RMII_CRS_DV

PA7/D11/ETH_RMII_CRS_DV

PA8/USB_HS_VBUSON

PA8/USB_HS_VBUSON PA8/USB_HS_VBUSON

PA9/OTG_FS_VBUS

PA9/OTG_FS_VBUS

PA10/OTG1_FS_ID

PA10/OTG1_FS_ID PA10/OTG1_FS_ID

PA10/OTG1_FS_ID

PA11/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/USB_FS_VBUSON

PB0/USB_FS_VBUSON PB0/USB_FS_VBUSON

PB1/USB_FS_FAULT

PB1/USB_FS_FAULT PB1/USB_FS_FAULT

PB2PB3/TDO

PB3/TDO

PB4/TRST

PB4/TRST

PB4/TRST

PB5/D11/SPI1_MOSI

PB5/D11/SPI1_MOSI

PB6/D1/USART1_TX

PB6/D1/USART1_TX

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/OTG2_HS_ID

PB12/OTG2_HS_ID PB12/OTG2_HS_ID

PB12/OTG2_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/ETH_RMII_MDC

PC1/ETH_RMII_MDC

PC2/SPI2_MISO

PC2/SPI2_MISO

PC3/SPI2_MOSI

PC3/SPI2_MOSI

PC4/ETH_RMII_RXD0

PC4/ETH_RMII_RXD0

PC5/ETH_RMII_RXD1

PC5/ETH_RMII_RXD1

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_CMD PD3

PD3PD4

PD4

PD5

PD5

PD6

PD6 PD7

PD7

PD8

PD8

PD9

PD9

PD10

PD10PD11

PD11

PD12

PD12

PD13

PD13

PD14

PD14

PD15

PD15

PE0

PE0

PE1

PE1

PE2/D2

PE2/D2

PE2/D2

PE3

PE3

PE4/D3

PE4/D3

PE4/D3

PE5/D4

PE5/D4

PE5/D4

PE6/D5

PE6/D5

PE6/D5

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

PF3

PF4

PF4

PF5

PF5

PF6/A1

PF6/A1

PF6/A1

PF7/A2

PF7/A2

PF7/A2

PF9/A4

PF9/A4

PF9/A4

PF10/A5

PF10/A5

PF10/A5

PF11/USB_HS_FAULT

PF11/USB_HS_FAULTPF11/USB_HS_FAULT PF11/USB_HS_FAULT

PF12

PF12

PF13

PF13

PF14

PF14

PF15

PF15

PG0

PG0

PG1

PG1

PG2

PG2

PG3

PG3

PG4

PG4

PG5

PG5

PG6/EPHY-RST#

PG6/EPHY-RST#

PG6/EPHY-RST#

PG7/D6

PG7/D6

PG7/D6

PG8/D7

PG8/D7

PG8/D7

PG9

PG9

PG10/UEXT_CS

PG10/UEXT_CS

PG10/UEXT_CS

PG11/ETH_RMII_TX_EN

PG11/ETH_RMII_TX_EN

PG11/ETH_RMII_TX_EN

PG12/D8

PG12/D8

PG12/D8

PG13/ETH_RMII_TXD0

PG13/ETH_RMII_TXD0

PG13/ETH_RMII_TXD0

PG14/ETH_RMII_TXD1

PG14/ETH_RMII_TXD1

PG14/ETH_RMII_TXD1

PG15/D9

PG15/D9

PG15/D9

PHYAD0

PHYAD0

PHYAD1

PHYAD1

PHYAD2

PHYAD2

RB7/D0/USART1_RX

RB7/D0/USART1_RX

RB11/UART3_RX

RB11/UART3_RX

RF8/A3

RF8/A3

RF8/A3

RMIISEL

RMIISEL

RSTRST

RST

RST

USB_OTG1_D+ USB_OTG1_D+USB_OTG1_D- USB_OTG1_D-

USB_OTG2_D+ USB_OTG2_D+USB_OTG2_D- USB_OTG2_D-

VBAT

Page 28: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 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 C50 – 17.2mm (0.677'') over the pcb; LAN connector – 13.6mm (0.535''); capacitors C42 and C48 – 11.5mm (0.453'').

Note that the above measures does not include the PCB.

Page 28 of 32

Page 29: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 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 Changes Modified page#

A,25.07.12

Initial release All

B,02.08.12

Added info about serial monitor via USB-SERIAL-CABLE 8, 21

C,20.03.13

Added info about the bootloader, fixed links 17, 32

D,10.07.13

Added revision E schematic, adjusted disclaimer 2, 29

E,02.12.13

Fixed an error in the table of Arduino platformheaders, updated customer support page

19, 32

F,01.07.15

Added more information about two specifics – the lackof soldering on the GND line of the quartz crystaland the lack of mini USB protection; improved the toppicture of the board; improved information about thepower jack; uploaded a new schematic; fixed links

9, 13, 16, 19, 26

G,26.05.16

Added information on how to connect the board toArduino IDE; clarified information about the UEXTconnector

15, 23

H,21.12.16

Updated json link 23

I,16.06.16

Fixed wrong Ethernet connector pinout 17

J,22.03.18

Improved the information about how to program viaArduino; added notices about Arudino programming

23

Page 29 of 32

Page 30: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 user's manual

10.2 Hardware revision

Revision Revision notes

B1 Initial release

C FET1 removed; the TVS symbol fixed (both near the input power). It is unidirectional and helps with the data protection.

D The PHY was changed and all libraries were updated.

E

1. R5 was changed from 10k/1% to 10k;2. R70(0R) was changed to 10k and renamed to R13, added was C26=10uF/6.3V and RST connection was removed from the PHY!;3. SD/MMC package was changed to the newer version (much more universal);4. WKUP and RESET packages were changed to WS-TAKT_6X3.5_SMD_NOCREAM;5. Everything is renumbered, so there are no missing numbers.6. C4 was changed from 100nF to 10uF/6.3V;7. Added is R54 = 47k pull-up to Rx line;

Page 30 of 32

Page 31: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 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-E407/.

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

ORDER CODES:

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

STM32-H407 – the smaller version of the board without 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-E407 – 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 31 of 32

Page 32: STM32-E407 development board USER’S MANUAL - …€¦ · STM32-E407 development board USER’S MANUAL Revision J, March 2018 Designed by OLIMEX Ltd, 2012 ... 10.3 Useful web links

OLIMEX© 2018 STM32-E407 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 32 of 32