background image

OLIMEX© 2016

STM32-H405 user's manual

DISCLAIMER

© 2016 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.

The hardware design of STM32-H405 development board is considered propriety. The board's schematics are available
in pdf format. The original schematic and design files are not available to the public.

The part of the software written by Olimex is released under GPL. However, note that the examples that we distribute
are based on the libraries and projects released by IAR Systems. Make sure that you are acquainted with the license
agreement of IAR Embedded Workbench before using, publishing, or distributing any code based on the software
released by Olimex.

It is possible that the pictures in this manual differ from the actual appearance of 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-H405. THEY ARE CONSIDERED SUITABLE ONLY FOR 
STM32-H405.

Page 2 of 30

Содержание STM32-H405

Страница 1: ...STM32 H405 development board USER S MANUAL Revision B April 2016 Designed by OLIMEX Ltd 2015 All boards produced by Olimex LTD are ROHS compliant ...

Страница 2: ...nt 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...

Страница 3: ...irements 10 3 2 2 Software requirements 11 3 3 Powering the board 12 3 4 Programming the board 12 3 4 1 Using JTAG debugger 12 3 4 2 Using USB cable 12 3 5 Prebuilt software 13 CHAPTER 4 THE STM32F405 MICROCONTROLLER 14 4 Introduction to the chapter 14 4 1 The STM32F405RG features 14 CHAPTER 5 CONTROL CIRCUITY AND HARDWARE MODULES 16 5 Introduction to the chapter 16 5 1 Reset 16 5 2 Clocks 16 5 3 ...

Страница 4: ...troduction to the chapter 23 7 1 Processor family block diagram 23 7 2 Physical memory map 24 CHAPTER 8 SCHEMATICS 25 8 Introduction to the chapter 25 8 1 Eagle schematic 25 8 2 Physical dimensions 27 CHAPTER 9 REVISION HISTORY AND SUPPORT 28 9 Introduction to the chapter 28 9 1 Document revision 28 9 2 Board revision 28 9 3 Useful web links and purchase codes 29 9 4 Product support 30 Page 4 of 3...

Страница 5: ...s JTAG port for programming and debugging programmable LED and programmable button Although a very simple board it is sufficient enough for building USB applications like PC mouse USB mass storage device USB audio class device USB to virtual RS232 port There are plenty of GPIOs on the extension headers which can be used to connect your additional circuits 1 1 Features The board has the following l...

Страница 6: ...ace with connector mini USB 84x48 BW display microphone input with connector headphone output with connector UEXT connector The board can be powered by a 1 5V AA battery there is a battery holder provided Another board quite similar to STM32 H405 is STM32 H103 the board designs are almost identical the main difference is that STM32 H103 uses STM32F103RB If you are looking for a board with similar ...

Страница 7: ... names used to describe them For the actual names check the STM32 H405 board itself 2 1 Layout top view The picture below shows the top side of the board and highlights the most important parts Notice that all on board jumpers are SMD type in order to change the position of the jumpers you would either need to cut between the pads of the jumper or solder the pads together Page 7 of 30 ...

Страница 8: ... important parts at the bottom of the board are the two 26 pin headers EXT1 and EXT2 They allow easier access to some of the pins of the microcontroller Refer to the pinout on the next page for more detailed information on the signals available on EXT1 and EXT2 Page 8 of 30 ...

Страница 9: ...OLIMEX 2016 STM32 H405 user s manual 2 3 EXT pinout bottom view Page 9 of 30 ...

Страница 10: ...l make sure that it is compatible with the software tools which you are going to use during development Also makes sure that the tool is compatible with the STM32F405 processor IMPORTANT The board can be programmed using only a USB cable However it is a slow process this way of programming is not suitable for evaluation research and development Using the USB DFU bootloader might be good idea only ...

Страница 11: ...t up time STM32 H405 example provided by Olimex Is it open source Does it work with Olimex OpenOCD debuggers Quality of customer support OpenOCD Free Highest No Yes Yes Bad CooCox IDE Free High No No Yes Mediocre Rowley Crossworks for ARM Commercial free time limited evaluation version Low No No Yes Good Keil MDK ARM Commercial free size limited evaluation version Low No No No Good IAR EW for ARM ...

Страница 12: ... connector of your hardware tool to the 20 pin female JTAG connector of STM32 H405 Refer to the documentation of your debugger and also to the documentation of the software of choice on instructions how to set the environment 3 4 2 Using USB cable The board can be programmed without a debugger tool In this case you only need a personal computer that is able to run Windows software and an USB cable...

Страница 13: ...ed in the flash memory would not execute 3 5 Prebuilt software Upon powering the board the STAT and PWR LEDs should turn on The board comes with the software which was downloaded and used during the testing of the board This software and its source code could not serve any purpose to the customer who purchased the board since it requires additional custom hardware That is why there is a meaningful...

Страница 14: ...g 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 Inter...

Страница 15: ...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 micr...

Страница 16: ...he power supply circuit of STM32 H405 allows the board to be powered by three sources The most used interface for powering is the USB type B connector It works at 5V DC The board can also be powered via the on board JTAG connector In that case the board receives 3 3V DC from the debugger tool Finally the board can be powered from the EXT headers The best location to power the board would be pins 2...

Страница 17: ...are presented Notes regarding the interfaces are given 6 1 USB connector The USB type B connector allows you to access the USB functionality of STM32 H405 This connector is can be used to power the board The connector is sturdy and typically lasts much longer during extensive use compared to the USB mini or USB micro connectors Note the DFU bootloader uses the USB port The signals follow the famil...

Страница 18: ...tep of its pins Below is the table with the signals of the JTAG This interface can be used with the Olimex s OpenOCD debuggers It is also compatible with most of the ARM debuggers available on the market JTAG SWD debug connector Pin Signal Name Pin Signal Name 1 3 3V 2 3 3V 3 TRST 4 GND 5 TDI 6 GND 7 TMS 8 GND 9 TCK 10 GND 11 GND 12 GND 13 TDO 14 GND 15 RST 16 GND 17 GND 18 GND 19 GND 20 GND Page ...

Страница 19: ...an take signal readings etc The distance between two pins from the same row is 0 1 The distance between the two EXT connectors is exactly 1 Refer to sub chapter 2 3 EXT pinout bottom view for visual representation of each pin of the connectors 6 3 1 EXT1 header EXT1 HEADER PIN STM32H405 PIN PIN STM32H405 PIN 1 PA11 2 PA8 3 PA12 4 PA9 5 3 3V VDD 6 GND 7 PA10 8 PC10 9 PC11 DISC 10 PC12 LED 11 PD2 12...

Страница 20: ...memory to boot from By default they are set so that the board would boot from the user Flash memory 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 either the user Flash memory the System memory or the Embedded SRAM By default B0_H B0_L is set to position B0_L the other jumper B...

Страница 21: ...1 header this is a good place to connect a back up battery that provides voltage in the 2 0 3 3 V range but you would need to open VBAT jumper Important Be careful when you have battery for VBAT and another source of power applied to the board simultaneously If you connect additional battery to the VBAT line on the EXT1 header without opening the VBAT jumper you would damage the board the battery ...

Страница 22: ... button customizable button can be re programmed by the user connected to STM32F405 s pin 14 PA0 also available at pin 4 of the EXT2 header PWR LED indicates when the board is powered cannot be re programmed it is not connected to the main microcontroller STAT LED customizable LED can be re programmed by the user connected to STM32F405 s pin 53 PC12 also available at pin 10 of the EXT1 header this...

Страница 23: ...Y 7 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 7 1 Processor family block diagram Page 23 of 30 ...

Страница 24: ...ap STM32F405RG has 1024Kbytes of flash memory and 192 4 Kbytes of SRAM Inspecting the map below don t forget that all STM32F405YY microcontrollers have neither Ethernet controller nor camera interface STM32F405RG also lacks FSMC memory controller Page 24 of 30 ...

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

Страница 26: ... STAT led0603 green BOOT0 60 NRST 7 PA0 WKUP USART2_CTS ADC0 TIM2_CH1_ETR 14 PA1 USART2_RTS ADC1 TIM2_CH2 15 PA2 USART2_TX ADC2 TIM2_CH3 16 PA3 USART2_RX ADC3 TIM2_CH4 17 PA4 SPI1_NSS USART2_CK ADC4 20 PA5 SPI1_SCK ADC5 21 PA6 SPI1_MISO ADC6 TIM3_CH1 TIM1_BKIN 22 PA7 SPI1_MOSI ADC7 TIM3_CH2 TIM1_CH1N 23 PA8 USART1_CK TIM1_CH1 MCO 41 PA9 USART1_TX TIM1_CH2 42 PA10 USART1_RX TIM1_CH3 43 PA11 USART1_...

Страница 27: ...OLIMEX 2016 STM32 H405 user s manual 8 2 Physical dimensions Note that all dimensions are in thousandths of an inch mil Page 27 of 30 ...

Страница 28: ...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 9 1 Document revision Revision Date Changes Modified pages A 26 11 15 Initial release All B 20 04 16 Fixed and improved the information about VBAT jumper 16 21 9 2 Board revision Revision Date Revision notes C 21 02 14 Initial release Page 28 of 30 ...

Страница 29: ...05 a similar board with more peripherals STM32 405STK a similar board with even more peripherals 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 How to order You can order directly from our web shop or via any of our distributors List of O...

Страница 30: ...t 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 f...

Отзывы: