OLIMEXINO-STM32 development board
Users Manual

All boards produced by Olimex are ROHS compliant

Revision A, August 2011

Designed by OLIMEX Ltd, 2011

Page 1INTRODUCTION:
What is Arduino?
Arduino is an open-source electronics prototyping platform, designed to make theprocess of using electronics in multidisciplinary projects more accessible. The hardware consists of a simple open hardware design for the Arduino board with an Atmel AVR processor and on-board I/O support. The software consists of a standard
programming language and the boot loader that runs on the board.
Arduino hardware is programmed using a Wiring-based language (syntax + libraries), similar to C++ with some simplifications and modifications, and a Processingbased IDE.
The project began in Ivrea, Italy in 2005 to make a device for controlling studentbuilt interaction design projects less expensively than other prototyping systems
available at the time. As of February 2010 more than 120,000 Arduino boards had
been shipped. Founders Massimo Banzi and David Cuartielles named the project
after a local bar named Arduino. The name is an Italian masculine first name, meaning "strong friend". The English pronunciation is "Hardwin", a namesake of Arduino of Ivrea
More information could be found at the creators web page http://arduino.cc/ andin the Arduino Wiki http://en.wikipedia.org/wiki/Arduino
To make the story short - Arduino is easy for the beginners with lack of Electronics
knowledge, but also do not restrict the professionals as they can program it in C++
or mix of Arduino/C++ language.
There are thousands of projects which makes the startup easy as there is barely nofield where Arduino enthusiasts to have not been already.
Arduino has inspired two other major derivates - MAPLE and PINGUINO. Based on 8-bit
AVR technology the computational power of Arduino boards are modest, this is why teamfrom MIT developed MAPLE project which is based on ARM7 STM32F103RBT6 microcontroller, the board have same friendly IDE as Arduino and offers the same capabilities as
hardware and software but runs the Arduino code much faster. Maple project can be foundat http://leaflabs.com

Page 2BOARD FEATURES:
We enter in Arduino/MAPLE field 5 years after the design was introduced, andthis allowed us to see and skip all the errors the Arduino inventors did :-)We had the possibility to read current customer feedback and to implement what
they wanted to see in the original Arduino.

1.

Original Arduino/MAPLE uses linear power supply, this limits the input
voltage range. We designed the power supply to accept power from 9 to 30V DC
thus making possible to take virtually any power supply adapter on the market,
also enable application which are in industrial power supply 24VDC.

2.

We carefully selected all components to work reliable in INDUSTIRAL
temperature range -25+85C so the board can be used in INDUSTIRAL applications
while the original design is to Commercial 0-70C operating temperature.

3.

The original Arduino/MAPLE design is not good for portable applications
as consumes too much power with the linear vltage regulators, we put ULTRALOW POWER voltage regulators and the consumption is only few microamps,
which enables handheld and battery powered applications.

4.

We add Li-Ion rechargable battery power supply option with BUILD-IN onboard charger, so when you attach battery it is automatically charged and kept inthis state until the other power source (USB or external adapter) is removed and it
AUTOMATICALLY will power the board - no jumpers, no switches!

5.

Our board have UEXT connector which allow many existing modules like
RF, ZIGBEE, GSM, GPS to be connected.
6.

Our board have SD-MMC card

7.

Our board have CAN driver on board

8.

Our desing allow RTC - Real Time Clock.

9.

We made our design noise immune.

10.
We use separate voltage regulator for the Analog part, which allow theADC to be read correctly without the digital noise pickup.
11.
Optionally if someone need higher precision and temperature stability in
Analog reading we have provision on the board for Aref preciese source.
12.
The LEDs and the BUTTONs are on the edge of the board so there is easy
access even if the boards have shields on them.
13.
All components are LOWER than the connectors, so the shields do not interference with them.
14.
mini USB connector is used which is common and used in most cell phones,
so you do not have to buy other cables
15.
Original Arduino design had flaw and the connectors were not spaced at0.1" this make perfo board use impossible, to keep the compatibility we have same
spacing but we add next to this connector on 0.1" which customer can use with perforated boards.

Page 3

16.
All signals on the connectors are printed on top and on bottom of the board,
so when you check with probe you know exactly which port you are measuring.
17.

4 mount holes make board attachment easier

ELECTROSTATIC WARNING:The OLIMEXINO-STM32 board is shipped in protective anti-static packaging. Theboard must not be subject to high electrostatic potentials. General practice forworking with static sensitive devices should be applied when working with thisboard.

BOARD USE REQUIREMENTS:
Cables:You'll need mini USB cable for connecting the board to PC. For
programming - the cable you will need depends on the programmer/debugger
you use. If you use ARM-JTAG-EW, ARM-USB-TINY or ARM-USB-TINY-H, youwill need USB A-B cable, if you use ARM-USB-OCD or ARM-USB-OCD-H, youwill need USB A-B cable and RS232 cable.
Programmer/Debugger ARM-USB-OCD, ARM-USB-OCD-H,ARM-USB-TINY, ARM-USB-TINY-H, ARM-JTAG-EW or other compatible
Hardware:programming/debugging tool if you work with EW-ARM. You will also need
ARM-JTAG-20-10 adapter for programming the board.

Page 4

13579SWD

246810GND1GND2USB

USB

2Page 5YELLO W(GYX-S D-T C08 05SYC)

GREE N(G YX -SD-T C08 05S GC)

LED2

R7330R

D3(LED2)

3SC
SE

C19
C20+5V

8765R20330R+5V

VCC

VSS

D25(MMC_CS)
Q13k/1%
1k/1%

R18R1915k
appr. 70 mA charge current

R212.2uF

C2212

1N5819S/SS14

DW02R

LIPO_BATFET1

IRLML6402+

MCP73812T-420I/OT

5132.2uF

C29

2.2uF

C24

C1510k
1M

VIN

GND

VOUT

312GND

VOUT

VIN
3

MCP1700T-3302E/MB

VR212VR1

MCP1700T-3302E/MB

47uF /6.3V /TA NT B

R14R15

D33(MISO 2)
D32(SCK2)

SD/MMC

3.3V

2.2uF

C30

3.3V_AVCC

0R(NA)

0R

R22NA

L2

D34(MOSI2)
D25(MMC_CS)

CL470nH/0805/1.76R/250mA100k100k
100k

SD/MMC

3.3V_AVCC

MICRO

DAT2/RES
DAT1/RES
DAT0/DO
CLK/SCLK
VDD
VSS
CMD/DI
CD/DAT3/CS

VIN

13579111315

PN2x8246810121416100nF

C31

D0
D1
D2
D3
D4
D5
D6
D7

D8
D9D10D11
D12
D13GND
D14

R3110k

BOO T0

BUT

R30
1k

3.3V

D24(CANTX)
D26
D28
D30(SDA2)
D32(SCK2)
D34(MOSI2)
D36

A0
A1A2
A3
A4
A5

RST
3V33V3A
GNDA
GND
VIN

C28 10nF

C27 10uF/6.3V

C25 100nF

D4RED(GYX-SD-TC0805SGC)

10uF/6.3V
PWR_LED+CE 470uF/10V/6.3x11mm/RM2.5

1 N5 819S/SS144

C17 100nF

C18 820pF+

CE 100uF/35V/6.3x11m m /RM 2.5

http://www.olimex.com/dev

DESIG NED BY OLIMEX LTD, 2011

Rev. AOLIMEXINO-STM32

R29330R

RESET

1N4148/mini-melf

D6

BUTTONS

RST

R28
10k

3.3V

D23_EXT
D25(MMC_CS)
D27
D29(SCL2)
D31(#SS2)
D33(MISO2)
D35
D37

EXT

NA12345678

CO N4NA12345678NA
CO N3123456NA
CO N2Extension

D14(CANRX)

D8(RXD1)
D9
D10(#SS1)
D11(MOSI1)
D12(MISO 1)
D13(SCK1/LED1)

D0(RXD2)
D1(TXD2)
D2
D3(LED2)
D4
D5
D6
D7(TXD1)

D15(A0)
D16(A1)
D17(A2)
D18(A3)
D19(A4)
D20(A5)123456CON1

STM32-MAPLE_PLATFORM
RESET
3.3V
3.3V_AVCC

SW-SIDE_WT CM -T R(3X4)VSSPROG

BATTERY CE
CHARGERVDD VBAT

U31

L3

R11
R12
R13

3.3V

18754632

C14 27pF

Q8.000MHz/20pF/HC-49SM(SMD)

R321M

3.3V

S W-S IDE_WT CM -T R(3X4)

2C21
2.2uF

4+5V
D4C23100nF
D24(CANTX)
D14(CANRX)

3.3V 3.3V

UEXT_#CS3

D10/D4
D10:Open/D4:Close

CAN

Battery Charger

TXD
VSS
VDD
RXD

1234

MCP2551-I/SN

D21(CAN_CTRL)

RS
CANH
CANL
VREF

U40R

D8(RXD1)
D30(SDA2)
D11(MO SI1)
UEXT_#CS

R1010k

3.3V

R26

D2

D31N5819S/SS14

GND

R33
1k
BOOT0
D26
USB_P
DISC
D21(CAN_CTRL)
C11 10pF
D22Q2
D23
C12 10pF
32768Hz/6pF
1
2 D23_E
D23_EXTO pen
C13 27pF

D15(A0)
D16(A1)
D17(A2)
D18(A3)
D19(A4)
D20(A5)
D35
D36
D37

C26 10uF/6.3V

MC33063A DR(S O 8)

5CL10uH SW68

L1R250R(NA)R2410k

BH10R

246810R94.7k

3.3V

R27NA(4.7k)

FB

DCISTC

12U2

TB3-3.5MM

13579

UEXT

UEXT
2X1-2
NA

6C1687

YDJ-1136
9-30VDC

0.47R

1

1N5819S/SS14

D1OpenCAN_T

R23120R

5654891011242537383940515253
234

D0(RXD2),D1(TXD2),D2,D3(LED2),D[4..6],D7(TXD1),D8(RXD1),D9,D10(#SS1),D11(MOSI1),D12(MISO 1),D13(SCK1/LED1),D14(CANRX)

NA(4.7k)

PWR_J321

PA0-WKUP/USART2_CTS/ADC0/TIM2_CH1_ETR
PA1/USART2_RTS/ADC1/TIM2_CH2
PA2/USART2_TX/ADC2/TIM2_CH3
PA3/USART2_RX/ADC3/TIM2_CH4
PA4/SPI1_NSS/USART2_CK/ADC4
PA5/SPI1_SCK/ADC5
PA6/SPI1_MISO/ADC6/TIM3_CH1/TIM1_BKIN
PA7/SPI1_MOSI/ADC7/TIM3_CH2/TIM1_CH1N
PA8/USART1_CK/TIM1_CH1/MCO
PA9/USART1_TX/TIM1_CH2
PA10/USART1_RX/TIM1_CH3
PA11/USART1_CTS/CANRX/USBDM/TIM1_CH4
PA12/USART1_RTS/CANTX/USBDP/TIM1_ETR
PA13/JTMS/SWDIO
PA14/JTCK/SWCLK
PA15/JTDI/TIM2_CH1_ETR/SPI1_NSS

14151617202122234142434445464950
PD0/OSC_IN
PD1/OSC_OUT
PD2/TIM3_ETR

BOOT0

STM32F103RBT6(LQFP64)

NRST760

D10(#SS1)

0.47R
R17CAN

2

R163.3V

D7(TXD1)
D29(SCL2)
D12(MISO 1)
D13(SCK1/LED1)

R84.7k3.3V

NA(47pF)

C10USBDP

USBDM

PC0/ADC10
PC1/ADC11
PC2/ADC12
PC3/ADC13PC4/ADC14
PC5/ADC15
PC6/TIM3_CH1
PC7/TIM3_CH2
PC8/TIM3_CH3
PC9/TIM3_CH4
PC10/USART3_TX
PC11/USART3_RX
PC12/USART3_CK
PC13/ANTI_TAMP
PC14/OSC32_IN
PC15/OSC32_OUT

VSS
VSS
VSS
VSS

31476318+

VIN

POWER_SUPPLY

LED1

Close
R6330R

D13(SCK1/LED1)

NA(47pF)

C922R

22R

D2
D3(LED2)
D1(TXD2)
D0(RXD2)
D10(#SS1)
D13(SCK1/LED1)
D12(MISO 1)
D11(MO SI1)
D6
D7(TXD1)
D8(RXD1)
USBDM
USBDP
TMS/SWDIOTCK/SWCLK
TDI

BOOT0

RESET

VDD
VDD
VDDVDD32481964GND

VCC 2U5NA

DIGITAL1LEDS

C8R4R3R51.5k

C6VBAT

1TDO/SWO
TRST
D4D5D9D14(CANRX)
D24(CANTX)
D29(SCL2)
D30(SDA2)
D31(#SS2)
D32(SCK2)
D33(MISO 2)
D34(MO SI2)

D27
D281 RESETDIGITAL

LED1_E

4563.3V

100nF

22k

C5VSSA

12262728555657585961622930
33343536RESETANALOG

10nF

C7NA

U6R2

DT A 114Y K A

T13.3V

C4100nF 100nF 100nF 100nFC3PB0/ADC8/TIM3_CH3/TIM1_CH2N
PB1/ADC9/TIM3_CH4/TIM1_CH3N
PB2/BOOT1PB3/JTDO/TIM2_CH2/TRACESWO/SPI1_SCK
PB4/JTRST/TIM3_CH1/SPI1_MISO
PB5/I2C1_SMBAI/TIM3_CH2/SPI1_MOSI
PB6/I2C1_SCL/TIM4_CH1/USART1_TX
PB7/I2C1_SDA/TIM4_CH2/USART1_RX
PB8/TIM4_CH3/I2C1_SCL/CANRXPB9/TIM4_CH4/I2C1_SDA/CANTX
PB10/I2C2_SCL/USART3_TX/TIM2_CH3
PB11/I2C2_SDA/USART3_RX/TIM2_CH4
PB12/SPI2_NSS/I2C2_SMBAL/USART3_CK/TIM1_BKIN
PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N
PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N
PB15/SPI2_MOSI/TIM1_CH3N

VDDA

13

TRST,TDI,TMS/SWDIO,TCK/SWCLK,TDO/SWO,RESETSTM32-MAPLE: PLATFORM & CONNECTORS

X1-1

GND3GND4

MICRO_B

32115k

1 0k

4 7k

R1

USB_P

DISC

USB_DEVICE

1N5819S/SS14

TRST

100nF

C2U13

VBUS
DD+ID
GND+5V

D51Open

R-T

2TMS/SWDIOTCK/SWCLKTDO /SWO
TDI
RESET

10uF/6.3V

C1

3.3V_AVCC

POWER

GPH127SMT-02x05(PIN7-CUT)

3.3V

Serial wire debug (SWD)

3.3VSCHEMATIC:BOARD LAYOUT:

Page 6POWER SUPPLY CIRCUIT:
OLIMEXINO-STM32 can take power supply from:–external power supply (9-30) VDC.

–+ 5V from USB–3.7 V Li-ion battery

The programmed board power consumption is about 50 mA with all peripherals
enabledRESET CIRCUIT:
OLIMEXINO-STM32 reset circuit includes D6 (1N4148), R28 (10kΩ), R29(330Ω), C31 (100nF), STM32F103RBT6 pin 7 (NRST) and RESET button.

CLOCK CIRCUIT:
Quartz crystal Q1 8 MHz is connected to STM32F103RBT6 pin 5(PD0/OSC_IN) and pin 6 (PD1/OSC_OUT).
Quartz crystal Q2 32.768 kHz is connected to STM32F103RBT6 pin 3(PC14/OSC32_IN) and pin 4 (PC15/OSC32_OUT).

JUMPER DESCRIPTION:
LED1_E
This jumper, when is closed, enables LED1.
Default state is closed.

D23_E

This jumper, when is closed, connects STM32F103RBT6 pin (PC15/OSC32_OUT) –signal D23 to EXT pin 1, and when is opened, D23 is not connected to EXT.
Default state is opened.

R-T
This jumper, when is closed, connects TRST and RESET, and when is opened, TRST
and RESET are separated.
Default state is opened.

CAN_T
This jumper, when is closed, CAN termination is enabled, and when is opened, CANtermination is disabled.
Default state is opened.

Page 7

D10/D4
This jumper, when is in position D10, UEXT pin 10 (UEXT_#CS) is connected toSTM32F103RBT6 pin 20 (PA4/SPI1_NSS/USART2_CK/ADC4) – signal D10, andis in position D4, UEXT pin 10 (UEXT_#CS) is connected to STM32F103RBT6 pin 57(PB5/I2C1_SMBAI/TIM3_CH2/SPI1_MOSI) – signal D4.

whenDefault state is in position D4.

INPUT/OUTPUT:
Status Led with name LED1 (green) connected via jumper LED1_E toSTM32F103RBT6 pin 21 (PA5/SPI1_SCK/ADC5) – signal D13(SCK/LED1).
Status Led with name LED2 (yellow) connected to STM32F103RBT6 pin 15(PA1/USART2_RTS/ADC1/TIM2_CH2) – signal D3(LED2).
Power-on LED (red) with name PWR_LED – this LED shows that the board ispower supplied.
User button with name BUT connected to STM32F103RBT6 pin 40(PC9/TIM3_CH4) via R33 (1kΩ) and pin 60 (BOOT0) – signal BOOT0.
User button with name RST connected to STM32F103RBT6 pin 7 (NRST).

EXTERNAL CONNECTORS DESCRIPTION:
SWD:
Pin #Signal Name

1VCC

2TMS/SWDIO

3GND

4TCK/SWCLK

5GND

6TDO/SWO

7Cut off

8TDI

9GND

10RESET

Note that pin 7 of SWD connector is cut off.

Page 8

UEXT:Pin #Signal Name

1VCC

2GND

3D7(TXD1)

4D8(RXD1)

5D29(SCL2)

6D30(SDA2)

7D12(MISO1)

8D11(MOSI1)

9D13(SCK/LED1)D13(SCK1/LED1)

10UEXT_#CS

PWR_JACK:
Pin #Signal Name

1Power Input

2

GND

CON1 – POWER:
Pin #Signal Name

1RESET

2

VCC (3V3)

3

VDD (3V3A)

4

GND

5

GND

6VIN

Page 9CON2 – ANALOG:Pin #Signal Name

1

D15(A0)2

D16(A1)

3

D17(A2)

4

D18(A3)5

D19(A4)6

D20(A5)

CON3 – DIGITAL:Pin #Signal Name1

D0(RXD2)2

D1(TXD2)3

D24

D3(LED2)

5

D4

6

D5

7

D68

D7(TXD1)

CON4 – DIGITAL:Pin #Signal Name

1

D8(RXD1)

2

D9

3

D10(#SS1)

4

D11(MOSI1)

5D12(MISO1)

6D13(SCK/LED1)
D13(SCK1/LED1)

7GND

8D14(CANRX)

Page 10

LI_BAT:Pin #Signal Name

1VBAT

2

GND

USB:
Pin #Signal Name

1+5V_USB

2

D-3D+

4

Not connected

5GND

SD/MMC:Pin #Signal Name1MCIDAT2

2

D25(MMC_CS)

3D34(MOSI2)

4

MMC_PWR

5D32(SCK2)

6GND

7D33(MISO2)8MCIDAT1

9

Not connected10

Not connected11

Not connected12

Not connected

Page 11

EXT:

Pin #

Signal Name

Pin #Signal Name

1D23_EXT2

D24(CANTX)

3D25(MMC_CS)

4D26

5

D276D28

7D29(SCL2)

8D30(SDA2)

9D31(#SS2)

10D32(SCK2)

11D33(MISO2)

12D34(MOSI2)

13D35

14D3615

D37

16

GNDCAN:
Pin #Signal Name

1GND

2

CANL

3

CANH

Page 12

MECHANICAL DIMENSIONS:

Page 13

AVAILABLE DEMO SOFTWARE:- The software consists of boot loader that runs on the board and a simple blinking
led project.

Page 14

ORDER CODE:
OLIMEXINO-STM32 - assembled and tested board
How to order?
You can order to us directly or by any of our distributors.
Check our web www.olimex.com/dev for more info.

Revision history:
Board's revision

Rev. A, April 2011

Manual's revision

Rev. A, August 2011
- At first page “Copyright(c) 2011, OLIMEX Ltd, All rights
reserved” is replaces with “Designed by OLIMEX Ltd.,2011”- In schematic “COPYRIGHT(C) 2011, OLIMEX Ltd.”
replaced with “DESIGNED BY OLIMEX LTD, 2011”

Page 15

Disclaimer:© 2011 Olimex Ltd. 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 inconnection with the sale of Olimex products.
Neither the whole nor any part of the information contained in or the product described in thisdocument 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 ofmerchantability 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 16