Configuration of BTT M8P CB1 with TMC5160T Plus

Hello,

I have a BTT Manta M8P V2.0 CB1 Mainboard connected to the TMC5160T Plus drivers. The M8P is powered with a 24V power supply, while the drivers are 48V powered.

I am just writing the Klipper configuration and want firstly to make sure the basics work without problem. But it seems a communication (SPI) issue with the drivers occurs. Whenever I try to home the axis I get the following error message:

On the M8P all 4 jumpers per driver are inserted and the jumpers for connectiong HV and VM are inserted as well on the M8P.

My config file is the following:

# This file contains common pin mappings for the BIGTREETECH Manta M8P V2.0

# To use this config, the firmware should be compiled for the

# STM32H723 with a “128KiB bootloader” “25 MHz crystal”

# and “USB (on PA11/PA12)”, “CAN bus (on PD0/PD1)” or Serial (on USART1 PA10/PA9).

# See docs/Config_Reference.md for a description of parameters.

# Motor1

[stepper_x]

step_pin: PE6

dir_pin: PE5

enable_pin: !PC14

microsteps: 16

rotation_distance: 40

endstop_pin: ^PF4

position_endstop: 0

position_max: 1000

homing_speed: 50

# Motor2

[stepper_y]

step_pin: PE2

dir_pin: PE1

enable_pin: !PE4

microsteps: 16

rotation_distance: 40

endstop_pin: ^PF3

position_endstop: 0

position_max: 1000

homing_speed: 50

# Motor3

[stepper_z]

step_pin: PB8

dir_pin: PB7

enable_pin: !PE0

microsteps: 16

rotation_distance: 8

endstop_pin: probe:z_virtual_endstop

#endstop_pin: ^PF2

#position_endstop: 0

position_max: 900

position_min: -5.0

homing_speed: 8

second_homing_speed: 3

homing_retract_dist: 3

# Motor4

[stepper_z1]

step_pin: PB4

dir_pin: PB3

enable_pin: !PB6

microsteps: 16

rotation_distance: 8

endstop_pin: probe:z_virtual_endstop

#endstop_pin: ^PF1

#position_endstop: 0

#position_max: 900

#position_min: -5.0

# homing_speed: 8

# second_homing_speed: 3

# homing_retract_dist: 3

# Motor5

[stepper_z2]

step_pin: PG13

dir_pin: PG12

enable_pin: !PG15

microsteps: 16

rotation_distance: 8

endstop_pin: probe:z_virtual_endstop

#endstop_pin: ^PF0

#position_endstop: 0

#position_max: 900

#position_min: -5.0

# homing_speed: 8

# second_homing_speed: 3

# homing_retract_dist: 3

## Motor4

# The M8P only has 4 heater outputs which leaves an extra stepper

# This can be used for a second Z stepper, dual_carriage, extruder co-stepper,

# or other accesory such as an MMU

#[stepper_]

#step_pin: PB4

#dir_pin: PB3

#enable_pin: !PB6

#endstop_pin: ^PF1

#…

# Motor6

[extruder]

step_pin: PG9

dir_pin: PD7

enable_pin: !PG11

microsteps: 16

rotation_distance: 33.500

nozzle_diameter: 0.4

filament_diameter: 1.75

heater_pin: PA0 # HE0

sensor_pin: PB0 # T0

sensor_type: Generic 3950

control: pid

pid_Kp: 22.2

pid_Ki: 1.08

pid_Kd: 114

min_temp: 0

max_temp: 500

# End-Stop 5

[filament_switch_sensor material_0]

switch_pin: PF0

# Motor7

[extruder1]

step_pin: PD4

dir_pin: PD3

enable_pin: !PD6

microsteps: 16

rotation_distance: 33.500

nozzle_diameter: 0.4

filament_diameter: 1.75

heater_pin: PA1 # HE1

sensor_pin: PC5 # T1

sensor_type: Generic 3950

control: pid

pid_Kp: 22.2

pid_Ki: 1.08

pid_Kd: 114

min_temp: 0

max_temp: 500

# End-Stop 6

[filament_switch_sensor material_1]

switch_pin: PC15

## Motor7

#[extruder2]

#step_pin: PD4

#dir_pin: PD3

#enable_pin: !PD6

#heater_pin: PA3 # HE2

#sensor_pin: PC4 # T2

#…

## Motor8

#[extruder3]

#step_pin: PC7

#dir_pin: PC8

#enable_pin: !PD2

#heater_pin: PA5 # HE3

#sensor_pin: PA7 # T3

#…

[heater_bed]

heater_pin: PF5

sensor_pin: PB1 # TB

sensor_type: ATC Semitec 104GT-2

control: watermark

min_temp: 0

max_temp: 150

################################################

## Bed level support

################################################

## Bed probing hardware

### [probe]

# Z height probe. One may define this section to enable Z height probing

# hardware. When this section is enabled, PROBE and QUERY_PROBE extended

# [g-code commands](G-Codes.md#probe) become available. Also, see the

# [probe calibrate guide](Probe_Calibrate.md). The probe section also

# creates a virtual “probe:z_virtual_endstop” pin. One may set the

# stepper_z endstop_pin to this virtual pin on cartesian style printers

# that use the probe in place of a z endstop. If using

# “probe:z_virtual_endstop” then do not define a position_endstop in the

# stepper_z config section.

[output_pin probe_enable]

pin: PD12

value: 0

[gcode_macro Probe_Deploy]

gcode:

  SET_PIN PIN=probe_enable VALUE=1

[gcode_macro Probe_Stow]

gcode:

  SET_PIN PIN=probe_enable VALUE=0

[probe]

pin:^!PD13

# Probe detection pin. If the pin is on a different microcontroller

# than the Z steppers then it enables “multi-mcu homing”. This

# parameter must be provided.

deactivate_on_each_sample: False

# This determines if Klipper should execute deactivation gcode

# between each probe attempt when performing a multiple probe

# sequence. The default is True.

x_offset: 0.0

# The distance (in mm) between the probe and the nozzle along the

# x-axis. The default is 0.

y_offset: 0.0

# The distance (in mm) between the probe and the nozzle along the

# y-axis. The default is 0.

z_offset: 0.0

# The distance (in mm) between the bed and the nozzle when the probe

# triggers. This parameter must be provided.

speed: 5.0

# Speed (in mm/s) of the Z axis when probing. The default is 5mm/s.

#samples: 1

# The number of times to probe each point. The probed z-values will

# be averaged. The default is to probe 1 time.

#sample_retract_dist: 2.0

# The distance (in mm) to lift the toolhead between each sample (if

# sampling more than once). The default is 2mm.

#lift_speed:

# Speed (in mm/s) of the Z axis when lifting the probe between

# samples. The default is to use the same value as the ‘speed’

# parameter.

#samples_result: average

# The calculation method when sampling more than once - either

# “median” or “average”. The default is average.

#samples_tolerance: 0.100

# The maximum Z distance (in mm) that a sample may differ from other

# samples. If this tolerance is exceeded then either an error is

# reported or the attempt is restarted (see

# samples_tolerance_retries). The default is 0.100mm.

#samples_tolerance_retries: 0

# The number of times to retry if a sample is found that exceeds

# samples_tolerance. On a retry, all current samples are discarded

# and the probe attempt is restarted. If a valid set of samples are

# not obtained in the given number of retries then an error is

# reported. The default is zero which causes an error to be reported

# on the first sample that exceeds samples_tolerance.

activate_gcode:

  Probe_Deploy

  G4 P500 # Allow 500 milliseconds for the probe to deploy

# A list of G-Code commands to execute prior to each probe attempt.

# See docs/Command_Templates.md for G-Code format. This may be

# useful if the probe needs to be activated in some way. Do not

# issue any commands here that move the toolhead (eg, G1). The

# default is to not run any special G-Code commands on activation.

deactivate_gcode:

  Probe_Stow

