Propox MMstm32F103Vx User manual

rterKitsEmbeddedWebServ
e
PICmicrocontrollersSt
a
-
sfor‘51,AVR,S
T
,
ationBoar
d
Evalu
rsPrototypingBoardsMinimod
-
Microprocesorsystems,PCB
AVR,PIC,STmicrocontrollers
edInSystemprogrammersfor
netcontrollers,RFIDHighSpe-
ulesformicrocontrollers,ether-
designingEvaluationBoardsfo
r
ethernetcontrollers,RFIDHigh
nimodulesformicrocontrollers,
ServersPrototypingBoardsmi-
lersStarterKitsEmbeddedWe
b
‘51,AVR,ST,PICmicrocontrol-
SpeedInSystemsprogramme-
rocontrollersStarterKitsEmbe-
ardsfor`51,AVR,ST,PICmic-
PCBdesigningEvaluationBo-
ollersMicroprocesorsystems,
rsforAVR,PIC,STmicrocontrl
-
ddedWebSerwersPrototyping
mersforAVR,PIC,STmicroco
-
HighSpeedInSystemprogram
-
controllers,ethernetcontrollers,
BoardsMinimodulesformicro-
c
ontrollersMicroprocesor
B
oards
n
ingEvaluatio
n
S
ystems,PCBDesig
-
R
Many ideas one solution
MM
MMMM
MMstm32F103Vx
stm32F103Vxstm32F103Vx
stm32F103Vx
User’s
Manual
REV 1.1

2
CONTENTS
1.
1.1.
1.
Introduction
IntroductionIntroduction
Introduction
....................................................................................................................................... 3
Features
.................................................................................................................................................. 3
2.
2.2.
2.
The Module
The ModuleThe Module
The Module
........................................................................................................................................ 4
Block Diagram
..................................................................................................................................... 4
Terminals Layout
............................................................................................................................... 5
STM32F103 x Microcontroller
................................................................................................... 6
Serial Flash Memory
......................................................................................................................... 7
ESET circuit
....................................................................................................................................... 8
Voltage egulator
.............................................................................................................................. 8
USB D+ Pull-Up Circuit
.................................................................................................................... 9
JTAG Connection
............................................................................................................................... 9
3.
3.3.
3.
Evaluation Board
Evaluation BoardEvaluation Board
Evaluation Board
.......................................................................................................................... 10
4.
4.4.
4.
Specyfications
SpecyficationsSpecyfications
Specyfications
............................................................................ Błąd! Nie zdefiniowano zakładki.
5.
5.5.
5.
Technic
TechnicTechnic
Technical assistance
al assistanceal assistance
al assistance
................................................................................................................. 11
6.
6.6.
6.
Guarantee
GuaranteeGuarantee
Guarantee
......................................................................................................................................... 11
7.
7.7.
7.
Assembly Drawings
Assembly DrawingsAssembly Drawings
Assembly Drawings
..................................................................................................................... 12
8.
8.8.
8.
Dime
DimeDime
Dimensions
nsionsnsions
nsions
...................................................................................................................................... 13
9.
9.9.
9.
Schematic
SchematicSchematic
Schematic
........................................................................................................................................ 13

3
1.
1.1.
1.
Introduction
IntroductionIntroduction
Introduction
MMstm32F103Vx is universal minimodule for the STM32 Cortex-3 microcontrollers
from STMicroelectronics. This microcontroller is available in the TQFP100 case which
is difficult to apply to prototype and amateur circuits due to the compactness of pins.
We have undertaken an attempt at placing it on a board of 61x37,5mm with a layout of
leads which matches the commonly available prototype circuit boards. In addition, we
have included 3.3V voltage regulator, a Serial Flash memory with a capacity of up to
8MB, a circuit monitoring the supply voltage and clock generator for microcontroller. All
ports and signals of the microcontroller are lead out by means of two-row pin
connectors with 0.1’ pitch. This minimodule is not only an adapter but a complete main
board for STM32F103VB. It needs only a connection to the supply voltage and to the
JTAG programmer and we can start loading 128kBytes of Flash memory of the
microcontroller.
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 MMstm32F103Vx 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
FeaturesFeatures
Features
MMstm32F103Vx minimodule:
Complete, ready to use microprocessor system
Fast ARM microcontroller STM32F103Vx with up to 90 DMIPS throughput
SerialFlash memory M25P64 64Mb (8MB)
Built-In JTAG 20-pin connector (Wiggler compatybile)
Reliable reset circuit
Built-in system generator 8MHz
Built-in 32.768kHz crystal resonator for RTC
Built-in voltage regulator 3.3V 400mA
Module supply voltage: 3.3V or 3.8 - 9V
2 x 40 terminals with 0.1" (2.54mm) pitch fitting every prototype board
Small dimensions: 61mm x 37.5mm
Available evaluation board and sample applications

4
2.
2.2.
2.
The Module
The ModuleThe Module
The Module
Block Diagram
Block DiagramBlock Diagram
Block Diagram
A block diagram of MMstm32F103Vx minimodule is shown on the image below:
Figure 1 Block diagram of MMstm32F103Vx
Minimodule can be ordered in different configurations with use of selector:
MMstm32F103Vx – d – b
Serial Flash memory size:
0 – not mounted
1 – 8MB
Battery holder:
0 – not mounted
1 – mounted

5
Terminals Layout
Terminals LayoutTerminals Layout
Terminals Layout
Figure 2 Terminals Layout – top view

6
STM32F
STM32FSTM32F
STM32F103 x
103 x103 x
103 x
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
32-bit Cortex-M3 core
72 MHz, 90 DMIPS with 1.25 DMIPS/MHz
128kB in system programmable flash memory
20kB SRAM memory
3 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter
16-bit, 6-channel advanced control timer
2 x 16-bit watchdog timers
2 x I2C interfaces (SMBus/PMBus)
2 SPI interfaces
3 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control)
2 SPIs (18 Mbit/s)
USB 2.0 full speed interface
CAN interface (2.0B Active)
RTC clock
2 x 12-bit, 1 us A/D converters (16-channel)
80 5 V-tolerant I/Os
Nested interrupt controller with 43 maskable interrupt channels
Sleep, Stop and Standby modes
4-to-16 MHz quartz oscillator
Internal 8 MHz factory-trimmed RC
Internal 32 kHz RC
PLL for CPU clock
2.0 to 3.6 V application supply
Serial wire debug (SWD) & JTAG interfaces

7
Serial Flash
Serial FlashSerial Flash
Serial Flash
Memory
MemoryMemory
Memory
The minimodule can be equipped with Serial Flash memory M25P64 (8MB capacities). The
memory is connected to a fast SPI bus with up to 18MBit/s transmission speed.
Figure 3 Serial Flash memory connection
Memory is available directly on microcontroller pins:
PA4 Chip Select
PA5 Clock Input
PA6 Data Output
PA7 Data Input
It should be kept in mind that if Serial Flash memory is installed, the just outlined port terminals
cannot be used externally to the module. Of course the SPI bus can be used for
communication with external peripherals, under the condition that they will have circuit
selection inputs (CS).
A detailed description of Serial Flash circuits is on the STMicroelectronics page: www.st.com.

8
ESET circuit
ESET circuitESET circuit
ESET circuit
The MMstm32F103Vx has a built-in voltage monitoring circuit built around the DS1818
integrated circuit. The circuit generates a RESET signal in case when the supply voltage value
is lower than 3V. This takes place when the supply voltage is switched on or off, when the
VCC voltage changes its value from 0 to 3.3 V. The guard circuit detects also momentary VCC
voltage drops. A short duration drop of VCC below 3V causes the generation of a resetting
signal of 100 ms duration. This signal is applied directly to the resetting input of the
microcontroller and is led out to a module connector and it can be used as the zeroing output
resetting external circuits and as the input for resetting the module, e.g. by means of the
RESET button. In such a case the RESET button can short the RESET line directly to ground.
An implementation of the reset circuit is presented in the diagram below.
Figure 4 RESET circuit implementation
Voltage egulator
Voltage egulatorVoltage egulator
Voltage egulator
Minimodule has built-in 3.3V voltage regulator. Thanks to it can be powered with 3.3V voltage
supplied to J2 40 pin (+3.3V) or with voltage between 3.8 – 9V, supplied to J2 39 pin (VCC).
When power is supplied to VCC pin, then 3.3V voltage is produced on the module by U3
regulator. In this case 3.3V voltage can be also used outside the module, if current draw will
not exceed 300mA.
Figure 5 3.3V Voltage Regulator

9
USB
USB USB
USB D+
D+ D+
D+ Pull
PullPull
Pull-
--
-Up Circuit
Up CircuitUp Circuit
Up Circuit
USB host recognize presence of device on the bus by sensing pull-up on D+ line.
MMstm32F103Vx has built-in pull-up circuit, shown on drawing below.
Figure 6 USB D+ Pull-Up circuit implementation
Pull-up is by default turned on by R10 resistor. Active reset signal or low level on UDP_PUP
line turns off pull-up, what is interpreted by USB host as disconnection of USB device.
JTAG
JTAGJTAG
JTAG
Connection
ConnectionConnection
Connection
JTAG is a four-lead interface permitting the takeover of control over the processor’s core. The
possibilities offered by this interface are, among others: step operation, full-speed operation,
hardware and software breakpoints, inspection and modification of contents of registers and
data memories. The method of connecting the JTAG connector to the minimodule is shown in
the drawing:
Figure 7 JTAG connection on module

10
JTAG programmer/debugger may be found on page:
ARM cable I http://www.propox.com/products/t_122.html
3.
3.3.
3.
Evaluation Board
Evaluation BoardEvaluation Board
Evaluation Board
EVBmm™
EVBmm™EVBmm™
EVBmm™

11
4.
4.4.
4.
Specifications
SpecificationsSpecifications
Specifications
Microcontroller STM32F103VB
Program Memory 128kB
SRAM Memory 20kB
Serial Flash Memory 8MB
Digital in/out 80 with 5V tolerant
Analog inputs 15
Power Supply 3.3V or 3.8 – 9V
Dimensions 61x37,5mm
Weight about 80g
Temperature range 0 – 70ºC
Connectors Two gold-pin connectors - 2x40
5.
5.5.
5.
Technical assistance
Technical assistanceTechnical assistance
Technical assistance
In order to obtain technical assistance please contact support@propox.com . In the request
please include the following information:
•a detailed description of the problem
6.
6.6.
6.
Guarantee
GuaranteeGuarantee
Guarantee
The MMstm32F103Vx 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 MMstm32F103Vx module.

12
7.
7.7.
7.
Assembly
Assembly Assembly
Assembly Drawings
DrawingsDrawings
Drawings
Figure 8 TOP
Figure 9 Bottom

13
8.
8.8.
8.
Dimensions
DimensionsDimensions
Dimensions
Figure 10 Top View
Figure 11 Side View
9.
9.9.
9.
Schematic
SchematicSchematic
Schematic

14
Table of contents
Other Propox Computer Hardware manuals