Re: CNC3 RA will only drive one direction


Jamie Flinn
 

Hence I am wondering if these perhaps have changed or need changing - I know 1 winding is being powered as I can move 1 direction....

and this TMC2208 would be running in normal mode

#define TMC2208                     6      // allows M0,M1    bit patterns for 2x,4x,8x,16x   (stealthChop default, uses 256x intpol)

Axis 1 is the problen - axis 2 is good
// Axis1 RA/Azm step/dir driver
#define AXIS1_ENABLE_PIN          12             // [must be low at boot 12]
#define AXIS1_M0_PIN              32             // SPI MOSI
#define AXIS1_M1_PIN              33             // SPI SCK
#define AXIS1_M2_PIN              15             // SPI CS
#define AXIS1_M3_PIN              AUX2_PIN       // SPI MISO/Fault
#define AXIS1_STEP_PIN            26
#define AXIS1_DIR_PIN             16
#define AXIS1_DECAY_PIN           AXIS1_M2_PIN
#define AXIS1_SENSE_HOME_PIN      AUX3_PIN
 
// Axis2 Dec/Alt step/dir driver
#define AXIS2_ENABLE_PIN          SHARED
#define AXIS2_M0_PIN              32             // SPI MOSI
#define AXIS2_M1_PIN              33             // SPI SCK
#define AXIS2_M2_PIN              0              // SPI CS
#define AXIS2_M3_PIN              AUX2_PIN       // SPI MISO
#define AXIS2_STEP_PIN            25
#define AXIS2_DIR_PIN             27
#define AXIS2_DECAY_PIN           AXIS2_M2_PIN
#define AXIS2_SENSE_HOME_PIN      AUX4_PIN
 

Join main@onstep.groups.io to automatically receive all group messages.