I used settings like the following for both x and y (this is a corexy printer):
[stepper_x]
step_pin: PB3
dir_pin: PB4
enable_pin: !PD2
microsteps: 128
rotation_distance: 40
endstop_pin: PC0
position_endstop: 120
position_max: 120
homing_speed: 20 #Max 100
[tmc2209 stepper_x]
uart_pin: PC11
tx_pin: PC10
uart_address: 3
run_current: 0.800
interpolate: False
driver_TOFF: 4
driver_TBL: 0
driver_HSTRT: 0
driver_HEND: 0
stealthchop_threshold: 999999
The test is with diagonal moves. (The graph shows the accelerometer of the “x” direction, even though the move is diagonal.)
-Kevin