# A list of G-Code commands to execute after each probe attempt

# completes. See docs/Command_Templates.md for G-Code format. Do not

# issue any commands here that move the toolhead. The default is to

# not run any special G-Code commands on deactivation.

### [bed_mesh]

#Mesh Bed Leveling. One may define a bed_mesh config section to enable

#move transformations that offset the z axis based on a mesh generated

#from probed points. When using a probe to home the z-axis, it is

#recommended to define a safe_z_home section in printer.cfg to home

#toward the center of the print area.

#See the [bed mesh guide](Bed_Mesh.md) and

#[command reference](G-Codes.md#bed_mesh) for additional information.

# Visual Examples:

# ```

# rectangular bed, probe_count = 3, 3:

# x—x—x (max_point)

# |

# x—x—x

# |

# (min_point) x—x—x

# round bed, round_probe_count = 5, bed_radius = r:

# x (0, r) end

# /

# x—x—x

# \

# (-r, 0) x—x—x—x—x (r, 0)

# \

# x—x—x

# /

# x (0, -r) start

# ```

# ```

[bed_mesh]

speed: 50

# The speed (in mm/s) of non-probing moves during the calibration.

# The default is 50.

horizontal_move_z: 5

# The height (in mm) that the head should be commanded to move to

# just prior to starting a probe operation. The default is 5.

mesh_min: 0, 0

# Defines the minimum X, Y coordinate of the mesh for rectangular

# beds. This coordinate is relative to the probe’s location. This

# will be the first point probed, nearest to the origin. This

# parameter must be provided for rectangular beds.

mesh_max: 1000, 1000

# Defines the maximum X, Y coordinate of the mesh for rectangular

# beds. Adheres to the same principle as mesh_min, however this will

# be the furthest point probed from the bed’s origin. This parameter

# must be provided for rectangular beds.

probe_count: 5, 5

# For rectangular beds, this is a comma separate pair of integer

# values X, Y defining the number of points to probe along each

# axis. A single value is also valid, in which case that value will

# be applied to both axes. Default is 3, 3.

#fade_start: 1.0

# The gcode z position in which to start phasing out z-adjustment

# when fade is enabled. Default is 1.0.

#fade_end: 0.0

# The gcode z position in which phasing out completes. When set to a

# value below fade_start, fade is disabled. It should be noted that

# fade may add unwanted scaling along the z-axis of a print. If a

# user wishes to enable fade, a value of 10.0 is recommended.

# Default is 0.0, which disables fade.

#fade_target:

# The z position in which fade should converge. When this value is

# set to a non-zero value it must be within the range of z-values in

# the mesh. Users that wish to converge to the z homing position

# should set this to 0. Default is the average z value of the mesh.

#split_delta_z: .025

# The amount of Z difference (in mm) along a move that will trigger

# a split. Default is .025.

#move_check_distance: 5.0

# The distance (in mm) along a move to check for split_delta_z.

# This is also the minimum length that a move can be split. Default

# is 5.0.

#mesh_pps: 2, 2

# A comma separated pair of integers X, Y defining the number of

# points per segment to interpolate in the mesh along each axis. A

# “segment” can be defined as the space between each probed point.

# The user may enter a single value which will be applied to both

# axes. Default is 2, 2.

algorithm: lagrange

# The interpolation algorithm to use. May be either “lagrange” or

# “bicubic”. This option will not affect 3x3 grids, which are forced

# to use lagrange sampling. Default is lagrange.

#bicubic_tension: .2

# When using the bicubic algorithm the tension parameter above may

# be applied to change the amount of slope interpolated. Larger

# numbers will increase the amount of slope, which results in more

# curvature in the mesh. Default is .2.

#zero_reference_position:

# An optional X,Y coordinate that specifies the location on the bed

# where Z = 0. When this option is specified the mesh will be offset

# so that zero Z adjustment occurs at this location. The default is

# no zero reference.

#faulty_region_1_min:

#faulty_region_1_max:

