silverfields1
New member
Hello all. I'm working on a 2.4 kit, and I have the Manta M8P board, with the CB1. I have four BTT TMC2209 drivers for the Z motors, and the BTT TMC2240 drivers for the A&B motors. I'm wanting the use the 2240 on the A/B to see if they provide better performance.
I'm trying to get an initial take of my printer config file created so that I can get Klipper to run. I'm not yet trying to test any of the hardware, just getting Klipper running with no errors.
I've done a lot of reading, and gone over the Bigtree Tech docs, but I'm not understanding it all, and a lot seems to be missing. For reference, these are the documents I'm using:
First issue is, I can see in the example cfg file the values PE2, PB4, PC11, PF3 are all referenced in the [stepper_x] section with PC10 referenced in the [tmc2209 stepper_x] section. In the pin out image, I do see PF3 in the end stops, and I see the other pins in the green box with the blue last row in the M1 column. Fine. But what about for SPI? It looks like in the on the TMC2240 Product Page that the driver only works in SPI mode, not UART. I do not know why this is, and the driver chip itself does support UART. So do I need to just use the CS pin for the part_pin: entry in the tmc2209 sections, and also for the cs_pin: entry in the tmc2240 sections, with the actual stepper section the same either way?
The second issue is, are the TMC2240 on an SPI bus, or addressed individually? The config reference shows entries for sclk, mosi, and miso pins, and in the pin out image I do see I the top blue box those listed, so are they the same for every TMC2240 entry in the config file?
Does anyone have an example of TMC2240 usage?
Any help appreciated!
I'm trying to get an initial take of my printer config file created so that I can get Klipper to run. I'm not yet trying to test any of the hardware, just getting Klipper running with no errors.
I've done a lot of reading, and gone over the Bigtree Tech docs, but I'm not understanding it all, and a lot seems to be missing. For reference, these are the documents I'm using:
- The Manta ver 1.1 pin out image
- The VORON Design M8P wiring guide
- The Klipper3D config reference for the TMC2240
- The VORON Design example M8P 1.0 printer.cfg
First issue is, I can see in the example cfg file the values PE2, PB4, PC11, PF3 are all referenced in the [stepper_x] section with PC10 referenced in the [tmc2209 stepper_x] section. In the pin out image, I do see PF3 in the end stops, and I see the other pins in the green box with the blue last row in the M1 column. Fine. But what about for SPI? It looks like in the on the TMC2240 Product Page that the driver only works in SPI mode, not UART. I do not know why this is, and the driver chip itself does support UART. So do I need to just use the CS pin for the part_pin: entry in the tmc2209 sections, and also for the cs_pin: entry in the tmc2240 sections, with the actual stepper section the same either way?
The second issue is, are the TMC2240 on an SPI bus, or addressed individually? The config reference shows entries for sclk, mosi, and miso pins, and in the pin out image I do see I the top blue box those listed, so are they the same for every TMC2240 entry in the config file?
Does anyone have an example of TMC2240 usage?
Any help appreciated!