FYSETC / FYSETC-SPIDER

FYSETC Board - 3d printer motherboard for VORON and other open source project.
310 stars 148 forks source link

TMC stepper_x failed to init: Unable to write tmc spi 'stepper_x' register GLOBALSCALER, TMC5160 on Spider 2.3 #147

Closed Dual-Energy closed 8 months ago

Dual-Energy commented 8 months ago

Should anyone also had the problem of getting SPI for TMC5160 on a Spider-Board working, for me reducing the SPI-Speed spi_speed: 1000000 did the trick.

Mainboard: Spider 2.3 Driver: BTT EZ5160 RGB on X and Y

[stepper_x] step_pin: PE11 dir_pin: !PE10 enable_pin: !PE9 rotation_distance: 40 full_steps_per_rotation:200 microsteps: 64

endstop_pin: !PA1 # on toolhead.cfg

position_min: 0 position_endstop: 300 position_max: 300 homing_speed: 150
second_homing_speed: 25 homing_retract_dist: 4 homing_positive_dir: true

[tmc5160 stepper_x] spi_bus: spi4 cs_pin: PE7 spi_speed: 1000000

diag1_pin: PB13

interpolate: False run_current: 1.15 sense_resistor: 0.05 #0.110 stealthchop_threshold: 0

[stepper_y] step_pin: PD8 dir_pin: !PB12 enable_pin: !PD9 rotation_distance: 40 full_steps_per_rotation:200 microsteps: 64 endstop_pin: !PA3 position_min: 0 position_endstop: 300 position_max: 300 homing_speed: 150
second_homing_speed: 25 homing_retract_dist: 5 homing_positive_dir: true

[tmc5160 stepper_y] spi_bus: spi4 cs_pin: PE15 spi_speed: 1000000

diag1_pin: PB13

interpolate: False run_current: 1.15 sense_resistor: 0.05 #0.110 stealthchop_threshold: 0