OLIMEXINO-STM32 development board Users Manual
All boards produced by Olimex are ROHS compliant
Revision B, October 2011Designed by OLIMEX Ltd, 2011
Page 1
INTRODUCTION:
What is Arduino?
Arduino is an open-source electronics prototyping platform, designed to make the process of using electronics in multidisciplinary projects more accessible. The hard-ware consists of a simple open hardware design for the Arduino board with an At-mel 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 + librar-ies), similar to C++ with some simplifications and modifications, and a Processing-based IDE.
The project began in Ivrea, Italy in 2005 to make a device for controlling student-built 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, mean-ing "strong friend". The English pronunciation is "Hardwin", a namesake of Ardu-ino of Ivrea
More information could be found at the creators web page http://arduino.cc/ and in 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 no field 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 team from MIT developed MAPLE project which is based on ARM7 STM32F103RBT6 micro-controller, 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 found at http://leaflabs.com
Page 2
BOARD FEATURES:
We enter in Arduino/MAPLE field 5 years after the design was introduced, and this 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 ULTRA LOW 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 on board charger, so when you attach battery it is automatically charged and kept in this 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 the ADC 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 in-terference 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 at 0.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 per-forated 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. 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.
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, you will need USB A-B cable, if you use ARM-USB-OCD or ARM-USB-OCD-H, you will need USB A-B cable and RS232 cable.
Hardware: Programmer/Debugger ARM-USB-OCD, ARM-USB-OCD-H, ARM-USB-TINY, ARM-USB-TINY-H, ARM-JTAG-EW or other compatible programming/debugging tool if you work with EW-ARM. You will also need ARM-JTAG-20-10 adapter for programming the board.
Page 4
SCHEMATIC:
Page 5
SW-SIDE_WT CM-T R(3X4)
10uF
/6.3
V10
0nF
100n
F10
0nF
100n
F4.
7uF/
6.3V
10nF
100n
FN
A(4
7pF)
NA
(47p
F)
10pF
10pF
27pF
27pF
47uF
/6.3
V/T
AN
T B
CE 100uF/35V/6.3x11m m/RM2.5
100nF
820pF
CE 470uF/10V/6.3x11mm/RM2.5
10uF/6.3V
2.2u
F
2.2u
F
100n
F
2.2u
F
100nF
10uF/6.3V
10uF/6.3V
10nF
2.2u
F2.
2uF
100n
F
TB3-
3.5M
M
Open
NA
NA
NA
NA
1N58
19S
/SS
14
1N5819S/SS14
1N58
19S
/SS
14
1N58
19S
/SS
14
1N58
19S
/SS
14
1N41
48/m
ini-m
elf
D10
:Ope
n/D
4:C
lose
Ope
n
PN
2x8
IRLM
L640
2
CL1
0uH
SW
68
NA
CL4
70nH
/080
5/1.
76R
/250
mA
GREEN(GYX-SD-TC0805SGC)
Clo
se
YELLOW(GYX-SD-T C0805SYC)
DW
02R
VIN
+5V
+5V
VIN
+5V
+5V
YD
J-11
36
RED(GYX-SD-TC0805SGC)
Q8.
000M
Hz/
20pF
/HC
-49S
M(S
MD
)
3276
8Hz/
6pF
Ope
n
15k
22k
22R
22R
1.5k
330R
330R
4.7k
4.7k
10k
100k
100k
100k
10k
1M
0.47
R
0.47
R
3k/1% 1k/1%
330R
15k
0R(N
A)
120R
10k
0R(N
A)
NA(4.7k)
NA(4.7k)10
k
330R
1k 10k
1M1k
SW-SIDE_WTCM-T R(3X4)
MIC
RO
GP
H12
7SM
T-02
x05(
PIN
7-C
UT)
DT
A11
4YK
A
STM
32F1
03R
BT6
(LQ
FP64
)
MC
3306
3AD
R(S
O8)
MC
P73
812T
-420
I/O
T
MC
P25
51-I
/SN
NA
NA
BH
10R
MIC
RO
_B
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
3.3V
_AV
CC
3.3V
_AV
CC
3.3V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
H4
30
PB
12/S
PI2
_NS
S/I2
C2_
SM
BA
L/U
SA
RT3
_CK
/TIM
1_B
KIN
33
PB
13/S
PI2
_SC
K/U
SA
RT3
_CTS
/TIM
1_C
H1N
34
PB
14/S
PI2
_MIS
O/U
SA
RT3
_RTS
/TIM
1_C
H2N
35
PB
15/S
PI2
_MO
SI/T
IM1_
CH
3N36
PC
0/A
DC
108
PC
1/A
DC
119
PC
2/A
DC
1210
PC
3/A
DC
1311
PC
4/A
DC
1424
PC
5/A
DC
1525
PC
6/TI
M3_
CH
137
PC
7/TI
M3_
CH
238
PC
8/TI
M3_
CH
339
PC
9/TI
M3_
CH
440
PC
10/U
SA
RT3
_TX
51
PC
11/U
SA
RT3
_RX
52
PC
12/U
SA
RT3
_CK
53
PC
13/A
NTI
_TA
MP
2
PC
14/O
SC
32_I
N3
PC
15/O
SC
32_O
UT
4
PD
0/O
SC
_IN
5
PD
1/O
SC
_OU
T6
PD
2/TI
M3_
ETR
54
VB
AT
1
VD
D32
VD
D48
VD
D64
VD
D19
VD
DA
13
VS
S31
VS
S47
VS
S63
VS
S18
VS
SA
12
U1
DC8
FB5
IS7 SC
1
SE
2TC
3
VCC6VSS
4
U2
CE
1
PR
OG
5
VB
AT
3V
DD
4
VS
S2
U3
CA
NH
7
CA
NL
6R
S8
RX
D4
TXD
1
VD
D3
VR
EF
5
VS
S2
U4
3
12
GN
D
VC
CR
ES
ET
U5
1234 5 6
U6
12
34
56
78
910
UE
XT
D+D-
GN
D
GND1GND2
GND3GND4
ID
VB
USUS
B
GN
D1
VIN
2
VO
UT
3
VR
1 GN
D1
VIN
2
VO
UT
3
VR
2
X1-
1
X1-
2
9-30
VD
C
OLI
MEX
INO
-STM
32R
ev. A
Des
igne
d by
OLI
ME
X L
td. 2
011
http
://w
ww
.olim
ex.c
om/d
ev
+
+
+
POWER ANALOG DIGITAL DIGITALSTM32-MAPLE: PLATFORM & CONNECTORS
GND
0R
0R
10
k4 7 k
BAT
TER
YC
HAR
GE
R
USB
+ -
LED
S
BUTT
ON
S
STM
32-M
AP
LE_P
LATF
OR
M
POW
ER_S
UPP
LY
UEX
T
USB
_DEV
ICE
Bat
tery
Cha
rger
appr
. 70
mA
cha
rge
curre
nt
SD/M
MC
CAN
Seria
l wire
deb
ug (S
WD
)
Exte
nsio
n
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 enabled
RESET 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_EThis 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-TThis jumper, when is closed, connects TRST and RESET, and when is opened, TRST and RESET are separated. Default state is opened.
CAN_TThis jumper, when is closed, CAN termination is enabled, and when is opened, CAN termination is disabled.Default state is opened.
Page 7
D10/D4
This jumper, when is in position D10, UEXT pin 10 (UEXT_#CS) is connected to STM32F103RBT6 pin 20 (PA4/SPI1_NSS/USART2_CK/ADC4) – signal D10, and
when is in position D4, UEXT pin 10 (UEXT_#CS) is connected to STM32F103RBT6 pin 57 (PB5/I2C1_SMBAI/TIM3_CH2/SPI1_MOSI) – signal D4.
Default state is in position D4.
INPUT/OUTPUT:
Status Led with name LED1 (green) connected via jumper LED1_E to STM32F103RBT6 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 is power 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
1 VCC
2 TMS/SWDIO
3 GND
4 TCK/SWCLK
5 GND
6 TDO/SWO
7 Cut off
8 TDI
9 GND
10 RESET
Note that pin 7 of SWD connector is cut off.
Page 8
UEXT:
Pin # Signal Name
1 VCC
2 GND
3 D7(TXD1)
4 D8(RXD1)
5 D29(SCL2)
6 D30(SDA2)
7 D12(MISO1)
8 D11(MOSI1)
9 D13(SCK/LED1)D13(SCK1/LED1)
10 UEXT_#CS
PWR_JACK:
Pin # Signal Name
1 Power Input
2 GND
CON1 – POWER:
Pin # Signal Name
1 RESET
2 VCC (3V3)
3 VDD (3V3A)
4 GND
5 GND
6 VIN
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 Name
1 D0(RXD2)
2 D1(TXD2)
3 D2
4 D3(LED2)
5 D4
6 D5
7 D6
8 D7(TXD1)
CON4 – DIGITAL:
Pin # Signal Name
1 D8(RXD1)
2 D9
3 D10(#SS1)
4 D11(MOSI1)
5 D12(MISO1)
6 D13(SCK/LED1)D13(SCK1/LED1)
7 GND
8 D14(CANRX)
Page 10
LI_BAT:
Pin # Signal Name
1 VBAT
2 GND
USB:
Pin # Signal Name
1 +5V_USB
2 D -
3 D +
4 Not connected
5 GND
SD/MMC:
Pin # Signal Name
1 MCIDAT2
2 D25(MMC_CS)
3 D34(MOSI2)
4 MMC_PWR
5 D32(SCK2)
6 GND
7 D33(MISO2)
8 MCIDAT1
9 Not connected
10 Not connected
11 Not connected
12 Not connected
Page 11
EXT:
Pin # Signal Name Pin # Signal Name
1 D23_EXT 2 D24(CANTX)
3 D25(MMC_CS) 4 D26
5 D27 6 D28
7 D29(SCL2) 8 D30(SDA2)
9 D31(#SS2) 10 D32(SCK2)
11 D33(MISO2) 12 D34(MOSI2)
13 D35 14 D36
15 D37 16 GND
CAN:
Pin # Signal Name
1 GND
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”
Rev. B, October 2011- in schematic – C6 (100nF) is replaced with 4.7µF
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 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 16