STM32F407定时器各通道对应引脚
合集下载
(完整版)stm32f407引脚分配表
Y
OLED/CAMERA接口的D1脚
98
PC8
SDIO_D0
DCMI_D2
N
1,SD卡接口的D0
2,OLED/CAMERA接口的D2脚
99
PC9
SDIO_D1
DCMI_D3
N
1,SD卡接口的D1
2,OLED/CAMERA接口的D3脚
111
PC10
SDIO_D2
N
SD卡接口的D2
112
PC11
SDIO_D3
PF6
GBC_KEY
Y
接ATK-MODULE接口的KEY脚
19
PF7
LIGHT_SENSOR
N
接光敏传感器(LS1)
20
PF8
BEEP
N
接蜂鸣器(BEEP)
21
PF9
LED0
N
接DS0 LED灯(红色)
22
PF10
LED1
N
接DS1 LED灯(绿色)
49
PF11
T_MOSI
Y
TFTLCD接口触摸屏MOSI信号
如不用LAN8720,并去掉P9跳线帽,可以做普通IO用
该IO通过P9选择连接RS232还是RS485,并同时连接了PWM_DAC, 这里的RS232 TX脚是指SP3232芯片的TX脚,接STM32的RX脚
去掉P9跳线帽,可以做普通IO用
该IO可做DAC输出,同时也连接在OLED/CAMERA接口,如不插外设在OLED/CAMERA接口,
137
PB7
DCMI_VSYNC
Y
OLED/CAMERA接口的VSYNC脚
139
PB8
IIC_SCL
OLED/CAMERA接口的D1脚
98
PC8
SDIO_D0
DCMI_D2
N
1,SD卡接口的D0
2,OLED/CAMERA接口的D2脚
99
PC9
SDIO_D1
DCMI_D3
N
1,SD卡接口的D1
2,OLED/CAMERA接口的D3脚
111
PC10
SDIO_D2
N
SD卡接口的D2
112
PC11
SDIO_D3
PF6
GBC_KEY
Y
接ATK-MODULE接口的KEY脚
19
PF7
LIGHT_SENSOR
N
接光敏传感器(LS1)
20
PF8
BEEP
N
接蜂鸣器(BEEP)
21
PF9
LED0
N
接DS0 LED灯(红色)
22
PF10
LED1
N
接DS1 LED灯(绿色)
49
PF11
T_MOSI
Y
TFTLCD接口触摸屏MOSI信号
如不用LAN8720,并去掉P9跳线帽,可以做普通IO用
该IO通过P9选择连接RS232还是RS485,并同时连接了PWM_DAC, 这里的RS232 TX脚是指SP3232芯片的TX脚,接STM32的RX脚
去掉P9跳线帽,可以做普通IO用
该IO可做DAC输出,同时也连接在OLED/CAMERA接口,如不插外设在OLED/CAMERA接口,
137
PB7
DCMI_VSYNC
Y
OLED/CAMERA接口的VSYNC脚
139
PB8
IIC_SCL
STM32F407VGT6引脚功能定义
STM32F407VGT6引脚 LQFP100
Object Kind X1
Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin
Y1 Origentation
180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees
450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450
Pin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
-450 250 -450 240 -450 230 -450 220 -450 210 -450 200 -450 190 -450 180 -450 170 -450 160 -450 150 -450 140 -450 130 -450 120 -450 110 -450 100 -450 -450 -450 -450 -450 -450 -450 90 80 70 60 50 40 30
PB1/TIM3_CH4/TIM8_CH3N/OTG_HS_ULPI_D2/ETH_MII_RXD3/T IM1_CH3N/ADC12_IN9 PB2/BOOT1 PE7/FSMC_D4/TIM1_ETR PE8/FSMC_D5/TIM1_CH1N PE9/FSMC_D6/TIM1_CH1 PE10/FSMC_D7/TIM1_CH2N PE11/FSMC_D8/TIM1_CH2 PE12/FSMC_D9/TIM1_CH3N PE13/FSMC_D10/TIM1_CH3 PE14/FSMC_D11/TIM1_CH4 PE15/FSMC_D12/TIM1_BKIN PB10/SPI2_SCK/I2S2_CK/I2C2_SCL/USART3_TX/OTG_HS_ULPI_D 3/ETH_MII_RX_ER/TIM2_CH3 PB11/I2C2_SDA/USART3_RX/OTG_HS_ULPI_D4/ETH_RMII_TX_E N/ETH_MII_TX_EN/TIM2_CH4 VCAP_1 VDD PB12/SPI2_NSS/I2S2_WS/I2C2_SMBA/USART3_CK/TIM1_BKIN/C AN2_RX/OTG_HS_ULPI_D5/ETH_RMII_TXD0/ETH_MII_TXD0/OT G_HS_ID PB13/SPI2_SCK/I2S2_CK/USART3_CTS/TIM1_CH1N/CAN2_TX/O TG_HS_ULPI_D6/ETH_RMII_TXD1/ETH_MII_TXD1 PB14/SPI2_MISO/TIM1_CH2N/TIM12_CH1/OTG_HS_DM/USART 3_RTS/TIM8_CH2N/I2S2ext_SD PB15/SPI2_MOSI/I2S2_SD/TIM1_CH3N/TIM8_CH3N/TIM12_CH2 /OTG_HS_DP PD8/FSMC_D13/USART3_TX PD9/FSMC_D14/USART3_RX PD10/FSMC_D15/USART3_CK PD11/FSMC_CLE/FSMC_A16/USART3_CTS PD12/FSMS_ALE/FSMC_A17/TIM4_CH1/USART3_RTS PD13/FSMC_A18/TIM4_CH2 PD14/FSMC_D0/TIM4_CH3 PD15/FSMC_D1/TIM4_CH4 PC6/I2S2_MCK/TIM8_CH1/SDIO_D6/USART6_TX/DCMI_D0/TIM 3_CH1 PC7/I2S3_MCK/TIM8_CH2/SDIO_D7/USART6_RX/DCMI_D1/TIM 3_CH2 PC8/TIM8_CH3/SDIO_D0/TIM3_CH3/USART6_CK/DCMI_D2 PC9/I2S_CKIN/MCO2/TIM8_CH4/SDIO_D1/I2C3_SDA/DCMI_D3/ TIM3_CH4 PA8/MCO1/USART1_CK/TIM1_CH1/I2C3_SCL/OTG_FS_SOF PA9/USART1_TX/TIM1_CH2/I2C3_SMBA/DCMI_D0/OTG_FS_VB US PA10/USART1_RX/TIM1_CH3/OTG_FS_ID/DCMI_D1 PA11/USART1_CTS/CAN1_RX/TIM1_CH4/OTG_FS_DM PA12/USART1_RTS/CAN1_TX/TIM1_ETR/OTG_FS_DP PA13/JTMS_SWDIO VCAP_2 VSS
Object Kind X1
Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin Pin
Y1 Origentation
180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees 180 Degrees
450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450 450
Pin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
-450 250 -450 240 -450 230 -450 220 -450 210 -450 200 -450 190 -450 180 -450 170 -450 160 -450 150 -450 140 -450 130 -450 120 -450 110 -450 100 -450 -450 -450 -450 -450 -450 -450 90 80 70 60 50 40 30
PB1/TIM3_CH4/TIM8_CH3N/OTG_HS_ULPI_D2/ETH_MII_RXD3/T IM1_CH3N/ADC12_IN9 PB2/BOOT1 PE7/FSMC_D4/TIM1_ETR PE8/FSMC_D5/TIM1_CH1N PE9/FSMC_D6/TIM1_CH1 PE10/FSMC_D7/TIM1_CH2N PE11/FSMC_D8/TIM1_CH2 PE12/FSMC_D9/TIM1_CH3N PE13/FSMC_D10/TIM1_CH3 PE14/FSMC_D11/TIM1_CH4 PE15/FSMC_D12/TIM1_BKIN PB10/SPI2_SCK/I2S2_CK/I2C2_SCL/USART3_TX/OTG_HS_ULPI_D 3/ETH_MII_RX_ER/TIM2_CH3 PB11/I2C2_SDA/USART3_RX/OTG_HS_ULPI_D4/ETH_RMII_TX_E N/ETH_MII_TX_EN/TIM2_CH4 VCAP_1 VDD PB12/SPI2_NSS/I2S2_WS/I2C2_SMBA/USART3_CK/TIM1_BKIN/C AN2_RX/OTG_HS_ULPI_D5/ETH_RMII_TXD0/ETH_MII_TXD0/OT G_HS_ID PB13/SPI2_SCK/I2S2_CK/USART3_CTS/TIM1_CH1N/CAN2_TX/O TG_HS_ULPI_D6/ETH_RMII_TXD1/ETH_MII_TXD1 PB14/SPI2_MISO/TIM1_CH2N/TIM12_CH1/OTG_HS_DM/USART 3_RTS/TIM8_CH2N/I2S2ext_SD PB15/SPI2_MOSI/I2S2_SD/TIM1_CH3N/TIM8_CH3N/TIM12_CH2 /OTG_HS_DP PD8/FSMC_D13/USART3_TX PD9/FSMC_D14/USART3_RX PD10/FSMC_D15/USART3_CK PD11/FSMC_CLE/FSMC_A16/USART3_CTS PD12/FSMS_ALE/FSMC_A17/TIM4_CH1/USART3_RTS PD13/FSMC_A18/TIM4_CH2 PD14/FSMC_D0/TIM4_CH3 PD15/FSMC_D1/TIM4_CH4 PC6/I2S2_MCK/TIM8_CH1/SDIO_D6/USART6_TX/DCMI_D0/TIM 3_CH1 PC7/I2S3_MCK/TIM8_CH2/SDIO_D7/USART6_RX/DCMI_D1/TIM 3_CH2 PC8/TIM8_CH3/SDIO_D0/TIM3_CH3/USART6_CK/DCMI_D2 PC9/I2S_CKIN/MCO2/TIM8_CH4/SDIO_D1/I2C3_SDA/DCMI_D3/ TIM3_CH4 PA8/MCO1/USART1_CK/TIM1_CH1/I2C3_SCL/OTG_FS_SOF PA9/USART1_TX/TIM1_CH2/I2C3_SMBA/DCMI_D0/OTG_FS_VB US PA10/USART1_RX/TIM1_CH3/OTG_FS_ID/DCMI_D1 PA11/USART1_CTS/CAN1_RX/TIM1_CH4/OTG_FS_DM PA12/USART1_RTS/CAN1_TX/TIM1_ETR/OTG_FS_DP PA13/JTMS_SWDIO VCAP_2 VSS
stm32f407IO引脚分配表讲课讲稿
140 PB9 IIC_SDA
N 接24C02&MPU6050&WM8978的SDA
69 PB10 USART3_TX
Y
1,RS232串口3(COM3)RX脚(P10设置) 2,ATK-MODULE接口的RXD脚(P10设置)
70 PB11 USART3_RX
Y
1,RS232串口3(COM3)TX脚(P10设置) 2,ATK-MODULE接口的TXD脚(P10设置)
68 PE15 FSMC_D12
10 PF0 FSMC_A0
N
1,ATK-MODULE接口的LED引脚 2,MPU6050模块的中断脚
N 接LAN8720的MDC脚
N WM8978的SDOUT信号
N WM8978的SDIN信号
N 接LAN8720的RXD0脚
N 接LAN8720的RXD1脚
N
1,WM8978的SDIN信号 2,OLED/CAMERA接口的D0脚
109 PA14 JTCK
SWDCLK N JTAG/SWD仿真接口,没接任何外设
110 PA15 JTDI
USB_PWR
N
1,JTAG仿真口(JTDI) 2,USB_HOST接口供电控制脚
46 PB0 T_SCK
Y TFTLCD接口触摸屏SCK信号
47 PB1 T_PEN
Y TFTLCD接口触摸屏PEN信号
2 PE3 KEY1
3 PE4 KEY0
4 PE5 DCMI_D6
5 PE6 DCMI_D7
58 PE7 FSMC_D4
59 PE8 FSMC_D5
60 PE9 FSMC_D6
63 PE10 FSMC_D7
64 PE11 FSMC_D8
STM32F407ZGT6引脚功能定义
Pin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
-450 360 -450 350 -450 340 -450 330 -450 320 -450 310 -450 300 -450 290 -450 280 -450 270 -450 260 -450 250 -450 240 -450 230 -450 220 -450 210 -450 200 -450 190 -450 180 -450 170 -450 160 -450 150 -450 140 -450 130 -450 120 -450 110 -450 100 -450 -450 -450 -450 -450 -450 -450 90 80 70 60 50 40 30
Pin Pin Pin Pin Pin-320 450 -310 450 -300
0 Degrees 0 Degrees 0 Degrees 0 Degrees 0 Degrees 0 Degrees
74 75 76 77 78 79
Name
PE2/TRACECLK/FSMC_A23/ETH_MII_TXD3 PE3/TRACED0/FSMC_A19 PE4/TRACED1/FSMC_A20/DCMI_D4 PE5/TRACED2/FSMC_A21/TIM9_CH1/DCMI_D6 PE6/TRACED3/FSMC_A22/TIM9_CH2/DCMI_D7 VBAT PC13/RTC_OUT/RTC_TAMP1/RTC_TS PC14/OSC32_IN PC15/OSC32_OUT PF0/FSMC_A0/I2C2_SDA PF1/FSMC_A1/I2C2_SCL PF2/FSMC_A2/I2C2_SMBA PF3/FSMC_A3/ADC3_IN9 PF4/FSMC_A4/ADC3_IN14 PF5/FSMC_A5/ADC3_IN15 VSS VDD PF6/TIM10_CH1/FSMC_NIORD/ADC3_IN4 PF7/TIM11_CH1/FSMC_NREG/ADC3_IN5 PF8/TIM13_CH1/FSMC_NIOWR/ADC3_IN6 PF9/TIM14_CH1/FSMC_CD/ADC3_IN7 PF10/FSMC_INTR/ADC3_IN8 PH0/OSC_IN PH1/OSC_OUT NRST PC0/OTG_HS_ULPI_STP/ADC123_IN10 PC1/ETH_MDC/ADC123_IN11 PC2/SPI2_MISO/OTG_HS_ULPI_DIR/ETH_MII_TXD2/I2S2ext_SD/ ADC123_IN12 PC3/SPI2_MOSI/I2S2_SD/OTG_HS_ULPI_NXT/ETH_MII_TX_CLK/ ADC123_IN13 VDD VSSA VREF+ VDDA
STM32F407ZGT6引脚功能定义
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
PB0/TIM3_CH3/TIM8_CH2N/OTG_HS_ULPI_D1/ETH_MII_RXD2/T -450 -100 180 Degrees IM1_CH2N/ADC12_IN8 -450 -110 180 Degrees -450 -120 180 Degrees -450 -130 180 Degrees -450 -140 180 Degrees -450 -150 180 Degrees -450 -160 180 Degrees -450 -170 180 Degrees -450 -180 180 Degrees -450 -190 180 Degrees -450 -200 180 Degreesgrees -450 -230 180 Degrees -450 -240 180 Degrees -450 -250 180 Degrees -450 -260 180 Degrees -450 -270 180 Degrees -450 -280 180 Degrees -450 -290 180 Degrees -450 -300 180 Degrees -450 -310 180 Degrees -450 -320 180 Degrees -450 -330 180 Degrees -450 -340 180 Degrees -450 -350 180 Degrees -450 -360 180 Degrees 450 -360 0 Degrees PB1/TIM3_CH4/TIM8_CH3N/OTG_HS_ULPI_D2/ETH_MII_RXD3/T IM1_CH3N/ADC12_IN9 PB2/BOOT1 PF11/DCMI_D12 PF12/FSMC_A6 VSS VDD PF13/FSMC_A7 PF14/FSMC_A8 PF15/FSMC_A9 PG0/FSMC_A10 PG1/FSMC_A11 PE7/FSMC_D4/TIM1_ETR PE8/FSMC_D5/TIM1_CH1N PE9/FSMC_D6/TIM1_CH1 VSS VDD PE10/FSMC_D7/TIM1_CH2N PE11/FSMC_D8/TIM1_CH2 PE12/FSMC_D9/TIM1_CH3N PE13/FSMC_D10/TIM1_CH3 PE14/FSMC_D11/TIM1_CH4 PE15/FSMC_D12/TIM1_BKIN PB10/SPI2_SCK/I2S2_CK/I2C2_SCL/USART3_TX/OTG_HS_ULPI_D 3/ETH_MII_RX_ER/TIM2_CH3 PB11/I2C2_SDA/USART3_RX/OTG_HS_ULPI_D4/ETH_RMII_TX_E N/ETH_MII_TX_EN/TIM2_CH4 VCAP_1 VDD PB12/SPI2_NSS/I2S2_WS/I2C2_SMBA/USART3_CK/TIM1_BKIN/C AN2_RX/OTG_HS_ULPI_D5/ETH_RMII_TXD0/ETH_MII_TXD0/OT G_HS_ID PB13/SPI2_SCK/I2S2_CK/USART3_CTS/TIM1_CH1N/CAN2_TX/O TG_HS_ULPI_D6/ETH_RMII_TXD1/ETH_MII_TXD1 PB14/SPI2_MISO/TIM1_CH2N/TIM12_CH1/OTG_HS_DM/USART 3_RTS/TIM8_CH2N/I2S2ext_SD PB15/SPI2_MOSI/I2S2_SD/TIM1_CH3N/TIM8_CH3N/TIM12_CH2 /OTG_HS_DP PD8/FSMC_D13/USART3_TX PD9/FSMC_D14/USART3_RX PD10/FSMC_D15/USART3_CK
STM32F407VGT6芯片管脚功能定义
91 PB5 I2C1_SMBA/ CAN2_RX /
OTG_HS_ULPI_D7 /
ETH_PPS_OUT/TIM3_CH
2 / SPI1_MOSI/
SPI3_MOSI / DCMI_D10 /
I2S3_SD/ EVENTOUT
92 PB6 I2C1_SCL/ TIM4_CH1 /
CAN2_TX /
ETH_MII_TXD0/
OTG_HS_ID/ EVENTOUT 52 PB13 SPI2_SCK / I2S2_CK /
USART3_CTS/
TIM1_CH1N /CAN2_TX /
OTG_HS_ULPI_D6 /
ETH_RMII_TXD1 /
ETH_MII_TXD1/
EVENTOUT
53 PB14 SPI2_MISO/ TIM1_CH2N /
OTG_HS_ULPI_CK /
TIM2_CH1_ETR/
TIM8_CHIN/ EVENTOUT 31 PA6 SPI1_MISO /
TIM8_BKIN/TIM13_CH1 /
DCMI_PIXCLK / TIM3_CH1
/ TIM1_BKIN/ EVENTOUT 32 PA7 SPI1_MOSI/ TIM8_CH1N /
EVENTOUT
56 PD9 FSMC_D14 / USART3_RX/
EVENTOUT
57 PD10 FSMC_D15 / USART3_CK/
EVENTOUT
58 PD11 FSMC_CLE /
FSMC_A16/USART3_CTS/
EVENTOUT
59 PD12 FSMC_ALE/
FSMC_A17/TIM4_CH1 /
USART3_RTS/
OTG_HS_ULPI_D7 /
ETH_PPS_OUT/TIM3_CH
2 / SPI1_MOSI/
SPI3_MOSI / DCMI_D10 /
I2S3_SD/ EVENTOUT
92 PB6 I2C1_SCL/ TIM4_CH1 /
CAN2_TX /
ETH_MII_TXD0/
OTG_HS_ID/ EVENTOUT 52 PB13 SPI2_SCK / I2S2_CK /
USART3_CTS/
TIM1_CH1N /CAN2_TX /
OTG_HS_ULPI_D6 /
ETH_RMII_TXD1 /
ETH_MII_TXD1/
EVENTOUT
53 PB14 SPI2_MISO/ TIM1_CH2N /
OTG_HS_ULPI_CK /
TIM2_CH1_ETR/
TIM8_CHIN/ EVENTOUT 31 PA6 SPI1_MISO /
TIM8_BKIN/TIM13_CH1 /
DCMI_PIXCLK / TIM3_CH1
/ TIM1_BKIN/ EVENTOUT 32 PA7 SPI1_MOSI/ TIM8_CH1N /
EVENTOUT
56 PD9 FSMC_D14 / USART3_RX/
EVENTOUT
57 PD10 FSMC_D15 / USART3_CK/
EVENTOUT
58 PD11 FSMC_CLE /
FSMC_A16/USART3_CTS/
EVENTOUT
59 PD12 FSMC_ALE/
FSMC_A17/TIM4_CH1 /
USART3_RTS/