Basic Information:
Printer Model: Custom
MCU / Printerboard: Manta M8P
Host / SBC CB2
klippy.log
klippy.log (2.7 MB)
Fill out above information and in all cases attach your klippy.log
file (use zip to compress it, if too big). Pasting your printer.cfg
is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
…
Has anyone configured properly the CB2 GPIOs??
I mean, I’m trying to set their correct names but some of them don’t make sense for me.
I have taken a look at the oficial documentation of bigtreetech and have found this and some other images:
Also this is what the CB2 Manual says:
I don’t know which name take because the following:
If i try to use the first name, for example the ones as “GPIO0_B0”, klipper says that this is not a valid pin name. But for example if i take a look in the ones that are as “gpio1”, it doesn’t make sense because for example the pin 7 and pin 7 and 15 have the same name (gpio1)
Also, I don’t understand the calculation method.
The pins i’m trynig to configure are the following:
# CB2 (gpio) Pins
[board_pins CB2]
mcu: CB2
aliases:
PIN_7=GPIO3_A1,
PIN_11=GPIO0_C7,
PIN_12=GPIO0_B0,
PIN_13=GPIO1_A0,
PIN_15=GPIO1_A1,
PIN_16=GPIO4_C6,
PIN_18=GPIO4_A3,
PIN_26=GPIO0_A6,
PIN_28=GPIO0_B3,
# Controller fan
PI_FAN=gpio19 # pin 37 on the manta board's gpio pins
As previous reference… I’m going to use the same pins as the one I used with CB1, which are the following:
# CB1 (gpio) Pins
[board_pins CB1]
mcu: CB1
aliases:
# Motor alarm
PIN_7=gpio270,
PIN_11=gpio271,
PIN_12=gpio263,
PIN_13=gpio262,
PIN_15=gpio260,
PIN_16=gpio261,
PIN_18=gpio259,
PIN_26=gpio267,
PIN_28=gpio266,
# Controller fan
PI_FAN=gpio269 # pin 37 on the manta board's gpio pins
Also mention that I use a pcb i created for extracting these pins:
Any ideas?
Thanks!