background image

OLIMEX© 2015

STM32-P405 user's manual

6.9 Extension pins and prototype area

At the right side of the board are is a column of pins. Each of them is connected to a signal – the name of 
the signal available at a pin is printed next to it. Each of these extension pins carry the same signal as the 
row of pinholes next to it. This prototype area provides 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 adjacent pinholes is 0.1''.

Refer to sub-chapter “2.3 Prototype area pinout (top view)” for visual representation of each pin near the 
connectors.

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 B0_H/B0_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, B0_H/B0_L is set to position B0_L; the other jumper B1_H/B1_L is set to B1_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 B0_H/B0_L jumper to position 
B0_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 (B0_H/B0_L to B0_H; and B1_H/B1_L to B1_H) would attempt to boot 
from the Embedded SRAM.

Refer to the “STM32 microcontroller system memory boot mode” document (“AN2606”) for more 
information about the bootloader available on STM32F4xx microcontrollers.

6.4.2 RTS_E

Closing this jumper enables RTS line on the RS232_2 connector.

The default position of jumper RTS_E: open.

6.4.3 CTS_E

Closing this jumper enables the CTS line on the RS232_2 connector via the WAKE-UP button.

The default position of jumper CTS_E: open.

Page 21 of 31

Summary of Contents for STM32-P405

Page 1: ...STM32 P405 development board USER S MANUAL Revision A December 2015 Designed by OLIMEX Ltd 2015 All boards produced by Olimex LTD are ROHS compliant ...

Page 2: ...nt are given by OLIMEX in good faith However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded This document is intended only to assist the reader in the use of the product OLIMEX Ltd shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in...

Page 3: ...cable and bootloader software 11 3 4 3 Using RS232 cable and bootloader software 12 3 5 Prebuilt software 12 CHAPTER 4 THE STM32F405 MICROCONTROLLER 13 4 Introduction to the chapter 13 4 1 The STM32F405RG features 13 CHAPTER 5 CONTROL CIRCUITY AND HARDWARE MODULES 15 5 Introduction to the chapter 15 5 1 Reset 15 5 2 Clocks 15 5 3 Power supply circuit 15 CHAPTER 6 CONNECTORS AND PINOUT 17 6 Introdu...

Page 4: ...oduction to the chapter 24 7 1 Processor family block diagram 24 7 2 Physical memory map 25 CHAPTER 8 SCHEMATICS 26 8 Introduction to the chapter 26 8 1 Eagle schematic 26 8 2 Physical dimensions 28 CHAPTER 9 REVISION HISTORY AND SUPPORT 29 9 Introduction to the chapter 29 9 1 Document revision 29 9 2 Board revision 29 9 3 Useful web links and purchase codes 30 9 4 Product support 31 Page 4 of 31 ...

Page 5: ...DE9 connector UEXT expansion connector prototype area programmable LED programmable button and much more There are plenty of GPIOs available at the GPIO area which can be used to connect your additional circuits 1 1 Features The board has the following list of features MCU STM32F405RG ARM Cortex M4 in LQFP64 pacakge that operates up to 168 Mhz with 1024KB flash memory 192 4 kB SRAM 2 USB 2 CAN 2 x...

Page 6: ...ce with connector mini USB 84x48 BW display microphone input with connector headphone output with connector UEXT connector two male extension headers The board can be powered by a 1 5V AA battery there is a battery holder provided Another board quite similar to STM32 P405 is STM32 P103 the board designs are almost identical the main difference is that STM32 P103 uses STM32F103RB If you are looking...

Page 7: ...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 The bottom view of the board is not shown since there is only one important component of the board at the bottom ...

Page 8: ... at the male headers and the prototype area Each pinhole of the same row of the prototype area has the same signal available The picture also includes the positions of all connectors available at the top all jumpers the LEDs the buttons Refer to chapter 6 for signal pinout of the rest of the connectors Page 8 of 31 ...

Page 9: ...ents Standard ARM JTAG SWD debugger it can power the board and gives you the ability to debug your code in real time 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...

Page 10: ...ers are supported in IAR and Rowley Crossworks note that our debugging tools doesn t work in Keil MDK ARM Refer to the table below for some guidance when choosing development tools Comparison table Is it free or commercial Initial struggle and set up time STM32 P405 examples provided by Olimex Is it open source Does it work with Olimex OpenOCD debuggers Quality of customer support OpenOCD Free Hig...

Page 11: ...nging the default closed position of the BAT_E jumper 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 simply plug the male 20 pin JTAG connector of your hardware tool to ...

Page 12: ...nted in STM32 P405 You can t access the bootloader of STM32F405 via the serial interface 3 5 Prebuilt software Upon powering the board the PWR LEDs should turn on and the STAT LED should blink fast 10 times 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 b...

Page 13: ...er 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 VBAT supply for RT...

Page 14: ...rts 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 ...

Page 15: ... The power supply circuit of STM32 P405 allows the board to be fully powered from four locations 1 The recommended location to power the board is the PWR barrel jack You should provide between 6V DC and 12V DC There is a diode rectifier at this power input so you can also power the board with 5V AC to 9V AC The barrel jack is center positive 2 The most used interface for powering is the USB type B...

Page 16: ...o reduce the consumption By default if you have successfully powered the board its PWR LED would turn on The STAT LED would blink 10 times In case you you have modified the software or if you have changed the positions of the jumpers responsible for the boot location the STAT LED might not turn on at all since it is initialized by the code loaded on the flash memory of the board The red LED should...

