- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I inquired about the SWD pin in the following community.
https://community.cypress.com/message/164808#164808
This is another inquiry about SWD pin processing.
Q1.
Is it OK to keep the SWD pin open?
Q2.
Does the SWD pin have an internal pull-up like the XRES pin?
Best regards,
Harukawa
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Noritomo san,
Q1.
Is it OK to keep the SWD pin open?
Are you asking in cases when SWD is not being used? In that case they act like regular IO pins. . Normally it suggested to keep the unused pins in HighZ mode( which is by default).
Q2.
Does the SWD pin have an internal pull-up like the XRES pin?
The SWDIO have internal pull-up and SWDCK will be have an internal pull-down normally when SWD is enabled.
Best Regards,
VRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you do not use the SWD and SDA pins for debugging (having set them to GPIO) they act just like "normal" IO pins. You may (and may not) configure them having internal pullups and other drive modes as shown in the pin's datasheet. When set to GPIO you still can use the pins for programming the device using a programmer.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Noritomo san,
Q1.
Is it OK to keep the SWD pin open?
Are you asking in cases when SWD is not being used? In that case they act like regular IO pins. . Normally it suggested to keep the unused pins in HighZ mode( which is by default).
Q2.
Does the SWD pin have an internal pull-up like the XRES pin?
The SWDIO have internal pull-up and SWDCK will be have an internal pull-down normally when SWD is enabled.
Best Regards,
VRS