bigtreetech / Manta-M8P

215 stars 50 forks source link

Pin issue #88

Open dunbard0401 opened 1 year ago

dunbard0401 commented 1 year ago

I've prepped an OS image for my Manta M8P w/ CB1 (no eMMC), added the "generic-bigtreetech-manta-m8p-V2_0.cfg" config file, and i get this error on startup: Screenshot 2023-10-18 203851

dunbard0401 commented 1 year ago

this is the config file:

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: 235 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: 235 homing_speed: 50

Motor3

[stepper_z] step_pin: PB8 dir_pin: !PB7 enable_pin: !PE0 microsteps: 16 rotation_distance: 8 endstop_pin: ^PF2 position_endstop: 0 position_max: 270 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

...

Motor5

[extruder] step_pin: PG13 dir_pin: PG12 enable_pin: !PG15 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: 250

End-Stop 5

[filament_switch_sensor material_0]

switch_pin: PF0

Motor6

[extruder1]

step_pin: PG9

dir_pin: PD7

enable_pin: !PG11

heater_pin: PA1 # HE1

sensor_pin: PC5 # T1

...

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: 130

[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: PA8

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_stm32g0b1xx_0E00290009504B4633373520-if00

[printer] kinematics: cartesian max_velocity: 300 max_accel: 3000 max_z_velocity: 5 max_z_accel: 100

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

TMC2209 configuration

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

Motor1

[tmc2209 stepper_x]

uart_pin: PC13

diag_pin: PF4

run_current: 0.800

stealthchop_threshold: 999999

Motor2

[tmc2209 stepper_y]

uart_pin: PE3

diag_pin: PF3

run_current: 0.800

stealthchop_threshold: 999999

Motor3

[tmc2209 stepper_z]

uart_pin: PB9

diag_pin: PF2

run_current: 0.650

stealthchop_threshold: 999999

Motor4

[tmc2209 stepper_]

uart_pin: PB5

diag_pin: PF1

run_current: 0.650

stealthchop_threshold: 999999

Motor5

[tmc2209 extruder]

uart_pin: PG14

run_current: 0.800

stealthchop_threshold: 999999

Motor6

[tmc2209 extruder1]

uart_pin: PG10

run_current: 0.800

stealthchop_threshold: 999999

Motor7

[tmc2209 extruder2]

uart_pin: PD5

run_current: 0.800

stealthchop_threshold: 999999

Motor8

[tmc2209 extruder3]

uart_pin: PC6

run_current: 0.800

stealthchop_threshold: 999999

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

TMC2130 configuration

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

Motor1

[tmc2130 stepper_x]

cs_pin: PC13

spi_software_mosi_pin: PG6

spi_software_miso_pin: PG7

spi_software_sclk_pin: PG8

diag1_pin: PF4

run_current: 0.800

stealthchop_threshold: 999999

Motor2

[tmc2130 stepper_y]

cs_pin: PE3

spi_software_mosi_pin: PG6

spi_software_miso_pin: PG7

spi_software_sclk_pin: PG8

diag1_pin: PF3

run_current: 0.800

stealthchop_threshold: 999999

Motor3

[tmc2130 stepper_z]

cs_pin: PB9

spi_software_mosi_pin: PG6

spi_software_miso_pin: PG7

spi_software_sclk_pin: PG8

diag1_pin: PF2

run_current: 0.650

stealthchop_threshold: 999999

Motor4

[tmc2130 stepper_]

cs_pin: PB5

spi_software_mosi_pin: PG6

spi_software_miso_pin: PG7

spi_software_sclk_pin: PG8

diag1_pin: PF1

run_current: 0.800

stealthchop_threshold: 999999

Motor5

[tmc2130 extruder]

cs_pin: PG14

spi_software_mosi_pin: PG6

spi_software_miso_pin: PG7

spi_software_sclk_pin: PG8

run_current: 0.800

stealthchop_threshold: 999999

Motor6

[tmc2130 extruder1]

cs_pin: PG10

spi_software_mosi_pin: PG6

spi_software_miso_pin: PG7

spi_software_sclk_pin: PG8

run_current: 0.800

stealthchop_threshold: 999999

Motor7

[tmc2130 extruder2]

cs_pin: PD5

spi_software_mosi_pin: PG6

spi_software_miso_pin: PG7

spi_software_sclk_pin: PG8

run_current: 0.800

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