Home
STM32-H405 development board USER`S MANUAL
Contents
1. Page 27 of 31 OLIMEXO 2015 STM32 H405 user s manual 8 2 Physical dimensions Note that all dimensions are in thousandths of an inch mil o o E m9 E 67511 525mil 2400mil 675mil Page 28 of 31 OLIMEXO 2015 STM32 H405 user s manual CHAPTER 9 REVISION HISTORY AND SUPPORT 9 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 9 1 Document revision Revision Date Changes Modified pages A 26 11 15 Initial release 9 2 Board revision Revision Date Revision notes C 21 02 14 Initial release Page 29 of 31 OLIMEXO 2015 STM32 H405 user s manual 9 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 H405 The official Olimex forums are located here https www olimex com forum ORDER CODES STM32 H405 the version of the board discussed in this document STM32 P405 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 be
2. 29 Sc to the CDS uci rant sls sensed sabe enter 29 Page 4 of 31 OLIMEXO 2015 STM32 H405 user s manual CHAPTER 1 OVERVIEW 1 Introduction to the chapter Thank you for choosing this general purpose development board designed and assembled by Olimex This document provides a user s guide for the Olimex STM32 H405 board As an overview this chapter gives the scope of this document and lists the board s features A comparison between boards similar to STM32 H405 is presented The document s organization is then detailed The STM32 H405 development board enables code development of applications running on the microcontroller STM32F405RG manufactured by STMicroelectronics STM32 H405 board is an entry level development board for the new ARM Cortex M4 family of devices produced by STMicroelectronics Inc With STM32 H405 you can explore the features of STM32 family on budged the board has everything necessary to build simple applications USB port where power is taken and power supply circuit reset and oscillator circuits 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
3. 1 Features The board has the following list of features e MCU STM32F405RG ARM Cortex M4 in LQFP64 pacakge that operates up to 168 Mhz with 1024KB flash memory 192 4 SRAM 2xUSB 2xCAN 2 x I2C 3x12 bit ADCx16 channels 2x12 bit DAC 2xUART 3xSPI 17 timers with up to 51 GPIOs Standard JTAG connector with ARM 2x10 pin layout for programming debugging with ARM JTAG USB type B connector e User button RESET button User LED Power supply LED e On board voltage regulator 3 3V with up to 800mA current Single power supply takes power from USB port or extension connector pin 8Mhzcrystal oscillator 32768 Hz crystal and RTC backup battery connector Extension headers with 0 1 step for all uC ports e FR 4 1 5 mm 0 062 Dimensions 61x34 mm 2 4x1 3 e Distance between the ext connectors 25 4mm 1 Page 5 of 31 OLIMEXO 2015 STM32 H405 user s manual 1 2 Target market and purpose of the board STM32 H405 is a development board featuring a ARM Cortex M4 microcontroller The board can be powered by a number of different sources It can be programmed with a debugger via JTAG or SWD or alternatively with a cable via USB The bpard has a lot of GPIO pins exposed The board is 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 H405 as an interesting bargain and q
4. ARM example It is a good idea to download the latest time limited evaluation version Page 11 of 31 OLIMEXO 2015 STM32 H405 user s manual 3 3 Powering the board The board can be powered in one of the following ways 1 Using the JTAG or SWD debugger the board gets powered via the 20 pin 0 1 step JTAG connector note that some tool might hold the board in RESET state make sure to release the microcontroller from RESET to be able to see the execution of your code 2 Using USB cable the board gets powered via the USB connector the power is provided typically by your computer s USB port 3 Using external power supply in this case the board gets powered via the EXT2 header provide 5 DC to pin 26 of this header then connect the power supply s GND to pin 25 of EXT2 3 4 Programming the board The programming of the board is also fairly straight forward unlike the software development for the board 3 4 1 Using JTAG debugger This is the recommended method of changing the software of the board This is fairly simple from hardware point of view just plug the male 20 pin JTAG 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
5. The board must not be exposed to high electrostatic potentials A grounding strap or similar protective device should be worn when handling the board to avoid electrostatic discharge 3 2 Requirements In order to set up the STM32 H405 optimally you would need a hardware debugger tool and compatible software tools More detailed information may be found in the sub chapters below 3 2 1 Hardware requirements Standard ARM JTAG SWD debugger programmer it can power the board and gives you the ability to program debug the board to select the correct tool 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 if you need to program the board once or twice Additional components can be acquired in order to increase the functionality of the board USB cable with type A and type B connectors in case you want to power the board from the USB port of your personal conputer or alternatively if you want need to utilize the board s USB interface Jumper wires allow solderless access to the exposed pins if you want to directly connect to the extension headers use wires with a female conne
6. UM0412 6 Note that once you ve uploaded the software you would need to change the jumpers back to the original position else the bootloader would start every time and the user program typically stored 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 example available for download at the web page of the board Please download and extract the following archive which contains the recommended initial demo https www olimex com Products ARM ST STM32 H405 resources STM32 H405 examples zip Note that the demo can opened and compiled out of the box ONLY with IAR Embedded Workbench for ARM You can get a free code size or time limited evaluation version of IAR EW for ARM from their official web site requires registration Refer to the ReadMe txt file inside the archive for more information Page 13 of 31 OLIMEXO 2015 STM32 H405 user s manual CHAPTER 4 THE STM32F405 MICROCONTROLLER 4 Introduction to the chapter Some of the details about the main processor in the design of STM32 H405 STM32F405RG are mentioned in this chapter The information is a modified version of the datas
7. 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 amp JTAG interfaces W Cortex M4 Embedded Trace Macrocell 1141 0 ports with interrupt capability Upto 15 communication interfaces m 3x 2 interfaces SMBus PMBus Page 14 of 31 OLIMEXO 2015 STM32 H405 user s manual AUSARTS 2 UARTs 10 5 Mbit s ISO 7816 interface LIN IrDA modem control B 3 SPIs 37 5 Mbits s 2 with muxed full duplex 125 to achieve audio class accuracy via internal audio PLL or external clock B 2 interfaces 2 0B Active B SDIO interface Advanced connectivity USB 2 0 full speed device host OTG controller with on chip PHY W USB 2 0 high speed full speed device host OTG controller with dedicated DMA on chip full speed PHY and ULPI m 10 100 Ethernet MAC with dedicated DMA supports IEEE 1588v2 hardware MII RMII 8 to 14 bit parallel camera interface up to 54 Mbytes s True random number generator CRC calculation unit 96 bit unique ID RTC subsecond accuracy hardware calendar For comprehensive information on the microcontroller visit the ST s web page for a datasheet At the moment of writing the microcontroller datasheet can be found at the following link http www st com st web ui
8. 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 o
9. 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 31 of 31
10. pin of the connectors 6 3 1 EXTI header EXT1 HEADER Tome memes sm mozos om a m m Eo e s ewm s 99 o jp e Ls eremo ow perum Page 20 of 31 OLIMEXO 2015 STM32 H405 user s manual 6 3 2 EXT2 header www smswersm a e ox go s m peo os e per de jm eR as om dem 6 4 Jumper description Please note that all of the jumpers on the board are SMD type If you feel insecure in your soldering cutting technique it is better not to adjust the SMD jumpers 6 4 1 BOOT memory select jumpers B1 H B1 L and BO H BO L are SMD jumpers which define the initial boot default priority of the microcontroller aka which 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 BO H BO L is set to position 1 the other jumper B1 H B1 L is set to L in this configuration the board will try to boot from user Flash memory To boot from the system memory you need to change the position of BO_H BO_L jumper to position BO
11. ADC7 TIM3_CH2 TIM1_CHIN PREK iet EXT1 9 19e AK EXTA 2 PABIUSART4 CK TIM4 CH1IMCO a EXTI 10 42 PC S ANTL TAMP C15 J opr EJ 7 PASIUSART1_TX TIM1_CH2 EXT1 24 JTAG BF m PATOUSARTIRX TIMI_CH3 Pre 0 E 5 5 32_ OUT d PAMIJUSART CTS CANRXIUSBDMITIM1 2 jen ll 10pF usB P 5V_USB 2 23 34V EXT1 4sppp 45 PA12 USART1_RTS CANTX USBDP TIM1_ETR 2x13 TMS 46 PA13JTMS SWDIO Y m e M B 49 PAAJTCK SWCLK BD817 TDI 50 L a gt PA15 JTDITIM2_CH1_ETRISPI1_NSS 1 11 8MHz amp 3v roe S STM32F405RGT6 LQFP64 STM32F103RBT6 LQFP64 C13 27pF 47K R27 L bo eus DISC Q3 RIT BC817 TRST TDI TMS TCK TDO RST 33K K VIN EXT2 26 A D2 PPA EXT2 1 1N5819S C21 C22 D1 T T 5V USB gt 4 gt vin 100nF 100nF sy 158195 VR EXT2 25 lt EXT2 3 C LM1117 T VN vcc A NA 9 gt OUT oo e 1 5 3 25 Ho Raz USBDM ADJ GND R10 1 6 EXT2 6 2 mar 45 240 1 g PWR R222 im Lp b a USBDP 24 3 g C4 STM32 H405 BOARD REVISION C STM32 H103 BOARD REVISION C si C17 C16 R8 R7 THE SCHEMATIC IS SUITABLE FOR BOTH BOARDS MIND THE NOTES AT THE TOP OF THE SCHEMATIC USB cio 390 1 2k 108 R16 ATpF NA OLIMEX LTD BULGARIA OR Board Mount WWW OLIMEX COM
12. G k gt TIM6 16b 1 TIM7 18b DAC2 OUT asAF i Vooa DAC1_OUT as AF Page 24 of 31 APB 142 MHz max 1 1 channel as AF channel as AF RX TX as AF CTS RTS as AF TX as USART3 smear CTS RTS as AF a UART4 RX TX as AF H j TX as N N Kr i MOSI SD MISO SD ext SCK CK ISS WS as AF MOSI SD MISO SD ext SCK CK ISS WS as AF CL SDA SMBA as AF OLIMEXO 2015 7 2 Physical memory map 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 STM32 H405 user s manual nor camera interface STM32F405RG also lacks FSMC memory controller STM32F40xxx memory CORTEX M4 internal peripherals AHB3 Reserved amp bank4 0x8000 0000 Ox7FFF FFFF 512 Mbyte block 3 FSMC bank1 amp bank2 0x6000 0000 OxSFFF FFFF 512 Mbyte block 2 Peripherals 0x4000 0000 Ox3FFF FFFF 512 Mbyte block 1 SRAM 0 2002 0000 Ox3FFF FFFF Reserved SRAM 16 KB aliased by bit banding SRAM 112 KB aliased by bit banding 0 2000 0000 FFFF Reserved 0x2001 C000 0x2001 FFFF 512 Mbyte block 0 Code 0x2000 0000 0x2001 BFFF TEM Reserved oxtFFF 0008 ox1FFF Opti
13. H The boot loader is located in system memory if you want to program the board via the USB and DFUse software use this mode Changing both high positions BO to B1 H B1 to B1 would attempt to boot from the Embedded SRAM Page 21 of 31 OLIMEXO 2015 STM32 H405 user s manual Refer to the STM32 microcontroller system memory boot mode document AN2606 for more information about the bootloader available on STM32F4xx microcontrollers 6 4 2 jumper If you close this jumper RST and TRST at the JTAG will be connected The default R T position is open 6 4 3 VBAT signal and jumper The VBAT pin supplies the RTC the backup registers and the backup SRAM VBAT signal is available at pin 23 of EXT1 header this is a good place to connect a back up battery that provides voltage in the 2 0 3 3 V range Opening this jumper would disconnect pin 23 of EXT1 header from the STM32F405 The default VBAT position is closed 6 4 4 LED E Opening this jumper will disable the user LED The default position is closed 6 4 5 USBP E Opening this jumper would disable the option to power the board from the USB connector The default position is closed Page 22 of 31 OLIMEXO 2015 STM32 H405 user s manual 6 5 Additional hardware components The hardware components below are mounted on STM32 H405 but are not discussed above These are listed here for completeness RESET button used fo
14. MOSI 3 GND ENT E SCUTIM4 TX 3 960 C19 48 aa PB 1264 SONTIM4 ju 19 CH3 I2C1 default to BO L PB TIMA 2 1_ 100nF lcs cs PBjOT862 SCLIUSARTS DXITIM2 CH3 H m mm Pe 11362 SOAJUSARTS RAINE 9 auc E PB 2 SBI2 NSS I2C2 S UbARTs R15 33V n nme ai oe Pa 3isgia SCKUSART E GT STI t CHIN 133K 63 ism MSN Fa RST PB 5 9812_MOSI TIM1_ 3 3V 18 vss MOST 2 19 823 R13 JRO RS R25 PCbIAgCIO s EXTA 255 881 7 r EXT1 19 XE STAT e RST A v RO Bot m pcha 1 20 X F led0603 green a 1 Ldok Ldok Ldok Lok 7 BOOTE PCHAREI PN TRST EXT2 4 PCHADE14 om il PAO WKUP USART2 CTS ADCO TIM2 CH1 PEE s EXT2 12 R4 E PATIUSART2 RTSIADC TIN2 2 13 2k lt AS Exte S PA2IUSART2 TXIADC2 TIM2 CH3 pormo 2 20 g 1 P eaae 7 PA3 USART2_RX ADC3 TIM2_CH4 PchrMscHs EXT221 0 1 1 R24 10K EXT2 H4 _PAYSPI NSS USART2 CK ADC4 LL EXT2 22 w J 1 13 21 CHA al en EXT4 48 SCK ADCS EXT2 24 1 l d 15 RST 22 PC O GSART3 TX IE EJXF 44 PA PAGISPIT MISO ADCGITIMa CHIITIMT BKIN polpa ET 5 t E788 PATISPI_MOSIJ
15. OF DM DMA2 8 Streams AHB 168 MHz LID SOF USB gt T Or AHB bus matrix 887M DP DM ULPI CK D 7 0 DIR STP FIFO 8 Streams AHB1 168 MHz FIFO DMA VDD 1 8 to 3 6 V vss VCAP1 VCPA2 PA 15 0 GPIO PORTA t supervision POR PDR 15 0 GPIO PORT B BOR VSSA PVD Vo0 Voa Ponso 2 GPIO PORT D Sco PENGA GPIO PORT E Reset amp clock GPIO PORT F VBAT 1 65 3 6 V rensa GPIO PORT G 11 B SC32 IN PEDES CTS GPIO PORT H 05032 our KT GPIO PORT I ari RTC AF1 4 channels ETR as AF 4 channels ETR as AF 140AF D 7 0 CMD CK as AF EXT IT WKUP lt gt e 4 channels ETR as AF 4 channels SDIO MMC AHB APB2 AHB APB1 2 channels as AF 4 compl channels TIM4 CH1 1 4 N channels TIM1 CH1 1 4 ETR BKIN as AF TIMT PWM 1e KK 4 compl channels TIM1_CH1 1 4 N 4 channels TIM1_CH1 1 4 ETR BKIN as AF TIM8 PWM 14 5 2 channels as 1 channel as AF 1 channel as AF RX TX CK CTS RTS as AF RX TX CK CTS RTS as AF MOSI MISO NSS as AF VDDREF_ADC 8 analog inputs common to the 3ADCs 8 analog inputs common to the ADC1 amp 2 8 analog inputs for ADC3 APB2 84 MHz gt WWD
16. a personal computer that is able to run Windows software and an USB cable STM32 H405 has a built in USB DFU bootloader that allows such programming Programming STM32 H405 via the bootloader is a slow process that requires the re configuration of SMD jumper It is not recommend for initial evaluation research and development use any ARM JTAG debugger instead Using the bootloader might be good idea only if you need to program the board once or twice How to do it 1 Change the position of one of the boot SMD jumpers L the bottom one By default it is set to position BO_L you need to change it to BO H This requires soldering 2 After the adjustment is done you can connect to the DfuSe software released by STM It available for download from STM s official web site Search for STSW STM32080 3 Install the software and run it Page 12 of 31 OLIMEXO 2015 STM32 H405 user s manual 4 Connect the board via the USB cable to the personal computer 5 The board should now be recognized in the software The bootloader application provided by STM32 is a bit strange It works only with dfu files To upload other binary files hex bin 519 you would need to use additional converter tool DFU File Manager it converts hex bin 19 to dfu and vice versa I highly recommend you to read carefully the document about the usage of the Dfuse called Getting started with DfuSe USB device firmware upgrade Search for
17. ctors 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 ARM JTAG COOCOX high speed CooCox IDE JTAG SWD debugger USB A B CABLE cable with USB type A and USB type B connectors at each end JW 200x10 FM ten jumper wires with female male connectors Page 10 of 31 OLIMEXO 2015 STM32 H405 user s manual 3 2 2 Software requirements In order to change the code on the board you would need an ARM C compiler and debugger software the possible software options are free open source software OpenOCD all Olimex OpenOCD JTAG debuggers are supported in OpenOCD free software CooCox IDE all Olimex JTAGs are supported in CooCox commercial software EW ARM from IAR Systems AB CrossWorks from Rowley all Olimex OpenOCD JTAG debuggers are supported in IAR and Rowley Crossworks note that our debugging tools doesn t work in Keil MDK ARM Comparison table Is it free or Initial STM32 H405 i Does it work Quality of commercial struggle example with Olimex customer and set up OpenOCD debuggers Crossworks for ARM Keil MDK ARM IAR EW for ARM It is a good idea to study the example that is provided by Olimex for your board If you are not willing to purchase the software just use the evaluation version initially Specifically for STM32 H405 Olimex provides only AR EW for
18. e detailed information on the signals available on EXT1 and EXT2 26 PIN EXT2 CONNECTOR MALE PINS 9 0 1 STEP R27 R26 2 AFi aq d E a a e p a C2 nace C8 Fit LM TET LJ r JUMPER R T OPEN 1 i vert T S JUMPER VBAT CLOSED 26 PIN EXT1 CONNECTOR MALE PINS 0 1 STEP JUMPER LED E CLOSED Page 8 of 31 OLIMEXO 2015 2 3 EXT pinout bottom view a ce a I L Lu un rr t or CE g amp ord 5 SS 9 SU ot Pr GU eu we ee oM 15 x EXT EXTA og e DS y a GA KE ue uq qu ah gd Qo AP ged uo 0000000000000 ge qi Qu oe ge qe or qe GS qe QU Page 9 of 31 STM32 H405 user s manual THE USB CONNECTOR IS ABOVE OLIMEXO 2015 STM32 H405 user s manual CHAPTER 3 SETTING UP THE STM32 H405 BOARD 3 Introduction to the chapter This section helps you set up the STM32 H405 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 3 1 Electrostatic warning STM32 H405 is shipped in a protective anti static package
19. heet provided by its manufacturers from ST It is highly recommended to refer to the original datasheet which might be downloaded from the ST s official web side 4 1 The STM32F405RG features STM32 H405 board uses STM32F405RG microcontroller designed and manufactured by STMicroelectronics The main processor of the board is one of the biggest processors of the PIC32MZ family It has the following features that distinguish it from the rest of the family 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 W Flexible static memory controller supporting Compact Flash SRAM PSRAM NOR and NAND memories LCD parallel interface 8080 6800 modes W Clock reset and supply management B 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 VBAT supply for RTC 20x32 bit backup registers optional 4 KB backup SRAM 3x12 bit 2 4 MSPS A D converters 24 channels and 7 2 MSPS in triple interleaved mode 2x12 bit D A
20. n The EAGLE schematic is situated on the next page for quicker reference Page 26 of 31 OLIMEXO 2015 STM32 H405 user s manual 3 3V 3 3V 33V VDDA 1 When STM32F405RG in LQFP64 is mounted C20 and C23 must be populated P N N Cr 2 When STM32F103R8 in LOFP64 is mounted C20 and C23 must be connected in short circuit for example via 0 Ohm resistor e M M d L1 gt 3 0115 symbol refers to STM32F103RB in LOFP64 B1 H B1 L ferrite bead For the STM32F405RG in LQFP64 please see the corresponding datasheet default to B4 L Lo u1 3 PBI ABGS TIM3 CH3 TIM1 CH2N du c9 13 R18 8 VODA PB inggormua chari n BR ilis 10K u2 0 100nF PalBggTi EXT 1 26 NA PBH JTBO TIM2_CH2 TRAGESWOISPI1_SCK 218 RST 1 2 1 4 PB JJISSTITIMG CHT SPHS MISO d E R19 VeGs RESET Ty 2 _5 1 3_ CH2 SPI1
21. on Bytes Ox1FFF C000 OxX1FFF C007 Ox1 FFF 7A10 Ox1FFF 7FFF OX FFF 0000 0x1 FFF 7AOF Ox1bQ1 0000 0x1 FFE FFFF Reserved System memory OTP CCM data RAM 64 KB data SRAM 0 1000 0800 0 1000 FFFF Reserved 0x0810 0000 QxOFFF FFFF Flash g Reserved 0x0010 0000 0x07FRFFFF Aliased to Flash system memory or SRAM depending 0x0000 0000 0x000F FFF on the BOOT pins Page 25 of 31 0xAO000 1000 0xA000 OFFF 0x6000 0000 0x5006 0 00 0x5006 OBFF OxE010 0000 0xE000 0000 OxFFFF FFFF OxEOOF FFFF OxDFFF FFFF OxSFFF FFFF AHB2 OxFFFF FFFF 512 Mbyte block 7 0x5000 0000 Cortex M4 s 0x4008 0000 Ox4FFF FFFF internal 0x4007 FFFF 0xE000 0000 peripherals OxDFFF FFFF 512 Mbyte block 6 Not used OxC000 0000 OxBFFF FFFF Adis 512 Mbyte block 5 FSMC registers OxA000 0000 Ox9FFF FFFF 512 Mbyte block 4 0x4002 000 FSMC bank 3 Reserved 0x4001 5800 0x4001 FFFF 0x4001 57FF 0x4001 0000 0x4000 7800 0x4000 FFFF 0x4000 7FFF 0x4000 0000 OLIMEXO 2015 STM32 H405 user s manual CHAPTER 8 SCHEMATICS 8 Introduction to the chapter In this chapter are located the schematics describing 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 sectio
22. p battery consider using pin 23 of EXT1 header that works with batteries providing voltage in the 2 0 3 3 V range This VBAT pin allows to power the device VBAT domain from an external battery an external supercapacitor or from VDD when no external battery and an external supercapacitor are present VBAT operation is activated when VDD is not present The VBAT pin supplies the RTC the backup registers and the backup SRAM The board consumes around 0 2W e g 0 04A at 5V with both LEDs on By default if you have successfully powered the board both LEDs would turn on In case you you have modified the software the green LED might not turn on since it is initialized by the code Page 16 of 31 OLIMEXO 2015 STM32 H405 user s manual loaded on board The red LED should always turn on upon powering 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 17 of 31 OLIMEXO 2015 STM32 H405 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 6 1 USB connector The USB type B connector allows you to access the USB functionality of STM32 H405 This connec
23. r hardware reset of the board typically cannot be re programmed connected to STM32F405 s pin 7 NRST BUT button customizable button can be re programmed by the user connected to STM32F405 s pin 14 PAO 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 453 PC12 also available at pin 10 of the EXT1 header this LED can also be disabled if you disconnect jumper LED E the jumper pads can also be used for measrements Page 23 of 31 OLIMEXO 2015 STM32 H405 user s manual CHAPTER 7 BLOCK DIAGRAM AND MEMORY 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 STM32F405RG BLOCK DIAGRAM CLK NE 3 0 A 23 0 CCM data RAM 64 KB NJTRST JTDI D 31 0 OEN WEN KJ STAG amp SW MPU NBL 3 0 NL NREG NWATT IORDY CD JTDO SWD ETM NVIC TRACECLK NIORD IOWR INT 2 3 umb D BUS LBUS TRACED 3 0 LINTN 1816 as AF ARM Cortex M4 168 MHz FPU S BUS ART ACCEL gt lt SRAM 16 KB OTG HS rro K Y DP ID VBUS S
24. r 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 31 OLIMEXO 2015 STM32 H405 user s manual Table of Contents CHAPTER 4 THE STM32F405 MICROCONTROLLER ee nee 14 A inttodtictionto the cs DEBE 20002 du 14 SINUM ee d E fetes 14 CHAPTER 5 CONTROL CIRCUITY AND HARDWARE 16 5 Tnttocdicttor tote Cap ecce t occus tpe ee ot etat oot 16 CHAPTER G CONNECTORS AND PINOUT oe e oou cu doc En e aat E 18 Introductio to The ee o aoo ete acea be ora cds oe aian Diei 18 REN opu 20 20 6 3 2 EXT2 header 21 Page 3 of 31 OLIMEXO 2015 STM32 H405 user s manual CHAPTER 7 BLOCK DIAGRAM AND MEMORY eee eee eee es e eee e eee eee see eee eeu sese 24 7 Introduction to the uro EERRRERRRNERRRRR 24 CHAPTER 9 REVISION HISTORY AND 59
25. static active en resource technical document datasheet DM00037051 pdf Page 15 of 31 OLIMEXO 2015 STM32 H405 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 The reset circuit is connected to pin 7 NRST of the STM32F405RG microcontroller STM32 H405 s reset circuit includes R8 10 C19 100nF and RESET button The reset signal is also available on pin 25 of the 1 header It is also available at pin 15 of the JTAG connector 5 2 Clocks There are two quartz crystals available on the board 8 MHz quartz crystal Q1 is connected to pins 5 and 6 of the ARM microcontroller Quartz crystal Q2 is a 32768Hz RTC real time clock and it is connected to microcontroller s pins 3 and 4 5 3 Power supply circuit The 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 26 5V DC and 26 GND from the EXT2 connector Double check the pin locations before providing the power If you want to use a back u
26. the clocks on the board Chapter 6 covers the connector pinout peripherals and jumper description Chapter 7 shows the block diagram and the memory map Chapter 8 provides the schematics Chapter 9 contains the revision history useful links and support information Page 6 of 31 OLIMEXO 2015 STM32 H405 user s manual CHAPTER 2 BOARD DESCRIPTION In this chapter you will get acquainted with the main parts of the board Note the names used on the board differ from the names used to describe them For the actual names check the STM32 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 gt USBP_E JUMPER RESET BUTTON JTAG gt amin 9 40 STH32 H103 STM32 H405 E NM A 1 JLIMEX COM C gt 2013 Rev C BOOT JUMPERS POWER STATUS LED STM32F405 LQFP 64 USER LED USER BUTTON Page 7 of 31 OLIMEXO 2015 STM32 H405 user s manual 2 2 Layout bottom view The two most important parts at the bottom of the board are the two 26 pin headers EXT1 and 2 They allow easier access to some of the pins of the microcontroller Refer to the pinout on the next page for mor
27. thin 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 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
28. tor 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 familiar and standard USB pattern 12 mw sw _ Page 18 of 31 OLIMEXO 2015 STM32 H405 user s manual 6 2 JTAG SWD debug connector The board can be debugged from the 20 pin JTAG connector either by a debugger with compatible connector The on board JTAG connector has 0 1 step 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 3TAG SHD debug connector Pe TDI 6 TMS GND TCK GND GND GND TDO GND RST GND GND GND GND 2 GND Page 19 of 31 OLIMEXO 2015 STM32 H405 user s manual 6 3 EXT connectors At the bottom of the board there are two extension rows of pins These 2 x 26 pin connectors combine different processor ports and provide very nice GPIO option you can interface the signals exposed with your breadboarding wires you can use them as headers you can 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
29. tter power supply circuit How to order You can order directly from our web shop or via any of our distributors List of Olimex distributors may be found here https www olimex com Distributors Please check https www olimex com for more information Page 30 of 31 OLIMEXO 2015 STM32 H405 user s manual 9 4 Product support For product support hardware information and error reports mail to support olimex com 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 wi
30. uite capable board for its low price 1 3 Similar boards The STM32HA05RG microcontroller is also present in two other Olimex made boards STM32 P405 and STM32 405STK Both boards have more built in peripherals compared to STM32 H405 STM32 P405 has MMC card interface with connector UEXT connector CAN interface with connector UART interface with DE 9 connector built in power barrel jack and a small prototype area STM32 405STK has micro SD card interface 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 processor and Ethernet functionality take a look at STM32 E407 board It uses STM32H407ZG 1 4 Document 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 contains the board s layout Chapter 3 provides a guide for quickly setting up the board Chapter 4 describes the component that is the heart of the board the STM32F405 microcontroller Chapter 5 is an explanation of the control circuitry associated with the microcontroller to reset Also shows
31. v l Du dI EI 2 Ute wy E ay Pe Te be ry STM32 H405 development board USER S MANUAL Revision A November 2015 Designed by OLIMEX Ltd 2015 lead free boards produced by Olimex LTD are ROHS compliant OLIMEXO 2015 STM32 H405 user s manual DISCLAIMER 2015 Olimex Ltd OlimexG 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
Download Pdf Manuals
Related Search
Related Contents
Manuale Installazione Uso e Manutenzione Riduttori - Jens-S ptbda 2014 - Ensemble Baroque de Toulouse 取扱説明書等 3. 二次製品等防火水槽等認定細則 - 一般財団法人日本消防設備安全 取扱説明書 8RS232 Interface Card for Loop-AM3440 Casio 2888 Watch User Manual Betriebsanleitung - Operating Instructions Installation - Bradley Corporation Copyright © All rights reserved.
Failed to retrieve file