background image

OLIMEX© 2015

STM32-P405 user's manual

Page 27 of 31

5VAC
6VDC

Notes:
=====

1. When STM32F405RET6(LQFP64) is mounted, C22 and C24 must be populated!

2. When STM32F103RBT6(LQFP64) is mounted, C22 and C24 must be short circuit(for example with 0 Ohm resistor)

3. U1's symbol refers to STM32F103RBT6(LQFP64).

For the STM32F405RET6(LQFP64), please see the corresponding datasheet!

VCAP_1

VCAP_2

STM32F405RET6(LQFP64)

STM32-P405, board revision D

Designed and assembled by Olimex LTD, Bulgaria

https://www.OLIMEX.com

+5V_USB

3.3V

1

2

3.3V_MCU_E

0

2

1

3

B1_H/B1_L

1
2

BAT_3V

CON2PV2-2.54MM

1

2

BAT_E

0

C1

100nF

C2

C3

C4

C5

100nF

C6

100nF

C7

100nF

C8

10uF/10V

C9

100nF

C10

100nF

C11

10uF/10V

C12

27pF

C13

27pF

C14

10pF

C15

10pF

C16

47pF(NA)

C17

47pF(NA)

C18

100nF

C19

100n

C20

C21

C22

2.2uF/6.3V

C23

100nF

C24

2.2uF/6.3V

C25

100n

C26

100n

C27

100n

C28

100nF

C29

C30

C37

100nF

C41
100nF

1

2

3

CAN

CON33.5MM

1

3

CNTRL/HS

1

2

CP_E

0

1

2

CTS_E

D1

1N5819S

D2

1N5819S

G1

DB104(SMD)

GND

GNDA

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

JTAG

L1

ferrite bead

L2

470nH

1

2

LED_E

0

VIN

PA1

PA8

PB0
PB1
PB2

PB5

PB8
PB9

PB10
PB11

PB12
PB13
PB14
PB15

PC0
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PC8
PC9
PC10

PC12
PC13

PD2

PWR

PWR_JACK

Q1

8MHz

GND

Q232768

Q3
BC817

Q4
BC817

R-T

R1
10k

R2

10k

R3
10k

R4

10K

R5
10k

R6
10k

R7
2k

R8

10k

R9
390/1%

R10
240/1%

R11

10k

R12
1M

R13
10k

0R

R14

0R(Board_Mounted)

R15

100K

R16

330

R17

100K

R18

10K

R19

15K

R20

10k

R21

22

R22

22

R23

NC

R24

22K

R27

120

R28

10K

R33
22K

R34

1K

R35

2k

R36

10k

R37

10k

R38

33K

R39

2K

R42
2K

R43
33K

R44

10K

R45

10K

R49 10K

R50
33k

R51
1.5K

R52
47k

R53

1K

R54

100K

R59

10K

RESET

1
2
3
4
5

6
7
8
9

RS232_2

RST

1

2

RTS_E

SD/MMC

SD_CARDBOT

CD/DAT3/CS

1

CLK/SCLK

5

CMD/DI

2

CP1

13

CP2

15

DAT0/DO

7

DAT1/RES

8

DAT2/RES

9

VDD

4

VSS1

3

VSS2

6

WP1

10

WP2

14

STAT
RED

BOOT0

60

NRST

7

PA0-WKUP/USART2_CTS/ADC0/TIM2_CH1_ETR

14

PA1/USART2_RTS/ADC1/TIM2_CH2

15

PA2/USART2_TX/ADC2/TIM2_CH3

16

PA3/USART2_RX/ADC3/TIM2_CH4

17

PA4/SPI1_NSS/USART2_CK/ADC4

20

PA5/SPI1_SCK/ADC5

21

PA6/SPI1_MISO/ADC6/TIM3_CH1/TIM1_BKIN

22

PA7/SPI1_MOSI/ADC7/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_MISO

56

PB5/I2C1_SMBAI/TIM3_CH2/SPI1_MOSI

