Home
STM32-H407 development board USER`S MANUAL
Contents
1. 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 EMEN a RENI Erin v Siga ane pin a signal vae pin Signa nane Pin v signat vane je up rg up m ep pem ep sm spe rpm ee sm wp pep pps e epe prm pps sm spes psp pups e ep pem wm jep wp pB Signal Signal Le psp ss 3 pe m ps 3 p pe s pow pu o3 pow pu o 3 pn s pu 3 Rm os s pp pax ps o pm 3 Bs s pe opm p o peo pe 3 ps mpm 3p p wo pr m m 33 po Page 20 of 32 OLIMEXO 2012 STM32 H407 User s Manual 6 8 PWR Jack The power jack used is the typical 2 5mm one used by Olimex in most of our products You should provide between 6 and 16 volts 1A to the board 3 9 More info about the power supply can be found in chapters 2 and 5 of this manual 6 9 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 hel
2. STM32 H407 development board USER S MANUAL Revision A July 2012 Designed by OLIMEX Ltd 2012 lead free All boards produced by Olimex LTD are ROHS compliant OLIMEXO 2012 STM32 H407 User s Manual DISCLAIMER 2012 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 project is released under the Creative Commons Attribution Share Alike 3 0 United States License You may reproduce it for both your own personal use and for commertial use You will have to provide a link to the original creator of the project http www olimex com on any documentation or website You may also modify the files but you must then release them as well under the same terms Credit can be attributed through a link to the creator website http www olimex com 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 OLIM
3. ard S OV IG NOM RR RRRRRRERRRRERRRRREBERRRRRRRRERRRA 29 Page 4 of 32 OLIMEXO 2012 STM32 H407 User s Manual CHAPTER 1 OVERVIEW 1 Introduction to the chapter Thank you for choosing the STM32 H407 single board computer from Olimex This document provides a user s guide for the Olimex STM32 H407 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 OLIMEX STM32 F407 boards are mentioned The document s organization is then detailed The STM32 H407 development board enables code development of applications running on the microcontroller STM32F407ZGT6 manufactured by STMicrocontrollers 1 1 Features STM32F407ZGT6 Cortex MA 210DMIPS 1MB Flash 196KB RAM 3x12 bit 2 4 MSPS A D 2x12 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 USB host 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 90x76 mm 3 54x3 9 9 9 9 9 9 9 9 94 99 Page 5 of 32 OLIMEXO 2012 STM32 H407 User
4. 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 H407 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 H407 and that the programmer supports STM32F407 processor Additional components can be acquired in order to increase the functionality of the board External power supply SD card or USB mini cable or extensive 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 Page 8 of 32 OLIMEXO 2012 STM32 H407 User s Manual 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 USBmini to USB A cable USB mini to USB A cable BATTER
5. 0x4000 2800 0x4000 2400 0x4000 27FF 0x4000 23FF 0x4000 0000 MS19921V2 OLIMEXO 2012 STM32 H407 User s Manual CHAPTER 8 SCHEMATICS 8 Introduction to the chapter In this chapter are located the schematics describing logically and physically STM32 HA07 8 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 dev stm32 h407 html They are located in HARDWARE section The EAGLE schematic is situated on the next page for quicker reference Page 27 of 32 OLIMEXO 2012 RNAS _JRXAGE AITRST PATS TDI BAITMS PATATOR RST PBA TRST SD MMC OR board mounted PA1 DM STM32 H407 User s Manual 3 3v 15R Ra PAIZ OTG FS DP ale Je sree row Tee PA10 USB FS VBUSON PA10 USB FS VBUSC cius pa DZ SD CMD 22uFj6 3V SD MMC CARD us TM32F 4072676 BBSUSB FS FAULT PBSUSB FS FAULT ma OUT BS USB HE FAULT EBS USE HS FAULT BAG A A PABUSH HS VBUSON PABUSH HS VBUSON AAGE D PBiOTG Hs VBUS OR board mounted RMA 3 32 15R PB15 0TG HS DP NA USBLCS sv oT RMIGTECE Pw Be os MIC2026 1YM 33k O3 o VERTICAL USB OTG USR OTG aI PB14 OTG HS DM 15R USB OTS D USB OIG USE O
6. 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 Page 24 of 32 OLIMEXO 2012 STM32 H407 User s Manual 7 1 Processor family block diagram xternal memory CLK NE 3 0 A 23 0 NJTRST JTDI controller FSMC A N D 31 0 OEN WEN FEA SRAM PSRAM NOR Flash NBL 3 0 NL NREG JTCK SWCLK 4 Y i ash JTDO SWD JTDO PC Card ATA NAND Flash NWAIT IORDY CD TRACECLK NIORD IOWR INT 2 3 TRACED 3 0 INTN NIIS16 as AF RT ACCEL CACHE MII or RMII as AF Ethernet MAC MDIO as AF 10 100 FIF Q Camera HSYNC VSYNC K T 4 gt SRAM 112 KB SAE intertace KA PXCLK Di13 0 DP DM 2 USB DMA ULPI CK D 7 0 DIR STP NXT Kee OTG HS FIFO Kk M a KY SRAM 16 KB SCL SDA INTN ID VBUS SOF T M 8 Streams Sec ir SCL SDA INTN ID VBUS SOF DMA FIFO Si q DMA1 8 m es AHB1 168 MHz Power managmt Volgo Vpp 1 8 to 3 6 V regulator 3 3 Vto 1 2 V Vss VcaPt VcAP2 AHB bus matrix 8S7M VDDA VDD Supply ROHS supervision RCLS LS Int POR PDR i J e KC ooa Vssa PLL1 amp 2 NRST VDDA VDD OSC_IN OSC_OUT Reset amp clock 15 0 ca O PORT F control aL apo Ponta OSC32 IN 18 0 lt gt GPIO PORT H H p Stn oO GPIO PORT MIK RIARI Backup register RTC_AF1 AHB APB2 AHB APB1 4 chann
7. pricelist html How to order You can order to us directly or by any of our distributors Check http www olimex com and http olimex com dev order html for more info Page 31 of 32 OLIMEXO 2012 STM32 H407 User s Manual 9 3 Product support For product support hardware information and error reports mail to support olimex com 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 Warranty and returns Our boards have lifetime warranty against manufacturing defects and components During development work it is not unlikely that you can burn your programmer or development board This is normal we also do development work and we have damaged A LOT of programmers and boards during our daily job so we know how it works If our board programmer has worked fine then stopped please check if you didn t apply over voltage by mistake or shorted something in your target board where the programmer was connected etc Sometimes boards might get damaged by ESD shock voltage or if you spill coffee on them during your work when they are powered Please note that warrany do not cover problems caused by unproper use shorts over voltages ESD shock etc If the board has warranty label it should be not broken Broken labels void the warranty same applies for boards modified by the customer for instance soldering additional compo
8. s Manual 1 2 H407 or E407 The major difference between STM32 E407 and STM32 E407 is that the latter has built in Ethernet physical level transceiver Micrel Micrel datasheet STM32 E407 also features an extra USB OTG and a number of SMD jumpers on the bottom which help the user to control the multiplexing on some pins easier STM32 E407 has 2 x USB OTG both with a miniUSB interface STM32 H407 has 1 x USB OTG and 1 x 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 1 3 Target market and purpose of the board STM32 HA07 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 All of the above options make the board quite versatile and suitable for numerous tasks and situations The power of ARM and the creativity of OLIMEX come at the best price and the well known quality Every ARM enthusiast would see STM32 H407 as an interesting ba
9. B Serial wire debug SWD amp JTAG interfaces Page 12 of 32 OLIMEXO 2012 STM32 H407 User s Manual W Cortex M4 Embedded Trace Macrocell B 1141 O ports with interrupt capability W Upto 15 communication interfaces m 3 xI2C interfaces SMBus PMBus m AUSARTSs 2 UARTSs 10 5 Mbit s ISO 7816 interface LIN IrDA modem control B 3 SPIs 37 5 Mbits s 2 with muxed full duplex I2S to achieve audio class accuracy via internal audio PLL or external clock m 2 CAN interfaces 2 0B Active m SDIO interface m Advanced connectivity W 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 internet com TECHNICAL RESOURCES TECHNICAL LITERATURE DAT ASHEET DM00037051 pdf Page 13 of 32 OLIMEXO 2012 STM32 H407 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 cry
10. BLE ONLY FOR STM32 H407 Page 2 of 32 OLIMEXO 2012 STM32 H407 User s Manual Table of Contents CHAPTER 3 STM32 H407 BOARD DESCRIPTION eere eren eene 9 3 Introduction to the clidpter uiiioiiieoeice ed ceo oe ele seii v1 ro ee tee see ea EU ce suere o dee es v eap Uo evo nore D vov PET ERE DR 9 CHAPTER 4 THE STM32F407ZGT6 MICROCONTROLLEXR 11 A Introduction ta the Chapter uui cisci peu a eto satus viru Qr pb x eR iasanen 11 4 1 The STITM32F407ZGT6 eabUEBb eoa co iti eii tor eso ERE eo UR CH DUE EE ra FEE ERE Vea rU EUESE 11 CHAPTER 5 CONTROL CIRCUITY AND HARDWARE MODULES 13 5 Introduction fo the Clapfbr uiii otis cni SURE RUI ue n Exe EE apa RC eR DUt Ic URS Cu mi oil D V kd 13 ON WR OSC EENE E C E L E E E A E A CLR O E T 13 Page 3 of 32 OLIMEXO 2012 STM32 H407 User s Manual CHAPTER 7 BLOCK DIAGRAM AND MEMO RY eee eee eene n neenon 23 7 Introduction to the chapten cacciacarri niasin d e eoa a auo saos s eaae eaa ag ea aos ae a Eo eoa aano 23 CHAPTERS SCHEMATICS an aa steele nee aeaaea Ra ua LR E dag M abd uar 26 8 Introduction to the CliapfE ios cooseon ieu eo shades a auvs tasso 0a 05s i aves issue va sio ous eoe caa as ao Se sa kae vae ua REOS 26 CHAPTER 9 REVISION HISTORY AND SUPPONRT ee eee rennen 29 9 Intr d cton tothe Cha NP m 29 21 Doct TCO ne ee ed rop ERE E E ese aaa 29 9 1 B
11. ETH_RMICMDIO ETH_RMILMDINT ETH RMIL CRS DV M B NA PNIXS VAL PBOAZ BAS AAA 181 0 NA PNIXS Bis SDA SDO DSDCM D7 2C1_SDA CA OTG HS ULL DAETH MI ROC ERIC Ne UPL DUET RMI TX ENETH MI IX ENOTG HS SDAMNE E ULL DETH FMI TXDO HE ULP DS ETH PMI TXDV ETH MI IXDI OTG HS VELE PENTIMI2_CHY GTG HS OWUSARTS_RTS TIME_CHN DT CHSNTIVe CRGNITIN 2 CHE OTG HS DP EKING FOUOTG mo Nit HS ULP Dr LP NXTIETH ME TX Ak PONET T RMI FOX DOETH ff FOX DO ADCT2 ANTA POETH RMI FX DI ETHEMEROE DI ADCIZ INS F2 MOKI CHYSDO DS TXDGM DOrTie SHA MER TIME CHE FXIDCM DUTE FONTI CH CHNIUSAFITS CK PITNE CHIISDIO SDA DCM_D3 TIV SS CKUARTA TX VUARTA RXSP M 5 TXSDIG KOM D TTK ETH RMIL TX EN ETH RMII MDC ETH RMII RxDO ETH RMIL R XD1 PGIZDa PG1UD POIDS GTSD7 USART3 TX USARTS_RX NA PRHXS con AUD j RB11 D9 0ARTS_ RX 2 ANDTO BATDI TISPI M j BASIDI2 a 4 BASS 5 E AGND j AREF NA PNIX ARDUINO SH PLATFORM feet Pree R30 S AK POS USARTE TX g POIIUSARTG RX Peabo SCL 5 PRACI SDA PC2ISPZ MISO CSPI MOS UEXT BHI R31 rota BE POOTTING_ETRUARTS Fou FDS NAEIUSAF FOSFSMC NINATUIUE FOT USARTZ NGLOIDCM D2 NELUDCM D FETVESNC FELUFSNE FEHSIFSMC DIOT DI VTM rar W
12. EX 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 H407 THEY ARE CONSIDERED SUITA
13. R IE Fane D FSMC D FSMC_CLK FSMC NE1 FSMC Dis FSMC Di4 ESMC D15 FSMC A16 FSMC A17 ESMC A18 FSMC Do FSMC Di FSMC NBLO FSMC NBL1 FSMC A23 FSMC A19 FSMC A20 FSMC A21 FSMC A22 FSMC D4 FSMC D5 FSMC Ds FSMC D7 FSMC D FSMC D9 FSMC D10 FSMC_D11 FSMC Di2 POWER SUPPLY CIRCUIT uz 2 2UH 3A YS75 7x8 n4 SMB teA Pi GRD con ios ER MPTABZDS Raof 2 2k 100uFA16V minf EN ao YEOOBC AA C Z0uF 16V mini ToonrF AGND E Page 28 of 32 BBiUSPL SCKJUARIST SBZ UEXI CS NA BF208 PE NA BFi208 lusARTS TX lUSART3 RX Jeno NAGINDS USBOOT 100nF R36 i STM32 H407 Rev B1 OLIMEX LTD PLOVDIV http www olimex com OLIMEXO 2012 STM32 H407 User s Manual 8 2 Physical dimensions Note that all dimensions are in millimeters 0 0 d qus 6000000 Soo iTo des O O O O oj j O O O O O ojo iid FEEEERFEEEEN FEFEEEEERERAM Pod id990999999 id990999999 OQOOQOOOQOQOQOOQLA 99999999 G2 i B rere O O Gh Bod Bea DN Ole 0000000001 0229800090 ERRA ERA 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 capacitators C11 and C3 11 5mm 0 453 Note that the above mea
14. TG D USE OTC ATpF NA Toone PBiz OTG HS ID PBIZOTG BED PBIZOTG NA ESDAGVIL voor DD Yoo DD Yoo DD Yoo DD Yoo DD VoD Bo_1 B0_0 1 OBen BO 0 Close HN1x3 BO DD Voo VCAP 1 AREF EN VBAT FSMC A11 FSMC A12 FSMC A13 FSMC A14 FSMC A15 FSMC_INT2 10 FSMC_NCES FSMC NCES DS SMC NCEA 2 18 NA BH208 PF ETH RMII DDO ETH RMIL TXDT FSMG Aao FSMC A1 FSMC A2 FSMC A8 FSMC AA FSMC AS FSMC NIGRD FSMC NREG FSMC NIOWR FSMC CD FSMC INTR 6 16VDC PWR YD GND jac FSMC A6 FSMC A9 L5 TOUH 2 3A YS75 7x8 cibos IE ARTE FOUFSME RED NC CEA 3 FSIMES NE MC NCEA 2 ETH MIL TX EN MC NBU LSARTE RTE s CTS ETH MI TXDO ETH FIM TXDO IDUETH MI DOUET MI TXDI EE PE Pre FEM PrIOSR PRIV OCM FESIESN FEormwG cram Peme owm ITIM CHINCANZ CHi Tv amp ETRADCIZ3 CHO CHGADCI23 IN1 I ADCI23 IN XL ADCT CH ETRTM TIVE BINT M FIXCLKTTING CHT TIMI KAVA ETH Mi FEX DV TIMI CHTNIFMI PABMEGVUSARTI OKTI CHIL SARTI TXTMI DCM DU OTG FS OTG FS DDCM Di Mn PAISITOVSFIS_NSSI2S3_V HON WAL pen HE ULP DRETH ML EXDSOTG MLR Gane INT ETH_RMILREF_CLK
15. Y LIPO1400MAH lithium polymer battery 1400mAh SY0612E power supply adapter 12V 0 5A for iMX233 STM32 H407 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 2 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 hibernate during power down but it provides insufficient power for the board to operate properly For example the RTC doesn t loose 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 Page 9 of 32 OLIMEXO 2012 STM32 H407 User s Manual CHAPTER 3 STM32 H407 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 H407 board itself The board comes with a bag with 4 headers for the Arduino Maple Pinguino platform which were left unsoldered in
16. ated the information about the heart of STM32 H407 its Cortex M4F microcontroller The information is a modified version of the datasheet provided by its manufacturers from ST 4 1 The STM32F407ZGT 6 features 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 m 1 Mbyte of Flash memory m 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 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 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 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
17. 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 WKUP button Arduino platform PD microSD JTAG SWD Battery connector USB HOST USB OTG Power jack U3BOOT seeeoeeeus PWR_SEL j T E E NON NN SG jumper Set of jumpers RESET button i PWR_LED Arduino platform Page 10 of 32 OLIMEXO 2012 STM32 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 C RCNCNCNCMCHCMCNCMC CHCHCSTOMONRCECNCNCNO CRC MCMC ICNOCNCHNOCMCHONONCHC uU oue RoHS WHA Y Y XJ X IE IC Y EX JI pA d 9 9 e e 9 7 ICH NN E EAM A JUMPER DESCRIPTION rap AS hand TRS sopar alo R T m and r5 General jumper table CITIES CYCICHCR JLAMOE OR X NR P o PHR SEL PACU ifs E STO GT R De I TUER 152 OO Oe NC neeoecvwet s re ee ee ee RARER EAR Oe Boot mode jumper table Power mode jumper table Page 11 of 32 OLIMEXO 2012 STM32 H407 User s Manual CHAPTER 4 THE STM32F407ZGT6 MICROCONTROLLER 4 Introduction to the chapter In this chapter is loc
18. ck 3 FSMC bank1 amp bank2 0x6000 0000 Ox5FFF FFFF 512 Mbyte block 2 Peripherals 0x4000 0000 Ox3FFF FFFF 512 Mbyte block 1 SRAM 0x2002 0000 0x3FFF FFFF 0x2000 0000 OXTFFE FFFF SRAM 16 KB aliased 512 Mbyte by bit banding block 0 SRAM 112 KB aliased Code by bit banding Ox1FFF C008 OX1FFF FFFF Ox1FFF C000 Ox1FFF C007 Ox1FFF 7A10 OXTFFF 7FFF OX FFF 0000 Ox1FFF 7AOF Ox18Q1 0000 OX1FFE FFFF CCM data RAM 64 KB data SRAM Reserved Flash Reserved 0x2001 C000 0x2001 FFFF 0x2000 0000 0x2001 BFFF 0x0000 0000 0x1000 0600 0x1000 FFFF 0x0810 0000 QxOFFF FFFF Page 26 of 32 STM32 H407 User s Manual AHB3 AHB2 Reserved AHB2 Reserved AHB2 Reset clock controller RCC CRC AHB1 Reserved APB2 EXTI SYSCFG Reserved Reserved Reserved APB1 0xA000 1000 OxXBFFF FFFF 0xA000 OFFF 0x6000 0000 0x5006 0C00 OxSFFF FFFF 0x5006 0800 0x5006 OFFF 0x5006 07FF 0x5005 0400 0x5005 03FF 0x5005 0000 0x5004 0000 0x5004 FFFF 0x5003 FFFF 0x5000 0000 0x4002 9400 Ox4FFF FFFF 0x4004 0000 0x4007 FFFF 0x4002 3C00 0x4002 3800 0x4002 3BFF 0x4002 3400 0x4002 37FF 0x4002 3000 0x4002 33FF 0x4002 2400 0x4002 2FFF 0x4002 23FF 0x4002 000 0x4001 4CO00 0x4001 FFFF 0x4001 4BFF 0x4001 4000 0x4001 3C00 0x4001 3FFF 0x4001 3800 0x4001 3BFF 0x4001 3400 0x4001 37FF 0x4001 33FF 0x4001 0000 0x4000 7800 0x4000 FFFF 0x4000 77FF
19. earch for bootloader on three places User Flash Memory System Memory or the Embedded SRAM If BO O0 is closed the board will try to boot from User Flash Memory If BO 1 is closed there are two variants depending on the state of B1 1 B1 0 jumper if BO 1 is closed and B1 O0 is closed the board will try to boot from System Memory If BO 1 is closed and B1 1 is closed bootloader must be located in the Embedded SRAM The default positions are BO 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 Page 22 of 32 OLIMEXO 2012 STM32 H407 User s Manual 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 6 11 6 AREF EN This is SMD type jumper If open unsoldered will disable ADC 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 23 of 32 OLIMEXO 2012 STM32 H407 User s Manual CHAPTER 7 BLOCK DIAGRAM AND MEMORY
20. els ETR as AF 140AF lt S EXT IT WKUP Kr j iI SUELE E CMD aca J SDIO MMC E k 4 compl channels TIM1_CH 1 4 N 4 channels TIM1 CH 1 4 ETR 16b Siam st C4 ETR CY miM pwm k gt 4 compl channels TIM1_CH 1 4 I RX TX CK 4 channels TIM1_CH 1 4 ETR TIM8 PWM 165 le wae CTS RTS as AF BKIN as AF Smoard RX TX CK TM K K_USARTS iba Sq CTS ATS as AF 1 channel as AF Timio ke UART4 IL RX TX as AF La UARTS Ky RX TX as AF MOSI SD MISO SD ext SCK CK SPlatese NSS WS MCK as AF MOSI SD MISO SD ext SCK CK SEISIESg NSS WS MCK as AF SCL SDA SMBA as AF 1 channel as AF TIM11 7 RX TX CK Smcerd USART1 K gt CTS RTS as AF AQ LirDA RX TX CK CTS RTS as AF MOSI MISO SCK NSS as AF APB2 84 MHz APB142 MHz max SCL SDA SMBA as AF VDDREF_ADC SCL SDA SMBA as AF 8 analog inputs common to the 3 ADCs 8 analog inputs common to the ADC1 amp 2 8 analog inputs to ADC3 DAC1 OUT DAC2 OUT as AF as AF The timers connected to APB2 are clocked from TIMxCLK up to 168 MHz while the timers connected to APB1 are clocked Page 25 of 32 OLIMEXO 2012 7 2 Physical memory map OxFFFF FFFF 5iz Mibyte block 7 Cortex M4 s internal OxE000 0000 OxDFFF FFFF 512 Mbyte block 6 Not used 0xC000 0000 OxBFFF FFFF 512 Mbyte block 5 FSMC registers O0xA000 0000 OX9FFF FFFF ere 512 Mbyte block 4 FSMC bank 3 amp bank4 0x8000 0000 Ox7FFF FFFF blo
21. nents or removing components such boards will be not be a subject of our warranty If you are positive that the problem is due to manufacturing defect or component you can return the board back to us for inspection When we receive the board we will check and if the problem is caused due to our fault and we will repair replace the faulty hardware free of charge otherwise we can quote price of the repair Note that all shippings back and forth have to be covered by the customer Before you ship anything back you need to ask for RMA When you ship back please attach to it your shipping address phone e mail RMA and brief description of the problem All boards should be sent back in antistatic package and well packed to prevent damages during the transport Page 32 of 32
22. ou 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 H407 board has UEXT connector and can interface Olimex s UEXT modules For more information on UEXT please visit http www olimex com dev OTHER UEXT pdf UEXT connector Pin Signal Name 1 pe PC6 USART6_ TX 4 PC7 USART6_RX Page 17 of 32 OLIMEXO 2012 STM32 H407 User s Manual 5 PB8 12C1_SCL 6 PB9 12C1_SDA 7 PC2 SPI2_MISO 8 PC3 SPI2_MOSI 9 PB10 SPI2 SCK UART3 TX 10 PG1e UEXT CS 6 4 USB HOST The big advantage of having USB hosts available over USB devices is that you can as well use them as masters A USB host may implement multiple host controllers and each host controller may provide one or more USB ports The signals follow the familiar and standard USB host pattern mw STGNAL name 3 juse roso 3 usemos a jw 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 Psvore Pus Lo puarors e 5 e Page 18 of 32 OLIMEXO 2012 STM32 H407 User s Manual 6 6 Ard
23. p keeping information in the processor if you need to transport the board from one power supply to other o3 9 The pin names are also written on the bottom of the board in the base of the connector 6 10 U3BOOT U3BOOT are 3 pinholes set on USART3 and are named on the bottom GND RX TX3 and notice there are two vias near them which are actually VCC and can be used if connecting U3BOOT More information about booting over UART can be found in the processor s datasheet 6 11 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 Page 21 of 32 OLIMEXO 2012 STM32 H407 User s Manual Also if you feel incapable of removing the PTH jumper with hand better use tweezers We do 6 11 1 PWR SEL PWR SEL is important PTH jumper allowing easy switching of input current If you are powering the board via the PWR_JACK set it to position 1 2 default to the edge of the board 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 BO 1 BO 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 s
24. pherals 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 ENNNELL I A jew rane rie Siame ie a fF 3 pe o ge 4 pe ge 3 pam 3s porr pe 3 ge 3 ume ow p 3 pe ge s manu 39 fae pe m ge 6 2 SD MMC slot The microSD card slot is a standard 8pin connector Page 16 of 32 OLIMEXO 2012 STM32 H407 User s Manual We have tested a number of microSD cards on the STM32 H407 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 3 pme a m 3 pam s m pares 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 y
25. rgain 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 Page 6 of 32 OLIMEXO 2012 STM32 H407 User s Manual Chapter 7 shows the memory map Chapter 8 provides the schematics Chapter 9 contains the revision history useful links and support information Page 7 of 32 OLIMEXO 2012 STM32 H407 User s Manual CHAPTER 2 SETTING UP THE STM32 H407 BOARD 2 Introduction to the chapter This section helps you set up the STM32 H407 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 H407 is shipped in a protective anti static package The board must not be exposed to high
26. stals locations the power supply circuit is discussed 5 1 Reset STM32 H407 s reset circuit includes R21 10KQ R19 1 KQ C35 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 MAF processor Quartz crystal Q2 is a 32 768Hz RTC real time clock and is connected to pins 8 and 9 Page 14 of 32 OLIMEXO 2012 STM32 H407 User s Manual 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 It s 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 15 of 32 OLIMEXO 2012 STM32 H407 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 peri
27. sures does not include the PCB Page 29 of 32 OLIMEXO 2012 STM32 H407 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 Dach Changes Modified Page A 20 07 12 Initial Creation B Page 6 Added comparison details 25 07 12 Page 16 Table error 9 1 Board s revision Revision Date Revision Notes B1 07 06 12 Initial release Page 30 of 32 OLIMEXO 2012 STM32 H407 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 dev stm32 h407 html You can get the latest updates on the software at https github com OLIMEX STM32F4 ORDER CODES STM32 H407 the version of the board discussed in this document 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 JT AG interface protection buffers and better power supply circuit SY0612E power supply adapter 12V 0 5A for STM32 H407 220V European compatibility The latest price list can be found at http olimex com dev
28. uino platform The Arduino Maple platform connectors 2x6pin and 2x8pin 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 pint pin Processor pint Pin Signal Nam Signal signal Name Processor pin EC po epe e 8 e mm md em a a I ejm ede d Arduino platform pinholes Due none Processor pint rin pun nane recen pint De pememm p mpm o os prese pe m p I Eme p me p IR Eme id pe id Cer e er en pe Fes p dee m pe 8 ejm e oe joo n Cer ns den eene BR Page 19 of 32 OLIMEXO 2012 STM32 H407 User s Manual 6 7 20 pin connectors
Download Pdf Manuals
Related Search
Related Contents
Télécharger Nest T3007ES Instructions / Assembly Harbor Freight Tools 91176 User's Manual 3,5“ floppy type 54 in 1 card reader / writer Powermate PM0525312.17 Parts list Trident AG-NOK-LUMIA925-TG mobile phone case Lux TX9100U-006 Installation Guide White Rodgers 1E30N-311 Installation and Operation Instructions Copyright © All rights reserved.
Failed to retrieve file