Add TMC2209 support (#14249)
This commit is contained in:
@ -1726,6 +1726,29 @@
|
||||
//#define TMC_SW_MISO -1
|
||||
//#define TMC_SW_SCK -1
|
||||
|
||||
/**
|
||||
* Four TMC2209 drivers can use the same HW/SW serial port with hardware configured addresses.
|
||||
* Set the address using jumpers on pins MS1 and MS2.
|
||||
* Address | MS1 | MS2
|
||||
* 0 | LOW | LOW
|
||||
* 1 | HIGH | LOW
|
||||
* 2 | LOW | HIGH
|
||||
* 3 | HIGH | HIGH
|
||||
*/
|
||||
#define X_SLAVE_ADDRESS 0
|
||||
#define Y_SLAVE_ADDRESS 0
|
||||
#define Z_SLAVE_ADDRESS 0
|
||||
#define X2_SLAVE_ADDRESS 0
|
||||
#define Y2_SLAVE_ADDRESS 0
|
||||
#define Z2_SLAVE_ADDRESS 0
|
||||
#define Z3_SLAVE_ADDRESS 0
|
||||
#define E0_SLAVE_ADDRESS 0
|
||||
#define E1_SLAVE_ADDRESS 0
|
||||
#define E2_SLAVE_ADDRESS 0
|
||||
#define E3_SLAVE_ADDRESS 0
|
||||
#define E4_SLAVE_ADDRESS 0
|
||||
#define E5_SLAVE_ADDRESS 0
|
||||
|
||||
/**
|
||||
* Software enable
|
||||
*
|
||||
|
Reference in New Issue
Block a user