Getting closer to overhaul
by danlor on Mar.20, 2025, under 3dprinting, Technology
Last night I was able to get the new RGB toolhead lights reprogrammed for the 10 neopixels. This afternoon I finally got around to configuring the shutdown relay for the bed and heaters along with testing the new TMC5160T drivers for X/Y. I have had them forever, but have been too busy with other issues and printing. This is a perfect opportunity. Up until now I have operated everything in uart mode for simplicity, but the 2130 and 51260 require SPI for communications.
The Manta board is setup to jumper all the communications pins into the driver rather than just the data/CS/uart pin. I plugged in all the jumpers for X. Then grabbed a generic config for the TMC2130(X) and pasted in before my TMC2209 block.
## Motor1
[tmc5160 stepper_x]
cs_pin: M1_x_uart #CS/uart data pin
spi_software_mosi_pin: M_MOSI
spi_software_miso_pin: M_MISO
spi_software_sclk_pin: M_SCK
#diag1_pin: PF4
run_current: 0.800
stealthchop_threshold: 999999
Commented out the old driver block, and then renamed the new block to be TMC5160. Next I replaced the pins on the section with aliases I had previously configured, then reloaded. Once it came back online, I ran a quick query:
DUMP_TMC STEPPER=stepper_y
The printer dump all the registers and confirmed communications. It looks like I’m good to go. I then followed the same steps for the Y stepper driver and confirmed it as well.