Help Diagnosing SPI communication issues

Basic Information:

Printer Model: Neptune 2
MCU / Printerboard: BTT Manta M5P
Host / SBC: BTT CB1
klippy.log klippy(6).log (1.2 MB)

Describe your issue:

I am new to klipper. Changed out the mainboard of my printer from a robin to the BTT Manta M5P. I believe I have all the right jumpers in the right places, however when I try to home any axis I receive the error “Unable to write tmc spi ‘stepper_x’ register CHOPCONF”. I have checked the SPI jumpers, the drivers have 5v and the motors are receiving 24v. Ive tried changing from spi bus to the three seperate sw spi config lines.

If someone could help me with what next steps can help diagnose this issue I would be grateful.

Can you show the jumper configuration that you’ve tried.

Also, what kind of stepper driver modules are you using?

I have 4 TMC2130 drivers installed. Have pulled x driver for picture.

Okay, what I can’t see is how you have jumpered the Driver Voltage Selection power terminal pins as per the User Manual:

image

Now, when I look at your klippy.log, I see that you don’t have a clean Klipper version (and it’s very downlevel):

Loaded MCU 'mcu' 106 commands (v0.12.0-125-gbfb71bc2-dirty-20240825_064601-BTT-CB1 / gcc: (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] binutils: (2.35.2-2+14+b2) 2.35.2)

Could you:

  1. Update your Klipper version and make sure it doesn’t come across as “dirty”.
  2. Show how you’re setting the Driver Voltage Selection pins

However, before anything can be done, the Klipper version needs to be brought up to the latest version (v0.12.0-286-g81de9a86) and it cannot be dirty.

I’m updating klipper and have taken an image of voltage selection pins

klippy.log (316.4 KB)
Unfortunately same fault with updated klipper version

I’m stumped.

The only things I see that I’m not sure of is the lack of the DIAG pin soldered to the Driver Modules (you seem to have the jumpers in to use the pin for sensorless homing, but a missing connection might give you an error, but not one where it’s trying to access registers in the TMC2130.

You’ve selected the 24V coming in so power should be okay. Jumpers look good.

Do you have anything plugged into the EXP1/EXP2 connectors? Any SPI devices attached to the SPI1 connector? Do you have an SD Card plugged into “MCU-CARD” slot (I can see the micro SD card in the “SOC Card” slot).

Maybe somebody else has an idea.

Have you tried to use the hardware SPI as recommended in the official BTT config? Manta-M5P/Firmware/Klipper/generic-bigtreetech-manta-m5p.cfg at master · bigtreetech/Manta-M5P · GitHub

Hi, it has taken me a while to source parts that are not causing issues (multiple orders from different suppliers of DOA drivers). I have resolved the klipper part of this issue.
Issue stemmed from all stepper drivers presetup for spi but none actually able to communicate.
Thank you all

Could you update us with your system as well as a klippy.log? I’m not sure what you mean by “DOA drivers” - are you talking about hardware or software?

The issue is now resolved. The stepper driver TMC2130 set I was using while setup for SPI were non functional. DOA as in dead on arrival. I ordered a new set of drivers from a reputable source with the same issues, the third set worked out of the box and proved it was, after all, a hardware issue.

Maybe you can name the “reputable source” if you got bad drivers or at least contact them and post their response.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.