Home

STM32-P407 development board USER'S MANUAL

image

Contents

1. 1 a s a a a a a GLEJ 2 C44 TTTTTTTTTTETR s a e RU 9 Ut 5836 4 n vig 27 t nde RET 1 R23 37 26 E Dae E 3 9e2 R24 j 2222 2 hoe Jumpers Description SD MMC Card Slot Page 10 of 32 OLIMEXO 2012 STM32 P407 User s Manual CHAPTER 4 THE STM32F407ZGT6 MICROCONTROLLER 4 Introduction to the chapter In this chapter is located the information about the heart of STM32 P407 its microcontroller The information is a modified version of the datasheet provided by its manufacturers 4 1 The microcontroller Core ARM 32 bit Cortex M4 CPU with Adaptive real time accelerator ART Accelerator allowing 0 wait state execution from Flash memory frequency up to 168 MHz memory protection uni
2. STATUS LED INDIC a BUTTONS Page 30 of 32 OLIMEXO 2012 STM32 P407 User s Manual 8 2 Physical dimensions Note that all dimensions are in inches 000702 92270 00670 00987 GETZ STS c S60 22 0 000 0 000 8 138 0 425 8 230 8 410 1 343 2 645 1 mog m 551 c3C24 mcou LCS Ce n 3 628 5 Ea Tem 3 800 LI E en 4 400 o 4 410 5 120 r6 5 475 H H 5 875 6 175 6 300 Page 31 of 32 OLIMEXO 2012 STM32 P407 User s Manual CHAPTER 9 REVISION HISTORY 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 Pages 9 2 Web page of your device The web page you can visit for more info on your device is http www olimex com dev stm32 P407 html There you can find more info and some examples ORDER CODES STM32 P407 completely assembled and tested ARM USB TINY for custo
3. Ye Ee EROS AL 11 CONTROL CIRCUITY 13 5 Introduction to the chapter 13 S TL ResS t u y I 13 5 2 aM T 13 6 Introduction to the chapter 14 6 1 J TA G CODDCUOLr 14 0 2 15 6 3 Pads on Proto area 16 641158 Cnm 17 0 5 USB HOST ununwan 18 6 6 LAN eu o eee oce 18 6 7 PWR TU I 19 Page 3 of 32 OLIMEXO 2012 STM32 P407 User s Manual 6 8 Headphones connecctor 19 G 9 SD MMC Slt 19 6 10 RS232 T k 20 2 20 6 12 CAN ENLA EE EE 21 6 13 Battery Emm 22 6 14 Jumper descrip
4. STM32 P407 development board USER S MANUAL Initial release February 2012 Designed by OLIMEX Ltd 2011 lead free All boards produced by Olimex LTD are ROHS compliant OLIMEXO 2012 STM32 P407 User s Manual Disclaimer 2012 Olimex Ltd Olimex amp logo and combinations thereof are registered trademarks of Olimex Ltd Other terms and product names may be trademarks of others 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 Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material from except with the prior written permission of the copyright holder The product described in this document is subject to continuous development and improvements 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
5. 0 3 mega pixel Samsung 700 camera connector Page 25 of 32 OLIMEXO 2012 STM32 P407 User s Manual 6 17 Additional hardware components The components below are mounted on STM32 P407 but are not discussed above They are listed here for completeness Joystick Temperature sensor Audio out Trimmer Buzzer Additional memory 2 buttons RST button 4 status LEDs PWR LED Page 26 of 32 OLIMEXO 2012 STM32 P407 User s Manual CHAPTER 7 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 Page 27 of 32 OLIMEXO 2012 7 1 Memory map OxFFFF 2 block 7 Cortex M4 s internal 0 000 0000 ipherals OxDFFF FFFF 512 Mbyte block 6 Not used 0 000 0000 OxBFFF FFFF 512 Mby block 5 OXAQ00 0000 FFFF FSMC bank 3 amp bank4 0x8000 0000 Ox7FFF FFFF 512 Mbyte block 3 FSMC bank1 amp bank2 0x6000 0000 OxSFFF 512 Mbyte block 2 Peripherals 0x4000 0000 ox3FFF FFFF 512 Mbyte block 1 SRAM 0x2000 0000 Ox1FFF FFFF 512 Mbyte block 0 Code 0x0000 0000 SRAM 16 KB aliased by bit banding SRAM 112 KB aliased by bit banding Reserved Option Bytes Reserved CCM data RAM 64 KB data SRAM Reserved Flash Reserved Aliased to Flash system memory or SRAM
6. 6 7 PWR Jack Signal Name Power Input ES ZEE 6 8 Headphones connector 6 9 SD MMC slot Signal Name 19 32 OLIMEXO 2012 STM32 P407 User s Manual 6 10 RS232 1 RS232 1 is located on USARTO SPI3 line Check the jumper configuration Pin Signal Name Not Connected 2 T1OUT aw EN Not Connected CTS Not Connected 6 11 RS232 2 RS232 2 is located on USART3 processor pins D13 D14 A17 A16 Signal Name Not connected Page 20 of 32 OLIMEXO 2012 STM32 P407 User s Manual ENL MM Lem 1 eem 1 6 12 CAN connector me sme Ta fee Ts fs eee em Page 21 of 32 OLIMEXO 2012 STM32 P407 User s Manual 6 13 Battery connector 6 14 Jumper description Most of the jumper configurations are printed with white print on the PCB for your convenience PWR SEL On the setting of this jumper depends the way we power the board There is a table printed on the board with the positions You can check the table below also Position 1 2 is the one at the PWR connector side PWR SEL Default position is 3 4 Page 22 of 32 OLIMEXO 2012 STM32 P407 User s Manual STAT1_E STAT2_E STAT3_E STAT4_E Those 4 jumpers control whether the LEDs are powered closed or not open Default st
7. and a RESET button The RESET is also connected to the proto area 5 2 Clock 25 MHz quartz crystal Q1 is connected to pins 23 and 24 of the processor Real time clock RTC Q2 is found at pins 8 and 9 of the processor Page 13 of 32 OLIMEXO 2012 STM32 P407 User s Manual CHAPTER 6 HARDWARE 6 Introduction to the chapter In this chapter are presented the connectors that can be found on the board all together with their pinout Proto area is shown Jumpers functions are described Notes and info on specific peripherals are presented Notes regarding the interfaces are given 6 1 JTAG connector The 20 pin connector provides the interface for or and SWD TRACE programming debugging It is advisable to use SWD TRACE interface programmers JTAG SWD interface opa fee fe fe e Pe aoe Page 14 of 32 OLIMEXO 2012 STM32 P407 User s Manual pe eem pem USB HS VBUSON Dm fee eem j s ms ee Dm fee De px pem 6 2 UEXT STM32 P407 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 Signal Name jm DCMI DO USART6 TX USART6 RX Page 15 of 32 OLIMEXO 2012 SOFTWARE SCL SOFTWARE SDA SD D3 USART3 RX SPI3 MISO SD CLK SPI3 MOSI 1 5 SD D2 USAR
8. product Thank you for purchasing STM32 P407 development board assembled by OLIMEX LTD Page 2 of 32 OLIMEXO 2012 STM32 P407 User s Manual Table of Contents 1 Introduction to the chapter loto ho Un tris ia ena vat etia 5 INE 5 rH CT 5 1 2 er 6 SETTING UP THE STM32 P407 BOARD 7 2 Introduction to the chapter 7 2 1 Electrostatic WarDIHl9 7 2 2 7 2 3 Powering the Doard 8 2 4 PreBuilt agio corio qu a Qu Galau qaa as uu 8 STM32 P407 BOARD DESCRIPTIOLN 9 3 Introduction to the chapter R EEUU RE ERRAT 9 3 1 Layout top view ossos osne 9 3 2 Layout Dottor nro dan end SEHR VERE DEMENS is DUO sss 10 THE STM32F407ZGT6 MICROCONTROLLER eee ee eee LL A Introduction to the chapter 11 4 T rhemnurocontroll r
9. to set up the STM32 P407 the following items are required 5 Vdc Power supply or JTAG or SWD or 5V TRACE or 5V CAN or 5V USB depending on SEL jumper position SWD interface programmer Note additionally the board can be programmed via JT AG interface but there are signals multiplexed with the LCD and the audio so if using interface for programming you might need to implement a software mechanism to stop them or you might not be able to reprogram again You may use a pair of the following devices for this purpose Any of Olimex s ARM JTAG programmer debuuger keeping in mind the note above of Olimex s ARM JTAG programmer debugger ARM JTAG SWD Rowley CrossWorks Also a host based software toolchain is required in order to program debug the STM32 P407 board There are also a number of ready IDEs available like Embedded Workbench Rowley CrossWorks etc At the moment of writing this guide our ARM programmers debuggers equipped with an ARM Page 7 of 32 OLIMEXO 2012 STM32 P407 User s Manual JTAG SWD work fine out of the box with Rowley CrossWorks 2 3 Powering the board Provide 5 V DC to the board s power jack OR 5 V via the JTAG TRACE connector before providing the power set the SEL jumper in the correct position On powering the board the PWR LED the SATA4 LED and the display should turn on The SATA1 SATA2 and SATA3 LEDs must start blinking consecutively I
10. 32 P407 User s Manual CHAPTER 8 SCHEMATICS 8 Introduction to the chapter In this chapter are located the schematics describing logically and physically STM32 P407 8 1 Eagle schematic STM32 P407 schematic is visible for reference here You can also find them on the web page for STM32 P407 at our site http www olimex com dev stm32 P407 html They are located in HARDWARE section The EAGLE schematic is situated on the next page for quicker reference Page 29 of 32 STM32 P407 User s Manual OLIMEXO 2012 LCD BACKLIGHT CIRCUIT COLOUR LCD MODULE POWER SUPPLY CIRCUIT USB_HOST USB CIRCUIT 5UDC_only BUZZER TRIMMER 640x480 UGA CAMERA TEMPERATURE SENSOR CAN DRIVER AUDIO OUT SD MMC CARD Set up in SPI Mode RS232 DRIVERS
11. T3 TX SPI3 SCK STAT3 CS UEXT 6 3 Pads on the proto area STM32 P407 User s Manual For your convenience the pads are named individually near each of them Please take extra care about the numbering but consider that there might be offset muse Lm Pus enn enm _ Dm jm re eno Dm ues fens fs Page 16 of 32 3 309 s PAG 4 0 Pas 0 J 0 PALO ros PB2 E3 0 gt PBS pris PBS PB10 Ef rss PB12 PB13 OLIMEXO 2012 STM32 P407 User s Manual Le saec m s PC13 BUT TAMPER Pc43 PD 1 3 2 PES F1 PE4 PES PEE J PE gt PES J 18 Ey 0 500 VREF E 3 3VA FY TEMP_ALERT USB HS VBUSON AA 6 4 USB OTG Signal Name je Page 17 of 32 OLIMEXO 2012 STM32 P407 User s Manual 6 5 USB HOST PIN SIGNAL NAME je 6 6 LAN connector PIN SIGNAL NAME Co e eme s eee 2 Page 18 of 32 OLIMEXO 2012 STM32 P407 User s Manual
12. ate is closed BOOTO0 E Connected to pin 138 BOOTO VPP enables boot if closed Default state is open HS RST E Controls the RST on the RS232 1 If closed is present Default state is not present Default state is open B1 1 1 0 1 80 0 These jumpers should be moved together and control the camera being powered Default state is B1 0 0 camera powered Page 23 of 32 OLIMEXO 2012 3 3 V MCU When closed enables the power supply on the STM32F207ZET Default state is closed STM32 P407 User s Manual TX BOOT E If closed separates USART6 TX and PC10 Default state is open RD RX BOOT E If closed separates USART6 and 11 Default state is open RO 3 3V Board s digital power supply is disabled if open Enabled if closed Default state is open NM AGND E Page 24 of 32 OLIMEXO 2012 STM32 P407 User s Manual Analog GND is disabled if open If closed Analog GND is enabled Default state is closed HJ R T RST and TRST are separated if open RST and TRST are connected if closed Refer to the schematic near the JTAG connector for how this jumper influences the JTAG programming of the board Default state is open RD CAN T Can termination is disabled if open Default state is open 6 15 LCD Display with backlight replica of Nokia 6610 color display 128x128 pixels 6 16 Color Camera 640x480 pixels
13. ction 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 STM32F407ZGT6 microcontroller Chapter 5 is an explanation of the control circuitry associated with the microcontroller to reset Also shows the clocks on the board Chapter 6 covers the connector pinout peripherals and jumper description Chapter 7 shows the memory map Chapter 8 provides the schematics Chapter 9 contains the revision history Page 6 of 32 OLIMEXO 2012 STM32 P407 User s Manual CHAPTER 2 SETTING UP THE STM32 P407 BOARD 2 Introduction to the chapter This section helps you set up the STM32 P407 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 P407 is shipped in a protective anti static package The board must not be exposed to high electrostatic potentials A grounding strap or similar protective device should be worn when handling the board Avoid touching the component pins or any other metallic element 2 2 Requirements In order
14. depending on the BOOT pins 0 2002 0000 0x2001 C000 0x2001 0x2000 0000 0x2001 BFFF OxiFFF C008 Ox1FFF OxiFFF C000 Ox1FFF C007 1 7A10 Ox1FFF 0000 0x1FFF 7 0x18Q1 0000 FFFF 0 1000 0900 0x1000 0x0810 0000 0x0800 0000 FFFF 0 0010 0000 0x07 0x0000 0000 Page 28 of 32 STM32 P407 User s Manual 1000 0 6000 0000 015006 FFFF AHB2 0x5006 0800 0x5006 OFFF Reserved AHB2 Reserved AHB2 0x5006 7 0 5005 0400 0 5005 0 5005 0000 0 5004 0000 0x5004 FFFF 0 5003 FFFF 5000 0000 0x4002 9400 FFFF Reset clock controller RCC 0 4004 0000 0x4007 0x4002 3C00 0x4002 3800 0x4002 3BFF 0 4002 3400 0x4002 37FF CRC 0x4002 3000 0x4002 0 4002 2400 0x4002 2FFF Reserved APB2 EXTI 0 4002 23FF 0 4002 000 4001 4 00 0x4001 FFFF 4001 0 4001 4000 0 4001 3000 0x4001 3FFF SYSCFG 0x4001 3800 0x4001 3BFF 014001 3400 014001 37FF 0 4001 33FF 0x4001 0000 0 4000 7800 04000 FFFF 0x4000 77FF 0 4000 2800 0 4000 2400 04000 27FF 0 4000 23FF 0 4000 0000 MS19921V2 OLIMEXO 2012 STM
15. f measuring the current consumption it should be around 30 mA 2 4 Prebuilt software On arrival the board has a basic demo installed which features test of the LEDs the LCD the joystick the camera IMPORTANT If you have only a programmer with interface and you need to turn off the peripherals using the JTAG signals press WKUP button Pressing WKUP button will turn of those modules and will allow JTAG reprogramming Page 8 of 32 OLIMEXO 2012 STM32 P407 User s Manual CHAPTER 3 STM32 P407 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 STM32 P407 board itself 3 1 Layout top view Camera 3V Battery connector RST_E and CAN connector UEXT connector RS232_1 RS232_2 BOOTO E LAN Ethernet USB Button RESET HUH OL IHE l i N inm Fe bin GPIO IE Boot mode JUMPER JTAG 20 pin 4 LEDs PWR LED MOUNT HOLE PWR JACK LCD Display Button TAMPER Button WKUP Joystick Trimmer TR Headphone jack PWR SEL Page 9 of 32 OLIMEXO 2012 STM32 P407 User s Manual 3 2 Layout bottom view n SAM p 11 GHEE 8 I iun OLIMEX COH Hh
16. full duplex 125 to achieve audio class accuracy via internal audio PLL or external clock 2 CAN interfaces 2 0B Active SDIO interface Advanced connectivity USB 2 0 full speed device host OTG controller with on chip PHY USB 2 0 high speed full speed device host OTG controller with dedicated DMA on chip full speed PHY and ULPI 10 100 Ethernet MAC with dedicated DMA supports IEEE 1588v2 hardware 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 Microchip 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 If the Cortex M4 processor listed above seems like an overkill we have the same board offered with Cortex M3 one STM32F207ZET6 The name of the board is STM32 P207 The table of comparison can be found below NEN STM32F207ZET6 STM32F407ZGT6 Page 12 of 32 OLIMEXO 2012 STM32 P407 User s Manual CHAPTER 5 CONTROL CIRCUITY 5 Introduction to the chapter Here you can find information about reset circuit and quartz crystal locations 5 1 Reset STM32 P407 reset circuit includes R65 10 R66 560 C45 100 nF STM32F407ZGT6 25 NRST
17. he Olimex STM32 P407 development board As an overview this chapter gives the scope of this document and lists the board s features The document s organization is then detailed The STM32 P407 development board enables code development of applications running on the M4 CORTEX STM32F407ZGT6 microcontroller manufactured by STMicroelectronics 1 1 Features STM32F407ZGT6 Cortex M4 210DMIPS 1 MB Flash 196KB RAM 3x12 bit 2 4 MSPS A D 2x12 bit D A converters USB HS and USB HS Ethernet 14 timers 3 SPI 3 2 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 512 fast external SRAM on board 4Status LEDs Stereo Audio Codec 54344 driver Temperature sensor Trimmer potentiometer Joystick for navigation 6610 LCD color 128x128 pixel TFT display SAMSUNG E700 VGA camera 640x480 color Tamper and Wakeup buttons 2 5232 drivers and connectors 25 Mhz quartz crystal USB OTG USB HOST 100 Mbit Ethernet Mini SD MMC card connector Page 5 of 32 OLIMEXO 2012 STM32 P407 User s Manual UEXT connector Power Jack RESET button and circuit Power on led 3V battery connector Extension port connectors for many of microcontrollers pins PCB FR 4 1 5 mm 0 062 soldermask silkscreen component print Dimensions 160x116 mm 6 3x4 6 1 2 Organization Each se
18. m programming debugging ARM USB TINY H for custom programming debugging USB MINI CABLE USBmini to USB A cable ARM JTAG SWD SWD adapter for our ARM JTAG programmers How to order You can order to us directly or by any of our distributors Check our webpage http www olimex com for more info Page 32 of 32
19. t 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 core coupled memory data RAM Flexible static memory controller supporting Compact Flash SRAM PSRAM NOR and NAND memories LCD parallel interface 8080 6800 modes Clock reset and supply management 1 8 V to 3 6 V application supply and I Os POR PDR PVD and BOR 4 to 26 MHz crystal oscillator Internal 16 MHz factory trimmed RC 1 accuracy 32 kHz oscillator for RTC with calibration Internal 32 kHz RC with calibration Sleep Stop and Standby modes 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 Serial wire debug SWD amp JTAG interfaces Page 11 of 32 OLIMEXO 2012 STM32 P407 User s Manual Cortex M4 Embedded Trace Macrocell Up to 114 ports with interrupt capability Up to 15 communication interfaces 3 interfaces SMBus PMBus 4 USARTs 2 UARTS 10 5 Mbit s ISO 7816 interface LIN modem control 3 SPIs 37 5 Mbits s 2 with muxed
20. tion UU U 22 6 15 LCD Display with backlight 25 6 16 VGA Color er Nec 25 6 17 Additional hardware components 26 CHAPTER y RE 7 MEMORY 7 Introduction to the chapter 27 7 1 Memory uuu EN Y PREIS MINE E ARN 28 8 Introduction to the chapter 29 8 1 Eagle esas 29 8 2 Physical AMEN SIONS ss u a 31 9 Introduction to the chapter 32 9 1 D0C0DWentiPevVISI0DB 32 9 2 Web page REEL DURER AED 32 Page 4 of 32 OLIMEXO 2012 STM32 P407 User s Manual CHAPTER 1 OVERVIEW 1 Introduction to the chapter Thank you for choosing the STM32 P407 development board from Olimex This document provides a User s Guide for t

Download Pdf Manuals

image

Related Search

Related Contents

Jet Tools JJ-8CS User's Manual  HJÄLPSAM  American Standard 2425E User's Manual  Operating Instructions Floor Saw FSD1049  RANDOM ORBITAL BUFFER INSTRUCTION MANUAL 3 in (77  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.