background image

OLIMEX© 2018

STM32-H407 user's manual

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

The default position is 1-2.

6.11.2 B1_1/B1_0 and B0_1/B0_0

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

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

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

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

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

6.11.3 R-T

This is SMD type jumper.

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

The default position is open/unsoldered.

6.11.4 3.3V_E

This is SMD type jumper.

Board digital power will be disabled if open/unsoldered

The default position is closed.

6.11.5 AGND_E

This is SMD type jumper.

If open/unsoldered will disable analog ground.

The default position is closed.

Page 20 of 30

Summary of Contents for STM32-H407

Page 1: ...STM32 H407 development board USER S MANUAL Document revision G March 2018 Designed by OLIMEX Ltd 2012 All boards produced by Olimex LTD are ROHS compliant ...

Page 2: ...es 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 developmen...

Page 3: ...ION 9 3 Introduction to the chapter 9 3 1 Layout top view 9 3 2 Layout bottom view 10 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 chap...

Page 4: ...INO IDE 22 CHAPTER 8 BLOCK DIAGRAM AND MEMORY 23 8 Introduction to the chapter 23 8 1 Processor family block diagram 23 8 2 Physical memory map 24 CHAPTER 9 SCHEMATICS 25 9 Introduction to the chapter 25 9 1 Eagle schematic 25 9 2 Physical dimensions 27 CHAPTER 10 REVISION HISTORY AND SUPPORT 28 10 Introduction to the chapter 28 10 1 Document revision 28 10 2 Hardware revision 28 10 3 Useful web l...

Page 5: ...e microcontroller STM32F407ZGT6 manufactured by STMicrocontrollers 1 1 Features STM32F407ZGT6 Cortex M4 210DMIPS 1MB Flash 196KB RAM 3 12 bit 2 4 MSPS A D 2 12 bit D A converters USB OTG HS and USB OTG HS Ethernet 14 timers 3 SPI 3 I2C Ethernet 2 CANs 3 12 bit ADCs 2 12 bit DACs 114 GPIOs Camera interface JTAG connector with ARM 2 10 pin layout for programming debugging UEXT connector USB host USB...

Page 6: ... shields giving the board additional features altogether with the option to add Olimex extension modules on the OLIMEX UEXT The board can be programmed via Arduino IDE using USB_HOST connector All of the above options make the board quite versatile and suitable for numerous tasks and situations The power of ARM and the creativity of OLIMEX come at the best price and the well known quality Every AR...

Page 7: ...programmer be sure that you are aware what software tools you are going to use when programming STM32 H407 and that the programmer supports STM32F407 processor The board can also be programmed with Arduino IDE via USB cable with USB type A connector using board s USB HOST connector Additional components can be acquired in order to increase the functionality of the board External power supply SD ca...

Page 8: ...an customers we sell an affordable power supply adapter 12V 0 5A SY0612E It is worth mentioning that the board can NOT be powered by the battery connector The battery connected keeps some of the processor s functions remain intact hibernate during power down but it provides insufficient power for the board to operate properly For example the RTC doesn t lose the values when there is a battery conn...

Page 9: ...H407 board itself The board comes with a bag with 4 headers for the Arduino Maple Pinguino platform which were left unsoldered in case you don t wish to use those environments or you don t plan on using shields There is also a bag of 4 rubber pads which can be placed in the 4 corner holes of the board That way the board will be safe from short circuiting on the bottom if placed on low resistance s...

Page 10: ...H407 user s manual 3 2 Layout bottom view On the bottom there are three tables printed general jumper table boot mode jumper table power mode jumper table The default positions of the tables are also shown Page 10 of 30 ...

Page 11: ...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 ...

Page 12: ...8v2 hardware MII RMII 8 to 14 bit parallel camera interface up to 54 Mbytes s True random number generator CRC calculation unit 96 bit unique ID RTC subsecond accuracy hardware calendar For comprehensive information on the microcontroller visit the ST s web page for a datasheet At the moment of writing the microcontroller datasheet can be found at the following link Document DM00037051 Page 12 of ...

Page 13: ...ck and is connected to pins 8 and 9 5 3 Power supply circuit The power supply circuit of STM32 H407 allows flexible input supply from 6V to 16V direct current This means a wide range of power supplies adapters converters are applicable The maximum amperage the board can draw is 1A The Li Po battery connector cannot be used to fully power the board Its function is to give an option to save internal...

Page 14: ...d 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 Pin Signal Name 1...

Page 15: ...ector Pin Signal Name 1 DAT2 RES 2 CD DAT3 CS 3 CMD DI 4 VDD 5 SCL SCLK 6 VSS 7 DAT0 RES 8 DAT1 RES Notice that the pad numeration is written at the bottom of STM32 H407 under the microSD card connector When removing the card please make sure that you release it from the connector by pushing and NOT by pulling the card directly this can damage both the connector and the microSD card 6 3 UEXT modul...

Page 16: ...D 3 USB_HOST_D 4 GND 6 5 USB_OTG USB On The Go often abbreviated USB OTG is a specification that allows USB devices such as digital audio players or mobile phonesto act as a host allowing a USB flash drive mouse or keyboard to be attached and also connecting USB peripherals directly for communication purposes among them Pin Signal Name 1 5V_OTG_PWR 2 USB_OTG_D 3 USB_OTG_D 4 PB12 OTG_HS_ID 5 GND 6 ...

Page 17: ...inted near the actual pinhole on the top of the board Arduino platform pinholes CON1 CON2 Pin Signal Name Processor pin Pin Signal Name Processor pin RST RST 25 A0 PC0 26 3V3 3 3V A1 PC1 27 5V 5V A2 PB0 46 GND GND A3 PB1 47 GND GND A4 PC4 44 VIN VIN A5 PC5 45 Arduino platform pinholes CON3 CON4 Pin Signal Name Processor pin Pin Signal Name Processor pin D0 PA3 USART_RX 37 D8 PA1 35 D1 PA2 USART_TX...

Page 18: ...eded etc PD PE Pin Signal Name Pin Signal Name Pin Signal Name Pin Signal Name 1 3 3V 11 PD8 1 3 3V 11 PE8 2 GND 12 PD9 2 GND 12 PE9 3 PD0 13 PD10 3 PE0 13 PE10 4 PD1 14 PD11 4 PE1 14 PE11 5 PD2 15 PD12 5 PE2 15 PE12 6 PD3 16 PD13 6 PE3 16 PE13 7 PD4 17 PD14 7 PE4 17 PE14 8 PD5 18 PD15 8 PE5 18 PE15 9 PD6 19 5V 9 PE6 19 5V 10 PD7 20 GND 10 PE7 20 GND PF PG Pin Signal Name Pin Signal Name Pin Signa...

Page 19: ...s from the U3BOOT connector would be getting the output of the available demo program on a computer terminal via USB SERIAL CABLE M https www olimex com Products Components Cables USB Serial Cable USB Serial Cable M U3BOOT are 3 pinholes set on USART3 and are named on the bottom GND RX3 TX3 and notice there are two vias near them which are actually VCC and can be used if connecting U3BOOT More inf...

Page 20: ... board will try to boot from User Flash Memory If B0_1 is closed there are two variants depending on the state of B1_1 B1_0 jumper if B0_1 is closed and B1_0 is closed the board will try to boot from System Memory If B0_1 is closed and B1_1 is closed bootloader must be located in the Embedded SRAM The default positions are B0_0 and B1_0 Boot from User Flash Memory 6 11 3 R T This is SMD type jumpe...

Page 21: ... reference The default position is closed 6 12 Additional hardware components The components below are mounted on STM32 H407 but are not discussed above They are listed here for completeness Reset button used for hardware reset of the board WKUP button can be used as user button User LED Power LED Page 21 of 30 ...

Page 22: ...talled it will download the compiler so it will take some time 5 Select Tools Board STM32 H407 6 Select File Examples STM32 H407 choose one of the examples 7 Connect the USB cable to USB_HOST port big USB port of STM32 H407 8 Set the board in DFU bootloader mode set jumper B0_1 B0_0 B0_1 and B1_1 B1_0 B1_0 and reset the board 8 1 If the device is not recognized install driver WinUSB using Zadig in...

Page 23: ...MEMORY 8 Introduction to the chapter Below you can find a memory map for this family of processors It is strongly recommended to refer to the original datasheet released by STMicroelectronics for one of higher quality 8 1 Processor family block diagram Page 23 of 30 ...

Page 24: ...OLIMEX 2018 STM32 H407 user s manual 8 2 Physical memory map Page 24 of 30 ...

Page 25: ... logically and physically STM32 H407 9 1 Eagle schematic STM32 H407 schematic is visible for reference here You can also find them on the web page for STM32 H407 at our site https www olimex com Products ARM ST STM32 H407 They are located in HARDWARE section The EAGLE schematic is situated on the next page for quicker reference Page 25 of 30 ...

Page 26: ...4 5 6 U1 ENA 1 ENB 4 FLAG_A 2 FLAG_B 3 GND 6 IN 7 OUT_A 8 OUT_B 5 U2 1 2 3 4 5 6 U3 1 2 3 U3BOOT 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 BOOT0 VPP 138 NRST 25 PA0 WKUP USART2_CTS USART4_TX ETH_MII_CRS TIM2_CH1_ETR TIM5_CH1 TIM8_ETR ADC123_CH0 34 PA1 USART2_RTS USART4_RX ETH_RMII_REF_CLK ETH_MII_RX_CLK TIM5_CH2 TIM2_CH2 ADC123_IN1 35 P A2 U...

Page 27: ...ons are in millimeters The three highest elements on the board in order from the tallest to the shortest are capacitor C46 17 2mm 0 677 over the pcb USB host connectors 14 3mm 0 563 capacitors C11 and C3 11 5mm 0 453 Note that the above measures does not include the PCB Page 27 of 30 ...

Page 28: ...ed Page A 20 07 12 Initial Creation All B 25 07 12 Page 6 Added comparison details Page 16 Table error 6 16 C 14 02 13 All pages formatting Added info about the DFU bootloader All 17 D 27 11 13 Formatting fixes Updated disclaimer and warranty information All 2 28 E 18 05 16 Fixed wrong entry about UEXT pin 10 Updated links 15 F 21 12 16 Updated link for Arduino configuration 22 G 22 03 18 Improved...

Page 29: ...cument STM32 E407 the version of the board featuring 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 H407 220V European compatibility How to order You can order directly from our web...

Page 30: ...ct 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 ...

Page 31: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Olimex Ltd STM32 H407 ...

Reviews: