Professional Documents
Culture Documents
Page 1
INTRODUCTION
STM32-P107 prototype board provides easy way for developing and prototyping with the new STM32F107VCT6 connectivity line microcontroller, produced by STMicroelectronics. STM32-P107 has JTAG port for programming and debugging, USB_OTG, user button, two status leds, and most of the GPIOs are on extension headers where you can connect your additional circuits.
BOARD FEATURES
CPU: STM32F107VCT6 32 bit ARM-based microcontroller with 256 KB Flash, 64 KB RAM, USB OTG, Ethernet, 10 timers, 2 CANs, 2 ADCs, 14 communication interfaces JTAG connector with ARM 2x10 pin layout for programming/debugging USB_OTG USB_HOST 100Mbit Ethernet RS232 Mini SD/MMC card connector UEXT connector Power Jack Two user buttons RESET button and circuit Two status leds 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: 132.08x96.52mm (5.2x3.8")
ELECTROSTATIC WARNING
The STM32-P107 board is shipped in protective anti-static packaging. The board must not be subject to high electrostatic potentials. General practice for working with static sensitive devices should be applied when working with this board.
Page 2
PROCESSOR FEATURES
STM32-P107 board use ARM-based 32-bit microcontroller STM32F107VCT6 with these features:
72 MHz maximum frequency, 1.25 DMIPS/MHz (Dhrystone 2.1) performance at 0 wait state memory access Single-cycle multiplication and hardware division 256 Kbytes of Flash memory 64 Kbytes of SRAM 2.0 to 3.6 V application supply and I/Os POR, PDR, and programmable voltage detector (PVD) 25 MHz crystal oscillator Internal 8 MHz factory-trimmed RC Internal 40 kHz RC with calibration 32 kHz oscillator for RTC with calibration Sleep, Stop and Standby modes VBAT supply for RTC and backup registers Conversion range: 0 to 3.6 V Sample and hold capability Temperature sensor up to 2 MSps in interleaved mode
Memories
Low power
Supported peripherals: timers, ADCs, DAC, I2Ss, SPIs, I2Cs and USARTs Serial wire debug (SWD) & JTAG interfaces Cortex-M3 Embedded Trace Macrocell 80 I/Os, all mappable on 16 external interrupt vectors and almost all 5 V-tolerant four 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input 1 16-bit motor control PWM timer with dead-time generation and emergency stop 2 watchdog timers (Independent and Window) SysTick timer: a 24-bit downcounter 2 16-bit basic timers to drive the DAC 2 I2C interfaces (SMBus/PMBus) 5 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control) 3 SPIs (18 Mbit/s), 2 with a multiplexed I2S interface that offers audio class accuracy via advanced PLL schemes 2 CAN interfaces (2.0B Active) with 512 bytes of dedicated SRAM USB 2.0 full-speed device/host/OTG controller with on-chip PHY that supports HNP/SRP/ID with 1.25 Kbytes of dedicated SRAM 10/100 Ethernet MAC with dedicated DMA and SRAM (4 Kbytes): IEEE1588 hardware support, MII/RMII available on all packages
Debug mode
10 timers
14 communication interfaces
Page 4
BLOCK DIAGRAM
Page 5
MEMORY MAP
Page 6
3.3V
3.3VA
50 75 100 28 11
R22
HN1x3
CS_MMC 0R(NA)
DT A 114Y K A
C16 100nF
33R U5 +5V
USB
C36
L2
C17 100nF
USB_D+
C19 100nF
H HN1x3
FB 0 8 0 5 /6 0 0 R/2 0 0 m A (2 0 1 2 0 9 -6 0 1 )
C20 100nF
3 2 1 1 2 3 4 #ENA OUT_A FLAG_A IN FLAG_B GND #ENB OUT_B 8 7 6 5
S HIE L D
USB_A
C37 100nF
CLOSE
3.3V
10 27 99 74 49
SCHEMATIC
3.3VA_MCU_E
USB_HOST_D+ USB_OTG_D+
22
FB0805/600R/200mA(201209-601)
VDDA
PA0/WKUP/USART2_CTS/ADC12_IN0/TIM2_CH1_ETR/TIM5_CH1/ETH_MII_CRS_WKUP PA1/USART2_RTS/ADC12_IN1/TIM5_CH2/TIM2_CH2/ETH_MII_RX_CLK/ETH_RMII_REF_CLK PA2/USART2_TX/TIM5_CH3/ADC12_IN2/TIM2_CH3/ETH_MII_MDIO/ETH_RMII_MDIO PA3/USART2_RX/TIM5_CH4/ADC12_IN3/TIM2_CH4/ETH_MII_COL PA4/SPI1_NSS/DAC_OUT1/USART2_CK/ADC12_IN4 PA5/SPI1_SCK/DAC_OUT2/ADC12_IN5 PA6/SPI1_MISO/ADC12_IN6/TIM3_CH1/TIM1_BKIN PA7/SPI1_MOSI/ADC12_IN7/TIM3_CH2/ETH_MII_RX_DV/ETH_RMII_CRS_DV/TIM1_CH1N PA8/USART1_CK/OTG_FS_SOF/TIM1_CH1/MCO PA9/USART1_TX/TIM1_CH2/OTG_FS_VBUS PA10/USART1_RX/TIM1_CH3/OTG_FS_ID PA11/USART1_CTS/CAN1_RX/TIM1_CH4/OTG_FS_DM PA12/USART1_RTS/CAN1_TX/TIM1_ETR/OTG_FS_DP PA13/JTMS/SWDIO PA14/JTCK/SWCLK PA15/JTDI/SPI3_NSS/TIM2_CH1_ETR/SPI1_NSS
23 24 25 26 29 30 31 32 67 68 69 70 71 72 76 77
100nF
33k
1.5k
C21 10uF/6.3V/TANT
C22 100nF
USB_OTG
GND2 GND1
R20
R19
19
VSSA 3 2 1
HN1x3
USB_OTG
+5V_OTG_PWR USB_OTG_DUSB_OTG_D+ OTG_ID C39 100nF L3
FB 0 8 0 5 /6 0 0 R /2 0 0 m A (2 0 1 2 0 9 -6 0 1 )
USB
R11 I2C1_SCL I2C1_SDA PB10 ETH_RMII_TX_EN ETH_RMII_TXD0 ETH_RMII_TXD1 CS_UEXT ETH_RMII_MDC 3.3V SD/MMC JTAG R64 10k R65 10k R66 10k R67 10k R68 NA I2C1_SCL I2C1_SDA OTG_ID
33R
VREF+
NA(47pF)
C23
100nF
21
VREF+
G ND4 G ND3
R12 ETH_RMII_TX_EN ETH_RMII_TXD0 ETH_RMII_TXD1 CS_UEXT ETH_RMII_MDC PC2 PC3 ETH_RMII_RXD0 ETH_RMII_RXD1 TRST TDI TMS TCK R69 R-T
2
0R
C24
NA
20
VREF-
3.3V
MICRO_AB
VREF-
3V_BAT WF2S
D1 BAT54C
VBAT
VBAT
PB0/ADC12_IN8/TIM3_CH3/ETH_MII_RXD2/TIM1_CH2N PB1/ADC12_IN9/TIM3_CH4/ETH_MII_RXD3/TIM1_CH3N PB2/BOOT1 PB3/JTDO/SPI3_SCK/TRACESWO/TIM2_CH2/SPI1_SCK PB4/JNTRST/SPI3_MISO/TIM3_CH1/SPI1_MISO PB5/I2C1_SMBAL/SPI3_MOSI/ETH_MII_PPS_OUT/ETH_RMII_PPS_OUT/TIM3_CH2/SPI1_MOSI/CAN2_RX PB6/I2C1_SCL/TIM4_CH1/USART1_TX/CAN2_TX PB7/I2C1_SDA/TIM4_CH2/USART1_RX PB8/TIM4_CH3/ETH_MII_TXD3/I2C1_SCL/CAN1_RX PB9/TIM4_CH4/I2C1_SDA/CAN1_TX PB10/I2C2_SCL/USART3_TX/ETH_MII_RX_ER/TIM2_CH3 PB11/I2C2_SDA/USART3_RX/ETH_MII_TX_EN/ETH_RMII_TX_EN/TIM2_CH4 PB12/SPI2_NSS/I2S2_WS/I2C2_SMBAL/USART3_CK/TIM1_BKIN/CAN2_RX/ETH_MII_TXD0/ETH_RMII_TXD0 PB13/SPI2_SCK/I2S2_CK/USART3_CTS/TIM1_CH1N/CAN2_TX/ETH_MII_TXD1/ETH_RMII_TXD1 PB14/SPI2_MISO/TIM1_CH2N/USART3_RTS PB15/SPI2_MOSI/I2S2_SD/TIM1_CH3N
35 36 37 89 90 91 92 93 95 96 47 48 51 52 53 54
R13
10k
94
1 2
BOOT0
HN1x3 0 ETH_RMII_RXD0 ETH_RMII_RXD1 STAT1 STAT2 PC6 PC7 PC8 PC9 10k R70 10k SPI3_SCK SPI3_MISO SPI3_MOSI TDO RST TRST
1
JTAG
SD/MMC
CS_MMC SPI3_MOSI SPI3_SCK SPI3_MISO CS_MMC SPI3_MOSI 1M 10k R5 R4
2 3 6 4 5 7 8 1 CD/DAT3/CS CMD/DI VSS VDD CLK/SCLK DAT0/DO DAT1/RES DAT2/RES
+
3.3V
3.3V
C12 27pF
B0_0/B0_1
3 2 1
12
OSC_IN
Q1
Q25.000MHz/HC-49SM(SMD)/20pF
R14 NA
R15 R16
13
RST
150R NA
OSC_OUT
R3 R2 R1 L5
CL470nH/0805/1.76R/250mA
14 73
NRST NC
PC0/ADC12_IN10 PC1/ADC12_IN11/ETH_MII_MDC/ETH_RMII_MDC PC2/ADC12_IN12/ETH_MII_TXD2 PC3/ADC12_IN13/ETH_MII_TX_CLK PC4/ADC12_IN14/ETH_MII_RXD0/ETH_RMII_RXD0 PC5/ADC12_IN15/ETH_MII_RXD1/ETH_RMII_RXD1 PC6/I2S2_MCK/TIM3_CH1 PC7/I2S3_MCK/TIM3_CH2 PC8/TIM3_CH3 PC9/TIM3_CH4 PC10/UART4_TX/USART3_TX/SPI3_SCK PC11/UART4_RX/USART3_RX/SPI3_MISO PC12/UART5_TX/USART3_CK/SPI3_MOSI PC13/TAMPER-RTC PC14/OSC32_IN PC15/OSC32_OUT 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20
15 16 17 18 33 34 63 64 65 66 78 79 80 7 8 9
PC10 PC11 PC12 PC13 Q2 32768Hz/6pF PD0 PD1 PD2 PD3 PD4 PD5 PD6 3.3V
2 1
3.3V
3.3V
ETHERNET
ETH_RMII_TXD0 ETH_RMII_TXD1
UEXT
R61 4.7k USART2_TX I2C1_SCL SPI3_MISO SPI3_SCK ETH_RMII_TX_EN ETH_RMII_RXD0 ETH_RMII_RXD1 UEXT
1 3 5 7 9 2 4 6 8 10
3.3V
PE0 PE1 PE2 PE3 PE4 PE5 PE6 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PD8 PD9 PD10 PD11 PD12 PD13 PD14 PD15
55 56 57 58 52 53 54
ETH_RMII_MDINT USB_FAULT
97 98 1 2 3 4 5 38 39 40 41 42 43 44 45 46 PD0/OSC_IN/CAN1_RX PD1/OSC_OUT/CAN1_TX PD2/TIM3_ETR/UART5_RX PD3/USART2_CTS PD4/USART2_RTS PD5/USART2_TX PD6/USART2_RX PD7/USART2_CK PD8/USART3_TX/ETH_MII_RX_DV PD9/USART3_RX/ETH_MII_RX_D0 PD10/USART3_CK/ETH_MII_RX_D1 PD11/USART3_CTS/ETH_MII_RX_D2 PD12/TIM4_CH1/USART3_RTS/ETH_MII_RX_D3 PD13/TIM4_CH2 PD14/TIM4_CH3 PD15/TIM4_CH4
PE0/TIM4_ETR PE1 PE2/TRACECK PE3/TRACED0 PE4/TRACED1 PE5/TRACED2 PE6/TRACED3 PE7/TIM1_ETR PE8/TIM1_CH1N PE9/TIM1_CH1 PE10/TIM1_CH2N PE11/TIM1_CH2 PE12/TIM1_CH3N PE13/TIM1_CH3 PE14/TIM1_CH4 PE15/TIM1_BKIN
81 82 83 84 85 86 87 88 55 56 57 58 59 60 61 62
R63 33k
Page 7
BUTTONS
3.3V 3.3V 3.3V 25MHZ
12 11 39 45 62 X1 X2
STM32F107VCT6
MII_AVDD
3.3V ETH_RMII_CRS_DV
1.5k
MII_AVDD
MII_AVDD
MII_AVDD
RS232
R28 10k WKUP R30 TAMPER R32 100R/1% R33 WKUP 330R C30 100nF R31 100k R27 NA TAMPER 330R R29 100R/1% C31 100nF MII_AVCC
RST R34 10k ETH_RMII_MDC ETH_RMII_MDIO ETH_RMII_MDINT R35 10k 4.99k/1% R36 3.3V 10k R37 10k R38 10k R39 10k R40 R41 10k 10k R42 R43 10k R44 10k
6 5 4 3 2 1 64 63 FDE MF0 MF1 MF2 MF3 MF4 CFG0 CFG1 RXD0 RXD1 RXD2 RXD3 RX_ER/RXD4 RX_CLK RX_DV
47 46 44 43 51 49 48
3.3V R51
0R
U3
0R
R50
R52
NA(49.9/1%)
NA(49.9/1%)
ST3232BDR(SO16)
C25 1 100nF
C1+
C1-
V+
38 37 36 35 34
1.5k 1.5k
C49
C51
C41 100nF
C42 100nF
C43 100nF
C26 4 100nF
C2+
V-
25 40 50
C50 100nF
9 13 16 17
75
75
NA(1 0pF)
NA(1 0pF)
T1103NE-DTSM-21R(12x12x4.3mm)
C2-
USART3_TX USART3_RTS
11 10
RJ45 SIDE
R25 330R
6 7 8 9
T1IN T2IN
T1OUT T2OUT
14 7
RTS
LEDL LEDTR
1 4 5 2
75
75
12 9
R1OUT R2OUT
R1IN R2IN
13 8
CTS
1 2 3 4 5
R58 NA(100R/1%)
7 10 14 20 24 GNDA1 GNDA2 GNDA3 GNDA4 GNDA5
R26 330R
1.5k
1 3 2 AG KG AY KY 7 6 8
1nF/2kV
3 7 8 6 RJLD-043TC
33 26 30 31 32 8 22 TEST_SE TEST MDIX-DIS CF2 SCLOCK NC1 NC2
T1103NE-DTSM-21R(12x12x4.3mm)
C44 100nF
C45 100nF
C46 100nF
C47 100nF
C48 100nF
3.3V
16 VCC
15 GND
MII_AVDD
R46
25MHZ
R45 NA
FB0805/600R/200mA(201209-601)
FB0805/600R/200mA(201209-601)
ETH_RMII_REF_CLK
C53 100nF
C54 100nF
3.3V
STATUS LEDS
STAT2 STAT1
2
RESET CIRCUIT
3.3V PB2/BOOT1 R76 10k 0
DB104(SMD)
PWR_JACK HN2x3 R8
VR1(5.0V) AME1085
VI
3.3VA_E CLOSE
1
3 2 1
VO GND/ADJ
YDJ-1136
R6 100R/1%
C10
C4 C6
240R/1%
2 VCC
RESET 1 GND 3
RST
B1_0/B1_1 HN1x3
C5
+ +
C7
C9
6VAC (6.5-9)VDC
C1 470uF/16VDC
C2
100nF
100nF
100nF R9 C8
390R/1%
C3
2.2uF/6.3V
GND_PIN
R7 300R/1%
NA(10uF/6.3V)
RESET
C55 100nF
STM32-P107
T1107A(6x3,8x2,5mm)
NA(10uF/6.3V)
BOARD LAYOUT
PWR connector where (6.5-9)V DC or 6V AC is applied by external power source. +5V_ OTG-PWR from USB OTG +5V_JTAG from JTAG The programmed board power consumption is about 70 mA.
RESET CIRCUIT
STM32-P107 reset circuit includes JTAG connector pin 15, U2 (STE101P) pin 28 (RESET), R73(10k), R74(330Ohm), R75(100Ohm/1%), C55(100nF), STM32F107 pin 14 (NRST) and RESET button.
CLOCK CIRCUIT
Quartz crystal 25 MHz is connected to STM32F107 pin 12 (OSC_IN) and pin 13 (OSC_OUT). Quartz crystal 32.768kHz is connected to STM32F107 pin 8 (PC14/OSC32_IN) and pin 9 (PC15/OSC32_OUT).
Page 8
JUMPER DESCRIPTION
PWR_SEL
When position 1-2 is shorted the board is power supplied from JTAG. When position 3-4 is shorted the board is power supplied from USB_OTG. When position 5-6 is shorted the board is power supplied from External power source. Default state is position 5-6 shorted.
B0_0/B0_1
When this jumper is in position B0_1 BOOT0 is connected to 3.3V, and when the jumper is in position B0_0 BOOT0 is connected to GND. Default state is B0_0.
B1_0/B1_1
When this jumper is in position B1_1 BOOT1 is connected to 3.3V, and when the jumper is in position B1_0 BOOT1 is connected to GND. Default state is B1_0.
VBUS
When is in position H - connects +5V_HOST_PWR to OTG_VBUS. When is in position O - connects +5V_OTG_PWR to OTG_VBUS. Default state is O.
USB_D+
When is in position H - connects USB_HOST_D+ to OTG_DP. When is in position O - connects USB_OTG_D+ to OTG_DP. Default state is O.
USB_DWhen is in position H - connects USD_HOST_D- to OTG_DM. When is in position O - connects USB_OTG_D- to OTG_DM. Default state is O.
PWDW_D
When is closed disables Ethernet transceiver (STE101P) Power Down Mode. STE101P is active. Default state is closed.
3.3V_MCU_E
Enable microcontroller 3.3V power supply Default state is closed.
Page 9
3.3V_E
3.3VA_E
Enables board 3.3V analog power supply. Default state is closed.
3.3VA_MCU_E
Enables microcontroller 3.3V analog power supply. Default state is closed.
GNDA_E
Enables board analog GND. Default state is closed.
R-T
Connects RST to TRST Default state is open.
INPUT/OUTPUT
Status LED1 (green) with name STAT1 connected to STM32F107 pin 63 (PC6/I2S2_MCK/TIM3_CH1). Status LED2 (yellow) with name STAT2 connected to STM32F107 pin 64 (PC7/I2S3_MCK/TIM3_CH2). Power-on LED (red) with name PWR this led shows that +3.3V is applied to the board. User button with name WKUP connected to STM32F107 pin 23 (PA0/WKUP). User button with name TAMPER connected to STM32F107 pin 7 (PC13/TAMPERRTC). Reset button with name RESET connected to STM32F107 pin 14 (NRST).
Page 10
Signal Name 2 4 6 8 10 12 14 16 18 20
Pin # 3.3V GND GND GND GND GND GND GND GND GND
Signal Name
PWR_JACK
Pin # 1 2 Signal Name Power Input GND
Page 11
USB_HOST
Pin # 1 2 3 4 Signal Name +5V_HOST_PWR USB_HOST_DUSB_HOST_D+ GND
USB_OTG
Pin # 1 2 3 4 5 Signal Name +5V_OTG_PWR USB_OTG_DUSB_OTG_D+ OTG_ID GND
3V_BAT
Pin # 1 2 Signal Name VBAT GND
RS232
Pin # 1 2 3 4 5 6 7 8 9 Signal Name NC T1OUT R1IN NC GND NC CTS RTS NC
Page 12
UEXT
Pin # 1 2 3 4 5 6 7 8 9 10 Signal Name 3.3V GND USART2_TX USART2_RX I2C1_SCL I2C1_SDA SPI3_MISO SPI3_MOSI SPI3_SCK CS_UEXT
LAN
Pin # 1 2 3 4
Pin # 5 6 7 8
Signal Name Chip Side Not Connected (NC) VDD RX+ RX-
Usage
Page 13
SD/MMC
Pin # 1 2 3 4 5 6 7 8 9 10 11 12 Signal Name MCIDAT2 CS_MMC SPI3_MOSI 3.3V SPI3_SCK GND SPI3_MISO MCIDAT1 Not connected Not connected Not connected Not connected
Page 14
MECHANICAL DIMENSIONS
Page 15
Blinking LED Demo software for EW-ARM 5.50 Ethernet Demo software for EW-ARM 5.50 USB Demo software for EW-ARM 5.50 SD card Demo software for EW-ARM 5.50
Page 16
Revision history: REV. Initial REV.A REV. B REV. C REV. D - create December 2009 - edited by TU December 2010 - Demo Software added and mechanical dimensions more detailed - Changed schematic to Rev. A and added more programmers in BOARD USE REQUIREMENTS. - edited June 2011 changed schematic
Page 17
Disclaimer: 2011 Olimex Ltd. All rights reserved. Olimex, 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. All 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 product.
Page 18