Hi, I'd like to define my own set of custom pins for spi if possible (for use with TMC5160). Having scoured the source I have only found reference to the CS pin and spi_index which is presumably 0, the default define. Why would I would want to do this you ask? Because I've already made the board, foolishly without looking at the existing designs and noticing they used the standard pins....
Where/how could I do this? Or am I buying a ticket to bodge wire central?
No matter, I edited the hardware rather than the software. Its working well, now I'm hunting for the current control and stallguard tuning. Great project, thanks for your efforts.
Hi, I'd like to define my own set of custom pins for spi if possible (for use with TMC5160). Having scoured the source I have only found reference to the CS pin and spi_index which is presumably 0, the default define. Why would I would want to do this you ask? Because I've already made the board, foolishly without looking at the existing designs and noticing they used the standard pins....
Where/how could I do this? Or am I buying a ticket to bodge wire central?
My esp is connected to the 5160 as follows
IO17 = DIR IO5 = STP JP1=DC0 IO18=SDO (not IO19) IO19=CS IO21=SCK (not IO18) IO22=SDI (not IO23) IO23=EN IO16=Diag0 IO4=Diag1