57

PB6/I2C1_SCL/TIM4_CH1/USART1_TX

58

PB7/I2C1_SDA/TIM4_CH2/USART1_RX

59

PB8/TIM4_CH3/I2C1_SCL/CANRX

61

PB9/TIM4_CH4/I2C1_SDA/CANTX

62

PB10/I2C2_SCL/USART3_TX/TIM2_CH3

29

PB11/I2C2_SDA/USART3_RX/TIM2_CH4

30

PB12/SPI2_NSS/I2C2_SMBAL/USART3_CK/TIM1_BKIN

33

PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N

34

PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N

35

PB15/SPI2_MOSI/TIM1_CH3N

36

PC0/ADC10

8

PC1/ADC11

9

PC2/ADC12

10

PC3/ADC13

11

PC4/ADC14

24

PC5/ADC15

25

PC6/TIM3_CH1

37

PC7/TIM3_CH2

38

PC8/TIM3_CH3

39

PC9/TIM3_CH4

40

PC10/USART3_TX

51

PC11/USART3_RX

52

PC12/USART3_CK

53

PC13/ANTI_TAMP

2

PC14/OSC32_IN

3

PC15/OSC32_OUT

4

PD0/OSC_IN

5

PD1/OSC_OUT

6

PD2/TIM3_ETR

54

VBAT

1

VDD

32

VDD

48

VDD

64

VDD

19

VDDA

13

VSS

31

VSS

47

VSS

63

VSS

18

VSSA

12

U1

STM32F103RBT6(LQFP64)

U2
NA

GND

VCC

RESET

1

2

U3

SN65HVD230

CANH

7

CANL

6

RS

8

RXD

4

TXD

1

VDD

3

VREF

5

VSS

2

1
2
3

4

5

6

U4

USBLC6-2P6(NA)

C1+

1

C1-

3

C2+

4

C2-

5

R1IN 13

R1OUT

12

R2IN 8

R2OUT

9

T1IN

11

T1OUT14

T2IN

10

T2OUT7

V+

2

V-

6

U5
ST3232

GND

VCC

15

16

U5PWR

UEXT-1
UEXT-2
UEXT-3
UEXT-4
UEXT-5
UEXT-6
UEXT-7
UEXT-8
UEXT-9
UEXT-10

1
2
3
4

USB

1

2

USB_P

3.3V

3.3V

3.3V

VDDA

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V
3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

VDDA

VIN

ADJ/GND

IN

OUT

VR1(3.3V)
LM1117

WAKE-UP

1

2

WP_E

0

TRST,TDI,TMS,TCK,TDO,RST

+5V_USB

ADC15

BOOT0

CAN_RX

CAN_RX

CAN_TX

CAN_TX

CNTRL

CNTRL

CP

CP

DISC

DISC

I2C1_SCL

I2C1_SCL

I2C1_SDA

I2C1_SDA

LED

LED

RST

RST

RST

RST

SPI1_MISO

SPI1_MISO

SPI1_MOSI

SPI1_MOSI

SPI1_NSS

SPI1_NSS
SPI1_SCK

SPI1_SCK

SPI2_MISO

SPI2_MISO

SPI2_MOSI

SPI2_MOSI

SPI2_NSS

SPI2_NSS

SPI2_SCK

SPI2_SCK

TCK

TCK

TDI

TDI

TDO

TDO

TMS

TMS

TRST

TRST

UART2_RTS

UART2_RTS

USART1_RX

USART1_RX

USART1_TX

USART1_TX

USART2_RX

USART2_RX

USART2_TX

USART2_TX

USBDM

USBDM

USBDP

USBDP

USB_P

USB_P

VCC

WAKE-UP

WAKE-UP

WAKE-UP

WP

WP

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Страница 28: ...OLIMEX 2015 STM32 P405 user s manual 8 2 Physical dimensions Note that all dimensions are in millimeters Page 28 of 31 ...

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

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

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

Отзывы: