Вы находитесь на странице: 1из 25

Users 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
ETTCO.,LTD

-1 -

WWW.ETT.CO.TH

Users 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 + PhaseLocked 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 InApplication Programming (IAP) through ON-Chip BootLoader 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
ETTCO.,LTD

-2 -

WWW.ETT.CO.TH

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

ETTCO.,LTD

-3 -

WWW.ETT.CO.TH

Users 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

ETTCO.,LTD

-4 -

WWW.ETT.CO.TH

Users Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)

Structure of Board ET-STM32F103

Figure displays structure of Board ET-STM32F103.

ETTCO.,LTD

-5 -

WWW.ETT.CO.TH

Users Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)


15 16 17 21 18 19 2 1 3 6 4 5 7 8 20 23 9 24 25 26 13 14 22 12 11 28

10

29 27

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.
ETTCO.,LTD

-6 -

WWW.ETT.CO.TH

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

ETTCO.,LTD

-7 -

WWW.ETT.CO.TH

Users 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 J17 D R22 22k 1 2 3 1 19 2 4 6 8 11 13 15 17 10 U5 74HC244 1OE 2OE 1A1 1A2 1A3 1A4 2A1 2A2 2A3 2A4 GND VC C 1Y1 1Y2 1Y3 1Y4 2Y1 2Y2 2Y3 2Y4

C20 +3V3 R23 100n R24 20 R25 18 16 14 12 9 7 5 3 560 R26 560 R27 560 R28 560 R29 560 R30 560 560 560

D4

D5 D6

PB 15 PB 14 PB 13 PB 12 PB 11 PB 10 PB 9 PB 8

D7 D8 D9 D10

D11

ETTCO.,LTD

-8 -

WWW.ETT.CO.TH

Users 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 Detection). S4 (PA[0]) tests Logic Interrupt. Input Input or or TAMP WKUP (Tamper (Wakeup

+3V3 TAMP J18 R31 PC 13 1k S3 TAMP PA0 R32 10k 1 2 3 J19 R33 1k WKUP

+3V3

R34 10k

1 2 3

S4 WKUP

ETTCO.,LTD

-9 -

WWW.ETT.CO.TH

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

ADC1 J20 R35 PA1 C26 100n 330 1 2 3

+3V3

P2 10k

ETTCO.,LTD

- 10 -

WWW.ETT.CO.TH

Users 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 R5 R6 R7 R8 R9 10k 10k 10k 10k 10k J10 PB 4 PA15 PA13 PA14 PB 3 RESET TR ST TDI TM S TC K TDO RST 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20

+3V3

VTref TRST TDI TMS TCK RTCK TDO RES# NC NC

VTarget GND GND GND GND GND GND GND GND GND

R10 R11 R12 10k 10k 10k

JTAG

ARM JTAG Pin Connector

ETTCO.,LTD

- 11 -

WWW.ETT.CO.TH

Users 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 DB5 DB6 DB7 RS RW EN = = = = = = = PC[3] PC[2] PC[1] PC[0] PC[12] PC[11] PC[10]

J4 +5V

1 2 3 VLCD +3V3 P1 10k

J5 PC 12 PC 10 PC 2 PC 0 VDD RS EN D1 D3 D5 D7 1 3 5 7 9 11 13 2 4 6 8 10 12 14 GND VO RW D0 D2 D4 D6 PC 11 PC 3 PC 1

+VCC RS EN D1 D3 D5 D7 ET-CLCD

GND VO RW D0 D2 D4 D6

ET-CLCD

ETTCO.,LTD

- 12 -

WWW.ETT.CO.TH

Users 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 PA4 PA7 PA5 PA6 CD J23 PA8 WP J24 PC 6 R42 1k 1 2 3 R41 1k 10 11 CD G1 WP G2 13 1 2 3 1 2 3 4 5 6 7 8 9 SK1 SD/MMC CD/DAT3 CM D VS S VDD CLK VS S DAT0 DAT1 DAT2

ETTCO.,LTD

- 13 -

12

WWW.ETT.CO.TH

Users 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)
1 2 3 4 1

USART-2
2 3 4

RXD1

RXD2

TXD1

TXD2

+3V3

+3V3

GND

USART-1 uses PA10(RXD1). USART-2 uses PA3(RXD2).

signal signal

pin pin

from from

GND
PA9(TXD1) PA2(TXD2)

and and

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.

ETTCO.,LTD

- 14 -

WWW.ETT.CO.TH

Users Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)


+3V3 U2 1 C10 100n 3 4 C12 100n 5 PA10 R14 100 PA3 PA3-P J13 1 2 3 1 2 3 PA2 PA2-P J14 PA9 12 11 9 10 C2R1O T1I R2O T2I ICL3232 +3V3 RXD-2 TXD-2 J12 1 2 3 4 US ART2 GND R1I T1O R2I T2O 15 13 14 8 7 C1C2+ V+ V2 6 C13 100n +3V3 RXD-1 TXD-1 1 2 3 4 US ART1(Download) J11 C1+ VC C 16 C11 100n C9 100n

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 6 2 7 3 8 4 9 5 DB 9(FEMALE) RS 232-PC

CD DS R RXD RTS TXD CTS DTR RI GND

RXD TXD GND

1 2 3 4 ET-RS232

Figure displays circuit of signal cable for RS232.

ETTCO.,LTD

- 15 -

WWW.ETT.CO.TH

Users 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 FSM D110 +5VDC 1 2 +5V 3 U3 LD1085 GND IN OUT 2 +3V3

R40 560

D12 SM -4004

C23 10uF/16v

C24 100uF/16V

ETTCO.,LTD

- 16 -

C25 100n

WWW.ETT.CO.TH

Users 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 PA2P PA4 PA6 +3V3 PA[0..7] PB0 PB2 PB4 PB6 +3V3 PB[0..7] PC0 PC2 PC4 PC6 +3V3 PC[0..7]

PA1 PA3P PA5 PA7 GND

PA8 PA10 PA12 PA14 +3V3 PA[8..15]

PA9 PA11 PA13 PA15 GND

PB1 PB3 PB5 PB7 GND

PB8 PB10 PB12 PB14 +3V3 PB[8..15]

PB9 PB11 PB13 PB15 GND

PC1 PC3 PC5 PC7 GND

PC8 PC10 PC12 NC +3V3 PC[8..13]

PC9 PC11 PC13 NC GND

ETTCO.,LTD

- 17 -

WWW.ETT.CO.TH

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

ETTCO.,LTD

- 18 -

WWW.ETT.CO.TH

Users Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)


4.2 Set Baud Rate if computer has setting the high Baud Rate. In this in the range of 1200 115200; the problem or ERROR when Baud Rate, please reduce the 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.

ETTCO.,LTD

- 19 -

WWW.ETT.CO.TH

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

ETTCO.,LTD

- 20 -

WWW.ETT.CO.TH

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

ETTCO.,LTD

- 21 -

WWW.ETT.CO.TH

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

ETTCO.,LTD

- 22 -

WWW.ETT.CO.TH

1 C1 D1 100n PMEG4005ET D2 D +3V3 L1 ferrite bead PMEG4005ET C2 10uF C3 13 100n 12 1 32 48 64 19 C5 100n C6 100n C7 100n BATT 3V U1 STM32F103RBT6(LQFP64) VDD_A VSS_A VBATT VDD_1 VDD_2 VDD_3 VDD_4 +3V3 B1 PB2 R1 100k +3V3 J1 1 2 3 BOOT1 BOOT0

2 BOOT0 R2 100k 5 S1 2 1 3 4 6 26 27 28 55 56 57 58 59 61 62 29 30 33 34 35 36 8 9 10 11 24 25 37 38 39 40 51 52 53 2 3 4 5 6 54 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PC8 PC9 PC10 PC11 PC12 PC13 R3 560 +3V3 D3 BOOT0=1 PA0 PA2-P PA4 PA6 +3V3 J2 1 3 5 7 9 2 4 6 8 10 +3V3

3 J4 +5V 1 2 3 VLCD +3V3

P1 10k

J3 PA1 PA3-P PA5 PA7 PA8 PA10 PA12 PA14 1 3 5 7 9 2 4 6 8 10 PA9 PA11 PA13 PA15

PC12 PC10 PC2 PC0

+3V3

C4 100n C +3V3

31 47 63 18 7

VSS_1 VSS_2 VSS_3 VSS_4 NRST

PB0/ADC8/TIM3_CH3 PB1/ADC9/TIM3_CH4 PB2/BOOT1 PB3/JTDO/TIM2_CH2/SPI1_SCK PB4/JNTRST/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_SMBAI/USART3_CK/TIM1_BKIN PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N PB15/SPI2_MOSI/TIM1_CH3N

+3V3

VDD RS EN D1 D3 D5 D7

J5 1 3 5 7 9 11 13 2 4 6 8 10 12 14

GND VO RW D0 D2 D4 D6

D PC11 PC3 PC1

PA0-PA7 J6 PB0 PB2 PB4 PB6 +3V3 1 3 5 7 9 2 4 6 8 10 PB1 PB3 PB5 PB7 PB8 PB10 PB12 PB14 +3V3

PA8-PA15 J7 1 3 5 7 9 2 4 6 8 10 PB9 PB11 PB13 PB15 R5-R9=NA

ET-CLCD +3V3

R5 R6 R7 R8 R9 10k 10k 10k 10k 10k PB4 PA15 PA13 PA14 PB3 RESET TRST TDI TMS TCK TDO RST

J10 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20

PB0-PB7 PC0 PC2 PC4 PC6 +3V3 J8 1 3 5 7 9 2 4 6 8 10 PC1 PC3 PC5 PC7 PC8 PC10 PC12 +3V3

PB8-PB15 J9 1 3 5 7 9 2 4 6 8 10 PC9 PC11 PC13

RESET

R4 10k

BOOT0 60 PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 14 15 16 17 20 21 22 23 41 42 43 44 45 46 49 50

S2 RESET

C8 100n

B C18 18pF

PC0/ADC10 PC1/ADC11 PC2/ADC12 BOOT0 PC3/ADC13 PC4/ADC14 PA0/WKUP/USART2_CTS/ADC0/TIM2_CH1_ETR PC5/ADC15 PA1/USART2_RTS/ADC1/TIM2_CH2 PC6/TIM3_CH1 PA2/USART2_TX/ADC2/TIM2_CH3 PC7/TIM3_CH2 PA3/USART2_RX/ADC3/TIM2_CH4 PC8/TIM3_CH3 PA4/SPI1_NSS/USART2_CK/ADC4 PC9/TIM3_CH4 PA5/SPI1_SCK/ADC5 PC10/USART3_TX PA6/SPI1_MISO/ADC6/TIM3_CH1 PC11/USART3_RX PA7/SPI1_MOSI/ADC7/TIM3_CH2 PC12/USART3_CK PA8/USART1_CK/TIM1_CH1/MCO PC13/TAMPER-RTC PA9/USART1_TX/TIM1_CH2 PA10/USART1_RX/TIM1_CH3 PC14/OSC32_IN PA11/USART1_CTS/CANRX/TIM1_CH4/USBDM PC15/OSC32_OUT PA12/USART1_RTS/CANTX/TIM1_ETR/USBDP PA13/JTMS/SWDIO PD0/OSC_IN PA14/JTCK/SWCLK PD1/OSC_OUT PA15/JTDI/TIM2_CH1/SPI1_NSS PD2/TIM3_ETR

PC0-PC7

PC8-PC13 +3V3 1 U2 C1+ VCC 16 C9 100n C11 100n 3 4 C1C2+ V+ V2 6 C13 100n 5 C2R1O T1I R2O T2I ICL3232 GND R1I T1O R2I T2O 15 13 14 8 7 +3V3 RXD-1 TXD-1 12 11 9 10 R10 R11 R12 10k 10k 10k

JTAG

C14 10pF Y1 32.768kHz C15 C16 10pF 22pF PA10 R14 100

C10 100n

C12 100n

B J11 1 2 3 4 USART1(Download) +3V3 RXD-2 TXD-2 J12 1 2 3 4 USART2

PD2

R13 1M

Y2 8MHz C17 22pF

PA9

+3V3 C19 18pF Q1 BC817 R17 1 2 3 4 6 R15 R16 27 27 1k5

VUSB +3V3 R18 10k PD2 Q2 BC817 R20 10k R21 1k J15

PA3 PA3-P J13 1 2 3 PA2 PA2-P J14 1 2 3

VUSB J16 USB A

R19 100k

1 2 3 UMODE

Title Size A4 Date: File: 19-Jun-2008 D:\ET-STM32F103.ddb Sheet of Drawn By: 4 Number Revision

+3V3 +3V3 D LED J17 R22 22k 1 2 3 1 19 2 4 6 8 11 13 15 17 10 U5 74HC244 1OE 2OE 1A1 1A2 1A3 1A4 2A1 2A2 2A3 2A4 GND R29 C R30 560 C21 +3V3 10uF 560 D11 VCC 1Y1 1Y2 1Y3 1Y4 2Y1 2Y2 2Y3 2Y4 C20 +3V3 R23 100n 20 18 16 14 12 9 7 5 3 R24 560 R25 560 R26 560 R27 560 R28 560 D10 J20 PA1 C26 100n R35 330 D9 ADC1 1 2 3 D8 D7 D6 S3 TAMP 560 D5 D4 J18 PC13 R31 1k TAMP R32 10k 1 2 3 J19 PA0 R33 1k WKUP

+3V3

R34 10k

1 2 3

PB15 PB14 PB13 PB12 PB11 PB10 PB9 PB8

S4 WKUP

+3V3

P2 10k

R36 R37 R38 R39 10k 10k 22k 22k J21 PWR SEL B 1 2 3 F1 VUSB FSMD110 +5VDC J22 1 2 D12 SM-4004 +5V 3 U3 LD1085 GND IN OUT 2 +3V3 R40 560 C24 100uF/16V C25 100n D13 PWR J23 PA8 WP J24 1 2 3 R41 1k PA5 PA6 CD 1 2 3 PA4 PA7

C22 100n SK1 SD/MMC 1 2 3 4 5 6 7 8 9 10 11 CD/DAT3 CMD VSS VDD CLK VSS DAT0 DAT1 DAT2 CD G1 WP G2

C23 10uF/16v

12

PC6

R42

1k

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

13

Вам также может понравиться