Page 17: ...d 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 USB Type B connector Pin Signal name 1 5V_USB 2 USBDM 3 USBDP 4 GND 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...

Page 18: ...y the two jumpers CAN0_T and CNTRL HS 6 4 UEXT connector STM32 P405 board has UEXT connector and can interface Olimex s UEXT modules UEXT is a board to board connector which supports three serial communication interfaces I2C SPI and RS232 There is also a 3 3V output line and GND For more information on UEXT please visit https www olimex com Products Modules UEXT UEXT connector Pin Signal name MCU ...

Page 19: ...ore than 12VDC Do not provide more than 9VAC PWR_JACK connector Pin Signal name 1 Power input 2 GND More info about the power supply can be found in chapter 4 of this manual 6 6 BAT_3V 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 The board has BAT_3V connector which can be used to keep alive t...

Page 20: ...P CTS 9 NC 6 8 SD MMC card connector SD MMC slot is an SD card slot connector located on the bottom of STM32 P405 It works with the large SD and MMC cards SD MMC card connector Pin Connector signal name Wire name Microcontroller pin 1 CD DAT3 CS SPI2_NSS 33 2 CMD DI SPI2_MOSI 36 3 VSS1 VSS GND Any GND 4 VDD SD_VCC1 Any 3 3V pin 5 CLK SCLK SPI2_SCK 34 6 VSS2 VSS GND Any GND 7 DAT0 DO SPI2_MISO 35 8...

Page 21: ... they are set so that the board would boot from the user Flash memory Notice that these two jumpers must be moved together they are responsible for the boot mode if bootloader is present The board can search for bootloader on three places either the user Flash memory the System memory or the Embedded SRAM By default B0_H B0_L is set to position B0_L the other jumper B1_H B1_L is set to B1_L in thi...

Page 22: ...ontrol CNTRL HS is connected to CNTRL side enable PC10 pin 51 of STM32F405 to control CAN driver modes Logical 1 of PC10 disables the CAN driver Logical 0 of PC10 enables CAN driver with high speed mode Refer to the documentation of SN65HVD230 for more information about different modes The default state of jumper CNTRL HS both sides open slope control mode 6 4 5 CAN0_T Control whether there is a t...

Page 23: ...button used for hardware reset of the board typically cannot be re programmed connected to STM32F405 s pin 7 NRST WAKE UP button customizable button can be re programmed by the user connected to STM32F405 s pin 14 PA0 also available at the first pad of jumper CTS_E PWR LED indicates when the board is powered cannot be re programmed it is not connected to the main microcontroller STAT LED customiza...

Page 24: ...Y 7 Introduction to the chapter On the next page you can find a memory map for this family of processors It is strongly recommended to refer to the original datasheet released by STMicroelectronics for one of higher quality 7 1 Processor family block diagram Page 24 of 31 ...

Page 25: ...ap STM32F405RG has 1024Kbytes of flash memory and 192 4 Kbytes of SRAM Inspecting the map below don t forget that all STM32F405YY microcontrollers have neither Ethernet controller nor camera interface STM32F405RG also lacks FSMC memory controller Page 25 of 31 ...

Page 26: ... logically and physically STM32 P405 8 1 Eagle schematic STM32 P405 schematic is visible for reference here You can also find them on the web page for STM32 P405 at our site https www olimex com Products ARM ST STM32 P405 They are located in HARDWARE section The EAGLE schematic is situated on the next page for quicker reference Page 26 of 31 ...

Page 27: ...7 TIM3_CH2 TIM1_CH1N 23 PA8 USART1_CK TIM1_CH1 MCO 41 PA9 USART1_TX TIM1_CH2 42 PA10 USART1_RX TIM1_CH3 43 PA11 USART1_CTS CANRX USBDM TIM1_CH4 44 PA12 USART1_RTS CANTX USBDP TIM1_ETR 45 PA13 JTMS SWDIO 46 PA14 JTCK SWCLK 49 PA15 JTDI TIM2_CH1_ETR SPI1_NSS 50 PB0 ADC8 TIM3_CH3 TIM1_CH2N 26 PB1 ADC9 TIM3_CH4 TIM1_CH3N 27 PB2 BOOT1 28 PB3 JTDO TIM2_CH2 TRACESWO SPI1_SCK 55 PB4 JTRST TIM3_CH1 SPI1_MI...

Page 28: ...OLIMEX 2015 STM32 P405 user s manual 8 2 Physical dimensions Note that all dimensions are in millimeters Page 28 of 31 ...

Page 29: ...e 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 04 12 15 Initial release All 9 2 Board revision Revision date Revision notes D 21 02 14 Initial release Page 29 of 31 ...

Page 30: ...05 a similar board with less peripherals STM32 405STK a similar board with even more peripherals ARM USB TINY H OpenOCD compatible high speed debugger programmer with JTAG interface ARM USB OCD H OpenOCD compatible debugger programmer with JTAG interface protection buffers and better power supply circuit How to order You can order directly from our web shop or via any of our distributors List of O...

Page 31: ...t ordered items are allowed subject to a 10 restocking fee What is unaffected If you hooked it to power you affected it To be clear this includes items that have been soldered to or have had their firmware changed Because of the nature of the products we deal with prototyping electronic tools we cannot allow returns of items that have been programmed powered up or otherwise changed post shipment f...

Reviews: