当前位置:网站首页>Gd32 F3 pin mapping problem SW interface cannot be burned
Gd32 F3 pin mapping problem SW interface cannot be burned
2022-07-07 15:38:00 【sgmcy】
Used GD32F303 As a development
carelessly , Hardware design , Used PA15 Port as SPI Of CS Pin
When debugging at first , Find out SPI The timing of reading and writing is wrong , No data
Then comment out all the code , Separate settings PA15 The port of
But the discovery software can be set , You can also read this PA15 High level or low level
however , Hardware measurement , It is found that the low level or high level of this pin cannot be grasped , unstable
Finally, I found that ,
PA15 This port , Default as JTDI Use , If you want to use it as a general IO Words of mouth , You need to map it before you can use

gpio_pin_remap_config
Call this function to remap ports .
When calling this port , The parameters initially passed are :GPIO_SWJ_DISABLE_REMAP
This can lead to SWJ Out of commission
Pass this parameter ,GPIO_SWJ_SWDPENABLE_REMAP,SWJ It can be used normally. , Download code
边栏推荐
- How to release NFT in batches in opensea (rinkeby test network)
- 【數字IC驗證快速入門】26、SystemVerilog項目實踐之AHB-SRAMC(6)(APB協議基本要點)
- 15. Using the text editing tool VIM
- Database exception resolution caused by large table delete data deletion
- HPDC smart base Talent Development Summit essay
- Steps to create P8 certificate and warehousing account
- Ctfshow, information collection: web6
- CTFshow,信息搜集:web10
- 2.Golang基础知识
- 使用Scrapy框架爬取网页并保存到Mysql的实现
猜你喜欢

CTFshow,信息搜集:web3

Monthly observation of internet medical field in May 2022

Write a ten thousand word long article "CAS spin lock" to send Jay's new album to the top of the hot list

【数字IC验证快速入门】18、SystemVerilog学习之基本语法5(并发线程...内含实践练习)

Niuke real problem programming - Day17

如何在opensea批量发布NFT(Rinkeby测试网)

什麼是數據泄露

Use cpolar to build a business website (2)

Wechat applet 01
使用Scrapy框架爬取网页并保存到Mysql的实现
随机推荐
摘抄的只言片语
CTFshow,信息搜集:web2
[机缘参悟-40]:方向、规则、选择、努力、公平、认知、能力、行动,读3GPP 6G白皮书的五层感悟
Summer safety is very important! Emergency safety education enters kindergarten
CTFshow,信息搜集:web12
[markdown grammar advanced] make your blog more exciting (IV: set font style and color comparison table)
如何在opensea批量发布NFT(Rinkeby测试网)
Super signature principle (fully automated super signature) [Yun Xiaoduo]
[quick start of Digital IC Verification] 22. Ahb-sramc of SystemVerilog project practice (2) (Introduction to AMBA bus)
Monthly observation of internet medical field in May 2022
[data mining] visual pattern mining: hog feature + cosine similarity /k-means clustering
2022年5月互联网医疗领域月度观察
从 1.5 开始搭建一个微服务框架链路追踪 traceId
Ctfshow, information collection: web6
2022全开源企业发卡网修复短网址等BUG_2022企业级多商户发卡平台源码
【服务器数据恢复】戴尔某型号服务器raid故障的数据恢复案例
[quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)
What are the safest securities trading apps
Unity's ASE achieves full screen sand blowing effect
【数字IC验证快速入门】18、SystemVerilog学习之基本语法5(并发线程...内含实践练习)