Use from SWD and UART interface on the same port P0.14 and P0.15 at the same time

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

cross mob
User13827
Level 1
Level 1
First like received
Hi guys,

After reading a lot of papers and webpages I'm a little confused. Question: Can I use the swd interface and the UART interface at the same time with BMI = SWD0? The goal of this would be to communicate over the UART while the firmware is been debug.

uC = XMC1302

Thank you in advance

Pablo
0 Likes
2 Replies
User16526
Level 1
Level 1
I am not sure this is possible but I have the exact same question so tagging along here in case somebody replies.
0 Likes
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

It is not possible. Once you decide to go with BMI=SWD0, the pins will be used exclusively for the debug interface.
An alternative would be to use the BMI=SPD0/SPD1 and use the remaining pin to implement UART in half duplex mode.

Regards,
Jesus
0 Likes