so do chan stm32 f103rx 64pin

3
1 Pin Pin name Type Main function (after reset) Default Remap 1 V BAT S V BAT 2 PC13-TAMPER I/O PC13 (5) TAMPER-RTC 3 PC14- OSC32_IN(4) I/O PC14(5) OSC32_IN 4 PC15- OSC32_OUT(4) I/O PC15(5) OSC32_OUT 5 OSC_IN I OSC_IN 6 OSC_OUT O OSC_OUT 7 NRST I/O NRST 8 PC0 I/O PC0 ADC123_IN10 9 PC1 I/O PC1 ADC123_IN11 10 PC2 I/O PC2 ADC123_IN12 11 PC3 I/O PC3 ADC123_IN13 12 VSSA S VSSA 13 VDDA S VDDA 14 PA0-WKUP I/O PA0 WKUP/USART2_CTS(6) ADC123_IN0 TIM2_CH1_ETR TIM5_CH1/TIM8_ETR 15 PA1 I/O PA1 USART2_RTS(6) ADC123_IN1/TIM5_CH2 TIM2_CH2(6) 16 PA2 I/O PA2 USART2_TX(6)/ TIM5_CH3/ADC123_IN2/ TIM2_CH3 (6) 17 PA3 I/O PA3 USART2_RX(6)/ TIM5_CH4/ADC123_IN3 TIM2_CH4(6) 18 VSS_4 S VSS_4 19 VDD_4 S VDD_4 20 PA4 I/O PA4 SPI1_NSS(6)/DAC_OUT1 USART2_CK(6) ADC12_IN4 21 PA5 I/O PA5 SPI1_SCK(6) DAC_OUT2 ADC12_IN5 22 PA6 I/O PA6 SPI1_MISO(6) TIM8_BKIN/ADC12_IN6 TIM3_CH1(6) TIM1_BKIN 23 PA7 I/O PA7 SPI1_MOSI(6) TIM8_CH1N/ADC12_IN7 TIM3_CH2(6) TIM1_CH1N 24 PC4 I/O PC4 ADC12_IN14 25 PC5 I/O PC5 ADC12_IN15 26 PB0 I/O PB0 ADC12_IN8/TIM3_CH3 TIM8_CH2N TIM1_CH2N

Upload: trung-pham

Post on 16-Apr-2015

24 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: So Do Chan STM32 F103Rx 64Pin

1

Pin Pin name Type Main function

(after reset)

Default Remap

1 VBAT S VBAT

2 PC13-TAMPER I/O PC13(5)

TAMPER-RTC

3 PC14-

OSC32_IN(4)

I/O PC14(5) OSC32_IN

4 PC15-

OSC32_OUT(4)

I/O PC15(5) OSC32_OUT

5 OSC_IN I OSC_IN

6 OSC_OUT O OSC_OUT

7 NRST I/O NRST

8 PC0 I/O PC0 ADC123_IN10

9 PC1 I/O PC1 ADC123_IN11

10 PC2 I/O PC2 ADC123_IN12

11 PC3 I/O PC3 ADC123_IN13

12 VSSA S VSSA

13 VDDA S VDDA

14 PA0-WKUP I/O PA0 WKUP/USART2_CTS(6)

ADC123_IN0

TIM2_CH1_ETR

TIM5_CH1/TIM8_ETR

15 PA1 I/O PA1 USART2_RTS(6)

ADC123_IN1/TIM5_CH2

TIM2_CH2(6)

16 PA2 I/O PA2 USART2_TX(6)/

TIM5_CH3/ADC123_IN2/

TIM2_CH3 (6)

17 PA3 I/O PA3 USART2_RX(6)/

TIM5_CH4/ADC123_IN3

TIM2_CH4(6)

18 VSS_4 S VSS_4

19 VDD_4 S VDD_4

20 PA4 I/O PA4 SPI1_NSS(6)/DAC_OUT1

USART2_CK(6)

ADC12_IN4

21 PA5 I/O PA5 SPI1_SCK(6)

DAC_OUT2 ADC12_IN5

22 PA6 I/O PA6 SPI1_MISO(6)

TIM8_BKIN/ADC12_IN6

TIM3_CH1(6)

TIM1_BKIN

23 PA7 I/O PA7 SPI1_MOSI(6)

TIM8_CH1N/ADC12_IN7

TIM3_CH2(6)

TIM1_CH1N

24 PC4 I/O PC4 ADC12_IN14

25 PC5 I/O PC5 ADC12_IN15

26 PB0 I/O PB0 ADC12_IN8/TIM3_CH3

TIM8_CH2N

TIM1_CH2N

Page 2: So Do Chan STM32 F103Rx 64Pin

2

27 PB1 I/O PB1 ADC12_IN9

TIM3_CH4(6)

TIM8_CH3N

TIM1_CH3N

28 PB2/BOOT1 I/O PB2/BOOT1

29 PB10 I/O PB10 I2C2_SCL

USART3_TX(6)

TIM2_CH3

30 PB11 I/O PB11 I2C2_SDA

