Post Go back to editing

Unable to communicate via SPI with TMC5160

Category: Hardware
Product Number: TMC5160

I am migrating from TMC2660 to TMC5160 using psoc CY8C4248AZI-L485.

while reading a register e.g. ioin= 0x04 or irrun= 0x10 i get alway  first byte as 0x39 and then on first try i get all 0xffffffff
if i try to read again i get 0x00....
can some body guide why it is so?