You are on page 1of 25

User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

ET-STM32F103

38

ET-STM32F103 is ARM Cortex-M3 Board Microcontroller


that uses 32-Bit 64PIN (LQFP) Microcontroller
No.STM32F103RBT6 from STMicroelectronics. Resource
systems internal STM32F103RBT6 are quite perfect and
suitable for learning or applying to many projects well.
If user can learn and understand how to use resources
internal MCU well, it makes user can additionally modify
and develop more applications because hardware system of
STM32F103RBT6 have already included the necessary
components in the single MCU such as USB, SPI, I2C, ADC,
Timer/Counter, PWM, Capture, UART and etc.

ETT Team studies and researches on details of


STM32F103RBT6 and then designs it to be Board
Microcontroller version “ET-STM32F103”. We hope that user
who purchases this board can learn, modify, and develop
additionally as required under the reasonable price. The
main purpose to design the Board ET-STM32F103 is to
support user who needs to learn, modify, and develop the
board actually. The board structure consists of the basic
components that are necessary to simply learn and test

ETT CO., LTD  -1 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

such as LED to display Output Logic value, Push Button


Switch to test Logic Input, Volume to adjust the voltage
to test A/D. Moreover, it provides components for
advanced learning to support applications such as Port
USB, SD Card, Dot-Matrix LCD, and RS232. Besides, there
are many available GPIO that are designed and can be used
with other components suitably. So, Board ET-STM32F103 is
one of the multipurpose boards that should not be missed.

Specifications of Board
1. Use ARM Cortex-M3 32Bit MCU No.STM32F103RBT6 from
STMicroelectronics.
2. Has 128 KB Flash Memory and 20KB Static RAM Internal
MCU
3. Use Crystal 8.00MHz + Phase–Locked Loop (PLL), run
72MHz Frequency and process data with 1.25 DMIPS/MHz
speed that is equal to 90 MIPS
4. Has RTC (Real Time Clock) Circuit with XTAL 32.768KHz
and Battery Backup
5. Support In-System Programming (ISP) and In-
Application Programming (IAP) through ON-Chip Boot-
Loader via Port USART-1 (RS232)
6. Has circuit to connect with standard 20 PIN JTAG ARM
to Debug as Real Time
7. Use +5VDC Power Supply that can be selected either
from USB Port or from external CPA-2PIN Connector
with +3V3/3A Regulate internal Board
8. Has Standard USB 2.0 as Full Speed insides
9. Has circuit to interface SD Card by using SPI Mode 1
Channel
10. Has RS232 Communication Circuit by using
standard ETT 4-PIN Connector 2 Channel
11. Has circuit to interface with Dot Matrix LCD
with circuit to adjust the brightness by using
standard ETT 14 PIN Connector with Jumper to set
Power Supply for LCD either +3.3V or +5V
12. Has 2 Push Button Switch Circuits
13. Has 8 LED Circuits to display status of testing
Output
14. Has circuit to create 0-3V3 voltage by using
adjustable Resistor to test A/D

ETT CO., LTD  -2 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

15. Has independent 46 Bit GPIO to apply to many


applications such as A/D, I2C, SPI and Input/ Output
with Jumper to ON/OFF signal. User can set Jumper to
use it either GPIO or Hardware Self-Test such as 8
Bit LED, Push Button SW, Volume, USART2 and SD Card.
So, user is free to select functions independent
without unlimited hardware system of board.
• Header 10Pin IDE (PA[0..7])
• Header 10Pin IDE (PA[8..15])
• Header 10Pin IDE (PB[0..7])
• Header 10Pin IDE (PB[8..15])
• Header 10Pin IDE (PC[0..7])
• Header 10Pin IDE (PC[8..13])

ETT CO., LTD  -3 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Specifications of MCU STM32F103RBT6

• 32 Bit ARM Cortex-M3 Processor, Run 72MHz Clock /


90MIPS(1.25DMIPS/MHz)
• 128KByte Flash Memory / 20KByte Static RAM
• 64LQPF Packet 51 Bit I/O + 16 External Interrupt with
5V-Tolerant Logic Level
• 7 Channel DMA For Peripherals ADC, SPI, I2C, USART
• 16 Channel / 12 Bit ADC Converter
• Support Debug with Serial wire Debugger(SWD) & JTAG
Interface
• 3 x 16 Bit Timer(16-Input Capture / 16-Output Compare
/ 18-PWM)
• 2-SPI, 2-I2C, 3-USART, 1-USB, 1-CAN, 2-WDG, RTC

ETT CO., LTD  -4 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Structure of Board ET-STM32F103

Figure displays structure of Board ET-STM32F103.

ETT CO., LTD  -5 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

15 13 12
28
11
14
16 17

22 10 29
21
18 27
23 9
19 20 26
2 3
24
6 8
1 25
4 5 7

Figure Show the position of components on ET-STM32F103.

• No.1 is an external +5V Power Supply Connector.


• No.2 is Jumper J21 to select to use +5V either from
USB Port or external Connector.
• No.3 is LED Power to display status of Power Supply.
• No.4 is Switch BOOT0 that is used with Jumper J1 to
select operation mode of Board as Download type
either from USART1 or Normal Run; in this case, ON is
Download and OFF is Run.
• No.5 is Jumper J1(BOOT1) that is used with Switch
BOOT0 to select operation mode of Board as Download
type whether from USART1 or Normal Run; in this case,
it is always configured at BOOT1 position.
• No.6 is LED to display operation mode of board. If it
is ON, it means that SW-BOOT0 is in the ON position
and can download through USART1; on the other hand,
if it is OFF, it means that it is in Normal Run.
• No.7 is Switch RESET to reset operation of MCU.
• No.8 is GPIO (PA[0..7]) Connector.
• No.9 is GPIO (PC[0..7]) Connector.
• No.10 is GPIO (PA[8..15]) Connector.
• No.11 is GPIO (PB[8..15]) Connector.
• No.12 is JTAG ARM Connector to Debug as Real Time.

ETT CO., LTD  -6 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

• No.13 is UASRT2 (RS232) Connector for usage.


• No.14 is Jumper J13 and J14 to select and set signal
of PA2 and PA3 to be used as either USART2 or GPIO.
• No.15 is USART1(RS232) Connector for usage and
Download.
• No.16 is Character LCD Connector by using with LCD
that is either +3.3V Supply or +5V Supply.
• No.17 is VR to adjust the brightness of Character
LCD.
• No.18 is Jumper J4 to select Power Supply of LCD to
be either +3.3V or +5V.
• No.19 is USB Connector to connect with USB Hub
version 2.0.
• No.20 is Jumper to select connection mode of USB.
• No.21 is 3V Battery for Backup the time of RTC.
• No.22 is GPIO(PC[8..13]) Connector.
• No.23 is GPIO(PB[0..7]) Connector.
• No.24 is socket to insert SD Card.
• No.25 is S3 to test Logic Input of PC[13].
• No.26 is S4 to test Logic Input of PA[0].
• No.27 is VR to adjust the 0-3V3 voltage to test
A/D(PA[1]).
• No.28 is LED to test Logic Output of PB [8..15].
• No.29 is Jumper J17, J20, J19, J18, J23, J24 to
select Enable or Disable for the connection between
GPIO Pin and component that is tested.
o J17 is used to ENABLE (EN) or DISABLE (DIS) the
display of LED follow the control of PB[8..15]
o J20 is used to ENABLE (EN) or DISABLE (DIS) the
connection between Pin PA1 of MCU and VR.
o J19 is used to ENABLE (EN) or DISABLE (DIS) the
connection between Pin PA0 of MCU and Switch S4.
o J18 is used to ENABLE (EN) or DISABLE (DIS) the
connection between Pin PC13 of MCU and Switch
S3.
o J23 is used to ENABLE (EN) or DISABLE (DIS) the
connection between Pin PA8 of MCU and CD of SD
Card.
o J24 is used to ENABLE (EN) or DISABLE (DIS) the
connection between Pin PC6 of MCU and WP of SD
Card.

ETT CO., LTD  -7 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Application of LED Display Circuit


There are 8 LED Displays of Board ET-STM32F130 and
the circuit that drives LED is connected as Source
Current. It uses Buffer No.74HC244 to drive current into
LED and then uses signal from Port PB[8..15] to run. In
this case, it runs with Logic “1” and stop running with
Logic “0”. User can select to ON/OFF operation of Buffer
No.74HC244 by setting Jumper J17 as shown in the picture
below.

