Unable to write tmc spi error after switching to 5160 drivers

Did you try different spi_speed settings? Like here Fysetc Mini 12864 Panel (RGB) on Spider V2 - #7 by jjarosz