pb3 pb4 pa15引脚
时间: 2024-04-23 16:28:52 浏览: 101
STM32 JTAG接口PB3PB4配置为IO口使用问题
5星 · 资源好评率100%
引用\[1\]和\[2\]提到,PB3、PB4和PA15是STM32单片机的特殊引脚,它们默认用作JTAG/SWD仿真器的调试接口。其中,PA13和PA14用作SWD调试的SWIO和SWCLK,而PB3、PB4、PA13、PA14和PA15共同用于JTAG。这些引脚在上电复位时默认作为调试端口使用。如果要将它们用作普通的IO口,需要关闭部分调试功能。具体的设置方法可以参考《STM32参考手册》中的描述。引用\[3\]提到,要将PB3、PB4和PA15用作GPIO,需要关闭JTAG功能,可以通过执行GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE)来实现。
#### 引用[.reference_title]
- *1* [STM32F10××× PB3,PB4,PA13,PA14,PA15的使用](https://blog.csdn.net/weixin_46061266/article/details/125472107)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [STM32单片机PB3/PB4/PA15用作普通IO使用](https://blog.csdn.net/eipo_csdn/article/details/128153863)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [STM32的PB3/PB4/PA15用作普通IO使用](https://blog.csdn.net/xiaoxiaoxiaoali/article/details/126737852)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文