+3V3 C20 +3V3


R23 D4
J17 560
U5 100n
R22
1
2
3

74HC244 R24 D5
D 22k
1 20 560
1OE VCC
19
2OE R25 D6
2 18
PB15 1A1 1Y1 560
4 16
PB14 1A2 1Y2 D7
6 14 R26
PB13 1A3 1Y3
8 12 560
PB12 1A4 1Y4
11 9
PB11 2A1 2Y1 R27 D8
13 7
PB10 2A2 2Y2
15 5 560
PB9 2A3 2Y3
17 3
PB8 2A4 2Y4 D9
R28
10 560
GND
R29 D10
560
R30 D11
560

ETT CO., LTD  -8 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Application of Push Button Switch Circuit


Push Button Switch Circuit uses the Push Switch type
with Pull-Up Circuit and is used with +3.3V Power Supply.
If this switch is not pressed, its logic status is “1”;
on the other hand, if this switch is pressed, its logic
status is “0”. It is used to test operation of Input
Logic. There are 2 sets for this circuit as follows;

• S3 (PC[13]) tests Logic Input or TAMP (Tamper


Detection).
• S4 (PA[0]) tests Logic Input or WKUP (Wakeup
Interrupt.

+3V3 +3V3

TAMP WKUP
R32 R34
1
2
3

1
2
3

J18 10k J19 10k


R31 R33
PC13 PA0
1k 1k

S3 S4
TAMP WKUP

ETT CO., LTD  -9 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Application of VR Circuit (0-3V3)


VR circuit uses VR Resistor to adjust values. This
circuit is used with +3.3V Power Supply and user will get
the Output value that is voltage in the range of 0V to
+3.3V follows the adjustment of the Resistor. The Output
will be inputted into Pin PA[1] to create Input voltage
for testing operation of A/D (PA[1]) circuit. User can
remove the connection between signal PA[1] and VR circuit
by using Jumper J20 as shown in the circuit below.

+3V3
ADC1
1
2
3

J20
R35 P2
PA1
330 10k
C26
100n

ETT CO., LTD  - 10 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Application of JTAG ARM


JTAG or JTAG ARM is IDE 20 Pin Connector to interface
with JTAG Debugger. The method to arrange circuit and
signal under the standard of JTAG is shown in the figure
below.

R5-R9=NA +3V3

VTref VTarget
R5 R6 R7 R8 R9
10k 10k 10k 10k 10k TRST GND
J10
1 2
TDI GND
PB4 TRST
PA15 TDI
3
5
4
6
TMS GND
PA13 TMS
PA14 TCK
7 8 TCK GND
9 10
PB3 TDO
11 12 RTCK GND
13 14
RESET RST
15 16 TDO GND
17 18
19 20 RES# GND
JTAG
R10 R11 R12 NC GND
10k 10k 10k
NC GND
ARM JTAG Pin Connector

ETT CO., LTD  - 11 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Application of Character LCD


LCD can be interfaced with Character Dot-Matrix LCD
only in the format of 4 Bit Data Interface. It uses 7 Bit
that is signal from PC[0..3] and PC[10..12] to interface
with LCD. The method to connect signal cable from
connector of Port LCD to LCD Display is to use the name
of signal to be reference; moreover, user must connects
all 14 signal cables corresponding with their names as
shown in the picture below.

Connection between Signals and LCD


• DB4 = PC[3]
• DB5 = PC[2]
• DB6 = PC[1]
• DB7 = PC[0]
• RS = PC[12]
• RW = PC[11]
• EN = PC[10]
1
2
3

J4 VLCD

+5V +3V3
P1 +VCC GND
10k
RS VO
J5 EN RW
VDD GND
PC12 RS
1 2
VO D1 D0
3 4
PC10 EN RW PC11
D1
5 6
D0 D3 D2
7 8
D3 D2
PC2 D5
9 10
D4 PC3
D5 D4
11 12
PC0 D7
13 14
D6 PC1 D7 D6
ET-CLCD ET-CLCD

ETT CO., LTD  - 12 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Application of SD Card Memory


Board ET-STM32F103 supports the connection of SD Card
Memory by using SPI Mode Interface; moreover, all
circuits that are connected with SD Card use signal pins
of function SPI1 and GPIO from MCU as follows;

• CD/DAT3 uses PA4(SPI1-SS).


• CLK uses PA5(SPI1-SCK).
• DAT0 uses PA6(SPI1-MISO).
• CMD uses PA7(SPI1-MOSI).
• CD uses PA8(GPIO) to check the insertion of memory
card; if user does not need to use this pin, can
set Jumper J23 on [2-3] to remove the connection
between Pin PA8 and Pin CD(Card Detection) of SD
Card.
• WP uses PC6 (GPIO) to check the setting of Write
Protect of memory card; if user does not need to
use this pin, can set Jumper J24 on [2-3] to
remove the connection between Pin PC6 and Pin WP
(Write Protect) of SD Card.

C21
+3V3 10uF

C22
100n
R36 R37 R38 R39
10k 10k 22k 22k SK1
SD/MMC
1
PA4 CD/DAT3
2
PA7 CMD
3
VSS
4
VDD
5
PA5 CLK
6
VSS
7
PA6 DAT0
8
CD DAT1
9
DAT2
1
2
3

J23
R41 1k 10
PA8 CD
11
G1

G2

WP WP
1
2
3

J24
12

13

R42 1k
PC6

ETT CO., LTD  - 13 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Application of RS232
Port RS232 is signal RS232 that has converted signal
level of MAX3232. There are 2 channels; USART-1 and
USART-2. Both channels can be used to connect with Signal
RS232 to transmit-receive data. Moreover, USART-1 can be
used to be ISP Download to download Hex File into MCU; in
this case, it must be used with Jumper J1(BOOT1) SW-S1
(BOOT0) and SW-S2 (RESET) to reset CPU to start running
in Boot Loader Mode to download Hex File into MCU (see
more detail of “How to Download Hex File into MCU of
Board”).

USART-1(Download) USART-2

1 2 3 4 1 2 3 4
RXD1

RXD2
TXD1

TXD2
+3V3

+3V3
GND

GND

• USART-1 uses signal pin from PA9(TXD1) and


PA10(RXD1).
• USART-2 uses signal pin from PA2(TXD2) and
PA3(RXD2).

PA2 and PA3 has Jumper J14 and J13 to select signal for
using as either function USART2 or GPIO as shown in the
figure below.

ETT CO., LTD  - 14 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     
+3V3
C9
U2 100n
1 16
C1+ VCC
C10 C11
100n 100n
3 2
C1- V+
4 6
C2+ V-
C12 C13
100n 100n J11
5 15 +3V3
C2- GND
R14 1
PA10 12 13 RXD-1
R1O R1I 2
100 PA9 11 14 TXD-1
T1I T1O 3
9 8
R2O R2I 4
10 7
T2I T2O
PA3 USART1(Download)
PA3-P ICL3232
+3V3 J12
J13 1
RXD-2
2
3
2
1

PA2 TXD-2
3
PA2-P
4
USART2
J14
3
2
1

Cable that is used to connect signal RS232 between


Comport of computer PC and USART-1 Connector and USART-2
Connector of Board ET-STM32F103 is shown as below;

1 CD
6 DSR
2 RXD
7 RTS
3 TXD
8 CTS
1
4 DTR RXD
2
9 RI TXD
3
5 GND GND
4
ET-RS232
DB9(FEMALE)
RS232-PC

Figure displays circuit of signal cable for RS232.

ETT CO., LTD  - 15 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Application of Power Supply


Power Supply Circuit can be used with +5VDC that can
be set by Jumper J21 to use +5V either from USB or from
external CPA-2PIN Connector. The Power Supply that is
connected will be sent to +3V3/3A Regulate Circuit.

Power Supply Circuit in the part of 3.3V Regulate


circuit must be supplied to CPU and all I/O circuits of
board, except LCD that has Jumper J4, so it can be set to
use Power supply either +3.3V or +5VDC.

J21
PWR SEL
1
2
3

F1
VUSB
FSMD110
U3
+5VDC +5V LD1085 +3V3
3 2 R40
1 IN OUT
GND

2 560

C23 C24 C25


D12 100n
10uF/16v 100uF/16V
1

SM-4004

ETT CO., LTD  - 16 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

Application of Port I/O Connectors on Board


Port I/O Connectors of CPU will be externally
arranged to connector types, so it makes user can select
and interface them easily. There are 6 sets as follows;

• 6 IDE 10 Pin Connectors and there are 8 Bit per each


set. Signals are arranged as follows;

PA0 PA1 PA8 PA9


PA2P PA3P PA10 PA11
PA4 PA5 PA12 PA13
PA6 PA7 PA14 PA15
+3V3 GND +3V3 GND
PA[0..7] PA[8..15]

PB0 PB1 PB8 PB9


PB2 PB3 PB10 PB11
PB4 PB5 PB12 PB13
PB6 PB7 PB14 PB15
+3V3 GND +3V3 GND
PB[0..7] PB[8..15]

PC0 PC1 PC8 PC9


PC2 PC3 PC10 PC11
PC4 PC5 PC12 PC13
PC6 PC7 NC NC
+3V3 GND +3V3 GND
PC[0..7] PC[8..13]

ETT CO., LTD  - 17 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

How to download Hex File into MCU of Board


The method to download Hex File into Flash Memory of
MCU internal board is to use Program “Flash Loader” of
“STMicroelectronics” that is connected with MCU through
Serial Port of computer PC. This program can be
downloaded free without any charge from www.st.com.

Procedures to download Hex File into MCU


1. Connect RS232 Cable between RS232 Serial Port
Communication of PC and Board USART-1.
2. Supply power into board; in this case, LED PWR is in
status ON.
3. Run Program Flash Loader; if it is version demo 1.1,
it will display results as follows;

4. Set initial values for program as required; if using


with STM32F103RBT6 of Board ET-STM32F103 from ETT,
please set the values into program as follows;
4.1 Set COM Port corresponding with the COM Port
that is actually used (in the example, it is
COM4).

ETT CO., LTD  - 18 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

4.2 Set Baud Rate in the range of 1200 – 115200;


if computer has the problem or ERROR when
setting the high Baud Rate, please reduce the
Baud Rate. In this example, it uses 115200.

4.3 Set Parity Bit of Serial Port; in this case,


we recommend setting it as None.
4.4 Set Timeout of communication; in the
example, it is 1 second.
4.5 RESET MCU to run in Boot Loader, please
follow these instructions;
ƒ Set Jumper J1 on BOOT1 position.
ƒ ON Switch S1(BOOT0), LED BL will be ON.
ƒ Press Switch RESET and then remove, it
makes CPU start running in Boot Loader.

5. Click “Next” to start downloading; if everything is


correct, program will read status from CPU and report
the results. If using STM32F103RBT6, it displays
result as shown in the picture below.

ETT CO., LTD  - 19 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

6. Click “Next”, Program Flash Loader starts displaying


statuses that are read from MCU; if using
STM32F103RBT6, it will display result as shown in the
picture below;

7. Click “Next” to go to the next step.

ETT CO., LTD  - 20 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

8. Click “Next”, program starts downloading data into


MCU instantly. User can notice the operation through
Status Bar; in this case, user must wait until the
operation of program is completely finished as shown
in the picture below.

ETT CO., LTD  - 21 - WWW.ETT.CO.TH 
User’s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)     

9. When the operation of program is completely, click


“Finish” and OFF Switch BOOT0. In this case, LED BL
is in status OFF, and then press Switch RESET on
board, it makes MCU start running follows the
downloaded program instantly.

ETT CO., LTD  - 22 - WWW.ETT.CO.TH 
1 2 3 4

C1

1
2
3
D1 BOOT0 J4 VLCD
+3V3 +3V3 J1
S1 1 +3V3 P1
100n PMEG4005ET B1 R1 1 R2 +5V +3V3 10k
PB2 BOOT0 2
2
D2 100k 100k 3
3 +3V3
D3
PMEG4005ET BATT 3V 4 BOOT0=1 J5
D BOOT1 D
5 J2 J3 VDD GND
C2 R3 1 2
+3V3 L1 U1 6 PA0 PA1 PA8 PA9 PC12 RS VO
10uF 1 2 1 2 3 4
STM32F103RBT6(LQFP64) 560 PA2-P PA3-P PA10 PA11 PC10 EN RW PC11
3 4 3 4 5 6
ferrite bead PA4 PA5 PA12 PA13 D1 D0
5 6 5 6 7 8
C3 13 26 PB0 PA6 PA7 PA14 PA15 D3 D2
100n VDD_A PB0/ADC8/TIM3_CH3 7 8 7 8 9 10
27 PB1 PC2 D5 D4 PC3
PB1/ADC9/TIM3_CH4 +3V3 9 10 +3V3 9 10 11 12
12 28 PB2 PC0 D7 D6 PC1
VSS_A PB2/BOOT1 13 14
55 PB3 PA0-PA7 PA8-PA15
PB3/JTDO/TIM2_CH2/SPI1_SCK
1 56 PB4
VBATT PB4/JNTRST/TIM3_CH1/SPI1_MISO ET-CLCD
57 PB5 J6 J7
PB5/I2C1_SMBAI/TIM3_CH2/SPI1_MOSI
32 58 PB6 PB0 PB1 PB8 PB9 R5-R9=NA +3V3
VDD_1 PB6/I2C1_SCL/TIM4_CH1/USART1_TX 1 2 1 2
48 59 PB7 PB2 PB3 PB10 PB11
VDD_2 PB7/I2C1_SDA/TIM4_CH2/USART1_RX 3 4 3 4
+3V3 64 61 PB8 PB4 PB5 PB12 PB13
VDD_3 PB8/TIM4_CH3/I2C1_SCL/CANRX 5 6 5 6
19 62 PB9 PB6 PB7 PB14 PB15 R5 R6 R7 R8 R9
VDD_4 PB9/TIM4_CH4/I2C1_SDA/CANTX 7 8 7 8
29 PB10 10k 10k 10k 10k 10k
PB10/I2C2_SCL/USART3_TX/TIM2_CH3 +3V3 9 10 +3V3 9 10
C4 C5 C6 C7 30 PB11 J10
PB11/I2C2_SDA/USART3_RX/TIM2_CH4
100n 100n 100n 100n 33 PB12 PB0-PB7 PB8-PB15
PB12/SPI2_NSS/I2C2_SMBAI/USART3_CK/TIM1_BKIN 1 2
31 34 PB13 PB4 TRST
VSS_1 PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N 3 4
47 35 PB14 J8 J9 PA15 TDI
C VSS_2 PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N 5 6 C
63 36 PB15 PC0 PC1 PC8 PC9 PA13 TMS
VSS_3 PB15/SPI2_MOSI/TIM1_CH3N 1 2 1 2 7 8
18 PC2 PC3 PC10 PC11 PA14 TCK
VSS_4 3 4 3 4 9 10
+3V3 8 PC0 PC4 PC5 PC12 PC13
PC0/ADC10 5 6 5 6 11 12
RESET 7 9 PC1 PC6 PC7 PB3 TDO
NRST PC1/ADC11 7 8 7 8 13 14
10 PC2 RESET RST
PC2/ADC12 +3V3 9 10 +3V3 9 10 15 16
BOOT0 60 11 PC3
R4 BOOT0 PC3/ADC13 17 18
24 PC4 PC0-PC7 PC8-PC13
10k PC4/ADC14 19 20
PA0 14 25 PC5
PA0/WKUP/USART2_CTS/ADC0/TIM2_CH1_ETR PC5/ADC15
PA1 15 37 PC6 +3V3 JTAG
PA1/USART2_RTS/ADC1/TIM2_CH2 PC6/TIM3_CH1 R10 R11 R12
PA2 16 38 PC7 C9
PA2/USART2_TX/ADC2/TIM2_CH3 PC7/TIM3_CH2 10k 10k 10k
PA3 17 39 PC8 U2 100n
PA3/USART2_RX/ADC3/TIM2_CH4 PC8/TIM3_CH3
PA4 20 40 PC9 1 16
C8 PA4/SPI1_NSS/USART2_CK/ADC4 PC9/TIM3_CH4 C1+ VCC
PA5 21 51 PC10
100n PA5/SPI1_SCK/ADC5 PC10/USART3_TX C14 10pF
S2 PA6 22 52 PC11 C10 C11
PA6/SPI1_MISO/ADC6/TIM3_CH1 PC11/USART3_RX 100n
RESET PA7 23 53 PC12 100n
PA7/SPI1_MOSI/ADC7/TIM3_CH2 PC12/USART3_CK
PA8 41 2 PC13 3 2
PA8/USART1_CK/TIM1_CH1/MCO PC13/TAMPER-RTC Y1 C1- V+
PA9 42
PA9/USART1_TX/TIM1_CH2 32.768kHz
PA10 43 3 4 6
PA10/USART1_RX/TIM1_CH3 PC14/OSC32_IN C2+ V-
PA11 44 4
B PA11/USART1_CTS/CANRX/TIM1_CH4/USBDM PC15/OSC32_OUT B
PA12 45 C15 10pF C12 C13
PA12/USART1_RTS/CANTX/TIM1_ETR/USBDP 22pF
PA13 46 5 C16 100n 100n J11
PA13/JTMS/SWDIO PD0/OSC_IN
C18 PA14 49 6 5 15 +3V3
PA14/JTCK/SWCLK PD1/OSC_OUT C2- GND
18pF PA15 50 54 PD2 Y2
PA15/JTDI/TIM2_CH1/SPI1_NSS PD2/TIM3_ETR R13 R14 1
1M 8MHz PA10 12 13 RXD-1
R1O R1I 2
100 PA9 11 14 TXD-1
T1I T1O 3
9 8
R2O R2I 4
+3V3 VUSB C17 22pF 10 7
T2I T2O
PA3 USART1(Download)
C19 +3V3 PA3-P ICL3232
18pF +3V3 J12
R18
10k J13 1
PD2 RXD-2
3 2
2
1
Q1 PA2 TXD-2
BC817 R20 3
VUSB Q2 10k PA2-P
J15 4
BC817
J16 R17 R19 R21 1
100k USART2
USB 2 J14
1 1k5 1k 3
3
2
1

2 R15 27 Title
A UMODE A
3 R16 27
4
Size Number Revision
A4
5

Date: 19-Jun-2008 Sheet of


File: D:\ET-STM32F103.ddb Drawn By:
1 2 3 4
1 2 3 4

+3V3 +3V3

+3V3 C20 +3V3 TAMP


D4 WKUP
R23
D R32 R34 D

1
2
3

1
2
3
J17 560 J18 10k J19 10k
U5 100n
R22 R31 R33
1
2
3

74HC244 R24 D5
LED 22k PC13 PA0
1 20 560 1k 1k
1OE VCC
19
2OE R25 D6
2 18 S3 S4
PB15 1A1 1Y1 560
4 16 TAMP WKUP
PB14 1A2 1Y2 D7
6 14 R26
PB13 1A3 1Y3
8 12 560
PB12 1A4 1Y4
11 9
PB11 2A1 2Y1 R27 D8
13 7
PB10 2A2 2Y2
15 5 560
PB9 2A3 2Y3
17 3
PB8 2A4 2Y4 D9
R28 +3V3
10 ADC1
GND 560

1
2
3
R29 D10 J20
R35 P2
C 560 PA1 C
330 10k
R30 D11 C26
560 100n

C21
+3V3 10uF

C22
100n
R36 R37 R38 R39
10k 10k 22k 22k SK1
SD/MMC
J21 1
PWR SEL PA4 CD/DAT3
2
PA7 CMD
1
2
3

3
B VSS B
4
F1 VDD
5
VUSB PA5 CLK
6
FSMD110 VSS
U3 7
+5VDC PA6 DAT0
+5V LD1085 +3V3 8
R40 CD DAT1
3 2 9
1 IN OUT DAT2

1
2
3
J22
560
GND

2 J23
D13 R41 1k 10
C25 PWR PA8 CD
D12 C23 C24
10uF/16v 100uF/16V 100n 11

G1

G2
1

SM-4004 WP WP

1
2
3
J24

12

13
R42 1k
PC6

Title
A A

Size Number Revision


A4
Date: 19-Jun-2008 Sheet of
File: D:\ET-STM32F103.ddb Drawn By:
1 2 3 4