Klipper: [FR] TMC 2209 slave address (SKR mini E3)

Created on 24 Jul 2019  路  13Comments  路  Source: KevinOConnor/klipper

As i understand the STM32F103RCT6 is supported, I hope. But the TMC2209 seems to be on the same serial interface and are addressed X=0,Y=1, Z=2 E0=3.

In the pins file for marlin they all are on serial4

#if HAS_DRIVER(TMC2209)
  /**
   * TMC2209 stepper drivers
   * Hardware serial communication ports.
   */
  #define X_HARDWARE_SERIAL  Serial4
  #define Y_HARDWARE_SERIAL  Serial4
  #define Z_HARDWARE_SERIAL  Serial4
  #define E0_HARDWARE_SERIAL Serial4
#endif

https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3-/blob/master/firmware/Marlin-2.0.x-SKR-Mini-E3/Marlin/src/pins/pins_BIGTREE_SKR_MINI_E3.h

https://www.mouser.se/datasheet/2/389/stm32f103rc-956261.pdf

https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3-

Most helpful comment

FYI - I updated the code to allow the uart address to be configured (commit a730aec8). If someone has the board they could try the config at https://github.com/KevinOConnor/klipper/blob/work-mini3-20190731/config/generic-bigtreetech-skr-mini-e3.cfg .

-Kevin

All 13 comments

Hi @Hywelmartin,

It did not look like there was a Klipper log file attached to this ticket. The log file has been engineered to answer common questions the Klipper developers have about the software and its environment (software version, hardware type, configuration, event timing, and hundreds of other questions).

Unfortunately, too many people have opened tickets without providing the log. That consumes developer time; time that would be better spent enhancing the software. If this ticket references an event that has occurred while running the software then the Klipper log must be attached to this ticket. Otherwise, this ticket will be automatically closed in a few days.

For information on obtaining the Klipper log file see: https://github.com/KevinOConnor/klipper/blob/master/docs/Contact.md

The log can still be attached to this ticket - just add a comment and attach the log to that comment.

Best regards,
~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

The tmc2209 supports a uart "address" and it looks like the "skr mini e3" uses that feature. If someone has the hardware and is willing to run tests, I can probably assist in adding the code.

-Kevin

Then I buy one.. see you in a month or so...

/Martin

FYI - I updated the code to allow the uart address to be configured (commit a730aec8). If someone has the board they could try the config at https://github.com/KevinOConnor/klipper/blob/work-mini3-20190731/config/generic-bigtreetech-skr-mini-e3.cfg .

-Kevin

So then for all other 2209:s there's no need to ground ms1 or what it was... Just state the the "both pin open" address..

I will test as soon as the board arrive..

@KevinOConnor My board just arrived, I should be able to test this weekend.

Following. Want to know how this turns out!

Also following. Seems like Mike Law sparked some interest in this FW with his new vid.

I did not get to it and now I'm away for the holiday. Gonna have to circle back to it when back home again.

My board just landed in the country. Will be about another week until delivered. Will try to test when it arrives.

See also #1905

I have been testing the SKR Mini E3 for a couple of days, for the most part it all works (including uart addressing), but if stepper drivers are not powered with 12/24v before the MCU starts up, then nothing short of a FIRMWARE_RESET will get them working properly. See #1916

I haven't got my board yet(it just got in to customs today so i might get it next week). but It seems like the feature is there so I'm closing this..

Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Michael-Bell picture Michael-Bell  路  5Comments

BlackStump picture BlackStump  路  3Comments

ChiliApple picture ChiliApple  路  4Comments

SergeyKrutyko picture SergeyKrutyko  路  6Comments

speendo picture speendo  路  3Comments