background image

OLIMEX© 2014

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 25 of 32

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

Страница 1: ...STM32 P407 development board USER S MANUAL Revision D May 2014 Designed by OLIMEX Ltd 2011 All boards produced by Olimex LTD are ROHS compliant ...

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

Страница 3: ...out top view 9 3 2 Layout bottom view 10 CHAPTER 4 THE STM32F407ZGT6 MICROCONTROLLER 11 4 Introduction to the chapter 11 4 1 The microcontroller 11 5 Introduction to the chapter 13 5 1 Reset 13 5 2 Clock 13 CHAPTER 6 HARDWARE 14 6 Introduction to the chapter 14 6 1 JTAG connector 14 6 2 UEXT 15 6 3 Pads on the proto area 16 6 4 USB_OTG 17 6 5 USB HOST 17 6 6 LAN connector 17 6 7 PWR Jack 18 6 8 He...

Страница 4: ...HAPTER 7 MEMORY 25 7 Introduction to the chapter 25 7 1 Memory map 26 CHAPTER 8 SCHEMATICS 27 8 Introduction to the chapter 27 8 1 Eagle schematic 27 8 2 Physical dimensions 29 CHAPTER 9 REVISION HISTORY 30 9 Introduction to the chapter 30 9 1 Document revision 30 9 2 Web page of your device 31 9 3 Product support 32 Page 4 of 32 ...

Страница 5: ... MSPS A D 2 12 bit D A converters USB OTG HS and USB OTG HS Ethernet 14 timers 3 SPI 3 I2C Ethernet 2 CANs 3 12 bit ADCs 2 12 bit DACs 114 GPIOs Camera interface JTAG connector with ARM 2x10 pin layout for programming debugging 512 KB fast external SRAM on board 4 Status LEDs Stereo Audio Codec CS4344 CAN driver Temperature sensor Trimmer potentiometer Joystick for navigation 6610 LCD color 128x12...

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

Страница 7: ...er Note 1 additionally the board can be programmed via JTAG interface but there are signals multiplexed with the LCD and the audio so if using JTAG interface for programming you might need to implement a software mechanism to stop them or you might not be able to reprogram again Note 2 the board can also be programmed via the USART RS232_1 connector using the built it bootloader application withou...

Страница 8: ...e same label Ground pad is named AGND 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 If 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 Note that the demo pr...

Страница 9: ... 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 P407 board itself 3 1 Layout top view Page 9 of 32 ...

Страница 10: ...OLIMEX 2014 STM32 P407 user s manual 3 2 Layout bottom view Page 10 of 32 ...

Страница 11: ... 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 20 32 bit backup registers optional 4 KB backup SRAM 3 12 bit 2 4 MSPS A D converters 24 channels and 7 2 MSPS in triple interleaved mode 2 12 bit ...

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

Страница 13: ...uartz crystal locations 5 1 Reset STM32 P407 reset circuit includes R65 10 KΩ R66 560 Ω C45 100 nF STM32F407ZGT6 pin 25 NRST 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 ...

Страница 14: ...ll not be able to debug the display of the board If you wish to program the board with JTAG make sure to hold the WKUP button when programming debugging until you wipe the system memory or the JTAG will not connect This behavior is caused by the initial demo which redefines the pin to show the display Another workaround is to set the bootloader jumpers so the board would attempt to boot from the E...

Страница 15: ...ND 8 TDI I2S3_WS 18 DCMI_D6 9 GND 19 GND 10 RST 20 DCMI_D7 6 2 UEXT STM32 P407 board has UEXT connector and can interface Olimex s UEXT modules For more information on UEXT please visit https www olimex com Products Modules UEXT Pin Signal Name 1 3 3V 2 GND 3 DCMI_D0 USART6_TX 4 USART6_RX 5 SOFTWARE SCL 6 SOFTWARE SDA 7 SD_D3 USART3_RX SPI3_MISO 8 SD_CLK SPI3_MOSI 9 SD_D2 USART3_TX SPI3_SCK 10 STA...

Страница 16: ...9 OTG_FS_VBUS PG4 A14 PA10 DCMI_D1 PG5 A15 PB0 LCD_BL PG6 RIGHT JOYSTICK PB1 BUZ PG9 USART6_RX PB2 CAM_ENB PG10 SOFT_SCL PB5 I2S3_SD PF15 A9 PB9 CAN1_TX PF14 A8 PB10 USB_FS_FAULT PF13 A7 PB12 OTG_HS_ID PF12 A6 PB13 OTG_HS_VBUS PF11 CAM_RST PAD Signal Name PAD Signal Name PC5 ETH_RMII_RXD1 PF10 ETH_RXER PC13 BUT TAMPER PF9 SSTAT4 CAM_PWR PD6 LCD_CS PF8 STAT3 CS_UEXT PE0 BLE PF7 STAT2 CAN_CTRL PE1 B...

Страница 17: ...E10 D7 PE13 D10 PE11 D8 PE12 D9 5V 5V DC VBAT VBAT 6 4 USB_OTG Pin Signal Name 1 5V 2 D 3 D 4 OTG_HS_ID 5 GND 6 5 USB HOST PIN SIGNAL NAME 1 5 V 2 USB_HOST_D 3 USB_HOST_D 4 GND 6 6 LAN connector PIN SIGNAL NAME 1 TX 2 TX 3 VDD 4 NOT CONNECTED 5 NOT CONNECTED 6 VDD 7 RX 8 RX Page 17 of 32 ...

