PIN PB833 is not a valid pin name on mcu

Basic Information:

Printer Model:
MCU / Printerboard:
Host / SBC
klippy.log

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:

I have a QIDI Q2 using Qidi studio and I was trying to do a z offset. The Motherboard is the QIDI Motherboard.

After entering the new z-offset number on line 428 of printer.cfg, and a save and restart, I got a message “PIN PB833 is not a valid pin name on mcu”. I’m new to 3d printing and have no idea how to fix it. Please help. I uploaded the klippy log.

Thank you

klippy.zip (919.2 KB)

Hello @Pops57 !

Pin 'PB833' is not a valid pin name on mcu 'mcu'

This error message is quite self explaining.

[tmc2240 stepper_x]
spi_software_sclk_pin = PA5
spi_software_miso_pin = PA6
spi_software_mosi_pin = PA7
spi_speed = 200000
cs_pin = PC12
diag0_pin = !PB833
             ^^^^^
interpolate = true
run_current = 1.07
stealthchop_threshold = 0
driver_sgt = 1

Have you tried with a different setting?
Maybe just

diag0_pin = !PB8

(Found in a different thread with the same printer)

1 Like

yes, thank you, removing 33 and keeping 8 worked.

thank you

2 Likes