STM32-P107 development board
User's manual
All boards produced by Olimex are ROHS compliant
Document revision L, Feburary 2018
Copyright(c) 2014, OLIMEX Ltd, All rights reserved
Page 1 of 23
DISCLAIMER
© 2018 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other product
names may be trademarks of others and the rights belong to their respective owners.
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.
This hardware design of STM32-P107 is neither public nor open-source. Any copying of the product would result in
copyright infringement.
The software written by Olimex is released under open source terms. Every other piece of code (libraries, ready-to-use-
files, etc) follow their owner's copyright.
It is possible that the pictures in this manual differ from the latest revision of the board.
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.
This evaluation board/kit is intended for use for engineering development, demonstration, or evaluation purposes only
and is not considered by OLIMEX to be a finished end-product fit for general consumer use. Persons handling the
product must have electronics training and observe good engineering practice standards. As such, the goods being
provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing-related
protective considerations, including product safety and environmental measures typically found in end products that
incorporate such semiconductor components or circuit boards.
Olimex currently deals with a variety of customers for products, and therefore our arrangement with the user is not
exclusive. Olimex assumes no liability for applications assistance, customer product design, software performance, or
infringement of patents or services described herein.
THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS
USED TO CREATE STM32-P107. THEY ARE CONSIDERED SUITABLE ONLY FOR
STM32-P107.
Page 2 of 23
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 2×10 pin layout for programming/debugging
- Power jack for external power supply: suitable for (6.5-9)VDC or 6VAC
- USB OTG connector capable of powering the board
- USB host connector
- 100 Mbit/s Ethernet driver with RJ-45 connector
- RS232 driver with DE-09 female connector
- MiniSD card connector
- UEXT connector
- Two user-programmable buttons
- Reset button and circuit
- Two user-programmable LEDs
- Power-on LED
- 25 Mhz quartz crystal
- Extension port connectors for many of microcontrollers pins
- Prototype area
- Easy-to-change PTH jumpers
- Compatible with the bootloader tools provided by STM: "Flash Loader Demo" and "DfuSe Demo"
- PCB: FR-4, 1.5mm ~ (0.062)", soldermask, silkscreen component print
- Dimensions: (5.2×3.8)'' ~ (132×97)mm
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 3 of 23
BOARD USE REQUIREMENTS
Cables: The cable you will need depends on the programmer/debugger you use. If you use
ARM-
JTAG,
you will need LPT cable, if you use
ARM-USB-OCD, ARM-USB-OCD-H, ARM-USB-
TINY,
or
ARM-USB-TINY-H
you will need 1.8 meter USB A-B cable, for ARM-USB-OCD and
ARM-USB-OCD-H you will need RS232 cable, too.
Hardware: Programmer/Debugger – one of the Olimex ARM Programmers: ARM-JTAG, ARM-
JTAG-EW, ARM-USB-OCD, ARM-USB-OCD-H, ARM-USB-OCD-TINY, ARM-USB-OCD-H.
Note that Olimex OpenOCD debuggers lack SWD interface by default. There is the adapter
ARM-
JTAG-SWD
that adds SWD to any of the programmers/debuggers mentioned above.
Additionally you can use our
ARM-JTAG-COOCOX
debugger which has both JTAG and SWD
interfaces and works with CooCox IDE natively and with IAR EW and Keil uVision via plug-ins.
Note the board can be programmed without a debugger using the serial port (the one with the
DE-9 connector).
Software: ARM C compiler
Page 4 of 23
PROCESSOR FEATURES
STM32-P107 board uses the ARM-based 32-bit microcontroller STM32F107VCT6 with the
following features:
–
Core: ARM 32-bit Cortex™-M3 CPU
–
72 MHz maximum frequency, 1.25 DMIPS/MHz (Dhrystone 2.1) performance at 0 wait
state memory access
–
Single-cycle multiplication and hardware division
–
Memories
–
256 Kbytes of Flash memory
–
64 Kbytes of SRAM
–
Clock, reset and supply management
–
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
–
Low power
–
Sleep, Stop and Standby modes
–
VBAT supply for RTC and backup registers
–
2 × 12-bit, 1 µs A/D converters (16 channels)
–
Conversion range: 0 to 3.6 V
–
Sample and hold capability
–
Temperature sensor
–
up to 2 MSps in interleaved mode
–
2 × 12-bit D/A converters
–
DMA: 12-channel DMA controller
–
Supported peripherals: timers, ADCs, DAC, I
2
Ss, SPIs, I
2
Cs and USARTs
–
Debug mode
–
Serial wire debug (SWD) & JTAG interfaces
–
Cortex-M3 Embedded Trace Macrocell™
–
80 fast I/O ports
–
80 I/Os, all mappable on 16 external interrupt vectors and almost all 5 V-tolerant
–
10 timers
–
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
–
14 communication interfaces
–
2 × I
2
C interfaces (SMBus/PMBus)
–
5 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control)
–
3 SPIs (18 Mbit/s), 2 with a multiplexed I
2
S 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
Page 5 of 23