25

STM32 ETT MANUAL

Embed Size (px)

DESCRIPTION

STM32 ARM CORTEXT-M3

Citation preview

Page 1: STM32 ETT MANUAL
Page 2: STM32 ETT MANUAL

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

ETT CO., LTD  - 1 - WWW.ETT.CO.TH 

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

Page 3: STM32 ETT MANUAL

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

ETT CO., LTD  - 2 - WWW.ETT.CO.TH 

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

Page 4: STM32 ETT MANUAL

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

ETT CO., LTD  - 3 - WWW.ETT.CO.TH 

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])

Page 5: STM32 ETT MANUAL

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

ETT CO., LTD  - 4 - WWW.ETT.CO.TH 

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

Page 6: STM32 ETT MANUAL

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

ETT CO., LTD  - 5 - WWW.ETT.CO.TH 

Structure of Board ET-STM32F103

Figure displays structure of Board ET-STM32F103.

Page 7: STM32 ETT MANUAL

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

ETT CO., LTD  - 6 - WWW.ETT.CO.TH 

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.

1211

10

9

8

22

16 17

21

28

27

24

19

2

1 4 7

20

14

56

18

1315

25

26

29

23

3

Page 8: STM32 ETT MANUAL

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

ETT CO., LTD  - 7 - WWW.ETT.CO.TH 

• 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.

Page 9: STM32 ETT MANUAL

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

ETT CO., LTD  - 8 - WWW.ETT.CO.TH 

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.

D4

D5

D6

D7

D8

D9

D10

D11

R23

560

R24560

R25

560

R26560

R27

560

R28560

R29560

R30560

1OE1

1A12

1A24

1A36

1A48 1Y4 121Y3 141Y2 161Y1 18

2Y4 32Y3 52Y2 72Y1 9

GND10

2A111

2A213

2A315

2A417

2OE19 VCC 20

U574HC244

PB15PB14PB13PB12PB11PB10PB9PB8

+3V3C20

100nR2222k

+3V3

1 2 3

J17

D

Page 10: STM32 ETT MANUAL

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

ETT CO., LTD  - 9 - WWW.ETT.CO.TH 

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.

S3TAMP

R3210k

R31

1k

+3V3

S4WKUP

R3410k

R33

1k

+3V3

PC13 PA0

1 2 3

J18

TAMP

1 2 3

J19

WKUP

Page 11: STM32 ETT MANUAL

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

ETT CO., LTD  - 10 - WWW.ETT.CO.TH 

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.

P210k

+3V3

R35

330PA1

1 2 3

J20

ADC1

C26100n

Page 12: STM32 ETT MANUAL

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

ETT CO., LTD  - 11 - WWW.ETT.CO.TH 

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.

13579 10

8642

11131517

12141618

19 20

J10

JTAG

+3V3

R1210k

R1110k

R1010k

PB4PA15PA13PA14

PB3RESET

R910k

R810k

R710k

R610k

R510k

TRSTTDITMSTCK

TDORST

R5-R9=NA

TRST

TDI

TMS

TCK

GND

GND

GND

GND

VTref

ARM JTAG Pin Connector

GND

GND

GND

GND

GND

RTCK

TDO

RES#

NC

NC

VTarget

Page 13: STM32 ETT MANUAL

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

ETT CO., LTD  - 12 - WWW.ETT.CO.TH 

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]

13579 10

8642

11 121413

J5

ET-CLCD

P110k+5V

VDDRSEND1D3D5D7

GNDVORWD0D2D4D6

PC12PC10

PC2PC0

PC11

PC3PC1

1 2 3

J4 VLCD

+3V3

EN

D1

D3

D5

RW

D0

D2

D4

VORS

GND+VCC

D7 D6

ET-CLCD

Page 14: STM32 ETT MANUAL

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

ETT CO., LTD  - 13 - WWW.ETT.CO.TH 

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.

+3V3

R41 1k

R3710k

R42 1k

R3610k

R3822k

R3922k

C22100n

C2110uF

PA8

PA4PA7

PA5

PA6

PC6

CD/DAT31

CMD2

VSS3

VDD4

CLK5

DAT07 VSS6

DAT18

DAT29

CD10

WP11

G1

12

G2

13

SK1SD/MMC

1 2 3

J24

WP

1 2 3

J23

CD

Page 15: STM32 ETT MANUAL

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

ETT CO., LTD  - 14 - WWW.ETT.CO.TH 

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”).

2 41 3

+3V3

RXD1

TXD1

GND

USART-1(Download)

2 41 3

+3V3

RXD2

TXD2

GND

USART-2

• 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.

Page 16: STM32 ETT MANUAL

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

ETT CO., LTD  - 15 - WWW.ETT.CO.TH 

C1+1

C1-3

C2+4

C2-5

R1O12

T1I11

R2O9

T2I10

VCC 16

V+ 2

V- 6

GND 15

R1I 13

T1O 14

R2I 8

T2O 7

U2

ICL3232

C10100n

C11100n

C12100n

C13100n

C9100n

+3V3

+3V3

+3V3

RXD-1TXD-1

RXD-2TXD-2

1234

J11

USART1(Download)

1234

J12

USART2

PA10PA9

PA3

PA2

R14

100

123J13

123J14

PA3-P

PA2-P

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;

162738495

DB9(FEMALE)

1234

ET-RS232

RXDTXDGND

RXDRTS

DSR

TXDCTSDTR

GND

CD

RI

RS232-PC

Figure displays circuit of signal cable for RS232.

Page 17: STM32 ETT MANUAL

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

ETT CO., LTD  - 16 - WWW.ETT.CO.TH 

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.

C25100n

+3V3R40

560IN3

GN

D1

OUT 2

U3LD1085

C2310uF/16v

C24100uF/16V

12

+5VDC

1 2 3

J21PWR SEL

VUSB

D12SM-4004

F1

FSMD110

+5V

Page 18: STM32 ETT MANUAL

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

ETT CO., LTD  - 17 - WWW.ETT.CO.TH 

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;

PA2P

PA4

PA6

+3V3

PA3P

PA5

PA7

GND

PA1PA0

PA[0..7]

PA10

PA12

PA14

+3V3

PA11

PA13

PA15

GND

PA9PA8

PA[8..15]

PB2

PB4

PB6

+3V3

PB3

PB5

PB7

GND

PB1PB0

PB[0..7]

PB10

PB12

PB14

+3V3

PB11

PB13

PB15

GND

PB9PB8

PB[8..15]

PC2

PC4

PC6

+3V3

PC3

PC5

PC7

GND

PC1PC0

PC[0..7]

PC10

PC12

NC

+3V3

PC11

PC13

NC

GND

PC9PC8

PC[8..13]

Page 19: STM32 ETT MANUAL

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

ETT CO., LTD  - 18 - WWW.ETT.CO.TH 

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).

Page 20: STM32 ETT MANUAL

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

ETT CO., LTD  - 19 - WWW.ETT.CO.TH 

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.

Page 21: STM32 ETT MANUAL

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

ETT CO., LTD  - 20 - WWW.ETT.CO.TH 

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.

Page 22: STM32 ETT MANUAL

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

ETT CO., LTD  - 21 - WWW.ETT.CO.TH 

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.

Page 23: STM32 ETT MANUAL

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

ETT CO., LTD  - 22 - WWW.ETT.CO.TH 

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.

Page 24: STM32 ETT MANUAL

1 2 3 4

A

B

C

D

4321

D

C

B

A Title

Number RevisionSize

A4

Date: 19-Jun-2008 Sheet of File: D:\ET-STM32F103.ddb Drawn By:

PA0/WKUP/USART2_CTS/ADC0/TIM2_CH1_ETR14

PA1/USART2_RTS/ADC1/TIM2_CH215

PA2/USART2_TX/ADC2/TIM2_CH316

PA3/USART2_RX/ADC3/TIM2_CH417

PA4/SPI1_NSS/USART2_CK/ADC420

PA5/SPI1_SCK/ADC521

PA6/SPI1_MISO/ADC6/TIM3_CH122

PA7/SPI1_MOSI/ADC7/TIM3_CH223

PA8/USART1_CK/TIM1_CH1/MCO41

PA9/USART1_TX/TIM1_CH242

PA10/USART1_RX/TIM1_CH343

PA11/USART1_CTS/CANRX/TIM1_CH4/USBDM44

PA12/USART1_RTS/CANTX/TIM1_ETR/USBDP45

PA13/JTMS/SWDIO46

PA14/JTCK/SWCLK49

PA15/JTDI/TIM2_CH1/SPI1_NSS50

PB0/ADC8/TIM3_CH3 26

PB1/ADC9/TIM3_CH4 27

PB2/BOOT1 28

PB3/JTDO/TIM2_CH2/SPI1_SCK 55

PB4/JNTRST/TIM3_CH1/SPI1_MISO 56

PB5/I2C1_SMBAI/TIM3_CH2/SPI1_MOSI 57

PB6/I2C1_SCL/TIM4_CH1/USART1_TX 58

PB7/I2C1_SDA/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/USART3_RX/TIM2_CH4 30

PB12/SPI2_NSS/I2C2_SMBAI/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/TAMPER-RTC 2

PC14/OSC32_IN 3

PC15/OSC32_OUT 4

PD0/OSC_IN 5

PD1/OSC_OUT 6

PD2/TIM3_ETR 54

BOOT060

NRST7

VBATT1

VDD_132

VDD_248

VDD_364

VDD_419

VDD_A13

VSS_131

VSS_247

VSS_363

VSS_418

VSS_A12

U1STM32F103RBT6(LQFP64)

C7100n

C6100n

C5100n

C4100n

+3V3

C3100n

+3V3

Y132.768kHz

C14 10pF

C15 10pF

Y28MHz

C16 22pF

C17 22pF

R131M

D2

PMEG4005ET

D1

PMEG4005ET B1

BATT 3V

C1

100n

+3V3

R410k

S2RESET

+3V3

C8100n

123

J1

BOOT1

+3V3

R1

100k2

1

3

54

6

S1BOOT0

+3V3

R2

100k

13579 10

8642

11131517

12141618

19 20

J10

JTAG

+3V3

R1210k

R1110k

R1010k

1234

5 6

J16USB

R15 27R16 27

Q1BC817 Q2

BC817R21

1k

R2010k

+3V3

+3V3

R1810k

R19100k

VUSB

R17

1k5

123

J15

UMODE

VUSB

13579 10

8642

J2

PA0-PA7

13579 10

8642

J6

PB0-PB7

13579 10

8642

J8

PC0-PC7

13579 10

8642

J3

PA8-PA15

13579 10

8642

J7

PB8-PB15

13579 10

8642

J9

PC8-PC13

+3V3

+3V3

+3V3 +3V3

+3V3

+3V3

13579 10

8642

11 121413

J5

ET-CLCD

P110k+5V

VDDRSEND1D3D5D7

GNDVORWD0D2D4D6

C1+1

C1-3

C2+4

C2-5

R1O12

T1I11

R2O9

T2I10

VCC 16

V+ 2

V- 6

GND 15

R1I 13

T1O 14

R2I 8

T2O 7

U2

ICL3232

C10100n

C11100n

C12100n

C13100n

C9100n

+3V3

+3V3

+3V3

RXD-1TXD-1

RXD-2TXD-2

1234

J11

USART1(Download)

1234

J12

USART2

C1818pF

C1918pF

C210uF

PA9PA10

PA10PA9

PA3

PA2

PC10PC11

PB2 BOOT0

BOOT0

PB2

PD2

PD2

PA0PA1PA2PA3PA4PA5PA6PA7

PA0PA2-PPA4PA6

PA1PA3-PPA5PA7

PA8

PA11PA12PA13PA14PA15

PA8PA10PA12PA14

PA9PA11PA13PA15PB0

PB1

PB3PB4PB5PB6PB7

PB0PB2PB4PB6

PB1PB3PB5PB7

PB8PB9PB10PB11PB12PB13PB14PB15

PB8PB10PB12PB14

PB9PB11PB13PB15

PC0PC1PC2PC3PC4PC5PC6PC7

PC0PC2PC4PC6

PC1PC3PC5PC7

PC8PC9

PC12PC13

PC8PC10PC12

PC9PC11PC13

PB4PA15PA13PA14

PB3RESET

RESET

PC12PC10

PC2PC0

PC11

PC3PC1

D3BOOT0=1

R3

560

+3V3

L1

ferrite bead

1 2 3

J4 VLCD

+3V3

R14

100

123J13

123J14

PA3-P

PA2-P

R910k

R810k

R710k

R610k

R510k

TRSTTDITMSTCK

TDORST

R5-R9=NA

Page 25: STM32 ETT MANUAL

1 2 3 4

A

B

C

D

4321

D

C

B

A Title

Number RevisionSize

A4

Date: 19-Jun-2008 Sheet of File: D:\ET-STM32F103.ddb Drawn By:

C25100n

+3V3R40

560D13PWR

IN3

GN

D1

OUT 2

U3LD1085

C2310uF/16v

C24100uF/16V

D4

D5

D6

D7

D8

D9

D10

D11

R23

560

R24560

R25

560

R26560

R27

560

R28560

R29560

R30560

P210k

+3V3

R35

330

S3TAMP

R3210k

R31

1k

+3V3

S4WKUP

R3410k

R33

1k

+3V3

+3V3

R41 1k

R3710k

R42 1k

R3610k

R3822k

R3922k

C22100n

C2110uF

PA8

PA4PA7

PA5

PA6

PC6

PC13 PA0

PA1

1OE1

1A12

1A24

1A36

1A48 1Y4 121Y3 141Y2 161Y1 18

2Y4 32Y3 52Y2 72Y1 9

GND10

2A111

2A213

2A315

2A417

2OE19 VCC 20

U574HC244

PB15PB14PB13PB12PB11PB10PB9PB8

+3V3C20

100nR2222k

+3V3

12

J22

+5VDC

1 2 3

J21PWR SEL

VUSB

CD/DAT31

CMD2

VSS3

VDD4

CLK5

DAT07 VSS6

DAT18

DAT29

CD10

WP11

G1

12

G2

13

SK1SD/MMC

1 2 3

J17

LED

1 2 3

J18

TAMP

1 2 3

J20

ADC1

1 2 3

J19

WKUP

1 2 3

J24

WP

1 2 3

J23

CD

C26100n

D12SM-4004

F1

FSMD110

+5V