Hi Rick.
OK.I will try a sniffer.
I have been going through the source code and can't find it. I believe I will find how it is implemented in Task0.cpp. Case(MICRO_STEP_8812) has MS_Direction which apears to be set by masking BIT1 of SerialBuffer[3]. Case(MICRO_STEP_8824) tests if SerialBuffer[3] is true and sets or toggls TBCCTL5. (Port P4.5). This is shown as PHB/NC/BIN2 on the MSP430F1612, which coorsponds to pin 23 on the DRV8825, which is NC. While I don't understand that action, I am pretty sure that does not control the DIR line. From the DRV8812 code, I believe that the "sub-opcode" is in SerialBuffer[3]
Thanks
Ralph
OK.I will try a sniffer.
I have been going through the source code and can't find it. I believe I will find how it is implemented in Task0.cpp. Case(MICRO_STEP_8812) has MS_Direction which apears to be set by masking BIT1 of SerialBuffer[3]. Case(MICRO_STEP_8824) tests if SerialBuffer[3] is true and sets or toggls TBCCTL5. (Port P4.5). This is shown as PHB/NC/BIN2 on the MSP430F1612, which coorsponds to pin 23 on the DRV8825, which is NC. While I don't understand that action, I am pretty sure that does not control the DIR line. From the DRV8812 code, I believe that the "sub-opcode" is in SerialBuffer[3]
Thanks
Ralph