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?

Parents
  • Hi Naeem, 

    typical issues are wrong CLK polarity or wrong number of bits. Maybe also a wiring issue. I suggest to attach an oscilloscope and countercheck the waves. Please be sure to also have all supplies switched on. While this might sound trivial, many issues occurred because users assumed that the IO supply is sufficient to operate the IC logic. Hope this helps.

Reply
  • Hi Naeem, 

    typical issues are wrong CLK polarity or wrong number of bits. Maybe also a wiring issue. I suggest to attach an oscilloscope and countercheck the waves. Please be sure to also have all supplies switched on. While this might sound trivial, many issues occurred because users assumed that the IO supply is sufficient to operate the IC logic. Hope this helps.

Children
No Data