# Optional points that define a faulty region. See docs/Bed_Mesh.md

# for details on faulty regions. Up to 99 faulty regions may be added.

# By default no faulty regions are set.

#adaptive_margin:

# An optional margin (in mm) to be added around the bed area used by

# the defined print objects when generating an adaptive mesh.

#scan_overshoot:

# The maximum amount of travel (in mm) available outside of the mesh.

# For rectangular beds this applies to travel on the X axis, and for round beds

# it applies to the entire radius. The tool must be able to travel the amount

# specified outside of the mesh. This value is used to optimize the travel

# path when performing a “rapid scan”. The minimum value that may be specified

# is 1. The default is no overshoot.

#```

### [bed_tilt]

# Bed tilt compensation. One may define a bed_tilt config section to

# enable move transformations that account for a tilted bed. Note that

# bed_mesh and bed_tilt are incompatible; both cannot be defined.

# See the [command reference](G-Codes.md#bed_tilt) for additional

# information.

#```

#[bed_tilt]

#x_adjust: 0

# The amount to add to each move’s Z height for each mm on the X

# axis. The default is 0.

#y_adjust: 0

# The amount to add to each move’s Z height for each mm on the Y

# axis. The default is 0.

#z_adjust: 0

# The amount to add to the Z height when the nozzle is nominally at

# 0, 0. The default is 0.

# The remaining parameters control a BED_TILT_CALIBRATE extended

# g-code command that may be used to calibrate appropriate x and y

# adjustment parameters.

#points:

# A list of X, Y coordinates (one per line; subsequent lines

# indented) that should be probed during a BED_TILT_CALIBRATE

# command. Specify coordinates of the nozzle and be sure the probe

# is above the bed at the given nozzle coordinates. The default is

# to not enable the command.

#speed: 50

# The speed (in mm/s) of non-probing moves during the calibration.

# The default is 50.

#horizontal_move_z: 5

# The height (in mm) that the head should be commanded to move to

# just prior to starting a probe operation. The default is 5.

#```

### [bed_screws]

# Tool to help adjust bed leveling screws. One may define a [bed_screws]

# config section to enable a BED_SCREWS_ADJUST g-code command.

# See the

# [leveling guide](Manual_Level.md#adjusting-bed-leveling-screws) and

# [command reference](G-Codes.md#bed_screws) for additional information.

#```

[bed_screws]

screw1: 500, 1000

# The X, Y coordinate of the first bed leveling screw. This is a

# position to command the nozzle to that is directly above the bed

# screw (or as close as possible while still being above the bed).

# This parameter must be provided.

screw1_name: Screw back-middle

# An arbitrary name for the given screw. This name is displayed when

# the helper script runs. The default is to use a name based upon

# the screw XY location.

#screw1_fine_adjust:

# An X, Y coordinate to command the nozzle to so that one can fine

# tune the bed leveling screw. The default is to not perform fine

# adjustments on the bed screw.

screw2: 0, 500

screw2_name: Screw left

#screw2_fine_adjust:

screw3: 1000, 500

screw3_name: Screw right

#screw2_fine_adjust:

# Additional bed leveling screws. At least three screws must be

# defined.

horizontal_move_z: 25

# The height (in mm) that the head should be commanded to move to

# when moving from one screw location to the next. The default is 5.

#probe_height: 0

# The height of the probe (in mm) after adjusting for the thermal

# expansion of bed and nozzle. The default is zero.

speed: 50

# The speed (in mm/s) of non-probing moves during the calibration.

# The default is 50.

probe_speed: 5

# The speed (in mm/s) when moving from a horizontal_move_z position

# to a probe_height position. The default is 5.

#```

### [screws_tilt_adjust]

# Tool to help adjust bed screws tilt using Z probe. One may define a

# screws_tilt_adjust config section to enable a SCREWS_TILT_CALCULATE

# g-code command.

# See the

# [leveling guide](Manual_Level.md#adjusting-bed-leveling-screws-using-the-bed-probe)

# and [command reference](G-Codes.md#screws_tilt_adjust) for additional

# information.

#```

#[screws_tilt_adjust]

#screw1:

# The (X, Y) coordinate of the first bed leveling screw. This is a

# position to command the nozzle to so that the probe is directly

# above the bed screw (or as close as possible while still being

# above the bed). This is the base screw used in calculations. This

# parameter must be provided.

#screw1_name:

# An arbitrary name for the given screw. This name is displayed when

# the helper script runs. The default is to use a name based upon

# the screw XY location.

#screw2:

#screw2_name:

#…

# Additional bed leveling screws. At least two screws must be

# defined.

#speed: 50

# The speed (in mm/s) of non-probing moves during the calibration.

# The default is 50.

#horizontal_move_z: 5

# The height (in mm) that the head should be commanded to move to

# just prior to starting a probe operation. The default is 5.

#screw_thread: CW-M3

# The type of screw used for bed leveling, M3, M4, or M5, and the

# rotation direction of the knob that is used to level the bed.

# Accepted values: CW-M3, CCW-M3, CW-M4, CCW-M4, CW-M5, CCW-M5.

# Default value is CW-M3 which most printers use. A clockwise

# rotation of the knob decreases the gap between the nozzle and the

# bed. Conversely, a counter-clockwise rotation increases the gap.

#```

### [z_tilt]

# Multiple Z stepper tilt adjustment. This feature enables independent

# adjustment of multiple z steppers (see the “stepper_z1” section) to

# adjust for tilt. If this section is present then a Z_TILT_ADJUST

# extended [G-Code command](G-Codes.md#z_tilt) becomes available.

#```

[z_tilt]

z_positions:

500, 1000

0, 500

1000, 500

# A list of X, Y coordinates (one per line; subsequent lines

# indented) describing the location of each bed “pivot point”. The

# “pivot point” is the point where the bed attaches to the given Z

# stepper. It is described using nozzle coordinates (the X, Y position

# of the nozzle if it could move directly above the point). The

# first entry corresponds to stepper_z, the second to stepper_z1,

# the third to stepper_z2, etc. This parameter must be provided.

points:

500, 960

40, 500

960, 500

# A list of X, Y coordinates (one per line; subsequent lines

# indented) that should be probed during a Z_TILT_ADJUST command.

# Specify coordinates of the nozzle and be sure the probe is above

# the bed at the given nozzle coordinates. This parameter must be

# provided.

speed: 50

# The speed (in mm/s) of non-probing moves during the calibration.

# The default is 50.

horizontal_move_z: 25

# The height (in mm) that the head should be commanded to move to

# just prior to starting a probe operation. The default is 5.

retries: 3

# Number of times to retry if the probed points aren’t within

# tolerance.

retry_tolerance: 0.05

# If retries are enabled then retry if largest and smallest probed

# points differ more than retry_tolerance. Note the smallest unit of

# change here would be a single step. However if you are probing

# more points than steppers then you will likely have a fixed

# minimum value for the range of probed points which you can learn

# by observing command output.

#```

### [quad_gantry_level]

# Moving gantry leveling using 4 independently controlled Z motors.

# Corrects hyperbolic parabola effects (potato chip) on moving gantry

# which is more flexible.

# WARNING: Using this on a moving bed may lead to undesirable results.

# If this section is present then a QUAD_GANTRY_LEVEL extended G-Code

# command becomes available. This routine assumes the following Z motor

#configuration:

#```

# ----------------

# |Z1 Z2|

# | --------- |

# | | | |

# | | | |

# | x-------- |

# |Z Z3|

# ----------------

# ```

#Where x is the 0, 0 point on the bed

#```

#[quad_gantry_level]

#gantry_corners:

# A newline separated list of X, Y coordinates describing the two

# opposing corners of the gantry. The first entry corresponds to Z,

# the second to Z2. This parameter must be provided.

#points:

# A newline separated list of four X, Y points that should be probed

# during a QUAD_GANTRY_LEVEL command. Order of the locations is

# important, and should correspond to Z, Z1, Z2, and Z3 location in

# order. This parameter must be provided. For maximum accuracy,

# ensure your probe offsets are configured.

#speed: 50

# The speed (in mm/s) of non-probing moves during the calibration.

# The default is 50.

#horizontal_move_z: 5

# The height (in mm) that the head should be commanded to move to

# just prior to starting a probe operation. The default is 5.

#max_adjust: 4

# Safety limit if an adjustment greater than this value is requested

# quad_gantry_level will abort.

#retries: 0

# Number of times to retry if the probed points aren’t within

# tolerance.

#retry_tolerance: 0

# If retries are enabled then retry if largest and smallest probed

# points differ more than retry_tolerance.

#```

### [skew_correction]

# Printer Skew Correction. It is possible to use software to correct

# printer skew across 3 planes, xy, xz, yz. This is done by printing a

# calibration model along a plane and measuring three lengths. Due to

# the nature of skew correction these lengths are set via gcode. See

# [Skew Correction](Skew_Correction.md) and

# [Command Reference](G-Codes.md#skew_correction) for details.

#```

#[skew_correction]

#```

### [z_thermal_adjust]

# Temperature-dependant toolhead Z position adjustment. Compensate for vertical

# toolhead movement caused by thermal expansion of the printer’s frame in

# real-time using a temperature sensor (typically coupled to a vertical section

# of frame).

# See also: [extended g-code commands](G-Codes.md#z_thermal_adjust).

#```

#[z_thermal_adjust]

#temp_coeff:

# The temperature coefficient of expansion, in mm/degC. For example, a

# temp_coeff of 0.01 mm/degC will move the Z axis downwards by 0.01 mm for

# every degree Celsius that the temperature sensor increases. Defaults to

# 0.0 mm/degC, which applies no adjustment.

#smooth_time:

# Smoothing window applied to the temperature sensor, in seconds. Can reduce

# motor noise from excessive small corrections in response to sensor noise.

# The default is 2.0 seconds.

#z_adjust_off_above:

# Disables adjustments above this Z height [mm]. The last computed correction

# will remain applied until the toolhead moves below the specified Z height

# again. The default is 99999999.0 mm (always on).

#max_z_adjustment:

# Maximum absolute adjustment that can be applied to the Z axis [mm]. The

# default is 99999999.0 mm (unlimited).

#sensor_type:

#sensor_pin:

#min_temp:

#max_temp:

# Temperature sensor configuration.

# See the “extruder” section for the definition of the above

# parameters.

#gcode_id:

# See the “heater_generic” section for the definition of this

# parameter.

#```

## Customized homing

### [safe_z_home]

# Safe Z homing. One may use this mechanism to home the Z axis at a

# specific X, Y coordinate. This is useful if the toolhead, for example

# has to move to the center of the bed before Z can be homed.

#```

#[safe_z_home]

#home_xy_position:

# A X, Y coordinate (e.g. 100, 100) where the Z homing should be

# performed. This parameter must be provided.

#speed: 50.0

# Speed at which the toolhead is moved to the safe Z home

# coordinate. The default is 50 mm/s

#z_hop:

# Distance (in mm) to lift the Z axis prior to homing. This is

# applied to any homing command, even if it doesn’t home the Z axis.

# If the Z axis is already homed and the current Z position is less

# than z_hop, then this will lift the head to a height of z_hop. If

# the Z axis is not already homed the head is lifted by z_hop.

# The default is to not implement Z hop.

#z_hop_speed: 15.0

# Speed (in mm/s) at which the Z axis is lifted prior to homing. The

# default is 15 mm/s.

#move_to_previous: False

# When set to True, the X and Y axes are reset to their previous

# positions after Z axis homing. The default is False.

#```

### [homing_override]

# Homing override. One may use this mechanism to run a series of g-code

# commands in place of a G28 found in the normal g-code input. This may

# be useful on printers that require a specific procedure to home the

# machine.

#```

