[2.0.x] TMC2130 support for LPC platform (#9114)
This commit is contained in:
committed by
Scott Lahteine
parent
34160806c0
commit
5c69d45f5b
@ -93,6 +93,16 @@
|
||||
#define E1_CS_PIN 19 // PA10 E2_nCS
|
||||
#define E1_DIAG_PIN 25 // PD0 E2_DIAG
|
||||
|
||||
//
|
||||
// Software SPI pins for TMC2130 stepper drivers.
|
||||
// Required for the Archim2 board.
|
||||
//
|
||||
#if ENABLED(TMC_USE_SW_SPI)
|
||||
#define TMC_SW_MOSI 28 // PD3
|
||||
#define TMC_SW_MISO 26 // PD1
|
||||
#define TMC_SW_SCK 27 // PD2
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
|
@ -68,26 +68,41 @@
|
||||
#define X_STEP_PIN P2_01 // (54)
|
||||
#define X_DIR_PIN P0_11 // (55)
|
||||
#define X_ENABLE_PIN P0_10 // (38)
|
||||
#define X_CS_PIN P1_01 // ETH
|
||||
|
||||
#define Y_STEP_PIN P2_02 // (60)
|
||||
#define Y_DIR_PIN P0_20 // (61)
|
||||
#define Y_ENABLE_PIN P0_19 // (56)
|
||||
#define Y_CS_PIN P1_04 // ETH
|
||||
|
||||
#define Z_STEP_PIN P2_03 // (46)
|
||||
#define Z_DIR_PIN P0_22 // (48)
|
||||
#define Z_ENABLE_PIN P0_21 // (62)
|
||||
#define Z_CS_PIN P1_10 // ETH
|
||||
|
||||
#define E0_STEP_PIN P2_00 // (26)
|
||||
#define E0_DIR_PIN P0_05 // (28)
|
||||
#define E0_ENABLE_PIN P0_04 // (24)
|
||||
#define E0_CS_PIN P1_14 // ETH
|
||||
|
||||
#define E1_STEP_PIN P2_08 // (36)
|
||||
#define E1_DIR_PIN P2_13 // (34)
|
||||
#define E1_ENABLE_PIN P4_29 // (30)
|
||||
#define E1_CS_PIN -1
|
||||
|
||||
#define E2_STEP_PIN P2_08 // (36)
|
||||
#define E2_DIR_PIN P2_13 // (34)
|
||||
#define E2_ENABLE_PIN P4_29 // (30)
|
||||
#define E2_CS_PIN -1
|
||||
|
||||
//
|
||||
// Software SPI pins for TMC2130 stepper drivers
|
||||
//
|
||||
#if ENABLED(TMC_USE_SW_SPI)
|
||||
#define TMC_SW_MOSI P1_00 // ETH
|
||||
#define TMC_SW_MISO P1_08 // ETH
|
||||
#define TMC_SW_SCK P1_09 // ETH
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
|
Reference in New Issue
Block a user