TMC5160 not working despite working connection

Do you have heatsinks installed? Have you tried active cooling? It’s usually not a heat-related error.
Also see TMC 'stepper' reports GSTAT: 00000001 reset=1(Reset)