您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 质量控制/管理 > STM32F103RCT6引脚功能及使用
第1页共5页STM32F103RCT6引脚功能及使用脚号引脚名称主功能默认复用重定义备注1VBATVBAT----说明12PC13-TAMPER-RTCPC13TAMPER-RTC--说明33PC14-OSC32_INPC14OSC32_IN--说明34PC15-OSC32_OUTPC15OSC32_OUT--说明35OSC_INOSC_IN--CAN_RX晶振6OSC_OUTOSC_OUT--CAN_TX晶振7NRSTNRST----复位8PC0PC0ADC123_IN10--ADC9PC1PC1ADC123_IN11--ADC10PC2PC2ADC123_IN12--ADC11PC3PC3ADC123_IN13--ADC12VSSAVSSA----模拟地13VDDAVDDA----模拟电14PA0-WKUPPA0WKUP--说明4USART2_CTS说明5ADC123_IN0TIM2_CH1_ETR说明6TIM5_CH1TIM8_ETR15PA1PA1USART2_RTS--ADC123_IN1TIM2_CH2TIM5_CH216PA2PA2USART2_TX--ADC123_IN2TIM2_CH3TIM5_CH317PA3PA3USART2_RX--ADC123_IN3TIM2_CH4TIM5_CH418VSS_4VSS_4----数字地第2页共5页19VDD_4VDD_4----数字电20PA4PA4USART2_CK--ADC12_IN4SPI1_NSSDAC_OUT121PA5PA5ADC12_IN5--SPI1_SCKDAC_OUT222PA6PA6ADC12_IN6TIM1_BKINTIM3_CH1TIM8_BKINSPI1_MISO23PA7PA7ADC12_IN7TIM1_CH1NTIM3_CH2TIM8_CH1NSPI1_MOSI24PC4PC4ADC12_IN14--25PC5PC5ADC12_IN15--26PB0PB0ADC12_IN8TIM1_CH2NTIM3_CH3TIM8_CH2N27PB1PB1ADC12_IN9TIM1_CH3NTIM3_CH4TIM8_CH3N28PB2PB2----BOOT129PB10PB10USART3_TXTIM2_CH3I2C2_SCL30PB11PB11USART3_RXTIM2_CH4I2C2_SDA31VSS_1VSS_1----数字地32VDD_1VDD_1----数字电33PB12PB12USART3_CK--TIM1_BKINSPI2_NSS说明7I2C2_SMBAI2S2_WS第3页共5页34PB13PB13USART3_CTS--TIM1_CH1NSPI2_SCKI2S2_CK35PB14PB14USART3_RTS--TIM1_CH2NSPI2_MISO36PB15PB15TIM1_CH3N--SPI2_MOSII2S2_SD37PC6PC6TIM8_CH1TIM3_CH1I2S2_MCKSDIO_D6说明838PC7PC7TIM8_CH2NTIM3_CH2I2S3_MCKSDIO_D739PC8PC8TIM8_CH3NTIM3_CH3SDIO_D040PC9PC9TIM8_CH4TIM3_CH4SDIO_D141PA8PA8USART1_CK--TIM1_CH1MCO42PA9PA9USART1_TX--TIM1_CH243PA10PA10USART1_RX--TIM1_CH344PA11PA11USART1_CTS--TIM1_CH4USBDMCAN_RX45PA12PA12USART1_RTS--TIM1_ETRUSBDPCAN_TX46PA13JTMS--PA13SWDIO第4页共5页47VSS_2VSS_2----数字地48VDD_2VDD_2----数字电49PA14JTCK--PA14SWCLK50PA15JTDISPI3_NSSPA15I2S3_WSTIM2_CH1_ETRSPI1_NSS51PC10PC10UART4_TXUSART3_TXSDIO_D252PC11PC11UART4_RXUSART3_RXSDIO_D353PC12PC12UART5_TXUSART3_CKSDIO_CK54PD2PD2UART5_RX--TIM3_ETRSDIO_CMD55PB3JTDOSPI3_SCKPB3TIM2_CH2I2S3_CKSPI1_SCKTRACESWO56PB4NJTRSTSPI3_MISOPB4TIM3_CH1SPI1_MISO57PB5PB5SPI3_MOSITIM3_CH2I2C1_SMBASPI1_MOSII2S3_SD58PB6PB6TIM4_CH1USART1_TXI2C1_SCL59PB7PB7TIM4_CH2USART1_RXI2C1_SDA60BOOT0BOOT0----61PB8PB8TIM4_CH3I2C1_SCLSDIO_D4CAN_RX62PB9PB9TIM4_CH4I2C1_SDASDIO_D5CAN_TX63VSS_3VSS_3----数字地64VDD_3VDD_3--数字电第5页共5页说明:1)VBAT:VBAT给RTC和备份区域供电,目的是在VDD断电时保证相关区域的数据内容有效,一般连接到外部电池。若不用此功能,可直接连接到VDD。2)供电方案:Ø每个VDD各接一个0.1uF陶瓷电容,VDD3需要再接一个4.7~10uF的钽电容;ØVDDA:10nF陶瓷电容+1nF钽电容;ØVREF+:可接VDDA,也可接外部参考源,此时,需要接10nF陶瓷电容+1nF钽电容;3)PC13/PC14/PC15:内部连接了模拟开关,只能通过少量的电流,驱动能力不够(不能用于点亮LED),且不能同时使用,尽量不用。4)进入待机模式之后,PA0-WKUP引脚上的上升沿,作为待机模式唤醒条件。5)USART/UART:CTS/RTS/CK/TX/RX,一般只使用TX/RX引脚实现异步通信,加上CK可以实现同步通信,CTS/RTS是硬件流控引脚,一般不用。6)TIMER:TIM1~TIM8,其中,TIM1/TIM8为高级控制定时器,TIM2~TIM5为普通定时器,TIM6/TIM7为基本定时器。ØTIM1/TIM8:BKIN为故障信号,用来关闭TIM1的输出,ETR为外部触发输入引脚,可用来对脉冲计数,CH1~CH4为4路输入捕获/PWM输出信号,CH1/CH1N/CH2/CH2N/CH3/CH3N为三相电机控制信号,带N为反向信号。ØTIM2~TIM5:ETR功能同上,CH1~CH4功能同上;ØTIM6~TIM7:无外部引脚与其相连,只有定时器功能。7)I2S:I2S2/I2S3与SPI2/SPI3共用三个引脚,WS/NSS,CK/SCK,SD/MOSI,MCK与MISO不共用,I2S时序与SPI类似。8)SDIO:一般应用,只使用4根数据线(D0~D3)以及CMD/CK,分别代表控制线/时钟线。
本文标题:STM32F103RCT6引脚功能及使用
链接地址:https://www.777doc.com/doc-7238110 .html