STM32-E407 development board
USER’S MANUAL
Document revision L, October 2021
Designed by OLIMEX Ltd, 2012
All boards produced by Olimex LTD are ROHS compliant
OLIMEX© 2021
STM32-E407 user's manual
DISCLAIMER
© 2021 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other product
names 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
implied or otherwise, to any intellectual property right is granted by this document or in connection with the
sale of Olimex products.
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of
this 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 Unported
License.
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 the
product and its use contained in this document are given by OLIMEX in good faith. However all warranties implied or
expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded. This
document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss
or damage arising from the use of any information in this document or any error or omission in such information or
any incorrect use of the product.
This evaluation board/kit is intended for use for engineering development, demonstration, or evaluation purposes only
and is not considered by OLIMEX to be a finished end-product fit for general consumer use. Persons handling the
product must have electronics training and observe good engineering practice standards. As such, the goods being
provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing-related
protective considerations, including product safety and environmental measures typically found in end products that
incorporate such semiconductor components or circuit boards.
Olimex currently deals with a variety of customers for products, and therefore our arrangement with the user is not
exclusive. Olimex assumes no liability for applications assistance, customer product design, software performance, or
infringement of patents or services described herein.
THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS
USED TO CREATE STM32-E407. THEY ARE CONSIDERED SUITABLE ONLY FOR
STM32-E407.
Page 2 of 32
OLIMEX© 2021
STM32-E407 user's manual
Table of Contents
DISCLAIMER............................................................................................................. 2
CHAPTER 1 OVERVIEW......................................................................................... 5
1. Introduction to the chapter.......................................................................................................5
1.1 Features.....................................................................................................................................5
1.2 H407 or E407?..........................................................................................................................5
1.3 Target market and purpose of the board...............................................................................6
1.4 Organization.............................................................................................................................6
CHAPTER 2 SETTING UP THE STM32-E407 BOARD.......................................7
2. Introduction to the chapter.......................................................................................................7
2.1 Electrostatic warning...............................................................................................................7
2.2 Requirements........................................................................................................................... 7
2.3 Powering the board..................................................................................................................8
2.4 Prebuilt software......................................................................................................................8
CHAPTER 3 STM32-E407 BOARD DESCRIPTION.............................................9
3. Introduction to the chapter.......................................................................................................9
3.1 Layout (top view).....................................................................................................................9
3.2 Layout (bottom view)...............................................................................................................9
CHAPTER 4 THE STM32F407ZGT6 MICROCONTROLLER......................... 11
4. Introduction to the chapter..................................................................................................... 11
4.1 The STM32F407ZGT6 features............................................................................................11
CHAPTER 5 CONTROL CIRCUITY AND HARDWARE MODULES.............13
5. Introduction to the chapter.....................................................................................................13
5.1 Reset........................................................................................................................................13
5.2 Clocks......................................................................................................................................13
5.3 Power supply circuit.............................................................................................................. 13
CHAPTER 6 CONNECTORS AND PINOUT....................................................... 14
6. Introduction to the chapter.....................................................................................................14
6.1 JTAG/SWD debug................................................................................................................. 14
6.2 SD/MMC slot..........................................................................................................................14
6.3 UEXT module.........................................................................................................................15
6.4 USB_OTG1.............................................................................................................................16
6.5 USB_OTG2.............................................................................................................................16
6.6 LAN connector.......................................................................................................................17
6.7 Arduino/Maple platform.......................................................................................................17
6.8 20-pin connectors – PD – PE – PF – PG.............................................................................. 18
6.9 PWR Jack...............................................................................................................................19
6.10 Battery connector.................................................................................................................20
Page 3 of 32
OLIMEX© 2021
STM32-E407 user's manual
6.11 BOOT pads...........................................................................................................................20
6.12 Jumper description..............................................................................................................20
6.12.1 PWR_SEL...................................................................................................................................................20
6.12.2 B1_1/B1_0 and B0_1/B0_0.........................................................................................................................21
6.12.3 R-T...............................................................................................................................................................21
6.12.4 3.3V_E......................................................................................................................................................... 21
6.12.5 AGND_E......................................................................................................................................................21
6.12.6 AREF_EN....................................................................................................................................................21
6.12.7 GPIO port jumpers....................................................................................................................................22
6.13 Additional hardware components...................................................................................... 22
CHAPTER 7 HOW TO USE THE BOARD WITH ARDUINO IDE...................23
CHAPTER 8 BLOCK DIAGRAM AND MEMORY.............................................24
8. Introduction to the chapter.....................................................................................................24
8.1 Processor family block diagram........................................................................................... 24
8.2 Physical memory map........................................................................................................... 25
CHAPTER 9 SCHEMATICS...................................................................................26
9. Introduction to the chapter.....................................................................................................26
9.1 Eagle schematic......................................................................................................................26
9.2 Physical dimensions...............................................................................................................28
CHAPTER 10 REVISION HISTORY AND SUPPORT........................................29
10. Introduction to the chapter...................................................................................................29
10.1 Document revision............................................................................................................... 29
10.2 Hardware revision............................................................................................................... 30
10.3 Useful web links and purchase codes.................................................................................31
10.4 Product support................................................................................................................... 32
Page 4 of 32
OLIMEX© 2021
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. STM32H407 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
OLIMEX© 2021
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 wellknown 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
OLIMEX© 2021
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 debugger
ARM-USB-OCD-H – high-speed OpenOCD ARM JTAG debugger with buffer protection
USB-MINI-CABLE – USB mini to USB-A cable
BATTERY-LIPO1400MAH – lithium-polymer battery 1400mAh
Page 7 of 32
OLIMEX© 2021
STM32-E407 user's manual
USB-SERIAL-CABLE-F – easy way to connect the board to a computer terminal program using
the BOOT pins
SY0612E – 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
OLIMEX© 2021
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)
3.2 Layout (bottom view)
On the bottom there are three tables printed – general jumper table, boot mode jumper table, power
Page 9 of 32
OLIMEX© 2021
STM32-E407 user's manual
mode jumper table. The default positions of the tables are also shown.
Page 10 of 32
OLIMEX© 2021
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
OLIMEX© 2021
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, onchip 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 and
can 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
OLIMEX© 2021
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
OLIMEX© 2021
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 #
Signal
name
Signal
name
Pin #
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 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.
Page 14 of 32
OLIMEX© 2021
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
PG10/UEXT_CS
PG10
Page 15 of 32
OLIMEX© 2021
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 the
port 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
OLIMEX© 2021
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: first
you 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 Name
Processor 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
OLIMEX© 2021
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
PE6
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
OLIMEX© 2021
STM32-E407 user's manual
PF
PG
Pin
#
Signal name
Pin #
Signal name
PF8/A3*
1
+3.3V
11
PG8/D7*
12
PF9/A4*
2
GND
12
PG9
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
Pin #
Signal name
Pin # Signal name
1
+3.3V
11
2
GND
3
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 found
here: 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
OLIMEX© 2021
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 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.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 tweezers
to reach it. If you are powering the board via the PWR_JACK set it to position 1-2 (default → to the
near 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
OLIMEX© 2021
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
OLIMEX© 2021
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
OLIMEX© 2021
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 –>
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
OLIMEX© 2021
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
OLIMEX© 2021
STM32-E407 user's manual
8.2 Physical memory map
Page 25 of 32
OLIMEX© 2021
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
AREF_EN
B0_1/B0_1
C16
10uF/6.3V
3
2
HN1x3(B0_1:Open;B0_0:Close)
1
1
C17
100nF
R4
22R
AREF
2
100nF
PB2/BOOT1
48
PB2
PB3/JTDO/TRACESWO/SPI3_SCK/I2S3_CK/TIM2_CH2/SPI1_SCK
133
PB3/TDO
C19
31
4.7k
PB6/I2C1_SCL/TIM4_CH1/CAN2_TX/OTG_FS_INTN/DCMI_D5/USART1_TX
136
PB6/D1/USART1_TX
PB7/I2C1_SDA/FSMC_NL/DCMI_VSYNC/USART1_RX/TIM4_CH2
137
RB7/D0/USART1_RX
PB8/TIM4_CH3/SDIO_D4/TIM10_CH1/DCMI_D6/OTG_FS_SCL/ETH_MII_TXD3/I2C1_SCL/CAN1_RX
139
PB8/I2C1_SCL
PB9/SPI2_NSS/I2S2_WS/TIM4_CH4/TIM11_CH1/OTG_FS_SDA/SDIO_D5/DCMI_D7/I2C1_SDA/CAN1_TX
140
PB9/I2C1_SDA
PB10/SPI2_SCK/I2S2_CK/I2C2_SCL/USART3_TX/OTG_HS_ULPI_D3/ETH_MII_RX_ER/OTG_HS_SCL/TIM2_CH3
69
PB10/SPI2_SCK/UART3_TX
PB11/I2C2_SDA/USART3_RX/OTG_HS_ULPI_D4/ETH_RMII_TX_EN/ETH_MII_TX_EN/OTG_HS_SDA/TIM2_CH4
70
RB11/UART3_RX
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_ID
73
PB12/OTG2_HS_ID
PB13/SPI2_SCK/I2S2_CK/USART3_CTS/TIM1_CH1N/CAN2_TX/OTG_HS_ULPI_D6/ETH_RMII_TXD1/ETH_MII_TXD1/OTG_HS_VBUS
74
PB13/OTG_HS_VBUS
VDDA
PB14/SPI2_MISO/TIM1_CH2N/TIM12_CH1/OTG_HS_DM/USART3_RTS/TIM8_CH2N
75
PB14/OTG_HS_DM
PB15/SPI2_MOSI/I2S2_SD/TIM1_CH3N/TIM8_CH3N/TIM12_CH2/OTG_HS_DP
76
PB15/OTG_HS_DP
VREF+
PC0/OTG_HS_ULPI_STP/ADC123_IN10
26
PC1/ETH_MDC/ADC123_IN11
27
PC5/ETH_RMII_RX_D1/ETH_MII_RX_D1/ADC12_IN15
45
PC5/ETH_RMII_RXD1
PC6/SPI2_MCK/TIM8_CH1/SDIO_D6/USART6_TX/DCMI_D0/TIM3_CH1
96
PC6/USART6_TX
6
BOOT0
138
BOOT0/VPP
VBAT
23
PC7/SPI3_MCK/TIM8_CH2/SDIO_D7/USART6_RX/DCMI_D1/TIM3_CH2
97
PC7/USART6_RX
PC8/TIM8_CH3/SDIO_D0/TIM3_CH3/USART6_CK/DCMI_D2
98
PC8/SD_D0
PC9/I2S2_CKIN/I2S3_CKIN/MCO2/TIM8_CH4/SDIO_D1/I2C3_SDA/DCMI_D3/TIM3_CH4
99
PC9/SD_D1
PH0/OSC_IN
PC10/SPI3_SCK/I2S3_CK/UART4_TX/SDIO_D2/DCMI_D8/USART3_TX
111
PC10/SD_D2
PC11/UART4_RX/SPI3_MISO/SDIO_D3/DCMI_D4/USART3_RX
112
PC11/SD_D3
R7
NA
Q12.000MHz/HC-49SM(SMD)/20pF
R9
R8
1k
1
T1107A(6X3,8X2,5MM)
150R
27pF
RST
C22
3.3V
56
57
87
88
89
90
91
92
93
PG11/ETH_RMII_TX_EN
FSMC_NCE4_2
PG12/D8
PG13/ETH_RMII_TXD0
PG14/ETH_RMII_TXD1
PG15/D9
R12
1M
PF0
FSMC_A0
PF1
FSMC_A1
PF2
FSMC_A2
PF3
FSMC_A3
PF4
FSMC_A4
PF5
FSMC_A5
PF6/A1
FSMC_NIORD
PF7/A2
FSMC_NREG
RF8/A3
FSMC_NIOWR
PF9/A4
FSMC_CD
PF10/A5
FSMC_INTR
SD/MMC
PC11/SD_D3
PD2/SD_CMD
2
CD/DAT3/CS
3
CMD/DI
6
VSS
4
PC12/SD_CLK
PC8/SD_D0
PC9/SD_D1
PC10/SD_D2
VDD
5
CLK/SCLK
7
DAT0/DO
8
DAT1/RES
1
C24
C25
22uF/6.3V
22uF/6.3V
DAT2/RES
10
11
12
13
14
15
18
19
20
21
22
49
PF11/USB_HS_FAULT
PF12
FSMC_A6
PF13
FSMC_A7
PF14
FSMC_A8
PF15
FSMC_A9
MICRO
SD/MMC CARD
PC12/UART5_TX/SDIO_CK/DCMI_D9/SPI3_MOSI/I2S3_SD/USART3_CK
113
PC12/SD_CLK
Q2
PC13/RTC_AF1
7
LED
PH1/OSC_OUT
PC14/OSC32_IN
8
PC15/OSC32_OUT
9
NRST
50
53
54
55
R10
NA
C21
32768Hz/6pF
4.7pF
GND
PD0/FSMC_D2/CAN1_RX
114
PD0
FSMC_D2
PD1/FSMC_D3/CAN1_TX
115
PD1
FSMC_D3
PG0/FSMC_A10
PG1/FSMC_A11
C23
4.7pF
PD2/TIM3_ETR/UART5_RX/SDIO_CMD/DCMI_D11
116
PD2/SD_CMD
PD3/FSMC_CLK/USART2_CTS
117
PD3
FSMC_CLK
PG2/FSMC_A12
PG3/FSMC_A13
PD4/FSMC_NOE/USART2_RTS
118
PD4
FSMC_NOE
PD5/FSMC_NWE/USART2_TX
119
PD5
FSMC_NWE
PG4/FSMC_A14
PG5/FSMC_A15
PD6/FSMC_NWAIT/USART2_RX
122
PD6
FSMC_NWAIT
PD7/USART2_CK/FSMC_NE1/FSMC_NCE2
123
PD7
FSMC_NE1
PD8/FSMC_D13/USART3_TX
77
PD8
FSMC_D13
PG6/FSMC_INT2
PG7/FSMC_INT3/USART6_CK
PG8/USART6_RTS/ETH_PPS_OUT
124
PG9/USART6_RX/FSMC_NE2/FSMC_NCE3
125
PG10/FSMC_NCE4_1/FSMC_NE3
126
PG11/FSMC_NCE4_2/ETH_MII_TX_EN
127
PG12/FSMC_NE4/USART6_RTS
128
PG13/FSMC_A24/USART6_CTS/ETH_MII_TXD0/ETH_RMII_TXD0
129
PG14/FSMC_A25/USART6_TX/ETH_MII_TXD1/ETH_RMII_TXD1
132
PG15/USART6_CTS/DCMI_D13
PG10/UEXT_CS
FSMC
_NC E4_1/FSMC _NC E3
R11
NA
RA1206_(4X0603)_4B8_33k
25
PG0
FSMC_A10
PG1
FSMC_A11
PG2
FSMC_A12
PG3
FSMC_A13
PG4
FSMC_A14
PG5
FSMC_A15
PG6/EPHY-RST#
FSMC_INT2
PG7/D6
PG8/D7
PG9
FSMC_NE2/FSMC_NCE3
3.3V
L2
RM1G1
3.3V
RM1G3
3.3V
24
RST
100nF
3.3V
RA1206_(4X0603)_4B8_33k
C20
CL470nH/0805/1.76R/250mA
3
RM1G4
3.3V
RESET
RA1206_(4X0603)_4B8_33k
RESET
GND
RM1G2
VCC
PC0/A0
PC1/ETH_RMII_MDC
PC2/SPI2_MISO/OTG_HS_ULPI_DIR/ETH_MII_TXD2/ADC123_IN12
28
PC2/SPI2_MISO
PC3/SPI2_MOSI/I2S2_SD/OTG_HS_ULPI_NXT/ETH_MII_TX_CLK/ADC123_IN13
29
PC3/SPI2_MOSI
PC4/ETH_RMII_RX_D0/ETH_MII_RX_D0/ADC12_IN14
44
PC4/ETH_RMII_RXD0
VSSA
VBAT
27pF
3.3V
R3
PB4/NJTRST/SPI3_MISO/TIM3_CH1/SPI1_MISO
134
PB4/TRST
PB5/I2C1_SMBA/CAN2_RX/OTG_HS_ULPI_D7/ETH_PPS_OUT/TIM3_CH2/SPI1_MOSI/SPI3_MOSI/DCMI_D10/I2S3_SD
135
PB5/D11/SPI1_MOSI
Q1
RA1206_(4X0603)_4B8_33k
2
4.7k
10k
U2
NA
C18
Close
R5
R6
32
HN1x3(B1_1:Open;B1_0:Close)
PD9/FSMC_D14/USART3_RX
78
PD9
FSMC_D14
PD10/FSMC_D15/USART3_CK
79
PD10
FSMC_D15
PD11/FSMC_A16/USART3_CTS
80
PD11
FSMC_A16
PD12/FSMC_A17/TIM4_CH1/USART3_RTS
81
PD12
FSMC_A17
PD13/FSMC_A18/TIM4_CH2
82
PD13
FSMC_A18
PD14/FSMC_D0/TIM4_CH3
85
PD14
FSMC_D0
PD15/FSMC_D1/TIM4_CH4
86
PD15
FSMC_D1
PE0/TIM4_ETR/FSMC_NBL0/DCMI_D2
141
PE0
FSMC_NBL0
PE1/FSMC_NBL1/DCMI_D3
142
PE1
FSMC_NBL1
PE2/TRACECK/FSMC_A23/ETH_MII_TXD3
1
PE2/D2
FSMC_A23
PF0/FSMC_A0/I2C2_SDA
PF1/FSMC_A1/I2C2_SCL
PF2/FSMC_A2/I2C2_SMBA
PE3/TRACED0/FSMC_A19
2
PE3
FSMC_A19
PE4/TRACED1/FSMC_A20/DCMI_D4
3
PE4/D3
FSMC_A20
PF3/FSMC_A3/ADC3_IN9
PF4/FSMC_A4/ADC3_IN14
PE5/TRACED2/FSMC_A21/TIM9_CH1/DCMI_D6
4
PE5/D4
FSMC_A21
PE6/TRACED3/FSMC_A22/TIM9_CH2/DCMI_D7
5
PE6/D5
FSMC_A22
PE7/FSMC_D4/TIM1_ETR
58
PE7
FSMC_D4
PF5/FSMC_A5/ADC3_IN15
PF6/TIM10_CH1/FSMC_NIORD/ADC3_IN4
PF7/TIM11_CH1/FSMC_NREG/ADC3_IN5
PE8/FSMC_D5/TIM1_CH1N
59
PE8
FSMC_D5
PE9/FSMC_D6/TIM1_CH1
60
PE9
FSMC_D6
PF8/TIM13_CH1/FSMC_NIOWR/ADC3_IN6
PF9/TIM14_CH1/FSMC_CD/ADC3_IN7
PE10/FSMC_D7/TIM1_CH2N
63
PE10
FSMC_D7
PE11/FSMC_D8/TIM1_CH2
64
PE11
FSMC_D8
PE12/FSMC_D9/TIM1_CH3N
65
PE12
FSMC_D9
PF10/FSMC_INTR/ADC3_IN8
PF11/DCMI_12
PF12/FSMC_A6
PE13/FSMC_D10/TIM1_CH3
66
PE13
FSMC_D10
PE14/FSMC_D11/TIM1_CH4
67
PE14
FSMC_D11
PF13/FSMC_A7
PF14/FSMC_A8
CON1 U4
PE15/FSMC_D12/TIM1_BKIN
68
PE15
FSMC_D12
PF15/FSMC_A9
RST
3.3V
+5V
3.3V
1
RST
2
3V3
3
5V
4
100nF
C32
VDD1A
NINT/TXER/TXD4
18
VDDCR
C34
EXP_PAD
4
75
TD+
75
COM
TDAG
RJ45 SIDE
GREEN
KG
KY
1:1
75
RD+
NC
GND1
GND2
75
GND
RD-
1nF/2kV
5
XTAL1/CLKIN
3
PHYAD1
PHYAD0
MDC
17
MDIO
16
PC1/ETH_RMII_MDC
3.3V
PA2/ETH_RMII_MDIO
AG
2
KG
3
LED2/NINTSEL
LED1/REGOFF
KY
29
7
28
6
31
8
30
RJLBC-060TC1
C37
100nF R31
549R/1%
CRS14
COL/CRS_DV/MODE2
15
TXP
NA
10k
10uF/6.3V
C36
NRST 19
TXN
RXP
RXN
SMI address: 0x00
2
VSS
PA1/D8/ETH_RMII_REF_CLK
1
PHYAD0
PHYAD1
PHYAD2
RMIISEL
RM4G1
RA1206_(4X0603)_4B8_4.7k
RM4G3
RA1206_(4X0603)_4B8_4.7k
RM4G2
RA1206_(4X0603)_4B8_4.7k
RM4G4
RA1206_(4X0603)_4B8_4.7k
OUT
6NC2-50MHz
7
8
9
10
3.3V
3.3V
LED
LED/GREEN/0603
1k
PA0/WKUP
47k
LED
R33
NA
2
1
4
3
6
5
8
7
10
9
12
11
14
13
16
15
18
17
20
19
RM3G1
RM3G3
NA(10k)
NA(10k)
NA(10k)
3.3V
NA
RM5G3
RM3G2NA(10k)
PB3/TDO
RST
RM5G2
RM5G1
+5V_JTAG
2
ID
C41
GND
3
5
2
6
1
1
FLAG_A
3
GND
6
OUT_B
5
FLAG_B
4
3.3V
RM6G2
RM6G1
ENB
USB_OTG2
MIC2026-1YM
RA1206_(4X0603)_4B8_33k
+5V_OTG2_PWR
USB_OTG2_DUSB_OTG2_D+
PB12/OTG2_HS_ID
+
DD+
ID
GND
PA4/D10/SPI1_NSS
3
PB5/D11/SPI1_MOSI
4
PA6/D12/SPI1_MISO
5
PA5/D13/SPI1_SCK
6
AGND
AREF
7
D8
2
D9
D10
D11
D12
D13
GND
8
PD3
PD5
PD7
PD9
PD11
PD12
15
16
PD13
PD14
17
18
PD15
19
20
+5V
1
PE2_E
1
PE4_E
1
PE6_E
1
4
5
6
2 Close
7
8
2 Close
9
10
PE7
11
12
PE9
PE11
R51
2.2k
4.99k/1%
R52
1.1k/1%
8
5
6
+5V_JTAG
3
4
+5V_EXT
1
2
HN2x4(1-2:Close)
R48
MP1482DS
7
+5V_OTG2_PWR
U9
1
2
IN
EN
LX
3
FB
5
PE12
PE13
PE14
17
18
PE15
19
20
1
2
PF6_E
1
2
PF8_E
1
2
PF10_E
4
5
6
7
8
9
10
1
Close
2 PF7_E
Close
11
12
1
Close
Close
13
14
1
Close
2 PF9_E
2 PF11_E
15
16
17
18
19
20
PF1
PF3
PF5
PF7/A2
PF9/A4
PF11/USB_HS_FAULT
PF13
PF15
PG
PG0
PG2
PG4
PG6/EPHY-RST#
PG8/D7
1
2 Close
PG8_E
R43 NA
1
2 Close
PG12_E
R46 NA
+5V
PG12/D8
PG14/ETH_RMII_TXD1
1
R53
1.1k/1%
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1
Close
NA
NA
1
Close
PG1
PG3
PG5
PG7/D6
PG9
2 PG7_E
R44
R45
2 PG15_E
PG11/ETH_RMII_TX_EN
PG13/ETH_RMII_TXD0
PG15/D9
NA(BH20S)
3.3V
BOOT
2
R54
47k
R50
1k
PB10/SPI2_SCK/UART3_TX
1
USART3_TX
RB11/UART3_RX
2
USART3_RX
GND
3.3V
3.3V
3
4
HN1X4
AGND_E
2
Close
Page 27 of 32
2
3
Close
+5V
Close
R49
4.99k/1%
SY8008C(AA)C
GND_PIN
1
3.3V_E
C51
22pF
PE5/D4
14
16
3.3V
L6
2.2uH/3A/YS75/7x8
GND
2 PE5_E
13
POWER SUPPLY CIRCUIT
4
PE1
PE3
1
Close
15
100nF
C59
C50
3.3nF
+5V_OTG1_PWR
2
3
2 Close
PE10
3.3V
+ C58
220uF/16V/mini
L7
10uH/2.3A/YS75/7x8
AREF
12
PG10/UEXT_CS
22uF/6.3V
C57
C49
10nF
D7
14
VBUS
22uF/6.3V
C56
5
COMP6
22uF/6.3V
C55
1
3
FB
22uF/6.3V
C61
GND
BS
SW
22uF/6.3V
C60
100nF
C53
+ C52
SMBJ16A
+5V
100uF/16V/mini
C54
+
470uF/25V/LOWESR/105C
D4
U8
SS
1
NA(BH20S)
FB0805/600R/200mA(201209-601)
PWR_SEL
4
PG12/D8
PG15/D9
11
USB_OTG2
+5V_OTG2_PWR
USB_OTG2_DUSB_OTG2_D+
PB12/OTG2_HS_ID
C47
VIN
EN
D6
PF
OUT_A
8
IN 7
ENA
2
NA(USBLC6-2P6)
4
IN
D5
13
3.3V
USB-OTG
8
D4
8
PD8
PF0
PF2
PF4
PF6/A1
RF8/A3
PF10/A5
PF12
PF14
USB-OTG
100uF/16V/LOWESR/105C/6.3x11mm_RM2.5
L5
7
D3
7
PD10
L4
U6
NA(ESDA6V1L)
2
D2
6
NA(BH20S)
100nF
C43
RA1206_(4X0603)_4B8_33k
C46
100nF
R47
47k
D1
5
PD1
+5V
FB0805/600R/200mA(201209-601)
+5V
3.3V
PB12/OTG2_HS_ID
PWR_JACK
YDJ-1136
D0
4
10
1
LED/RED/0603
RM6G4
RM6G3
D3
6-16VDC
3
8
PE8
GND2
GND1
DD+
GND1
22R
2
PE2/D2
PE4/D3
PE5/D4
PE6/D5
PG7/D6
PG8/D7
6
PWR_LED
D2
+
22R
R42
A5
4
PE6/D5
VBUS
100uF/16V/LOWESR/105C/6.3x11mm_RM2.5
U7
R41
A4
9
USB
NA(USBLC6-2P6)
0R(board_mounted)
3.3V
C44
C45
47pF(NA)
47pF(NA)
PB6/D1/USART1_TX
3
GND4
3
+5V_OTG1_PWR
USB_OTG1_DUSB_OTG1_D+
PA10/OTG1_FS_ID
GND3
4
+5V_OTG1_PWR
USB_OTG1_DUSB_OTG1_D+
PA10/OTG1_FS_ID
PB0/USB_FS_VBUSON
PB1/USB_FS_FAULT
PF11/USB_HS_FAULT
PA8/USB_HS_VBUSON
PB14/OTG_HS_DM
1
7
NA
GND2
2
PB0/USB_FS_VBUSON
PB1/USB_FS_FAULT
PF11/USB_HS_FAULT
PA8/USB_HS_VBUSON
PB15/OTG_HS_DP
USB_OTG1
USB
5
C40
100nF
0R
RB7/D0/USART1_RX
5
R36
PE4/D3
GND4
1
NA(ESDA6V1L)
R40
A3
PE
GND3
6
PA10/OTG1_FS_ID
PB13/OTG_HS_VBUS
A2
NA(BH20S)
100nF
C42
C38
C39
47pF(NA)
47pF(NA)
A1
CON3
2
R-T
U5
22R
6
NA(PN1X6)
1
PB4/TRST
1
100nF
C48
R39
PF10/A5
A0
PD6
PD2/SD_CMD
USB_OTG1
3.3V
PA12/OTG_FS_DP
5
PD4
PD0
PB4/TRST
PA15/TDI
PA13/TMS
PA14/TCK
3.3V
PA11/OTG_FS_DM
4
PD
R34
0R(board_mounted)
22R
3
PF9/A4
NA(2xPN1x6_2xPN1x8)
RM3G4
PE0
R38
2
PF7/A2
RF8/A3
JTAG
PE2/D2
0R
PF6/A1
CON4
100nF
R30
RA1206_(4X0603)_4B8_10k
R37
PA9/OTG_FS_VBUS
1
NA(PN1X8)
R26
1k
R32
JTAG
BH20R
CD1
3
6
47k
PC7/USART6_RX
PB9/I2C1_SDA
PC3/SPI2_MOSI
PG10/UEXT_CS
PC0/A0
BUTTON and LED
R29
12.1k/1%
MODE: All capable(10/100Base).
Auto-negotiation enabled.
VDD
5
4.7k
VIN
CON2
NA(PN1X8)
RMII Configuration
4
4
PA7/D11/ETH_RMII_CRS_DV C35
PG6/EPHY-RST#
R27
R28
RBIAS
32
2
3
3.3V
LAN8710A-EZC
3.3V
R35
RM2G3
3.3V
RA1206_(4X0603)_4B8_4.7k
The PHY is setted up as follows:
E/D
3.3V
2
3.3V
47k
RM2G4
RA1206_(4X0603)_4B8_4.7k
AY
AY
YELLOW
3
7
8
6
PA1/D8/ETH_RMII_REF_CLK
1
RXCLK/PHYAD1
7
RXER/RXD4/PHYAD0
13
1
GND
6
NA(PN1X6)
R18 R19
BH10R
UEXT
WKUP
1:1
1
4
5
2
XTAL2
100nF
C27
PC6/USART6_TX
PB8/I2C1_SCL
PC4/ETH_RMII_RXD0
PC2/SPI2_MISO
PC5/ETH_RMII_RXD1
PB10/SPI2_SCK/UART3_TX
RMIISEL
PHYAD2
RXD3/PHYAD2
8
RXDV
26
2.2uF/6.3VGND
LAN
3.3V
RM2G1
RA1206_(4X0603)_4B8_4.7k
RM2G2
RA1206_(4X0603)_4B8_4.7k
RXD0/MODE0
11
RXD1/MODE1
10
RXD2/RMIISEL
9
100nF
UEXT
R17
4.7k
PG11/ETH_RMII_TX_EN
TXEN
21
TXCLK
20
VDD2A
6
C33
100nF
C31
22uF/6.3V
C30
R20
549R/1%
R21
49.9R/1%
R22
49.9R/1%
R23
49.9R/1%
R24
49.9R/1%
R25
0R
0R(board_mounted)
22uF/6.3V
C29
22uF/6.3V
C28
1
3.3V
NA(10k)
TXD2
24
TXD3
25
3.3V
NA(10k)
VDDIO
FB0805/600R/200mA(201209-601)
27
3.3V
PG13/ETH_RMII_TXD0
PG14/ETH_RMII_TXD1
TXD0
22
TXD1
23
R16
C26
100nF
L3
VIN
PA3/ETH_RMII_MDINT
R15
12
2.2k R13
150R R14
3.3V
U3
T1107A(6X3,8X2,5MM)
Ethernet
3.3V
GND
5
POWER
33
PA15/TDI
ANALOG
3.3V_A
PA15/JTDI/SPI3_NSS/I2S3_WS/TIM2_CH1_ETR/SPI1_NSS
110
DIGITAL
2
PA10/OTG1_FS_ID
PA11/OTG_FS_DM
PA12/OTG_FS_DP
PA13/TMS
B1_1/B1_1
PA14/TCK
PB0/TIM3_CH3/TIM8_CH2N/OTG_HS_ULPI_D1/ETH_MII_RXD2/TIM1_CH2N/ADC12_IN8
46
PB0/USB_FS_VBUSON
PB1/TIM3_CH4/TIM8_CH3N/OTG_HS_ULPI_D2/ETH_MII_RXD3/OTG_HS_INTN/TIM1_CH3N/ADC12_IN9
47
PB1/USB_FS_FAULT
130
VSS_11
120
VSS_10
94
VSS_9
83
VSS_8
61
VSS_7
51
VSS_6
16
VSS_5
38
VSS_4
107
VSS_2
1
PA13/JTMS-SWDIO
105
PA14/JTCK-SWCLK
109
ARDUINO: SH PLATFORM
NA
WF2S
3.3V
PA10/USART1_RX/TIM1_CH3/OTG_FS_ID/DCMI_D1
102
PA11/USART1_CTS/CAN1_RX/TIM1_CH4/OTG_FS_DM
103
PA12/USART1_RTS/CAN1_TX/TIM1_ETR/OTG_FS_DP
104
VCAP_1
R2
3V_BAT
3.3V
PA8/MCO1/USART1_CK/TIM1_CH1/I2C3_SCL/OTG_FS_SOF
100
PA8/USB_HS_VBUSON
PA9/USART1_TX/TIM1_CH2/I2C3_SMBA/DCMI_D0/OTG_FS_VBUS
101
PA9/OTG_FS_VBUS
DIGITAL
106
VCAP_2
PA6/SPI1_MISO/TIM8_BKIN/TIM13_CH1/DCMI_PIXCLK/TIM3_CH1/TIM1_BKIN/ADC12_IN6
42
PA6/D12/SPI1_MISO
PA7/SPI1_MOSI/TIM8_CH1N/TIM14_CH1/TIM3_CH2/ETH_MII_RX_DV/TIM1_CH1N/RMII_CRS_DV/ADC12_IN7
43
PA7/D11/ETH_RMII_CRS_DV
3
C15
PA4/SPI1_NSS/SPI3_NSS/USART2_CK/DCMI_HSYNC/OTG_HS_SOF/I2S3_WS/ADC12_IN4/DAC1_OUT
40
PA4/D10/SPI1_NSS
PA5/SPI1_SCK/OTG_HS_ULPI_CK/TIM2_CH1_ETR/TIM8_CHIN/ADC12_IN5/DAC2_OUT
41
PA5/D13/SPI1_SCK
2
100nF
C14
100nF
C13
100nF
C12
100nF
C11
100nF
C10
100nF
C9
100nF
C8
100nF
C7
10uF/6.3V
C6
10uF/6.3V
C5
71
2.2uF/6.3V
PA2/USART2_TX/TIM5_CH3/TIM9_CH1/TIM2_CH3/ETH_MDIO/ADC123_IN2
36
PA2/ETH_RMII_MDIO
PA3/USART2_RX/TIM5_CH4/TIM9_CH2/TIM2_CH4/OTG_HS_ULPI_D0/ETH_MII_COL/ADC123_IN3
37
PA3/ETH_RMII_MDINT
1
R1
C4
10uF/6.3V
10uF/6.3V
C3
10uF/6.3V
C2
L1
C1
2.2uF/6.3V
BAT54C
D1
PA0/WKUP/USART2_CTS/USART4_TX/ETH_MII_CRS/TIM2_CH1_ETR/TIM5_CH1/TIM8_ETR/ADC123_CH0
34
PA0/WKUP
PA1/USART2_RTS/USART4_RX/ETH_RMII_REF_CLK/ETH_MII_RX_CLK/TIM5_CH2/TIM2_CH2/ADC123_IN1
35
PA1/D8/ETH_RMII_REF_CLK
72
VDD_1
108
VDD_2
143
VDD_3
39
VDD_4
17
VDD_5
52
VDD_6
62
VDD_7
84
VDD_8
95
VDD_9
121
VDD_10
131
VDD_11
30
VDD_12
144
VDD_SA
0R
3.3V
STM32-E407 user's manual
0R(board_mounted)
FB0805/600R/200mA(201209-601)
OLIMEX© 2021
STM32-E407, hardware revision E
OLIMEX LTD, Bulgaria
OLIMEX© 2021
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
OLIMEX© 2021
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
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
All
E,
02.12.13
Fixed an error in the table of Arduino platform
headers, updated customer support page
19, 32
F,
01.07.15
Added more information about two specifics – the
lack of soldering on the GND line of the quartz
crystal and the lack of mini USB protection; improved
the top picture of the board; improved information
about the power jack; uploaded a new schematic; fixed
links
9, 13, 16, 19, 26
G,
26.05.16
Added information on how to connect the board to
Arduino IDE; clarified information about the UEXT
connector
15, 23
H,
21.12.16
Updated json link
23
I,
16.06.16
Fixed wrong Ethernet connector pinout
17
Page 29 of 32
OLIMEX© 2021
STM32-E407 user's manual
J,
22.03.18
Improved the information about how to program via
Arduino; added notices about Arudino programming
23
K,
12.09.18
Fixed a wrong pinout in the UEXT table. Added info
about hardware revision F.
15
L,
07.10.21
Fixed typo PR6 to PE6 pin.
18
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 WSTAKT_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;
F
1. Fixed JMP names – B0.1/B0.1 and B1.1/B1.1 to B0.1/B0.0 and
B1.1/B1.0
2. CD1 with new package 5032 50 MHZ 25ppm 3V.
3. SD card connector new type TFC-WPAPR-08.
4. Changed the bottom double USB key with two SY6280.
5. Changed a lot of electrolyte capacitors with 47uF/6.3V
6. Replaced 200mA ferrite beads with 2A ones; L2 also changed to
FB0805/600R/2A
7. MP1482DS dc-dc replaced with MP1584EN(SOIC8E).
8. Added LAN shielding capacitor.
9. R31 and R21 changed to 1.1K (up from 549R).
10. R50 and R26 changed to 2k (up from 1k)
Page 30 of 32
OLIMEX© 2021
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
interface
ARM-USB-OCD-H – OpenOCD compatible debugger/programmer with JTAG interface,
protection buffers and better power supply circuit
SY0612E – 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
OLIMEX© 2021
STM32-E407 user's manual
10.4 Product support
For product support, hardware information and error reports mail to: support@olimex.com. 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 support@olimex.com 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