![I've been Printing PPE on my IDEX 3d printer recently. This ends up being a bit of torture test for the Meastro and expansion as I have all 7 steppers going constantly for 2 hours.
The last couple of prints I had "P5 short circuit" errors that would trigger about 30min into a print after the controller and motors warmed up. But the prints would complete with almost no change to the motion of the extruder on P5. The extruder did stop for 5-10 seconds 2-3 times during the later prints, but re-started and completed the prints with no other issues.
I assume that poor current loop stability can trigger a short circuit flag, so I went ahead and did a similar fix to what you suggested DC42. Only had a chance to do one test print with P5 in spread-cycle mode, but the short circuit errors are gone. I'll do more test prints in stealth-chop mode tonight to confirm.
Attached are the front and back of my modified expansion.
Looking at the layout render, it looks like the culprit is the Vin trace to C6. It cuts off the direct path to ground and forces current from R3 to loop around the outside of the pcb. Personally, I'd put R3 and R2 between the TMC chip and stepper connector and give them 2-4 vias to the ground plane and the thermal die pad of the TMC. The motor phase connections can then sneak under or around the 805 resistor.