Trinamic TMC2240 Klipper SPI Configuration with MKS Monster8 troubleshooting 2240 driver

preview_player
Показать описание
I wanted to start playing with 4 point bed bed leveling. I needed to upgrade to a board that could handle 8 stepper drivers. I pickup this up for $27 on Amazon (Link Below). I was looking for new drivers and surpassed to see the new TMC2204. I kind of wished they used UART. SPI is harder to setup and troubleshoot. I got them working and the cool thing is I can now see the driver temp in mainsail.

Monster8 Board

BigTreetech TMC2240 Drivers

My Klipper Driver Config

[stepper_x]
step_pin:PC14
dir_pin:!PC13
enable_pin:!PC15
microsteps: 16
rotation_distance: 40
full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper
endstop_pin:!PA14
position_min: 0
position_endstop: 230
position_max: 230

[tmc2240 stepper_x]
#spi_bus: spi1 #Might or might not work. It depends on board
cs_pin: PE6
diag1_pin: PA14
run_current: 0.800
hold_current: 0.500
stealthchop_threshold: 999999
#spi_speed: 3200000 #Lowering the speed might help if your getting communications errors
spi_software_sclk_pin: PE12
spi_software_mosi_pin: PE14
spi_software_miso_pin: PE13

Sponsors
Рекомендации по теме
Комментарии
Автор

Thanks for posting this. Question: Are your heatsinks bonded properly/squarely to the board?
Mine appear to be epoxy-bonded directly to the PCB (not removable, not re-seatable). This is different than my 2209 drivers which used an adhesive pad.

My main concern is that the 2240 heatsinks are not fully pressed down onto the board. They're sitting sort of at an angle with a blob of adhesive under them. This means that the adhesive does not fully cover the area over the chip that needs the heatsink, but it also means the adhesive is way thicker than intended, and adhesive is a comparatively poor conductor. The adhesive should be as thin as possible to allow heat conduction into the aluminum heatsink.

Are you seeing the same thing?

karlfife
Автор

Thanks for the video, I have an error from Klipper with your code: "Section 'tmc2240 extruder' is not a valid config section" Do you have an idea why? thx

marudo