你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

查看: 654|回复: 7

【我要show】+感谢社区

[复制链接]

13

主题

55

回帖

2

蝴蝶豆

高级会员

最后登录
2018-9-3
发表于 2017-3-19 15:57:46 | 显示全部楼层 |阅读模式
谢谢社区的维护者,多亏了你们的辛苦耕耘,才让STM32越来越好。
我.png


回复

使用道具 举报

1

主题

9

回帖

0

蝴蝶豆

中级会员

最后登录
2019-2-22
发表于 2017-3-19 20:36:48 | 显示全部楼层
沙发,帅哥一枚。
回复 支持 反对

使用道具 举报

13

主题

55

回帖

2

蝴蝶豆

高级会员

最后登录
2018-9-3
 楼主| 发表于 2017-3-19 21:22:15 | 显示全部楼层
q80351951 发表于 2017-3-19 20:36
沙发,帅哥一枚。


你是个明眼人,
回复 支持 反对

使用道具 举报

1

主题

9

回帖

0

蝴蝶豆

中级会员

最后登录
2019-2-22
发表于 2017-3-19 22:16:30 | 显示全部楼层
The debug pins are in AF pull-up/pull-down after reset:
 PA14: SWCLK in pull-down
 PA13: SWDIO in pull-up
When the pin is configured as output, the value written to the output data register
(GPIOx_ODR) is output on the I/O pin. It is po ssible to use the output driver in push-pull
mode or open-drain mode (only the low level is driven, high level is HI-Z).

测试不行
回复 支持 反对

使用道具 举报

1

主题

9

回帖

0

蝴蝶豆

中级会员

最后登录
2019-2-22
发表于 2017-3-19 22:21:01 | 显示全部楼层
找到原因了,程序多写了
        GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF;
        GPIO_InitStructure.GPIO_Pin = GPIO_Pin_14;
        GPIO_Init(GPIOA, &GPIO_InitStructure);
回复 支持 反对

使用道具 举报

1

主题

455

回帖

2

蝴蝶豆

金牌会员

最后登录
2019-5-7
发表于 2017-3-20 00:23:23 | 显示全部楼层
签到签到!晚上好!谢谢楼的分享,STM32的社区办不错,人气旺。
回复 支持 反对

使用道具 举报

13

主题

55

回帖

2

蝴蝶豆

高级会员

最后登录
2018-9-3
 楼主| 发表于 2017-3-20 15:24:33 | 显示全部楼层
q80351951 发表于 2017-3-19 22:21
找到原因了,程序多写了
        GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF;
        GPIO_InitStructure.GPIO_Pin =  ...

复用成普通I/O,不开启AF模式,但是要开启AFIO时钟。普通I/O复用成其他功能管脚才需要开AFmode
回复 支持 反对

使用道具 举报

10

主题

170

回帖

0

蝴蝶豆

金牌会员

最后登录
2020-10-7
发表于 2017-3-20 19:00:49 | 显示全部楼层
宿舍好
回复 支持 反对

使用道具 举报

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版