stm32f103c8t6
一、引脚定义图
![](https://file.jishuzhan.net/article/1776991111072452610/cc0e9af15b6566872eb973fb096c43fc.webp)
二、时钟树
![](https://file.jishuzhan.net/article/1776991111072452610/68f6122a4c81a2a56f7c152115b132bd.webp)
三、系统结构图
四、启动配置
(有时候不小心短接VCC和GND,芯片会锁住,可以BOOT0拉高试试(用跳线帽接))
五、最小系统原理图
可用于PCB设计
![](https://file.jishuzhan.net/article/1776991111072452610/3b4841729a43ebd39765fb6be9c2f1fd.webp)
六、常见折腾人bug
1.RCC开启时钟错误,例如 RCC_APB2 PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE); 写成 RCC_APB1PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE); 这个函数是有说明的,可以看看vscode显示的函数信息再写!
2.工作环境问题。不要放在磁场较强的地方。我的笔记本电脑的边沿处有两块磁铁,某次调试程序把单片机放在了上面,程序现象死活出不来,后来换了个位置,一切正常。
STM32F407xx
![](https://file.jishuzhan.net/article/1776991111072452610/9711743f37817a5906c18d95805bf54d.webp)
![](https://file.jishuzhan.net/article/1776991111072452610/885383a90bce2dba218988347af6a495.webp)
![](https://file.jishuzhan.net/article/1776991111072452610/d8b943aefc2f29edb3ebe25a8a98535a.webp)
![](https://file.jishuzhan.net/article/1776991111072452610/dea836959f7d64d4c58a37cbbc6809ca.webp)
![](https://file.jishuzhan.net/article/1776991111072452610/1fb056bf2f02e84f450965eeb65d3702.webp)
![](https://file.jishuzhan.net/article/1776991111072452610/8e3c84654e0861b01f33eedc86c6bf83.webp)