Help us improve the Power & Sensing Selection Guide. Share feedback

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

cross mob
Level 4
Level 4
Hello All,

a support request on this topic was unsuccessful, so I ask here:

Starting a XMC1100 in UMD (SWD debug enabled), I want to terminate SWD and switch P0.14 and P0.15 to GPIO under program control.

The reason is that the debug pins also serve as LED indicators and if the debugger is not attached, I want to use the LED indicators.

If the debugger is attached, the application shall detect it *) and stay in SWD mode.

How can I do this?

I found no documentation on enabling or disabling debug mode for certain pins.



*) E.g. by checking a variable set by the debugger via SWD, although it would be smarter to detect active SWD
0 Replies