-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Support for Trinamic TMC2660 #8138
Comments
Did you get the TMC2660's working ? |
Currently no. Seems like we need new lib to get them working =) |
To bad, have a look at the bottom of #8063 (comment) to see what i am working on :) |
Yea the drivers need a new library for Marlin to be able to communicate with them. I could expand my TMC2130 or TMC2208 libraries to support them but I don't have the drivers to test. Nor really a board that would support the layout. |
@teemuatlut if you extend you're lib i'd be glad to test =) Currently i have working Marlin on Azteeg X5 GT (standart drivers work, but i have 2660 ones) #8139 |
And i can test when i get my board ready, probably be about 2 weeks... |
@Spawn32 stm32 based board? I actualy have an idea to create stm32 board with 6-8 steppers =) |
STM32F7 and 6x TMC2660 :) |
Its a monster that can even run linux |
I'm not too keen on developing for something I don't actually have. While it may take me from a couple of days to a week to get the library running, it'll be months or years of supporting it. Old and new features that need testing, bug fixes, interacting with users and helping them solve problems. I don't really want to put myself in a position where my best is only a guess. |
Actualy seems like duet3d board uses same drivers and very similar setup |
Yes, the Duet3d uses the TMC2660's... |
@teemuatlut Roy has been very helpful trying to get an official 32-bit branch of Marlin going. When we were discussing how to seed the Marlin developers with 32-bit boards, it kind of felt like his preference was to use the Azteeg X5 GT 32bit Motion Controller as the reference platform. (It may be I'm just imagining that. But that is what I think.) With the Azteeg X5 GT 32bit Motion Controller you can plug in the Bigfoot BSD2660 sub modules. It says they are "Based on TMC2660. SPI setup and configuration including current limit and microstepping. 3A 30V. For 3D printing and CNC applications. Super quiet and smooth. 1/256 microstepping. " Part of the reason I was pushing for the Re-ARM as the reference platform is because it would keep costs down. But we are now at the point where just one developer having an Azteeg X5 GT can make good progress. If you contact Roy, please include a link to this post so he knows I'm supportive. I should get around to sending him an updated status report also. |
Yeah, Azteeg X5 GT is interesting board. I already done pinout for marlin #8139 . Only thing missing is 2660 steppers. |
Quick update. I got a response from Roy at Panucatt and he was happy to provide me with the drivers, so now I'll need to create a new driver library to support the TMC2660. It'll likely be ready (as can be) before my drivers get here but you can test them before I can. @Roxy-3D Roy asked me about the progress with LPC HAL and I gave him a brief summary but also said that you'd be contacting soon with a more in depth update about it. Hope you don't mind =) |
Not a problem! I'll try to do that in the next day or two... |
@Roxy-3D @teemuatlut and the rest of you: Nice, is just a incredible job you guy's do here. thank you :) |
@teemuatlut |
I think the hardware is on its' way so I could theoretically start with the library. I just have a bunch of other stuff too that I should be doing. |
Hi! |
Someone using this driver could tell if the lack of StealthChop mode makes
any difference. I mean, do you miss it?
Em 5 de dez de 2017 11:55, "Alexey Shvetsov" <notifications@github.com>
escreveu:
… Hi!
Any news about this drivers?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8138 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE-ZE6dbimmv_UZDmS862LuLgkl0Yo6pks5s9UtDgaJpZM4QKH3t>
.
|
@alexxy I've started working on a universal TMC driver library that would support 5 driver models. This is quite a big task and requires a completely new architecture inside the library to do it in a way that makes sense. That said, I did take a look at the TMC2660 communication information and it seems to differ a bit from the other drivers. Makes me think that they're a slightly older driver design. Edit: Steppers are turning now so I've established basic communications. |
@cool are there some branch to test? |
Good work @teemuatlut looking forward to testing it :) |
@alexxy No not yet. I'll first try to get the library examples to work on TMC2660 as well as 2130, 2208, 2224 and 5130. |
@teemuatlut hows youre universal tmc lib going? |
TMC5130 and TMC2130 compile the Simple example. I've been busy with other tasks for a while now but the new library is on the agenda over the christmas holidays because I can't do much CAD work on the laptop. |
@teemuatlut TMC 5130 has an integrated velocity ramp generator, do you plan to implement the ramp generator function as well? apart from standard trapezoidal ramp it also has a six point ramp function, which seems pretty cool. To test TMC2660 there is a readily available shield for Uno called TOS100 for Arduino and it can be purchased from Watterott Electronic for about 25 Euro. TMC2660 was also used in T-Bone cape for beagle bone (project available on GitHub) tried and tested lib available for all functions. |
I do have full support for Trinamic's TRAMS board in the works but it's been pushed back ever since the summer. But IIRC it did do movements and homing and other basic functions. |
Some progress. Also see the Simple.ino example that's currently configured for TMC2660. |
@teemuatlut I used your |
@teemuatlut seems issue comes from this commit 94735bdc5fe7833840a7dc2c21925742db8e2827 commit 94735bdc5fe7833840a7dc2c21925742db8e2827
|
I've been working on the branch again and I did confirm your issue. That was an easy fix but lead to another issue. Will hopefully fix it this weekend and get the whole thing compiling nicely again. |
@teemuatlut thank you =D |
Pushed the new code and tested with your config files. No promises on it actually working though. Let me know what happens. |
@teemuatlut I tested youre branch. It works without problems for me. |
is it normal? Recv: Driver registers: |
No. When did that start happening? EDIT: I used your latest config files to upload to an Azteeg board and got
This is with my latest master branch and not all commits are online just yet. I still need to fix some compile issues before pushing. |
Build of your master branch, drivers work =) i can print |
|
If it would be disabled, there would be no output at all. |
Probably a hardware issue, then. |
Drivers work, I can change current. m122 dont. So i'm curiose what's the problem |
If you can set a value at the TMC, for SPI that means MOSI, CS and CLK do work. If you can't read MISO is broken. |
HI could you please help me, I can't compile after adding my settings... I used Teemuatlut's master build. thanks! `SYSTEM: LPC1768 100MHz 32KB RAM (512KB Flash) |-- 0.0.0 Unable to find destination disk. File must be copied manually. Compiling .pioenvs\LPC1768\src\src\feature\pause.o |
Working on that one right now. Trying to get the Travis builds to finish. EDIT: Travis builds now. |
awesome thanks! my build is using dual extruders with one X motor and parking and electromagnet. |
Hi! I tested your fresh master branch:
if i disabled it i get another error
|
I also get 'uint8_t TMC2130Stepper::status_response' is protected within this context |
@teemuatlut Ok. I'll test PR and youre branch |
was TMC2660 not added recently? i remember to see it mentioned in the config's |
Guys, tell me how to run this driver. I assembled it on the standard scheme (https://www.trinamic.com/support/eval-kits/details/tmc2660-bob/) is the power supply of the circuit, the power to the motor, the signal -dir -step too. the motor is not spinning |
You need to configure it after powering it up before it can drive anything. |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi all!
I have a Azteeg X5 GT board with TMC2660 (Bigfoot BSD2660), and seems like Marlin has support for some types of TMC drivers. How to enable TMC2660?
The text was updated successfully, but these errors were encountered: