USE SWD IO FOR GPIO

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Weeden_ding
Level 2
Level 2
Distributor - Weikeng(GC)
25 sign-ins 5 replies posted 10 questions asked

Hi, 

  客户IO口不够用,需要使用SWD IO 作为IO口,请问用作IO输出口硬件设计上需要注意什么? 我看说明上说只能烧写不能debug,说的是不能仿真吗?还是只有这两个IO口不可以仿真?

谢谢!

0 Likes
1 Solution
Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

In addition to Bob's comment:

是不能仿真,整个片子的所有功能不能仿真。

仿真的时候,仿真器是通过这两个IO与PSoC通信的。

PSoC4 GPIO用法说明应用笔记 - https://www.cypress.com/documentation/application-notes/an86439-psoc-4-using-gpio-pins

PSoC4 硬件设计应用笔记 - https://www.cypress.com/documentation/application-notes/an88619-psoc-4-hardware-design-consideration...

Roy Liu

View solution in original post

2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Setting the SWD pins to GPIO disables the internal debug mechanisms. You can only choose between debugging or alternately GPIO mode of the SWD pins. Of course you may use for test purposes different pins until the functionality is completely debugged and runs error-free.

Bob

Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

In addition to Bob's comment:

是不能仿真,整个片子的所有功能不能仿真。

仿真的时候,仿真器是通过这两个IO与PSoC通信的。

PSoC4 GPIO用法说明应用笔记 - https://www.cypress.com/documentation/application-notes/an86439-psoc-4-using-gpio-pins

PSoC4 硬件设计应用笔记 - https://www.cypress.com/documentation/application-notes/an88619-psoc-4-hardware-design-consideration...

Roy Liu