STM32 ARDUINO MAPLE BOARD Olimexino

User Manual: olimex -

Open the PDF directly: View PDF PDF.
Page Count: 16

OLIMEXINO-STM32 development board
Users Manual
All boards produced by Olimex are ROHS compliant
Revision Initial, March 2011
Copyright(c) 2011, OLIMEX Ltd, All rights reserved
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: mini USB cable.
Page 4
SCHEMATIC:
Page 5
SW -SI DE_ WT CM -T R(3 X4 )
10uF/6 .3V 100nF
100nF 100nF 100nF 100nF
10 n F
100 nF NA(4 7 p F) NA(47pF)
10pF
10p F
27p F
27 p F
47uF /6.3V /T A NT B
CE 1 00 u F/35V/ 6.3 x11m m/RM 2 . 5
100nF
820pF
CE 470uF/10V/6.3x11mm/RM2.5
10uF/6.3V
2.2 uF
2.2 uF
100nF
2.2uF
100nF
10uF/6.3V
10uF/6.3V
10nF
2.2uF
2.2 uF
100nF
TB3- 3.5MM
Open
NA
NA
NA
NA
1N5819S/SS14
1N5 819S/ SS14
1N5819S/SS14
1N5819S/S S14
1N58 1 9 S/SS14
1N4148/mini-melf
D1 0:O pen/D4:Close
Open
PN 2x8
IRLML6402
CL10uH SW68
NA
CL470n H/08 05/1.76 R/25 0mA
GRE E N(G Y X-S D-T C 08 0 5S G C)
Clos e
YE L LO W(G Y X-S D-T C 08 0 5 SY C)
DW 02 R
VIN
+5V
+5V
VIN
+5V
+5 V
YDJ-1136
RED(GYX-SD-TC0805SGC)
Q8.000MHz/ 20pF/H C-49SM(SMD)
32768Hz/6pF
Open
15k 22k
22R
22 R
1.5k
330R 330R 4.7k 4.7k 10k
100 k
100 k
100 k
10 k
1M
0.47R
0.47R
3k/1% 1k/1%
330 R
15k
0R(NA)
12 0 R
10 k
0R (NA)
NA(4.7k)
NA(4.7k)
10k
330 R
1k
10k
1M
1k
SW -SI DE _W T CM -T R(3 X 4 )
MICRO
GPH1 2 7SMT-02x05 (PIN7-CU T)
D TA 11 4Y K A
STM32F103RBT6(L Q FP64)
MC 33 063 A D R( S O 8)
MCP73812T-420I/OT
MCP255 1 -I/SN
NA
NA
BH10R
MIC RO _ B
3.3 V
3.3V
3.3V
3.3V3.3V 3.3V 3.3 V
3.3V
3.3V
3.3V
3.3V
3.3V3.3V
3.3 V
3.3V
3.3V
3.3V_AVCC
3.3V_AVCC
3.3V_AVCC
3.3 V_AVCC
MCP1700T-3302E/MB
MCP1700T-3302E/MB
NA
D0 (RXD2),D1 (TXD2),D2,D3 (LED2),D[4..6],D7(TXD1) ,D8(R XD1),D9,D 10(#SS1),D1 1(MO SI1),D12(MISO 1),D1 3 (SCK1/LED1),D1 4(CANRX)
TRST,TDI,TMS/SWDIO,TCK/SWC LK,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
C14
C1 5
C1 6
C17
C18
C19
C2 0 C21
C2 2
C2 3
C2 4
C25
C26
C27
C28
C2 9 C30
C3 1
1
2
3
CAN
12
CAN_T
1
2
3
4
5
6
CO N1
1
2
3
4
5
6
CON2
1
2
3
4
5
6
7
8
CO N3
1
2
3
4
5
6
7
8
CO N4
D1
D2
D3
D4
D5
D6
1
2
3
D1 0/D4
1 2 D2 3_E
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
EXT
FET1
L1
L2
L3
LED1
1 2
LED1_E
LED2
1
2
LIPO_BAT
3V3
3V3A
A0
A1
A2
A3
A4
A5
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
GND
GND
GNDA
RST
VIN
PW R_J
PWR_LED
Q1
Q2
12
R-T
R1 R2
R3
R4
R5
R6 R7 R8 R9 R1 0
R1 1
R1 2
R1 3
R14
R15
R1 6
R17
R18 R19
R20
R2 1
R22
R2 3
R2 4
R2 5
R26
R27
R28
R2 9
R30
R31
R32
R33
RST
CD/DAT3/CS
2
CLK/SCLK
5
CMD/DI
3
DAT0/DO
7DAT1/RES
8DAT2/RES
1
VDD
4
VSS
6
SD/MMC
1 2
3 4
5 6
7 8
9 10
SW D
T1
BOOT0
60
NRST
7
PA0-WKUP/USART2_CTS/ADC0/TIM2_CH1_ETR
14
PA1/USART2_RTS/ADC1/TIM2_CH2
15
PA2/USART2_TX/ADC2/TIM2_CH3
16
PA3/USART2_RX/ADC3/TIM2_CH4
17
PA4/SPI1_NSS/USART2_CK/ADC4
20
PA5/SPI1_SCK/ADC5
21
PA6/SPI1_MISO/ADC6/TIM3_CH1/TIM1_BKIN
22
PA7/SPI1_MOSI/ADC7/TIM3_CH2/TIM1_CH1N
23
PA8/USART1_CK/TIM1_CH1/MCO
41
PA9/USART1_TX/TIM1_CH2
42
PA10/USART1_RX/TIM1_CH3
43
PA11/USART1_CTS/CANRX/USBDM/TIM1_CH4
44
PA12/USART1_RTS/CANTX/USBDP/TIM1_ETR
45
PA13/JTMS/SWDIO
46
PA14/JTCK/SWCLK
49
PA15/JTDI/TIM2_CH1_ETR/SPI1_NSS
50
PB0/ADC8/TIM3_CH3/TIM1_CH2N 26
PB1/ADC9/TIM3_CH4/TIM1_CH3N 27
PB2/BOOT1 28
PB3/JTDO/TIM2_CH2/TRACESWO/SPI1_SCK 55
PB4/JTRST/TIM3_CH1/S PI1_MISO 56
PB5/I2C1_S MBAI/TIM3_CH2/SPI1_MOSI 57
PB6/I2C1_S CL/TIM4_CH1/USART1_TX 58
PB7/I2C1_S DA/TIM4_CH2/USART1_RX 59
PB8/TIM4_CH3/I2C1_SCL/CANRX 61
PB9/TIM4_CH4/I2C1_SDA/CANTX 62
PB10/I2C2_SCL/USART3_TX/TIM2_CH3 29
PB11/I2C2_SDA/USA RT3_RX/TIM2_CH4 30
PB12/SPI2_NSS/I2C2_SMBAL/USART3_CK/TIM1_BKIN 33
PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N 34
PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N 35
PB15/SPI2_MOSI/TIM1_CH3N 36
PC0/ADC10 8
PC1/ADC11 9
PC2/ADC12 10
PC3/ADC13 11
PC4/ADC14 24
PC5/ADC15 25
PC6/TIM3_CH1 37
PC7/TIM3_CH2 38
PC8/TIM3_CH3 39
PC9/TIM3_CH4 40
PC10/USART3_TX 51
PC11/USART3_RX 52
PC12/USART3_CK 53
PC13/ANTI_TAMP 2
PC14/OSC32_IN 3
PC15/OSC32_OUT 4
PD0/OSC_IN 5
PD1/OSC_OUT 6
PD2/TIM3_ETR 54
VBAT
1
VDD
32
VDD
48
VDD
64 VDD
19
VDDA
13
VSS
31
VSS
47
VSS
63
VSS
18
VSSA
12
U1
DC
8
FB 5
IS
7
SC 1
SE 2
TC
3
VCC
6VSS 4
U2
CE 1
PROG 5
VBAT 3
VDD
4
VSS
2
U3
CANH
7
CANL
6
RS
8
RXD 4
TXD 1
VDD 3
VREF
5
VSS 2
U4
3
1 2
GND
VCCRESET
U5
1
2
3 4
5
6
U6
1 2
3 4
5 6
7 8
9 10
UEXT
D+
D-
GND
GND1
GND2
GND3
GND4
ID
VBUS
USB
GND
1
VIN
2
VOUT 3
VR1
GND
1
VIN
2
VOUT 3
VR2
X1 -1
X1 -2
9-30VDC
OLIMEXINO-STM32
Re v. A
COPYRIG H T(C) 20 1 1, O L IMEX Ltd.
http://www.o limex.com/dev
+
+
+
POWER ANALOG DIGITAL DIGITAL
STM32-MAPLE: PLATFORM & CONNECTORS
GND
0R
0R
10k
47k
BATTERY
CHARGER
USB
+
-
LEDS
BUTTONS
STM32-MAPLE_PLATFORM
POWER_SUPPLY
UEXT
USB_DEVICE
Battery Charger
appr. 70 mA charge current
SD/MMC
CAN
Serial wire debug (SWD)
Extension
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_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, 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. Initial, May 2011
Page 15
Disclaimer:
© 2011 Olimex Ltd. All rights reserved. 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

Navigation menu