TMC SW SPI pins in Configuration_adv.h

Counterpart to #9632
This commit is contained in:
Scott Lahteine
2018-02-08 18:49:05 -06:00
parent 9854262334
commit 694d2ebec0
42 changed files with 319 additions and 79 deletions

View File

@ -999,9 +999,10 @@
* You'll also need the TMC2130Stepper Arduino library
* (https://github.com/teemuatlut/TMC2130Stepper).
*
* To use TMC2130 stepper drivers in SPI mode connect your SPI2130 pins to
* To use TMC2130 stepper drivers in SPI mode connect your SPI pins to
* the hardware SPI interface on your board and define the required CS pins
* in your `pins_MYBOARD.h` file. (e.g., RAMPS 1.4 uses AUX3 pins `X_CS_PIN 53`, `Y_CS_PIN 49`, etc.).
* You may also use software SPI if you wish to use general purpose IO pins.
*/
//#define HAVE_TMC2130
@ -1087,9 +1088,13 @@
/**
* Use software SPI for TMC2130.
* SW SPI pins are defined the respective pins files.
* The default SW SPI pins are defined the respective pins files,
* but you can override or define them here.
*/
//#define TMC_USE_SW_SPI
//#define TMC_SW_MOSI -1
//#define TMC_SW_MISO -1
//#define TMC_SW_SCK -1
/**
* Use Trinamic's ultra quiet stepping mode.