Add TMC2209 support (#14249)

This commit is contained in:
Scott Lahteine
2019-06-20 15:47:50 -05:00
committed by GitHub
parent ed0c70f0a0
commit 4df4c47994
208 changed files with 2732 additions and 644 deletions

View File

@ -107,9 +107,9 @@
#define TMC_SW_SCK P0_04
#endif
#if HAS_DRIVER(TMC2208)
#if HAS_DRIVER(TMC2208) || HAS_DRIVER(TMC2209)
/**
* TMC2208 stepper drivers
* TMC2208/TMC2209 stepper drivers
*
* Hardware serial communication ports.
* If undefined software serial is used according to the pins below

View File

@ -116,7 +116,7 @@
// the jumper next to the limit switch socket when using sensorless homing.
//
#if HAS_DRIVER(TMC2208)
#if HAS_DRIVER(TMC2208) || HAS_DRIVER(TMC2209)
// Software serial
#define X_SERIAL_RX_PIN 71
#define X_SERIAL_TX_PIN 72

View File

@ -288,7 +288,7 @@
/**
* Example for trinamic drivers using the J8 connector on MKs Sbase.
* 2130s need 1 pin for each driver. 2208s need 2 pins for serial control.
* 2130s need 1 pin for each driver. 2208/2209s need 2 pins for serial control.
* This board does not have enough pins to use hardware serial.
*/
@ -316,7 +316,7 @@
#endif
#endif
#if MB(MKS_SBASE) && HAS_DRIVER(TMC2208)
#if MB(MKS_SBASE) && (HAS_DRIVER(TMC2208) || HAS_DRIVER(TMC2209))
// The shortage of pins becomes apparent.
// Worst case you may have to give up the LCD
// RX pins need to be interrupt capable

View File

@ -42,7 +42,7 @@
//#define BTN_EN1 P1_23 // EXP2.5
//#define BTN_EN2 P1_22 // EXP2.3
#if HAS_DRIVER(TMC2208)
#if HAS_DRIVER(TMC2208) || HAS_DRIVER(TMC2209)
// The shortage of pins becomes apparent.
// In the worst case you may have to give up the LCD.
// RX pins must be interrupt-capable.

View File

@ -293,9 +293,9 @@
#endif
#endif
#if HAS_DRIVER(TMC2208)
#if HAS_DRIVER(TMC2208) || HAS_DRIVER(TMC2209)
/**
* TMC2208 stepper drivers
* TMC2208/TMC2209 stepper drivers
*
* Hardware serial communication ports.
* If undefined software serial is used according to the pins below

View File

@ -204,9 +204,9 @@
#endif // ULTRA_LCD
#if HAS_DRIVER(TMC2208)
#if HAS_DRIVER(TMC2208) || HAS_DRIVER(TMC2209)
/**
* TMC2208 stepper drivers
* TMC2208/TMC2209 stepper drivers
*
* Hardware serial communication ports.
* If undefined software serial is used according to the pins below

View File

@ -268,9 +268,9 @@
#endif
#endif
#if ENABLED(HAVE_TMC2208)
#if HAS_DRIVER(TMC2208) || HAS_DRIVER(TMC2209)
/**
* TMC2208 stepper drivers
* TMC2208/TMC2209 stepper drivers
*
* Hardware serial communication ports.
* If undefined software serial is used according to the pins below

View File

@ -106,9 +106,9 @@
#define TMC_SW_SCK P1_09 // ETH
#endif
#if HAS_DRIVER(TMC2208)
#if HAS_DRIVER(TMC2208) || HAS_DRIVER(TMC2209)
/**
* TMC2208 stepper drivers
* TMC2208/TMC2209 stepper drivers
*
* Hardware serial communication ports.
* If undefined software serial is used according to the pins below