Extending the Duet2 with Maestro
-
Thanks.
It's printed on the solder mask
Is it possible to "talk" to TMC UART or SPI drives as one would from a Marlin?
-
@McAbra said in Extending the Duet2 with Maestro:
It's printed on the solder mask
wouldn't worry about the solder mask not being 24v compatible jokes aside, 99.999% Vin/9v goes straight to Vmot and it'll be fine. Its probaly related to arduino and highlighting you need more than 8v to supply the motor driver.
so refer to Vmot for the driver you want to use instead.
@McAbra said in Extending the Duet2 with Maestro:
Is it possible to "talk" to TMC UART or SPI drives as one would from a Marlin?
it is, the Maestro does use UART and Duet duet 2 wifi does use SPI, combining the two will likely require some custom code and building the firmware which is a little less easy compared to Marlin (but 11 out of 10 users don't need to compile RepRapFirmware)
-
but this is an unorthodox approach to using smart stepper drivers with controllers that can't configure them correctly
-
The Maestro Expansion aside then. If I were to add TMC2130 (which are SPI) how would I set i.e. the spreadCycle mode for them in a Duet config? Or is that unsupported and would require firmware changes?
-
i think the default firmware expects all smart drivers to be of the same type. if the tmc2660 of the wifi and tmc2130 are compatible with respect to spi configs i do not know but should be doable to adapt the firmware if not a bit of work.
maybe dc42 or someone else can chime in on the compatability.
-
@bearer said in Extending the Duet2 with Maestro:
i think the default firmware expects all smart drivers to be of the same type. if the tmc2660 of the wifi and tmc2130 are compatible with respect to spi configs i do not know but should be doable to adapt the firmware if not a bit of work.
That's correct. The Duet WiFi/Ethernet firmware is only set up to drive TMC2660 drivers and dumb drivers, the Maestro firmware is only set up to drive TMC2208 or TMC2224 or dumb drivers (but would probably work with TMC2209 as well).
-
the 2130' stepsticks can be configured as dumb at least, path of least resistance.
or https://github.com/dc42/RepRapFirmware/blob/dev/BuildInstructions.md
-
Thank you. I got it to work. Had to plow through the datasheet to configure all the CFG pins (that are relevant in the "standalone" mode) to achieve the mode I wanted without any motor whining.
Should I document that somewhere?
-
@McAbra said in Extending the Duet2 with Maestro:
Thank you. I got it to work. Had to plow through the datasheet to configure all the CFG pins (that are relevant in the "standalone" mode) to achieve the mode I wanted without any motor whining.
Should I document that somewhere?
Yes please! https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers#Section_Connecting_Pololu_style_drivers would be a good place.
-
@dc42 I made the change - please take a look - English is not my first language.