Hi all, this is my first time with Klipper and i’m trying to install it on a selfmade corexy with radds 1.6
I read guides about tmc but i’m not able to config them properly and receive " !! Error on ‘DUMP_TMC’: missing STEPPER "
Note: i don’t know if there is a minimal printer.cfg needed for to start, i’m trying to add an istance any time and mainsails seems to accept this.
The board connects without problems but when i try a TMC_DUMP i receive the error.
I will appreciate if you have a radds config to use as reference.
Thank you all.
This is a “no fun at all” idea.
The RADDS board lacks the provisions to control such drivers via software. You could work around this by finding enough free pins on the board and connect them via jumper cables but this is really a crappy solution and I’m not even sure if you find enough matching pins to do so.
AFAIK the TMC5160 also do not run in “standalone” mode, so it is pretty much a dead end.
I bought this drives because i read that marlin and mk4duo (that i use in my other printers) can work with them and with radds also if board needs a mod
at the moment i’m using some dupont cables to connect only 1 tmc for tests.
I tried to connect on hw spi and cs0 (arduino 2 seems to manage only 3 spi adress) with no success,
then i tried to connect as described in the attached images but, again, no success.
Onestly i don’t know well HW SPI and SW SPI but i trying to learn something about …
I saw the log ad found a generic error :
Unable to write tmc spi ‘stepper_x’ register GLOBALSCALER
I’m looking for it now.
Tomorrow i will upload the log (i haven’t my printer here now)
i could also try to switch tmc with my other printer …
i have a coreXY with tmc2130 and a Aus3D Rumba32 but i would need to recompile the firmware and i prefer to have at least a printer that can works
I would switch also the Rumba32 to klipper in the future but i prefer to have a match a time
also if i use SPI bus directly from the SPI connector?
i thought that if i use HW SPI with MISO MOSI SCK and CS i don’t need to declare them , am i wrong?
so if i use a SW SPI i need to use different pins (like images for exampe, is it correct?)
If you use the builtin (hardware) SPI, you do not need to declare them but still connect them and from the schematic above it seemed not the case (but upon closer look it is )
The image regarding a sw SPI config, i think because the board offer only 3 CS for SPI bus and we need 4 …
But because i’m a rookie with klipper i first try to connect only one driver to the HW SPI and relative CS0
Then i tried to test the SW SPI but without good results …
So, i will try again with SW SPI using the pins in the images.
I just mapped all pins starting from schematics because this board (in this revision) doesn’t have a pinout.
I would like to share them with the community because the file i used for my first config refers to v1.5 that theoretically has same pinout but i’m not sure about that.
However, i need to declare only one time the sw_spi pins correct?
than i need to use a free pin not related to HW SPI …
Tomorrow i will try
Hi all, some updates …
I’m trying a bench setup so I can’t use x y and z because of the triggered endstops.
I put a resistor to simulate the hotend temperature at 220 degrees and by connecting an A4988 driver the extruder works.
I put the TMC in its place and the DUMP_TMC STEPPER=extruder command gives me a series of information.
If I try to initialize the driver with INIT_TMC STEPPER=extruder I get an error :
Unable to write tmc spi ‘extruder’ register GLOBALSCALER
same error if I try to extrude.
Next step:
i use hwspi pins in hw mode,
hwspi pins in sw mode
new different pins in sw mode.
All this config are able to dump tmc but noone can work …
All config, if i send a command to extruder, restart klipper with the GLOBALSCALER ERROR
OK i found the issue!
Now extruder works!
Basically this board hasn’t native support so … It has a short between the RST/MISO and the !SLEEP …
I put tmc on a breadboard and connect all cables except the RST and now it works …
Hoping this work can help someone
Of course!
You’re right!
But i’m building a new printer starting from all the things i have in a box and that i used in previous project for to reuse them, i need only to buy a small plate like voron 120x120 .