Announcement

Collapse
No announcement yet.

TMC2208 UART on CR10s Pro for linear advance (guide)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    TMC2208 UART on CR10s Pro for linear advance (guide)

    Did some reverse engineering of the TMC2208 on the CR10s Pro Creality v2.4 motherboard to enable linear advance.
    Here is a quick guide on how to mod your Creality motherboard to enable the UART on the TMC2208 of the extruder.

    By the way... there is a design flaw with the TMC2208 connections on this board. The three TMC2208 pins PDN_UART, DIAG and INDEX are all connected together and pulled up by a 100k resistor to +5V. That way the INDEX and DIAG ouputs are working against eachother. The level present is thus around 2.7V which luckily still does not force the chip into power down since the PDN_UART pin is connected to that level aswell.

    Required steps::

    1.) Modify the hardware as shown below.
    2.) Change the following two lines in the "pins_RAMPS.h" file:
    #define E0_SERIAL_TX_PIN 33
    #define E0_SERIAL_RX_PIN 64
    3.) In your "Configuration.h"file, change "#define E0_DRIVER_TYPE TMC2209_STANDALONE" to "#define E0_DRIVER_TYPE TMC2208"
    4.) In your "Configuration_adv.h" file change "#define E0_RSENSE 0.11" to "#define E0_RSENSE 0.15"
    5.) Make further changes e.g. disable stealth mode, enable linear advance...
    6.) HAVE FUN!


    [!!! IMPORTANT !!!]
    I found the PIN 64 to be the control pin for the heater - so you must not connect anything to it.
    I simply omitted this wire and only used the 1k resistor connection to pin 33.
    As i am using Klipper firmware now (try i it, you'll like it!), there is only one pin for the UART connection necessary to run.
    Enjoy linear advance


    Attached Files
    Last edited by 3Dprinty; 06-05-2020, 12:22 PM. Reason: Found PIN 64 to be the heater gpio

    #2
    Do i have to cut a trace on the upper side also?

    Which pin is 33 on the exp2?

    Comment


      #3
      Originally posted by _Hoffi View Post
      Do i have to cut a trace on the upper side also?

      Which pin is 33 on the exp2?
      The only trace to cut is on the bottom side.
      I suggest to check with a multimeter if the cut was successful.
      Pin 33 is the middle one on the left row as indicated by the yellow arrow.

      Comment


        #4
        I made your mod today and installed klipper.
        Everything worked perfectly
        Will add a new touchscreen soon.

        thank you

        Comment


          #5
          Originally posted by _Hoffi View Post
          I made your mod today and installed klipper.
          Everything worked perfectly
          Will add a new touchscreen soon.

          thank you
          Thank's for the feedback, enjoy!

          Comment

          Working...
          X