Страница 18: ...ual LED Color Usage Right Green Link status Left Yellow Activity status 6 7 PWR Jack Pin Signal Name 1 Power Input 2 GND 6 8 Headphones connector 6 9 SD MMC slot Pin Signal Name 1 DAT2 2 DAT3 CS 3 CMD DI 4 VDD 5 CLK SCLK Page 18 of 32 ...

Страница 19: ...he board for bootloader mode as explained below Step 0 It is good idea to revert all jumpers to default positions in the beginning Step 1 Change jumper B0_1 B0_0 to B0_1 position as said in the table print Boot Mode System Memory Step 2 RST_E and BOOT0_E should be open as per default if they are closed they are located below the RS232 connectors Step 3 Close TX_BOOT_E and RX_BOOT_E by soldering Th...

Страница 20: ... A16 Pin Signal Name 1 Not connected 2 T1OUT 3 R1IN 4 Not connected 5 GND 6 Not connected 7 CTS 8 RTS 9 Not connected 6 12 CAN connector Pin Signal name 1 Not connected 2 CANL 3 VSS 4 Not connected 5 VSS 6 GND 7 CANH 8 Not connected 9 5V_CAN 6 13 Battery connector Pin Signal Name 1 VBAT 2 GND Page 20 of 32 ...

Страница 21: ...5V_USB_OTG 9 10 5V_TRACE Default position is 3 4 STAT1_E STAT2_E STAT3_E STAT4_E Those 4 jumpers control whether the LEDs are powered closed or not open Default state is closed BOOT0_E Connected to pin 138 BOOT0 VPP enables boot when open Default state is open RST_E Controls the RST on the RS232_1 If closed is present Default state is not present Default state is open B1_1 B1_0 B0_1 B0_0 These jum...

Страница 22: ...3V_E Board s digital power supply is disabled if open Enabled if closed Default state is open AGND_E Analog GND is disabled if open If closed Analog GND is enabled Default state is closed 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 CA...

Страница 23: ... button 4 status LEDs PWR LED 6 18 Notes on interfaces Note that due the evaluation nature of the board not all interfaces are immediately available on the proto area Some of the signals are used by peripherals and other devices One of those interfaces were the 3 x I2C which were sacrificed for additional peripherals and signals that are hard to implement on software level There are ways of course...

Страница 24: ...CAN interface When you have chosen the preferred I2C port you need to decide whether to remove the peripheral it is connected to or to disable it by software means instead of removing components just always set the needed signals as outputs disable input and connect additional wires The final thing to do is to use 2 2k pull up resistors on the lines you have chosen for instance I2C1_SCL and I2C1_S...

Страница 25: ... 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 25 of 32 ...

Страница 26: ...OLIMEX 2014 STM32 P407 user s manual 7 1 Memory map Page 26 of 32 ...

Страница 27: ... 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 https www olimex com Products ARM ST STM32 P407 They are located in HARDWARE section The EAGLE schematic is situated on the next page for quicker reference Page 27 of 32 ...

Страница 28: ...4 R125 R126 R127 R128 R129 R130 R131 R132 R133 R134 R135 R136 R137 R138 R139 R140 R141 R142 R143 R144 R145 R146 R147 R148 R149 R150 R151 R152 R153 R154 RESET RM1 RM2G1 RM2G2 RM2G3 RM2G4 RM3G1 RM3G2 RM3G3 RM3G4 RM4G1 RM4G2 RM4G3 RM4G4 RM5G1 RM5G2 RM5G3 RM5G4 RM6G1 RM6G2 RM6G3 RM6G4 1 2 3 4 5 6 7 8 9 RS232_1 1 2 3 4 5 6 7 8 9 RS232_2 RST 1 2 RST_E 1 2 RX_BOOT_E CD DAT3 CS 2 CLK SCLK 5 CMD DI 3 DAT0 ...

Страница 29: ...OLIMEX 2014 STM32 P407 user s manual 8 2 Physical dimensions Note that all dimensions are in inches Page 29 of 32 ...

Страница 30: ...dified Pages A Initial Creation All B Additional information about the JTAG interface Additional information about the I2C availability ARM JTAG COOCOX added to compatible programmers Added better disclaimer and added product support page Changed links with proper ones Overall change of the design of the document All C Added information how to enter bootloader mode 7 19 20 D Fixed improper jumper ...

Страница 31: ... debugger with JTAG and SWD interfaces USB MINI CABLE USB mini to USB A cable ARM USB TINY for custom programming debugging ARM USB TINY H for custom programming debugging ARM JTAG SWD SWD adapter for our ARM JTAG programmers How to order You can order directly from our web shop or from any of our distributors For the list of distributors visit https www olimex com Distributors Check our webpage h...

Страница 32: ...ffee on them during your work when they are powered Please note that warranty do not cover problems caused by improper 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 components or removing components such boards will be not be a subject ...

Страница 33: ... 401 Building No 5 JiuGe Business Center Lane 2301 Yishan Rd Minhang District Shanghai China Sales Direct 86 21 6401 6692 Email amall ameya360 com QQ 800077892 Skype ameyasales1 ameyasales2 Customer Service Email service ameya360 com Partnership Tel 86 21 64016692 8333 Email mkt ameya360 com ...

Отзывы: