8 years ago.

Unable to use PortIn (portA) and SWO?

I'm having an issue with using this SWO debug library, if I use e.g. ports B and C as inputs - that's fine, however if I used port A (regardless of the pins used) then SWO debugging doesn't work and I get no output on the SWO viewer.

I'm using an ST Nucleo F401RE, I've read through the manual and some port A pins are multiplexed with SWx pins, but this starts are PA13, I'm not using or configuring this pin.

Sample piece of code to add that will cause SWO to stop working:

PortIn APortIn(PortA, 0b1111);

Question relating to:

Be the first to answer this question.