Menu

myFP2 keeps defaulting to 256 Microstep mode

Ryan Parle
2022-05-14
2022-05-29
  • Ryan Parle

    Ryan Parle - 2022-05-14

    I'm in the process of configuring my MFP2 which i want to drive in full step mode, however any time i connect to it or hit "get" in the motor settings tab the step mode will change to 256microstep mode, this happens regardless of having changed the step mode and hitting the set button.

    I'm using the myFP2_TMC2209SG-312 firmware

    any tips?

     
    • brownrb

      brownrb - 2022-05-15

      Hi
      From memory I think it was one of the library calls in
      void DriverBoard::init_TMC2209(void)
      of the file myBoards.cpp
      that configures the tmc driver chip to interpolate using 256 steps.
      The code was written and tested by a few others, so I cannot be of much help.

      Personally I never migrated to these stepper chips, as I always felt for me at least, they were not needed in the observatory.

      All else fails, a drv8825 is a drop in replacement and reporogram with the drv8825 code.

      As for jogging, it appears that the code is there but I cannot remember any one testing it, or not testing it for that matter.

      Looking through the code for jogging, it depends on getting a command to begin jogging from the Windows application. This occurs when the jogging bar is moved.

      To use jogging the mouse is used to drag the jogging bar in the direction of the required move, When the mouse button is released, jogging will stop. So to use the jogging bar means a click cannot be used. From memory, the acutally jogging speed is fixed and set to be much lower than slow speed, trying to prevent overshoot.

      Now, I have no idea of idea of what is happening with your system, but if operating the jpg bar does not work ,please enable the error logging, attempt to jog, and send me the error log to look at.

      Regards
      Robert

       
      • Ryan Parle

        Ryan Parle - 2022-05-29

        Thanks for the reply Robert.

        I have decided to continue using the board in 256 step mode, it seems to work well enough as it is.

         
  • Samuel Tumlad

    Samuel Tumlad - 2022-05-15

    Happens to mine too. TMC2225. I already soldered 2 boards and used 2 Nanos. The problem is still there.

    Jogging doesn't work whatever I do. Otherwise, everything works as it should.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.