How do you enabled UART mode on the TMC2209 v3.1 driver?
No adjustments are required on the hardware. If you are using a board with a UART, plug it in, jumper according to the board's instructions, and configure the firmware.