Mmstm32F107: User Guide

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 24

, -

a lu ard ST Sta rve


o , e
Ev B VR ers b S -
n l d
t io 1, A trol We mo
a ‘5
o n d
e ini r -
r c
fo cro dd s M the
s i e d e
m mb oar rs, pe-
C E B e S
PI its ng roll gh r
r K pi nt Hi fo
y o
rte tot roc FID ers s
o c r
Pr mi s, R mm lle
rs or ler gra tro
f ol o n
l
s
e nt r pr oco CB
u o
c e m icr s, P for
t s t m m ds
ne S y T te ar -
n S s l
d
I
C
, sy Bo tro
e PI or ion on b
R
,
c es at roc We
u
AV pro val mic ed i-
ro E dd
ic ng PIC be ds m
M ni T, m r
i g S E oa rs,
s , ts B e
de VR Ki ng roll
r i t h
1 , A rte typ on Hig
‘5 Sta oto roc ID -
r c e
e rs P m i RF m
l s r ,
v er fo ers ram trl-
r s ll g n
Se ule tro pro oco
od con ms icr s,
m
ni net ste T m stem
-
h er Sy , S sy Bo
et d In PIC sor on -
e e , c e at i ic
R o u m
Sp AV opr val IC -
r r e
fo ic g E T, P mb
rs s M nin , S E g
r ig R it s in
le
ol des , AV er K typ
B `51 tart roto ro-
C r ic
MinimoduleP fo rs S rs P r m rs,

MMstm32F107
s
with ARM rd olle rwe s fo olle
a tr r -
microcontroller and o n Se ule ont am
b d r
Ethernet roc We mo et c og -
i pr c o
e d i n er n
M m o
dd ds eth ste icr
o ar rs, Sy T m r
User B olle In , S so
n tr ed IC oce ig-
P s
Guide c o S p e R , opr D e
h V cr B Rtion
ig r A Mi C a
REV 1.0 H f o rs , Pone asolution
lu
s e s
er oll
Many ideas
m v s
m ntr ste g E ard
co Sy nin Bo
Contents
INTRODUCTION ........................................................................................................................................... 3
FEATURES................................................................................................................................................. 3
1. THE MODULE .......................................................................................................................................... 4
BLOCK DIAGRAM ....................................................................................................................................... 4
TERMINALS LAYOUT .................................................................................................................................. 5
STM32F107 MICROCONTROLLER ........................................................................................................... 6
ETHERNET PHY ....................................................................................................................................... 7
USB INTERFACE ....................................................................................................................................... 8
CAN INTERFACE ....................................................................................................................................... 9
RS232 INTERFACES ................................................................................................................................. 9
MICROSD MEMORY CARD SOCKET ......................................................................................................... 10
CORTEX DEBUG CONNECTOR ................................................................................................................ 10
POWER SUPPLY ...................................................................................................................................... 11
2 EVALUATION BOARD ......................................................................................................................... 12
3 EXAMPLE SOFTWARE ....................................................................................................................... 13
PROGRAMMING FLASH MEMORY OF STM32F107 ......................................................................... 14
PROGRAMMING THROUGH RS232 INTERFACE ...................................................................................... 14
PROGRAMMING THROUGH USB INTERFACE .......................................................................................... 17
4 SPECIFICATIONS ................................................................................................................................. 18
5 TECHNICAL SUPPORT ....................................................................................................................... 18
6 GUARANTEE ......................................................................................................................................... 18
7 ASSEMBLY DRAWINGS ..................................................................................................................... 19
8 DIMENSIONS ......................................................................................................................................... 20
9 SCHEMATICS ........................................................................................................................................ 20
Introduction

MMstm32F107 is universal minimodule for the STM32F107 microcontrollers from ST


Microelectronics. This microcontroller is available in the LQFP100 case which is difficult to solder
in prototype and amateur circuits due to the compactness of pins. We have undertaken an
attempt at placing it on a board of 36x61mm with a layout of leads which matches the commonly
available prototype circuit boards and to EVBmmTm evaluation board. In addition, we have
included Ethernet PHY 10/100Mb with RJ45 connector and magnetics, USB connector and socket
for microSD memory card. All ports and signals of the microcontroller (except that used for
Ethernet PHY) are lead out by means of two-row pin connectors with 0.1’ (2.54mm) pitch. This
minimodule is not only an adapter but a complete main board for STM32F107 microcontroller. It
needs only a connection to the supply voltage and we can start loading 256kBytes of Flash
memory. Thanks to built-in bootloader, there is even no programmer necessary. Through
integration of the peripherals with the microcontrollers on one board, the application of this
module can lead to a shorter design period and facilitate the construction of systems based on
ARM microcontrollers, by eliminating the need to design the printed board. The module is
supplied with example software.

The MMstm32F107 minimodule can be also used in didactic laboratories of informatics colleges
and universities, and can be also used to build circuits realizing thesis projects.

Features

MMstm32F107 minimodule:
Complete, ready to use microprocessor system
Fast ARM STM32F107 microcontroller with up to 90DMIPS throughput
Up to 256kB Flash memory and up to 64kB RAM
Onboard 10/100Mbps Ethernet PHY and RJ45 connector with embedded magnetics
USB mini B connector
microSD memory card socket
JTAG/SWD for in system programming and debugging
Built-in 25MHz system clock resonator
Built-in 32.768kHz RTC resonator
Possibility to mount backup battery for RTC
Onboard LED diodes for indicating Power supply, Ethernet connection status, USB status, and
one user LED
Module supply voltage: 5V
2 x 40 terminals with 0.1" (2.54mm) pitch fitting every prototype board
Small dimensions: 36mm x 61mm
Available evaluation board and sample applications

3
1. The module
Block diagram
A block diagram of MMstm32F107 minimodule is shown on the image below:

RJ45
Ethernet

8
7
6
5
4
3
2
1
PWR

FLASH
PHY
50MHz ACT

DP83848 LINK

J1 J2

Batt
GND

STM32F107

12MHz
DEBUG
32kHz

USB PWR

USB OVC

Figure 1 Block diagram of MMstm32F107 minimodule.

Minimodule can be ordered in different configurations with use of selector:

MMstm32F107 – a – b – c

Flash size: Ethernet connector:


1 – 128kB 0 – without RJ45
2 – 256kB 1 – with RJ45

Battery socket:
0 – not mounted
1 – mounted

For example: MMstm32F107-2-0-1 – minimodule with 256kB Flash MCU, without battery socket, with
RJ45 connector.

4
Terminals layout

Figure 2 Terminals layout – top view.

Detailed description of ports can be found in microcontroller datasheets.

5
STM32F107 microcontroller
32-bit ARM Cortex-M3 core clocked up to 72MHz
128 or 256kB in system programmable FLASH memory
48 or 64kB general purpose SRAM memory
4kB Ethernet SRAM memory
1.25kB USB SRAM memory
In system programmable via JTAG, SDW, USB, RS232 or CAN
12-channel DMA controller
Up to four 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter
1 × 16-bit motor control PWM timer with dead-time generation and emergency stop
Ethernet MAC
USB 2.0 device/host/OTG (full speed)
2 CAN controller
5 UART interfaces
Two I2C-bus interfaces
Three SPI interfaces
I2S interface
SD/MMC interface
Two 12-bit AD converters (16 channels)
Two 12-bit DA converters
Up to 80 fast I/O ports with 5V tolerance
Advanced interrupt controller
Low Power modes
RTC with battery backup
Single supply voltage 2.0 - 3.6V
JTAG and SWD interfaces

More info about STM32F107 can be found at manufacturer site:


http://www.st.com/mcu/devicedocs-STM32F107VC-110.html

6
Ethernet PHY

Minimodule is equipped with DP83848 Ethernet PHY and RJ45 connector with integrated magnetics.

DP83848 features:

10/100 Mb/s operation


Auto-MDIX
IEEE 802.3u Auto-Negotiation and Parallel Detection
IEEE 802.3u ENDEC, 10BASE-T transceivers and filters
IEEE 802.3u PCS, 100BASE-TX transceivers and filters
Low power consumption < 270mW typical
Low power modes
Optimized for cable length performance far exceeding IEEE specifications

L1
+3V3 MII_AVDD
BLM18HG102SN1D +C1

10u/16V
J3 JFM24011-0101T
GND
8 SHIELD
GND

MII_AVDD
TD- 1CT:1
TD- 3
C2 8
R1 R2 100nF 2 TCT 7
U2 DP83848 49.9R 49.9R 6
P1.0/ENET_TXD0 3 17 TX+ GND TD+ 1 TD+ 5
TXD_0 TD+
P1.1/ENET_TXD1 4 16 TX- 4
TXD_1 TD-
5 RD- 6 RD- 1CT:1 3
TXD_2
6 14 RX+ 2
TXD_3/SNI_MODE RD+
P1.4/ENET_TX_EN 2 13 RX- 5 RCT 1
TX_EN RD-
1
TX_CLK R3
P1.9/ENET_RXD0 43 24 RD+ 4 RD+
RXD_0/PHYAD1 RBIAS GND
P1.10/ENET_RXD1 44 4.87k 1% R4 R5
RXD_1/PHYAD2
45 49.9R 49.9R
RXD_2/PHYAD3
46 26 LED_ACT
RXD_3/PHYAD4 LED_ACT/COM/AN_EN MII_AVDD
P1.8/ENET_CRS 40 28 LED_LINK
CRS/CRS_DV/LED_CFG LED_LINK/AN0 C3
38 27 Yellow Green
RX_CLK LED_SPEED/AN1 100nF
P1.14/ENET_RX_ER 41
RX_ER/MDIX_EN
42
COL/PHYAD0
P1.17/ENET_MDIO 30 GND
MDIO
P1.16/ENET_MDC 31

10

11

12
MDC
34
X1
#RESET 29 R6 2k2 +3V3
RESET_N +3V3
25
25MHz_OUT
PWR_DOWN/INT 7 R7 240R +3V3
PWR_DOWN/INT
39 33 LED YELLOW
RX_DV/MII_MODE X2 R8
R9 2k2 D1 ACT
R10 R11 560R
10k 2k2 8 R12 240R
TCK
9 LED GREEN
TDO R13
10 R14 2k2 D2 LINK
TMS
+3V3 +3V3 11 560R
TRST#
12
IOVDD33
IOVDD33

TDI
AVDD33

PFBOUT
PFBIN1
PFBIN2
IOGND
IOGND
DGND

AGND
AGND

20 R15 2k2
RESERVED +3V3 J4
21 R16 2k2
RESERVED
J5
32
48

35
47
36

22

15
19

23
18
37

X1
+
C6 1 4
C7 C8 +3V3 OE VCC +3V3
C9 C10
10u/16V 100nF 100nF C4
GND 100nF
3 2
OUT GND GND
100nF 100nF GND GND GND
C11 CXO 50MHz
L2
+3V3 GND
BLM18HG102SN1D
100nF

+3V3

P1.15/ENET_REF_CLK

Figure 3 Implementation of Ethernet interface in 32F107.

DP83848 documentation can be found on manufacturer site: http://www.national.com

Module can be also ordered without RJ45 connector, with gold pin connector mounted instead.

7
USB interface

STM32F107 microcontroller have built-in USB 2.0 full-speed interface, which is capable of working as Host,
Device or in OTG mode. Module is equipped with UBS mini B connector, power switching circuit (for Host
mode) and LED diodes showing interface’s power state.

U5 (STMPS2141STR) is power switch providing voltage supply to USB connector, it is controlled by MSU’s
PC9 pin (active low). Additionally is has short-circuit protection disconnecting power from USB connector.
Fault condition is indicated by low logic level on MCU’s PE1 pin and red LED diode “USB OVC”. If power
switch will not be used, it can be disconnected by desoldering R37 and R38 resistors, what will make PC9
and PE1 pins available to other use.

Thanks to D9 module can be also powered from USB connector. Presence of power supply voltage in USB
connector (either from external source or from U5 switch) is signaled by red diode “USB PWR”.

Schematics of module’s USB circuit is show below.

+3V3

R32
470R

D6
D9 LED GREEN
USB PWR
+5V
S1B +3V3
R34 Q1
10k BC 847
R33
470R
+3V3 +3V3
GND

R35 R36 D7
10k 10k LED RED
U5 STMPS2141STR
USB FAULT
5
IN +5V
VBUS 1 4 R37 0R PC9/USB_POWER_SW
OUT EN
3 R38 0R PE1/USB_OVC
C27 FAULT
2
4.7uF GND GND

GND

J8
1 R42 220R PA9/USB_VBUS
Vbus
USB OTG

2 R39 22R PA11/USB_DM


D-
3 R40 22R PA12/USB_DP
D+
4 R41 220R PA10/USB_ID
ID
5
GND
6
SH1
7
SH2
8
SH3
9
SH4
USB B mini Connector
GND

Figure 4 Implementation of USB interface.

8
CAN interface

MMstm32F107 microcontrollers have on chip two CAN interfaces, compatible with CAN2.0 A and B
specifications. To connect MMstm32F107 minimodule to CAN bus additional circuit – CAN bus driver.
Example of such circuit is shown below.

GND
GND
10K

1
HIGH SLOPE
STM32F107

2
J2
8 1 PD1/CAN1_TX
RS D 11
CAN

1
CAN H 7
CANH GND
2
GND 12
PD0/CAN1_RX CAN1
CAN L 6 3
2 CANL VCC +3.3V
5 4 GND 2 GND
3 GND Vref R
CAN SN65HVD230 J1
PB6/CAN2_TX
5
4
PB5/CAN2_RX CAN2
120R
TERM. GND 39 GND
MMstm32F107 module

Figure 5 Connection of MMstm32F107 to CAN bus

RS232 interfaces

STM32F107 microcontroller has five USART ports which can be used to connect the minimodule with a PC
computer other equipment equipped with a RS-232 port. Such a connection requires a level converter based
on a ST3232 or similar IC, connected to the TX and RX lines. Drawings below show example use of USART1
port.

+3V3
16

PA9/USART1_TX STM32F107
PA10/USART1_RX
PA11/USART1_CTS USART1
VCC

100n 1
C1+ PA12/USART1_RTS
2
+5V V+
100n PA0/USART2_CTS
PA1/USART2_RTS
6 3 USART2
DB9F GND V- C1- PA2/USART2_TX
4
C2+ PA3/USART2_RX
100n
GND
100n PB10/USART3_TX
PB11/USART3_RX
5 5 USART3
GND C2- PB13/USART3_CTS
9
PB14/USART3_RTS
RS-232

4 14 11
T1 OUT T1 IN
8 7 10
T2 OUT T2 IN PC10/USART4_TX
3 13 12 USART4
R1 IN R1 OUT PC11/USART4_RX
7 8 9
GND

R2 IN R2 OUT
2 PC12/USART5_TX
6 PD2/USART5_RX USART5
1 ST3232
15

MMstm32F107 module
GND
GND

Figure 6 Example of UART0 use as DCE.

9
microSD memory card socket

Minimodule is equipped with microSD memory card socket, connected to microcontroller’s SPI3 port (pins
PA4, PC12, PC10, PC11). Additionally , to PE0 is connected signal informing by low logic level that card is
present in the socket.

+3V3

R30
10k
J7 microSD
1
DAT2 [NC]
2 PA4/MICROSD_CS
CD/DAT3 [CS]
3 PC12/MICROSD_MOSI
CMD [DI]
4
VCC +3V3

microSD
5 PC10/MICROSD_SCK
CLK
6
GND GND
7 PC11/MICROSD_MISO
DAT0 [DO]
8
DAT1 [NC]
9 PE0/MICROSD_DETECT
INS1
INSERTED
10
GND INS2
GND
101
102

GND

Figure 7 microSD connector.

Cortex Debug connector

Module is equipped with new standard of debugging/programming connector defined by ARM, called „Cortex
Debug Connector”. It is a 10-pin (2x5) goldpin connector with 1.27mm pitch with small footprint on PCB.

+3V3
10k
10k
10k
R24
R25
R26

J6
VCC TMS/SWDIO PA13/TMS/SWDIO
+3V3 1 2
GND TCK/SWDCLK PA14/TCK/SWDCLK
3 4
GND TDO/SWO PB3/TDO/SWO
5 6
NC TDI/NC PA15/TDI
7 8
GNDDetect nRESET #RESET
GND 9 10
10k

MHDR2X5
Cortex Debug Connector
R27

GND

Figure 8 Cortex Debug connector. Figure 9 Pinout of Cortex Debug connector.

10
Power supply

MMstm32F107 module require regulated 5V power supply with output current at least 300mA (when USB Hot
function with capability of powering connected devices is not used) or 800mA (if this function is used). Module
current draw is depended on many factors: CPU core and buses frequency, used peripherals, Ethernet
controller activity, microSD activity etc. There are many possibilities to reduce power consumption thanks to
microcontroller and PHY low power modes.

Power supply should be connected to pins 1 (+5V) and 2 (GND) of J2 connector. Module’s built in power
supply is shown below:

D5

LL4148

U4 SPX2920M3-3.3
1 3
VIN VOUT

GND

TAB
+ +
C25 C26
10u/16V 10u/16V

4
GND GND
GND GND

J1 J2
1 2 +5V 1 2 GND
VBAT
3 4 +3V3 3 4
5 6 5 6
7 8 7 8
9 10 9 10
11 12 11 12
13 14 13 14
15 16 15 16
17 18 17 18
19 20 19 20
21 22 21 22
23 24 23 24
25 26 25 26
27 28 27 28
29 30 29 30
31 32 31 32
33 34 33 34
35 36 35 36
37 38 37 38
VBUS
GND 39 40 39 40
Header 20X2 Header 20X2

Figure 10 Module’s power supply circuit.

Module can be also powered from USB connector – more on this subject in „USB interface” section.

11
2 Evaluation Board
In order to facilitate the design of equipment using the minimodule, an evaluation board has been prepared. It
includes the following elements:

Connector with all terminals of the minimodule


Connectors of all peripherals accessible on board
JTAG connector for in system programming and
debugging
Voltage regulators (+5V and +3,3V)
Possibility supply with USB Port
Power switch
8 switches and 8 LED diodes
Buzzer
2 potentiometers
IRDA port
USB Device and USB Host ports
Two ports RS232 with LEDs
Codec Audio
CAN Interface
1-WIRE connector
SD/MMC card slot
Alphanumeric LCD connector
Graphic LCD connector

More info can be found on page:


http://www.propox.com/products/t_183.html

Figure 11 EVBmmTm evaluation board.

12
3 Example software
MCU manufacturer’s site contain many example applications showing how to handle different peripherals:
http://www.st.com/mcu/devicedocs-STM32F107VC-110.html

You can find there among others:

Implementation of RC5 infrared remote control receiver


ADC handling
Sample WWW server
Handling of serial ports, I2C, SPI
Handling of USB port in Device and OTG modes

Module is delivered with programmed sample application implementing Simple WWW server. Sources of this
application can be found on our site:
http://www.propox.com/download/software/demo_MMstm32_eth_lib.zip

To quickly test bought module:

Connect module to local Ethernet Network, or directly to PC with straight or crossed cable
Connect module to PC with USB cable to power up module
Visit www page at address http://192.168.0.8 On this page you can read voltage at ADC input (PC4,
J1-29), and control four outputs, to whom you may connect e.g. LED diodes (LED1: PD7, J2-5; LED2:
PD13, J2-30; LED3: PD3, J2-9, LED4: PD4, J2-8)

Figure 12 WWW page Server by module.

13
Programming Flash memory of STM32F107

Flash memory of STM32F107 microcontroller can be programmed in two ways: using JTAG/SWD interface or
through bootloader. In this documentation, second method, not requiring any special programming hardware,
will be described.

Bootloader program is stored in internal ROM memory and allow to program Flash memory through
interfaces: USB, RS232 and CAN. To enable bootloader, during reset BOOT0 pin (connector J1, pin 1)
should be connected to high logic level and BOOT1 to low logic level (BOOT1 have pull-down resistor, so it
can be left unconnected).

Boot mode selection pins


Boot mode
BOOT1 (PB2) BOOT0
X 0 Flash
0 1 ROM (bootloader)
1 1 RAM
Table 1 MCU’s boot modes.

Programming through RS232 interface

To program processor through RS232, its USART2 port should be connected to PC using level translator, e.g.
shown below:

+3.3V

16 1 100n
VCC C1+
2 3
100n 100n V+ C1-
4
GND C2+
5
C2- 100n
GND
1 TX0 14 11
PD5/USART2_TX
6
RS-232

2 7 10
7
3 RX0 13 12
PD6/USART2_RX
8
4 8 9
9
5 6 15
GND V- GND
MAX3232CSE
100n
GND
DB9F GND GND

Figure 13 RS232 level translator.

Pins RS of USART1 (PA10) and CAN (PB5) should be connected to steady logic state, USB interface should
be not connected.

PC should have installed „Flash Loader Demonstrator” application from ST:


http://www.st.com/mcu/download2.php?file=um0462.zip&info=STM32F107VC%20Software%20-
%20PC%20&url=http://www.st.com/stonline/products/support/micro/files/um0462.zip

After launching this application (Start -> Programs -> STMicroelectronics -> Flash Loader Demonstrator ->
Flash Loader Demo) appropriate COM port should be selected (another options can be left unchanged), then
you can three times click “Next” button to go through subsequent windows:

14
Figure 14 First window of „Flash Loader Demonstrator” application.

Figure 15 Second window of „Flash Loader Demonstrator” application.

15
Figure 16 Third window of „Flash Loader Demonstrator” application.
In next window select „Download to device” and choose file to program:

Figure 17 Fourth window of „Flash Loader Demonstrator” application.

16
After clicking „Next” processor will be programmed:

Figure 18 Fifth window of „Flash Loader Demonstrator” application.

Detailed documentation can be found in document:


http://www.st.com/mcu/download2.php?file=13916.pdf&info=STM32F107VC%20Software%20-
%20PC%20&url=http://www.st.com/stonline/products/literature/um/13916.pdf

Programming through USB interface

Processor can also be programmed through USB interface. To do this use „DfuSe” application from ST:
http://www.st.com/mcu/download2.php?file=um0412.zip&info=STM32F107VC%20Software%20-
%20PC%20&url=http://www.st.com/stonline/products/support/micro/files/um0412.zip

Application documentation:
http://www.st.com/mcu/download2.php?file=13379.pdf&info=STM32F107VC%20Software%20-
%20PC%20&url=http://www.st.com/stonline/products/literature/um/13379.pdf

17
4 Specifications

Microcontroller STM32F107
Program memory do 256kB
Data memory do 64kB
Memory card socket Micro SD
No. of digital I/O do 71
No. of analog inputs do 16
No. of analog outputs Do 2

Ethernet 10/100 Mb/s Auto-MDIX, onboard RJ45

Power supply 5V
Power consumption 800mA
Dimensions 36x61mm
Weight ok. 100g
Operating temperature range 0 – 70ºC
Humidity 5 – 95%

Double 2x40 header


Ethernet RJ45
Connectors
USB
Cortex Debug Connector

5 Technical support
In order to obtain technical assistance please contact support@propox.com . In the request please
include the following information:

number of the module version (e.g. REV 1)


setting of resistors
a detailed description of the problem

6 Guarantee
The MMstm32F107 minimodule is covered by a six-month guarantee. All faults and defects not caused by the
user will be removed at the Producer’s cost. Transportation costs are borne by the buyer.

The Producer takes no responsibility for any damage and defects caused in the course of using the
MMstm32F107 module.

18
7 Assembly drawings

Figure 19 Assembly drawing – top layer.

Figure 20 Assembly drawing – bottom layer.

19
8 Dimensions

Figure 21 Dimensions – top view.

Figure 22 Dimensions – side view.

9 Schematics

20
U1 STM32F107Vx

PA0 23 46 PE15
PA0-WKUP PE15
PA1/RMII_REF_CLK 24 45 PE14
PA1 PE14
PA2/RMII_MDIO 25 44 PE13
PA2 PE13
PA3 26 43 PE12
PA3 PE12
PA4/MICROSD_CS 29 42 PE11
PA4 PE11
PA5 30 41 PE10
PA5 PE10
PA6 31 40 PE9
PA6 PE9
PA7 32 39 PE8
PA7 PE8
PA8 67 38 PE7
PA8 PE7
PA9/USB_VBUS 68 5 PE6
PA9 PE6
PA10/USB_ID 69 4 PE5
PA10 PE5
PA11/USB_DM 70 3 PE4
PA11 PE4
PA12/USB_DP 71 2 PE3
PA12 PE3
PA13/TMS/SWDIO 72 1 PE2
PA13 PE2
PA14/TCK/SWDCLK 76 98 PE1/USB_OVC
PA14 PE1
PA15/TDI 77 97 PE0/MICROSD_DETECT
PA15 PE0
PB0 35 62 PD15
PB0 PD15
PB1 36 61 PD14
R17 PB1 PD14
PB2/BOOT1 37 60 PD13
GND PB2 PD13
10k PB3/TDO/SWO 89 59 PD12
PB3 PD12
PB4 90 58 PD11
PB4 PD11
PB5 91 57 PD10/RMII_RXD1
PB5 PD10
PB6 92 56 PD9/RMII_RXD0
PB6 PD9
PB7 93 55 PD8/RMII_CRS
PB7 PD8
PB8 95 88 PD7
PB8 PD7
PB9 96 87 PD6
PB9 PD6
PB10 47 86 PD5
PB10 PD5
PB11/RMII_TX_EN 48 85 PD4 C11
PB11 PD4
PB12/RMII_TXD0 51 84 PD3
PB12 PD3 GND
PB13/RMII_TXD1 52 83 PD2
PB13 PD2
PB14 53 82 PD1 10pF
PB14 PD1 X2
PB15 54 81 PD0
PB15 PD0 32.768kHz
9 PC15/OSC32_OUT C12
PC15-OSC32_OUT
50 8 PC14/OSC32_IN
+3V3 VDD_1 PC14-OSC32_IN GND
75 7 PC13
VDD_2 PC13-ANTI_TAMP
C13 C14 C15 C16 C17 100 80 PC12/MICROSD_MOSI 10pF
VDD_3 PC12
100nF 100nF 100nF 100nF 100nF 28 79 PC11/MICROSD_MISO
VDD_4 PC11
11 78 PC10/MICROSD_SCK
VDD_5 PC10
GND GND GND GND GND 66 PC9/USB_POWER_SW
PC9
49 65 PC8
VSS_1 PC8
74 64 PC7
VSS_2 PC7
99 63 PC6
VSS_3 PC6
27 34 PC5
VSS_4 PC5
10 33 PC4
VSS_5 PC4
18 PC3
PC3
GND 17 PC2
L3 BLM PC2
22 16 PC1/RMII_MDC
+3V3 VDDA PC1
15 PC0
PC0
C18 C19
1uF 100nF 19
R19 VSSA
C20 +3V3
220R GND GND
22pF
VREF+ 21 X3
VREF+ 25MHz R18
20 12
GND VREF- OSC_IN 10k
C28 C22 13 R20 220R C23
OSC_OUT GND
1uF 100nF 14 #RESET 22pF
NRST
73
NC
GND GND VBAT 6 94 BOOT0 R22 10k C21
VBAT BOOT0 GND
100nF http://www.propox.com
BT1 email: support@propox.com
D8 GND
R23 3V CR2032
+3V3
Battery Socket Title: MMstm32F107
LL4148 470k
GND Rev:
Size: File:
Date: 08-02-2010 Sheet 1 of 4 2

21
+3V3

R30
10k
J7 microSD +3V3 +3V3
1
DAT2 [NC]
2 PA4/MICROSD_CS
CD/DAT3 [CS]
3 PC12/MICROSD_MOSI
CMD [DI]
4 D3 D4
VCC +3V3
microSD
5 PC10/MICROSD_SCK LED RED LED GREEN
CLK
6 USR PWR
GND GND
7 PC11/MICROSD_MISO
DAT0 [DO]
8 R28 R29
DAT1 [NC]
470R 470R
9 PE0/MICROSD_DETECT
INS1
10
INSERTED

INS2
GND

PD7
GND
GND
101
102

GND
+3V3

R32
470R

D6
D9 LED GREEN
USB PWR
+5V
S1B +3V3
R34 Q1
10k BC 847
R33
470R
+3V3 +3V3
GND D5

R35 R36 D7
LED RED LL4148
U5 STMPS2141STR 10k 10k
USB FAULT
5
IN +5V U4 SPX2920M3-3.3
VBUS 1 4 R37 0R PC9/USB_POWER_SW
OUT EN 1 3
3 R38 0R PE1/USB_OVC +5V VIN VOUT +3V3
C27 FAULT
2

GND

TAB
4.7uF GND GND
+ +
C25 C26
GND 10u/16V 10u/16V

4
J8 GND GND
GND GND
1 R42 220R PA9/USB_VBUS
Vbus
USB OTG

2 R39 22R PA11/USB_DM


D-
3 R40 22R PA12/USB_DP
D+
4 R41 220R PA10/USB_ID
ID
5
GND
6
SH1
7
SH2
8
SH3
9 http://www.propox.com
SH4
email: support@propox.com
USB B mini Connector
GND
Title: MMstm32F107
Size: File: Rev:
Date: 08-02-2010 Sheet 2 of 4 2

22
L1 BLM J3 JFM24011-0101T
+3V3 MII_AVDD
+
C1
8 SHIELD
GND
10u/16V
MII_AVDD
TD- 1CT:1
GND TD- 3
C2 8
R1 R2 100nF 2 TCT 7
U2 DP83848CVV 49.9R 49.9R 6
PB12/RMII_TXD0 3 17 TX+ GND TD+ 1 TD+ 5
TXD_0 TD+
PB13/RMII_TXD1 4 16 TX- 4
TXD_1 TD-
5 RD- 6 RD- 1CT:1 3
TXD_2
6 14 RX+ 2
TXD_3/SNI_MODE RD+
PB11/RMII_TX_EN 2 13 RX- 5 RCT 1
TX_EN RD-
1
TX_CLK R3
PD9/RMII_RXD0 43 24 RD+ 4 RD+
RXD_0/PHYAD1 RBIAS GND
PD10/RMII_RXD1 44 4.87k 1% R4 R5
RXD_1/PHYAD2
45 49.9R 49.9R
RXD_2/PHYAD3
46 26 LED_ACT
RXD_3/PHYAD4 LED_ACT/COM/AN_EN MII_AVDD
PD8/RMII_CRS 40 28 LED_LINK
CRS/CRS_DV/LED_CFG LED_LINK/AN0 C3
38 27 Yellow Green
R21 RX_CLK LED_SPEED/AN1 100nF
41
2k2 NM RX_ER/MDIX_EN
42
COL/PHYAD0
PA2/RMII_MDIO 30 GND
MDIO
PC1/RMII_MDC 31
MDC

10

11

12
GND 34
X1
#RESET 29 R6 2k2 +3V3
RESET_N +3V3
25
25MHz_OUT
PWR_DOWN/INT 7 R7 220R +3V3
PWR_DOWN/INT
39 33 LED YELLOW
RX_DV/MII_MODE X2 R8
R9 2k2 D1 ACT
R10 R11 470R
2k2 2k2 8 R12 220R
TCK
9 LED GREEN
TDO R13
10 R14 2k2 D2 LINK
TMS
+3V3 +3V3 11 470R
TRST#
12
IOVDD33
IOVDD33

TDI
AVDD33

PFBOUT
PFBIN1
PFBIN2
IOGND
IOGND
DGND

AGND
AGND

20 R15 2k2
RESERVED +3V3 J4
21 R16 2k2
RESERVED
J5
32
48

35
47
36

22

15
19

23
18
37

+
C4
C7 C8 C5 C6
10u/16V 100nF 100nF
GND
100nF 100nF GND GND GND
C9
L2
+3V3 GND
BLM
100nF X1
1 4
+3V3 OE VCC +3V3
+3V3
C10
PA1/RMII_REF_CLK 3 2 100nF
OUT GND GND
CXO 50MHz

http://www.propox.com
email: support@propox.com

Title: MMstm32F107
Size: File: Rev:
Date: 08-02-2010 Sheet 3 of 4 2

23
J1 J2
BOOT0 PB3/TDO/SWO
1 2 +5V 1 2 GND
PB4 PB5 VBAT
3 4 +3V3 3 4
PB6 PB7 PD7 PD6
5 6 5 6
PB8 PB9 PD5 PD4
7 8 7 8
PE0/MICROSD_DETECT PE1/USB_OVC PD3 PD2
9 10 9 10
PE2 PE3 PD1 PD0
11 12 11 12
PE4 PE5 PC12/MICROSD_MOSI PC11/MICROSD_MISO
13 14 13 14
PE6 PC13 PC10/MICROSD_SCK PA15/TDI
15 16 15 16
PC14/OSC32_IN PC15/OSC32_OUT PA14/TCK/SWDCLK PA13/TMS/SWDIO
17 18 17 18
PC0 PC2 PA12/USB_DP PA11/USB_DM
19 20 19 20
PC3 VREF+ PA10/USB_ID PA9/USB_VBUS
21 22 21 22
PA0 PA3 PA8 PC9/USB_POWER_SW
23 24 23 24
PA4/MICROSD_CS PA5 PC8 PC7
25 26 25 26
PA6 PA7 PC6 PD15
27 28 27 28
PC4 PC5 PD14 PD13
29 30 29 30
PB0 PB1 PD12 PD11
31 32 31 32
PB2/BOOT1 PE7 PB15 PB14
33 34 33 34
PE8 PE9 PB10 PE15
35 36 35 36
PE10 #RESET PE14 PE13
37 38 37 38
VBUS PE12 PE11
GND 39 40 39 40
Header 20X2 Header 20X2

+3V3
10k
10k
10k
R24
R25
R26

J6
VCC TMS/SWDIO PA13/TMS/SWDIO
+3V3 1 2
GND TCK/SWDCLK PA14/TCK/SWDCLK
3 4
GND TDO/SWO PB3/TDO/SWO
5 6
NC TDI/NC PA15/TDI
7 8
GNDDetect nRESET #RESET
GND 9 10
10k

MHDR2X5
Cortex Debug Connector
R27

GND
http://www.propox.com
email: support@propox.com

Title: MMstm32F107
Size: File: Rev:
Date: 08-02-2010 Sheet 4 of 4 2

24

You might also like