[Grbl_Esp32 Issue#610] spi pin definitions

未分类 bolang 4个月前 (10-14) 54次浏览

Issue #610 | 状态: 已关闭 | 作者: m3chanist | 创建时间: 2020-09-21


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


评论 (1)

#1 – m3chanist 于 2020-09-21

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.


原始Issue: https://github.com/bdring/Grbl_Esp32/issues/610

喜欢 (0)