Issues when replacing DRV8825 with TMC2209 on a CNC shield

Well done! As You had a running setup changing driver shouldn't call for inspecting the code. Quite a surprise. Let's hear what the other helpers say.