stm32f407引脚分配表表格推荐下载.xlsx
《stm32f407引脚分配表表格推荐下载.xlsx》由会员分享,可在线阅读,更多相关《stm32f407引脚分配表表格推荐下载.xlsx(6页珍藏版)》请在冰豆网上搜索。
![stm32f407引脚分配表表格推荐下载.xlsx](https://file1.bdocx.com/fileroot1/2022-11/2/c1588f60-5a64-4eea-94ae-efed202bd49c/c1588f60-5a64-4eea-94ae-efed202bd49c1.gif)
引引脚脚编编号号GPIOGPIO连连接接资资源源完完全全独独立立连连接接关关系系说说明明34PA0PA0WK_UPY1,按键KEY_UP2,可以做待机唤醒脚(WKUP)35PA1PA1RMII_REF_CLKN接LAN8720的REFCLKO脚36PA2PA2USART2_TX/RS485_RXETH_MDION1,RS232串口2(COM2)RX脚(P9设置)2,RS485RX脚(P9设置)3,LAN8720的MDIO脚37PA3PA3USART2_RX/RS485_TXPWM_DACN1,RS232串口2(COM2)TX脚(P9设置)2,RS485TX脚(P9设置)3,PWM_DAC输出脚40PA4PA4STM_DACDCMI_HREFY1,DAC_OUT1输出脚2,OLED/CAMERA接口的HREF引脚41PA5PA5STM_ADCYADC输入引脚,同时做TPAD检测脚42PA6PA6DCMI_PCLKYOLED/CAMERA接口的PCLK脚43PA7PA7RMII_CRS_DVN接LAN8720的CRS_DV脚100PA8PA8DCMI_XCLKREMOTE_INN1,OLED/CAMERA接口的XCLK脚2,接HS0038红外接收头101PA9PA9USART1_TXY串口1TX脚,默认连接CH340的RX(P6设置)102PA10PA10USART1_RXY串口1RX脚,默认连接CH340的TX(P6设置)103PA11PA11USB_D-CAN_RXY1,USBD-引脚(P11设置)2,CAN_RX引脚(P11设置)104PA12PA12USB_D+CAN_TXY1,USBD+引脚(P11设置)2,CAN_TX引脚(P11设置)105PA13PA13JTMSSWDIONJTAG/SWD仿真接口,没接任何外设109PA14PA14JTCKSWDCLKNJTAG/SWD仿真接口,没接任何外设110PA15PA15JTDIUSB_PWRN1,JTAG仿真口(JTDI)2,USB_HOST接口供电控制脚46PB0PB0T_SCKYTFTLCD接口触摸屏SCK信号47PB1PB1T_PENYTFTLCD接口触摸屏PEN信号48PB2PB2BOOT1T_MISON1,BOOT1,启动选择配置引脚(仅上电时用)2,TFTLCD接口触摸屏MISO信号133PB3PB3JTDOSPI1_SCKN1,JTAG仿真口(JTDO)2,W25Q128和WIRELESS接口的SCK信号134PB4PB4JTRSTSPI1_MISON1,JTAG仿真口(JTRST)2,W25Q128和WIRELESS接口的MISO信号135PB5PB5SPI1_MOSINW25Q128和WIRELESS接口的MOSI信号136PB6PB6DCMI_D5YOLED/CAMERA接口的D5脚137PB7PB7DCMI_VSYNCYOLED/CAMERA接口的VSYNC脚139PB8PB8IIC_SCLN接24C02&@#@MPU6050&@#@WM8978的SCL140PB9PB9IIC_SDAN接24C02&@#@MPU6050&@#@WM8978的SDA69PB10PB10USART3_TXY1,RS232串口3(COM3)RX脚(P10设置)2,ATK-MODULE接口的RXD脚(P10设置)70PB11PB11USART3_RXY1,RS232串口3(COM3)TX脚(P10设置)2,ATK-MODULE接口的TXD脚(P10设置)73PB12PB12I2S_LRCKNWM8978的LRCK信号74PB13PB13I2S_SCLKNWM8978的SCLK信号75PB14PB14F_CSNW25Q128的片选信号76PB15PB15LCD_BLYTFTLCD接口背光控制脚26PC0PC0GBC_LED3D_INTN1,ATK-MODULE接口的LED引脚2,MPU6050模块的中断脚27PC1PC1ETH_MDCN接LAN8720的MDC脚28PC2PC2I2S_SDOUTNWM8978的SDOUT信号29PC3PC3I2S_SDINNWM8978的SDIN信号44PC4PC4RMII_RXD0N接LAN8720的RXD0脚45PC5PC5RMII_RXD1N接LAN8720的RXD1脚96PC6PC6I2S_MCLKDCMI_D0N1,WM8978的SDIN信号2,OLED/CAMERA接口的D0脚97PC7PC7DCMI_D1YOLED/CAMERA接口的D1脚98PC8PC8SDIO_D0DCMI_D2N1,SD卡接口的D02,OLED/CAMERA接口的D2脚99PC9PC9SDIO_D1DCMI_D3N1,SD卡接口的D12,OLED/CAMERA接口的D3脚111PC10PC10SDIO_D2NSD卡接口的D2112PC11PC11SDIO_D3NSD卡接口的D3113PC12PC12SDIO_SCKDCMI_D4Y1,SD卡接口的SCK2,OLED/CAMERA接口的D4脚7PC13PC13T_CSYTFTLCD接口触摸屏CS信号8PC14PC14RTC晶振N接32.768K晶振,不可用做IO9PC15PC15RTC晶振N接32.768K晶振,不可用做IO114PD0PD0FSMC_D2NFSMC总线数据线D2(LCD/SRAM共用)115PD1PD1FSMC_D3NFSMC总线数据线D3(LCD/SRAM共用)116PD2PD2SDIO_CMDNSD卡接口的CMD117PD3PD3ETH_RESETN接LAN8720的复位脚118PD4PD4FSMC_NOENFSMC总线NOE(RD)(LCD/SRAM共用)119PD5PD5FSMC_NWENFSMC总线NWE(WR)(LCD/SRAM共用)122PD6PD6DCMI_SCLYOLED/CAMERA接口的SCL脚123PD7PD7DCMI_SDAYOLED/CAMERA接口的SDA脚77PD8PD8FSMC_D13NFSMC总线数据线D13(LCD/SRAM共用)78PD9PD9FSMC_D14NFSMC总线数据线D14(LCD/SRAM共用)79PD10PD10FSMC_D15NFSMC总线数据线D15(LCD/SRAM共用)80PD11PD11FSMC_A16NFSMC总线地址线A17(SRAM专用)81PD12PD12FSMC_A17NFSMC总线地址线A18(SRAM专用)82PD13PD13FSMC_A18NFSMC总线地址线A19(SRAM专用)85PD14PD14FSMC_D0NFSMC总线数据线D0(LCD/SRAM共用)86PD15PD15FSMC_D1NFSMC总线数据线D1(LCD/SRAM共用)141PE0PE0FSMC_NBL0NFSMC总线NBL0(SRAM专用)142PE1PE1FSMC_NBL1NFSMC总线NBL1(SRAM专用)1PE2PE2KEY2Y接按键KEY22PE3PE3KEY1Y接按键KEY13PE4PE4KEY0Y接按键KEY04PE5PE5DCMI_D6YOLED/CAMERA接口的D6脚5PE6PE6DCMI_D7YOLED/CAMERA接口的D7脚58PE7PE7FSMC_D4NFSMC总线数据线D4(LCD/SRAM共用)59PE8PE8FSMC_D5NFSMC总线数据线D5(LCD/SRAM共用)60PE9PE9FSMC_D6NFSMC总线数据线D6(LCD/SRAM共用)63PE10PE10FSMC_D7NFSMC总线数据线D7(LCD/SRAM共用)64PE11PE11FSMC_D8NFSMC总线数据线D8(LCD/SRAM共用)65PE12PE12FSMC_D9NFSMC总线数据线D9(LCD/SRAM共用)66PE13PE13FSMC_D10NFSMC总线数据线D10(LCD/SRAM共用)67PE14PE14FSMC_D11NFSMC总线数据线D11(LCD/SRAM共用)68PE15PE15FSMC_D12NFSMC总线数据线D12(LCD/SRAM共用)10PF0PF0FSMC_A0NFSMC总线地址线A0(SRAM专用)11PF1PF1FSMC_A1NFSMC总线地址线A1(SRAM专用)12PF2PF2FSMC_A2NFSMC总线地址线A2(SRAM专用)13PF3PF3FSMC_A3NFSMC总线地址线A3(SRAM专用)14PF4PF4FSMC_A4NFSMC总线地址线A4(SRAM专用)15PF5PF5FSMC_A5NFSMC总线地址线A5(SRAM专用)18PF6PF6GBC_KEYY接ATK-MODULE接口的KEY脚19PF7PF7LIGHT_SENSORN接光敏传感器(LS1)20PF8PF8BEEPN接蜂鸣器(BEEP)21PF9PF9LED0N接DS0LED灯(红色)22PF10PF10LED1N接DS1LED灯(绿色)49PF11PF11T_MOSIYTFTLCD接口触摸屏MOSI信号50PF12PF12FSMC_A6NFSMC总线地址线A10(SRAM/LCD共用)53PF13PF13FSMC_A7NFSMC总线地址线A7(SRAM专用)54PF14PF14FSMC_A8NFSMC总线地址线A8(SRAM专用)55PF15PF15FSMC_A9NFSMC总线地址线A9(SRAM专用)56PG0PG0FSMC_A10NFSMC总线地址线A10(SRAM专用)57PG1PG1FSMC_A11NFSMC总线地址线A11(SRAM专用)87PG2PG2FSMC_A12NFSMC总线地址线A12(SRAM专用)88PG3PG3FSMC_A13NFSMC总线地址线A13(SRAM专用)89PG4PG4FSMC_A14NFSMC总线地址线A14(SRAM专用)90PG5PG5FSMC_A15NFSMC总线地址线A15(SRAM专用)91PG6PG6NRF_CEYWIRELESS接口的CE信号92PG7PG7NRF_CSYWIRELESS接口的CS信号93PG8PG8NRF_IRQRS485_REN1,WIRELESS接口IRQ信号2,RS485RE引脚124PG9PG9DCMI_PWDN1WIRE_DQN1,OLED/CAMERA接口的PWDN脚2,接单总线接口(U12),即DHT11/DS18B20125PG10PG10FSMC_NE3NFSMC总线的片选信号3,为外部SRAM片选信号126PG11PG11RMII_TX_ENN接LAN8720的TXEN脚127PG12PG12FSMC_NE4YFSMC总线的片选信号4,为LCD片选信号128PG13PG13RMII_TXD0N接LAN8720的TXD0脚129PG14PG14RMII_TXD1N接LAN8720的TXD1脚132PG15PG15DCMI_RESETYOLED/CAMERA接口的RESET脚引引脚脚编编号号:
@#@对对应应STM32F407ZGT6STM32F407ZGT6的的引引脚脚编编号号GPIOGPIO:
@#@STM32F407ZGT6STM32F407ZGT6的的IOIO口口完完全全独独立立:
@#@指指该该IOIO通通过过一一定定的的方方法法,可可以以达达到到完完全全悬悬空空的的效效果果(即即不不接接任任何何其其他他外外设设,且且不不接接任任何何上上拉拉/下下拉拉电电阻阻)连连接接关关系系说说明明:
@#@说说明明每每个个IOIO口口与与外外设设的的连连接接关关系系使使用用提提示示:
@#@介介绍绍每每个个IOIO的的特特点点和和使使用用方方法法,方方便便大大家家掌掌握握开开发发板板每每一一个个IOIO口口的的使使用用只要KEY_UP不按下,该IO完全独立该IO直接接LAN8720的REFCLKO引脚,接收50M时钟(一直有),不建议做普通IO用该IO通过P9选择连接RS232还是RS485,并同时连接了LAN8720的MD