PTC7 doesn't have any competition. It is only ever GPIO. PTH2 can be overridden by RGPIO8.
I assume you've also checked PTH2's Output Enable setting?
You might have some software in there with a "wild pointer" that accidentally writes to the wrong addresses.
I'll ask software engineers to look at these.
It might be a problem caused by ESD. Can you increase the shielding on the chip's IO pins? Try a 100pF cap or a series resistor on PTH2 as it seems to be the one getting affected.
110 ohm series resistor has no impact.
I'll try a 100pF cap if I can find one in the lab. My initial guess is that the 10k pulldown might be as effective at swamping out ESD as 100pF.
What kind of ESD issue are you talking about?
Are you running at 3.3V or 5V?
3.3V
Are you sure none of the pins (especially PTH2) aren't being pulled above VDD by anything?
PTH2 is connected to an input on LTC2862 and a 10k pulldown. PTH2 current draw is dominated by the 10k pulldown. LTC2862 inputs don't have a pull-up mechanism.
Do you have any long tracks that could be causing undershoot or overshoot that could be going above VDD or below VSS?
The trace between PTH2 pin and LTC2862 pin is about 1 cm long, and is over a ground plane. There are some I2C and a buck converter nearby, but I expect a digital circuit like this to be pretty robust around noise.
Actually, when I wired in PTC7 as a replacement for PTH2, I used bus wire and lengthened the trace.