USART3_RX(6)

TIM2_CH4

31 VSS_1 S VSS_1

32 VDD_1 S VDD_1

33 PB12 I/O PB12 SPI2_NSS/I2S2_WS/

I2C2_SMBAl/

USART3_CK(6)/

TIM1_BKIN(6)

34 PB13 I/O PB13 SPI2_SCK/I2S2_CK

USART3_CTS(6)/

TIM1_CH1N

35 PB14 I/O PB14 SPI2_MISO/TIM1_CH2N

USART3_RTS(6)

36 PB15 I/O PB15 SPI2_MOSI/I2S2_SD

TIM1_CH3N(6)

37 PC6 I/O PC6 I2S2_MCK/

TIM8_CH1/SDIO_D6

TIM3_CH1

38 PC7 I/O PC7 I2S3_MCK/

TIM8_CH2/SDIO_D7

TIM3_CH2

39 PC8 I/O PC8 TIM8_CH3/SDIO_D0 TIM3_CH3

40 PC9 I/O PC9 IM8_CH4/SDIO_D1 TIM3_CH4

41 PA8 I/O PA8 USART1_CK/

TIM1_CH1(6)/MCO

42 PA9 I/O PA9 USART1_TX(6)/

TIM1_CH2(6)

43 PA10 I/O PA10 USART1_RX(6)/

TIM1_CH3(6)

44 PA11 I/O PA11 USART1_CTS/CANRX(6)

TIM1_CH4(6)/USBDM

45 PA12 I/O PA12 USART1_RTS/USBDP/

CANTX(6)/TIM1_ETR(6)

46 PA13/JTMS-

SWDIO

I/O FT JTMS-

SWDIO

PA13

47 VSS_2 S VSS_2

48 VDD_2 S VDD_2

49 PA14/JTCK-

SWCLK

I/O JTCK-

SWCLK

PA14

50 PA15/JTDI I/O JTDI PA15/SPI3_NSS/

I2S3_WS

TIM2_CH1_ET

R

SPI1_NSS

51 PC10 I/O PC10 UART4_TX/SDIO_D2 USART3_TX

52 PC11 I/O PC11 UART4_RX/SDIO_D3 USART3_RX

Page 3: So Do Chan STM32 F103Rx 64Pin

3

53 PC12 I/O PC12 UART5_TX/SDIO_CK USART3_CK

54 PD2 I/O PD2 TIM3_ETR/UART5_RX

SDIO_CMD

55 PB3/JTDO I/O JTDO PB3/TRACESWO

JTDO

SPI3_SCK/I2S3_CK/

TIM2_CH2 /

SPI1_SCK

56 PB4/JNTRST I/O JNTRST PB4/SPI3_MISO TIM3_CH1 /

SPI1_MISO

57 PB5 I/O PB5 I2C1_SMBAl/

SPI3_MOSI/I2S3_SD

TIM3_CH2 /

SPI1_MOSI

58 PB6 I/O PB6 I2C1_SCL(6)/

TIM4_CH1(6)

USART1_TX

59 PB7 I/O PB7 I2C1_SDA(6)/

FSMC_NADV/

TIM4_CH2(6)

USART1_RX

60 BOOT0 I BOOT0

61 PB8 I/O PB8 TIM4_CH3(6)/SDIO_D4 I2C1_SCL/

CANRX

62 PB9 I/O PB9 TIM4_CH4(6)/SDIO_D5 I2C1_SDA /

CANTX

63 VSS_3 S VSS_3

64 VDD_3 S VDD_3 1. I = input, O = output, S = supply, HiZ = high impedance.

2. FT = 5 V tolerant.

3. Function availability depends on the chosen device.

4. PC13, PC14 and PC15 are supplied through the power switch and since the switch only sinks a limited amount

of current

(3 mA), the use of GPIOs PC13 to PC15 is restricted: only one I/O at a time can be used as an output, the speed

has to be

limited to 2 MHz with a maximum load of 30 pF and these I/Os must not be used as a current source (e.g. to drive

an LED).

5. Main function after the first backup domain power-up. Later on, it depends on the contents of the Backup

registers even

after reset (because these registers are not reset by the main reset). For details on how to manage these IOs, refer

to the

Battery backup domain and BKP register description sections in the STM32F10xxx reference manual, available

from the

STMicroelectronics website: www.st.com.

6. This alternate function can be remapped by software to some other port pins (if available on the used package).

For more

details, refer to the Alternate function I/O and debug configuration section in the STM32F10xxx reference

manual, available

from the STMicroelectronics website: www.st.com.

7. For the LQFP64 package, the pins number 5 and 6 are configured as OSC_IN/OSC_OUT after reset, however

the

functionality of PD0 and PD1 can be remapped by software on these pins. For the LQFP100/BGA100 and

LQFP144/BGA144 packages, PD0 and PD1 are available by default, so there is no need for remapping. For more

details,

refer to Alternate function I/O and debug configuration section in the STM32F10xxx reference manual.

8. For devices delivered in LQFP64 packages, the FSMC function is not available.