-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CAN Klipper reserved pin problem EBB36 / Manta E3EZ #115
Comments
I have the same problem, I have the ebb with usb communication plus the two power cables, when I turn it on it tells me that PIN PB13 is reserved for SPI2, have you found a solution?. Thanks |
I have now switched and use the CAN lines for USB. This works for the E3EZ + EBB36 combination. As for your problem, maybe a pin is named wrong? PB13 is actually the Heater pin on v1.2, SPI2 is PB12. Which boards are you using? |
Exactly the same board, the E3EZ blanket. Thanks for answering, I've also sent a ticket to BTT, let's see if they answer me |
Then it can only be a config problem... Firmware is Armbian 24.2.3 Bookworm with Linux 6.1.79-legacy-sun50iw9-btt |
Thanks. |
I put an older version of the EBB CAN frimware, the error did not come out, I asked to update, it updates everything but the EBB, I downloaded the latest firmware_usb.bin version from the official repository and nothing. What version of the EBB mcu do you have?? I currently have: |
That's right, I did not use the pre-built firmware. I followed the instructions for Canboot (now Katapult). |
Ok, so you have it connected by CAN, instead of USB? |
No, as I said, I use USB. (https://lab4450.com/latest-projects/upgrade-can-ebb36-to-usb-toolhead/) |
The board sees the EBB36. I will take a look at the information you have given me, thank you very much |
Good morning. |
Can you pls upload your Klipper configs for EBB & E3EZ? |
I don't have everything done, as I first tried to link the E3EZ board with the EBB and then connect everything and finish the printer with its macros... |
That's crazy, there is no double reference to PB13, so where is this error message coming from? |
However, it appears that the board is faulty. Do you have the option of returning it? |
I opened a ticket on the official BTT website where I bought it, but they don't answer |
### [edit] Solved it - need to use software SPI for the ADXL! Solution on top, original post below[/edit] Correct and working conf for the ADXL345 on the EBB toolheads - is a direct copy of the relevant section of the
My config - manually created - only contained the cs_pin assignment, meaning it tried to use HW SPI, which seems to conflict. As soon as I added software SPI pin defs, it worked just fine. On to finishing my build, hope it helps someone else not bash their head against the wall in frustration. [Original post] As soon as I try to setup the ADXL345, it tells me that PB13 is reserved for spi2 and it cannot start. As above, I have only one reference to PB13, as in:
Only when I comment out the adxl section will Klipper start and connect. Otherwise, it gives the exact same error message of:
Katapult is freshly checked out and compiled, so is Klipper on both main and toolhead boards. Everything else seems to work fine, I didn't have the same problem with an EBB42 board on my other printer, no clue ATM what the problem is or how to fix it. I will test using the default bootloader with vanilla klipper and whether that makes a difference, that's the only thing I can think of trying RN - any other ideas for possible solutions? |
Good morning, my problem was a faulty board, with its replacement it was easier to solve. |
when you say "faulty board" do you mean your main board, u2c, ebb36? I have a Manta m8p v1.0, u2c v2.1, and ebb2240 and I'm getting the same error. I don't really see how a new board will fix this issue, as it would be in the coding?. The heater pin will always be PB13 for the heater, as this is how it appears in their schematics. I've tried starting from scratch twice now, it only worked the first install for about 10 min before the first reboot, then all I have been getting afterwards is the PB13 reserved problem. Quite frustrating that using all BTT products, would leave me without a working system... |
If it was the defective EBB36, I don't know why. I couldn't tell you, just check that the firmware you introduce is the right one. |
Ok thanks, at least that is the cheaper board to replace 😅 I've definitely made sure to have all the correct firmware, as it did work temporarily the first install. Then nothing was touched, aside from a reboot, and will not work. I've even gone as far as trying older firmware with fresh installs, and different issues arose with no communication to EBB bus, or the same pin error. But I will try a new EBB board, thank you for the advice. |
Hi duder, did you try the solution I posted a couple of messages above, enabling Software SPI instead of Hardware SPI by defining the spi_software_sclk_pin: EBBCan:PB10 not just cs_pin: EBBCan:PB12 on its own? Worked for me... Of course, you could have a defective board, but hey, worth a try before you buy a new one... Regards |
I'm sorry I can't help you more. |
I have a EBB SB2240, and in the sample CFG this is how it is written already. But thank you for the suggestion, obviously I would also like to try all avenues before buying a new board 🤭 |
I have the problem that some of the specified pins are already reserved for CAN. This means that I cannot use the ADXL cs_pin: EBBCan:PB12. Klipper gives error, is reserved for CAN. The E3EZ uses PB12 and PB13 for CAN communication.
I also cannot use the heater_pin: EBBCan:PB13, also reserved for CAN.
So can I not use CAN in this board combination?
The text was updated successfully, but these errors were encountered: