Академический Документы
Профессиональный Документы
Культура Документы
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
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
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
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
ETTCO.,LTD
-5 -
WWW.ETT.CO.TH
10
29 27
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
ETTCO.,LTD
-7 -
WWW.ETT.CO.TH
+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
+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
+3V3
P2 10k
ETTCO.,LTD
- 10 -
WWW.ETT.CO.TH
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
VTarget GND GND GND GND GND GND GND GND GND
JTAG
ETTCO.,LTD
- 11 -
WWW.ETT.CO.TH
J4 +5V
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
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
USART-1(Download)
1 2 3 4 1
USART-2
2 3 4
RXD1
RXD2
TXD1
TXD2
+3V3
+3V3
GND
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
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
1 2 3 4 ET-RS232
ETTCO.,LTD
- 15 -
WWW.ETT.CO.TH
R40 560
D12 SM -4004
C23 10uF/16v
C24 100uF/16V
ETTCO.,LTD
- 16 -
C25 100n
WWW.ETT.CO.TH
PA0 PA2P PA4 PA6 +3V3 PA[0..7] PB0 PB2 PB4 PB6 +3V3 PB[0..7] PC0 PC2 PC4 PC6 +3V3 PC[0..7]
ETTCO.,LTD
- 17 -
WWW.ETT.CO.TH
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
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
ETTCO.,LTD
- 20 -
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.
ETTCO.,LTD
- 21 -
WWW.ETT.CO.TH
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
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
+3V3
C4 100n C +3V3
31 47 63 18 7
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
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
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
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
PD2
R13 1M
PA9
VUSB +3V3 R18 10k PD2 Q2 BC817 R20 10k R21 1k J15
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
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