STM32 ARDUINO MAPLE BOARD Olimexino

User Manual: olimex -

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

DownloadSTM32 ARDUINO MAPLE BOARD Olimexino-stm32
Open PDF In BrowserView PDF
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 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/ 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 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 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 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 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 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. 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

1
3
5
7
9

SWD

2
4
6
8
10

GND1
GND2

USB

Page 5

2

D13(SCK1/LED1)

LEDS

C8

100nF

YE LLO W(GYX-SD-T C0805SYC)

GRE EN(GY X-S D-T C08 05S GC)

C9

22R

22R

LED2

R7
330R

D3(LED2)

NA(47pF)

R4

R3

3

DC
IS

VCC

C19
C20

+5V

R20
330R

RS
CANH
CANL
VREF

+5V

VSS

GND

D25(MMC_CS)
Q1

3k/1%
1k/1%

R18
R19

15k
appr. 70 mA charge current

R21

2.2uF

C22

1
2

1N5819S/SS14

DW02R

LIPO_BAT

FET1

IRLML6402

+

MCP73812T-420I/OT

5

1

3

D4

1

2.2uF

C29

2.2uF

C24

C15

10k
1M

VIN

GND

VOUT

3

1

2

GND

VOUT

VIN
3

MCP1700T-3302E/MB

VR2

1

2

MCP1700T-3302E/MB

VR1

D33(MISO2)
D32(SCK2)

SD/MMC

3.3V

2.2uF

C30

3.3V_AVCC

0R(NA)

0R

R22

NA

L2

D34(MOSI2)
D25(MMC_CS)

CL470nH/0805/1.76R/250mA

47uF /6.3V /T A NT B

R14
R15

L3

100k
100k
100k

3.3V_AVCC

MICRO

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

SD/MMC

1
3
5
7
9
11
13
15

PN2x8

2
4
6
8
10
12
14
16

R29
330R

100nF

C31

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

NA

1
2
3
4
5
6
7
8

CO N4

NA

1
2
3
4
5
6
7
8

NA
CO N3

1
2
3
4
5
6

NA
CON2

1
2
3
4
5
6

CO N1

Extension

D14(CANRX)

D8(RXD1)
D9
D10(#SS1)
D11(MOSI1)
D12(MISO1)
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)

VIN

RESET
3.3V
3.3V_AVCC

C28 10nF

C27 10uF/6.3V

C25 100nF

D4

RED(GYX-SD-TC0805SGC)

10uF/6.3V
PWR_LED

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

1N5819S/SS14

4

C17 100nF

C18 820pF

+

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

http://www.olimex.com/dev

COPYRIGHT(C) 2011, OLIMEX Ltd.

Rev. A

D0
D1
D2
D3
D4
D5
D6
D7

R31
10k

BOOT0

BUT

R30
1k

3.3V

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

D8
D9
D10
D11
D12
D13
GND
D14

A0
A1
A2
A3
A4
A5

RST
3V3
3V3A
GNDA
GND
VIN

STM32-MAPLE_PLATFORM

OLIMEXINO-STM32

3.3V

SW-SIDE_WT CM -T R(3X 4)

VSSPROG

BATTERY CE
CHARGER

VDD VBAT

U3

3.3V 3.3V

UEXT_#CS

3

D10/D4
D10:O pen/D4:Close

R11
R12
R13

3.3V

1
8
7
5
4
6
3
2

C14 27pF

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

R32
1M

R33
1k
BO OT0
D26
USB_P
DISC
D21(CAN_CTRL)
C11 10pF
D22
Q2
D23
C12 10pF
32768Hz/6pF
1
2 D23_E
D23_EXT
Open
C13 27pF

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

GND

VCC 2

U5
NA

SW-SIDE_ WT CM -T R(3X4)

2

C21
2.2uF

4

+5V

D14(CANRX)

C23
100nF
D24(CANTX)

CAN

R10
10k

3.3V

Battery Charger

TXD
VSS
VDD
RXD

1
2
3
4

MCP2551-I/SN

D21(CAN_CTRL)

D8(RXD1)
D30(SDA2)
D11(MOSI1)
UEXT_#CS

R9
4.7k

3.3V

R26

D2

5
6
54

8
9
10
11
24
25
37
38
39
40
51
52
53
2
3
4

C26 10uF/6.3V

MC33063A DR(S O 8)

5

CL10uH SW68

D3
1N5819S/SS14

8
7
6
5

U4

0R

2
4
6
8
10

BH10R

R25
0R(NA)
R24
10k

1
3
5
7
9

UEXT

UEXT

R27
NA(4.7k)

FB

SC
SE

L1

PD0/OSC_IN
PD1/OSC_OUT
PD2/TIM3_ETR

NA(4.7k)

TC

1
2

U2

TB3-3.5MM

STM32F103RBT6(LQ FP64)

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

BOOT0

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

D27
D28

1 RESET

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)

14
15
16
17
20
21
22
23
41
42
43
44
45
46
49
50

PC0/ADC10
PC1/ADC11
PC2/ADC12
PC3/ADC13
PC4/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

NRST

2

X1-2
NA

6

C16

8
7

YDJ-1136
9-30VDC

0.47R

R23
120R

1

1N5819S/SS14

D1

Open
CAN_T

PWR_J

3
2
1

7
60

VSS
VSS
VSS
VSS

D10(#SS1)

0.47R
R17

CAN

2

R16

3.3V

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

R8
4.7k

3.3V

NA(47pF)

C10

USBDP

USBDM

R5
1.5k

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/SWDIO
TCK/SWCLK
TDI

BOO T0

RESET

31
47
63
18

26
27
28
55
56
57
58
59
61
62
29
30
33
34
35
36

+

VIN

POWER_SUPPLY

LED1

Close
R6
330R

1

LED1_E

10nF

C7

NA

4
5
6

3.3V

C6

VDD
VDD
VDD
VDD

VBAT

VSSA

PB0/ADC8/TIM3_CH3/TIM1_CH2N
PB1/ADC9/TIM3_CH4/TIM1_CH3N
PB2/BOOT1
PB3/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/CANRX
PB9/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

RESET

DIGITAL

X1-1

GND3
GND4

MICRO _B

3
2
1

22k

DTA 114Y K A

T1

C5

32
48
19
64

1

12

13

TRST,TDI,TMS/SWDIO,TCK/SWCLK,TDO /SWO ,RESET

DIGITAL

VBUS
DD+
ID
GND

U6

R2

10k

3.3V

C4

100nF 100nF 100nF 100nF

C3

100nF

C2

U1
3

15k

DISC

47k

R1

USB_P

1N5819S/SS14

USB_DEVICE

TRST

10uF/6.3V

C1

3.3V_AVCC

STM32-MAPLE: PLATFORM & CONNECTORS
ANALOG

USB

D5

+5V

1

O pen

R-T

2

TMS/SWDIO
TCK/SWCLK
TDO/SWO
TDI
RESET

3.3V

POWER

G PH127SMT-02x05(PIN7-CUT)

3.3V

Serial wire debug (SWD)

SCHEMATIC:

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
is in position D4, UEXT pin 10 (UEXT_#CS) is connected to STM32F103RBT6 pin 57
(PB5/I2C1_SMBAI/TIM3_CH2/SPI1_MOSI) – signal D4.

when

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



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 16
Language                        : bg-BG
XMP Toolkit                     : XMP toolkit 2.9.1-13, framework 1.6
About                           : uuid:5d2af386-83e6-4801-8836-e13f7adea1f0
Producer                        : OpenOffice.org 3.1
Create Date                     : 2011:06:14 20:21:29+03:00
Creator Tool                    : Writer
Modify Date                     : 2011:06:14 20:32:39+03:00
Metadata Date                   : 2011:06:14 20:32:39+03:00
Document ID                     : uuid:c942d8f8-0fc2-4924-9fc8-a317465e632a
Format                          : application/pdf
Title                           : STM32 ARDUINO MAPLE BOARD
Creator                         : OLIMEX LTD
Description                     : STM32F103RBT6 ARDUINO MAPLE INDUSTRIAL BOARD WITH CAN
Author                          : OLIMEX LTD
Keywords                        : arduino, maple, industrial, can, development, board
Subject                         : STM32F103RBT6 ARDUINO MAPLE INDUSTRIAL BOARD WITH CAN
EXIF Metadata provided by EXIF.tools

Navigation menu