本文以STM32F407ZGT6为例
一、配置cubeMX
1、点击图片框选之处

2、这里等待自动下载

3、选择芯片型号
搜索所使用的芯片型号,在右下侧双击芯片

4、开启调试
在“System Core”中点击“SYS”,“Debug”选项中选择“Serial Wire”

5、设置时钟
在RC中的“HSE”设置为“Crystal/Ceramic Resonator”



搜索所使用的芯片型号,在右下侧双击芯片

在“System Core”中点击“SYS”,“Debug”选项中选择“Serial Wire”

在RC中的“HSE”设置为“Crystal/Ceramic Resonator”

2321
1536

被折叠的 条评论
为什么被折叠?