#[fan_generic soc-fan]

#pin: host:gpio79 #CB1

#pin: host:gpio26 #CM4

# Fan0

[fan]

pin: PF7

## Fan1

#[heater_fan fan1]

#pin: PF9

## Fan2

#[heater_fan fan2]

#pin: PF6

## Fan3

#[heater_fan fan3]

#pin: PF8

## Fan4

#[heater_fan fan4]

#pin: PA4

## Fan5

#[heater_fan fan5]

#pin: PA6

#tachometer_pin: PC2

## Fan6

#[heater_fan fan6]

#pin: PA2

#tachometer_pin: PC1

[mcu]

serial: /dev/serial/by-id/usb-Klipper_stm32h723xx_4A0016000551323235363233-if00

[printer]

kinematics: corexy

max_velocity: 300

max_accel: 3000

max_z_velocity: 5

max_z_accel: 100

########################################

# TMC5160 configuration

########################################

# # Motor1

[tmc5160 stepper_x]

cs_pin: PC13

spi_bus: spi1

run_current: 1.100

sense_resistor: 0.022

stealthchop_threshold: 999999

# Motor2

[tmc5160 stepper_y]

cs_pin: PE3

spi_bus: spi1

run_current: 1.100

sense_resistor: 0.022

stealthchop_threshold: 999999

# Motor3

[tmc5160 stepper_z]

cs_pin: PB9

spi_bus: spi1

run_current: 1.100

sense_resistor: 0.022

stealthchop_threshold: 999999

# Motor4

[tmc5160 stepper_z1]

cs_pin: PB5

spi_bus: spi1

run_current: 1.100

sense_resistor: 0.022

stealthchop_threshold: 999999

# Motor5

[tmc5160 stepper_z2]

cs_pin: PG14

spi_bus: spi1

run_current: 1.100

sense_resistor: 0.022

stealthchop_threshold: 999999

# Motor6

# [tmc5160 extruder]

# cs_pin: PG10

# spi_bus: spi1

# run_current: 1.100

# sense_resistor: 0.022

# stealthchop_threshold: 999999

# # Motor7

# [tmc5160 extruder1]

# cs_pin: PD5

# spi_bus: spi1

# run_current: 1.100

# sense_resistor: 0.022

# stealthchop_threshold: 999999

## Motor8

#[tmc2130 extruder3]

#cs_pin: PC6

#spi_software_mosi_pin: PG6

#spi_software_miso_pin: PG7

#spi_software_sclk_pin: PG8

#run_current: 0.800

#stealthchop_threshold: 999999

[board_pins]

aliases:

\# EXP1 header

EXP1_1=PE7, EXP1_2=PG1,

EXP1_3=PG0, EXP1_4=PF15,

EXP1_5=PF14, EXP1_6=PF13,    # Slot in the socket on this side

EXP1_7=PF12, EXP1_8=PF11,

EXP1_9=<GND>, EXP1_10=<5V>,



\# EXP2 header

EXP2_1=PE13, EXP2_2=PE12,

EXP2_3=PE15, EXP2_4=PE11,

EXP2_5=PE10, EXP2_6=PE14,      # Slot in the socket on this side

EXP2_7=PE8, EXP2_8=<RST>,

EXP2_9=<GND>, EXP2_10=<NC>

# See the sample-lcd.cfg file for definitions of common LCD displays.

#[adxl345]

#cs_pin: PA15

#spi_bus: spi3a

#[bltouch]

#sensor_pin: PD13

#control_pin: PD12

## Proximity switch

#[probe]

#pin: PD8

#[output_pin ps_on_pin]

#pin: PD14

#[neopixel my_neopixel_1]

#pin: PD15

#[hall_filament_width_sensor]

#adc1: PC0

#adc2: PF10

config-20250829-201213.zip (8.1 KB)

Can someone please help me fixing this issue?

Thanks.

Hello @Mattias !

Instead of deleting the template, please stick to it: How-To Ask for Help.

Please try again.

4 Likes