bigtreetech / Manta-E3EZ

70 stars 9 forks source link

How to setup the internal CAN interface? #1

Closed rclarke250 closed 1 year ago

rclarke250 commented 1 year ago

config says CAN bus (on PB12/PB13) and that is not a choice in make menuconfig. So how does one setup the internal CAN interface with a CB1 mounted on the board?

emersonsc commented 1 year ago

Looks like there is a pull request but Kevin being Kevin has an issue with something stupid and its being held up.

looxonline commented 1 year ago

For now, you'll need to use the BTT klipper branch where it is supported until Kev upstreams it. https://github.com/Klipper3d/klipper/pull/5981

JamesH1978 commented 1 year ago

The issue is that the files submitted in the PR https://github.com/Klipper3d/klipper/pull/5981 , contain sections for a [tmc2240] module which does not exist in mainline klipper. Until btt submits this modile to add the functionality the PR will probably stay stale.

Thanks James

rclarke250 commented 1 year ago

The latest Klipper3d update allowed me to get CAN functioning. A setup guide in the manual would be helpful for those not familiar with using USB to CAN bridge mode.

hauserkristof commented 12 months ago

Hi @rclarke250 !

Can you help me with enabling the CAN Bus on the device? I'm struggling with it a bit.

Thank you in advance, Kristóf

rclarke250 commented 12 months ago

Hi @rclarke250 !

Can you help me with enabling the CAN Bus on the device? I'm struggling with it a bit.

Thank you in advance, Kristóf

Sure what do you need help with?

yourbuddydinec commented 11 months ago

Hi @rclarke250 ! Can you help me with enabling the CAN Bus on the device? I'm struggling with it a bit. Thank you in advance, Kristóf

Sure what do you need help with?

I was curious what you chose for the pins on katapult/Canboot. It looks like on the E3EZ it should be the PC12/PB13 but the only choice in Canboot is PD12/PD13

rclarke250 commented 11 months ago

I didn't use Canboot. I just used Klipper make menuconfig...set the STM device to USB bridge mode, and set the pins for can, make and copied to a microsd after changing klipper.bin to firmware.bin and booting the machine.

Deapper commented 11 months ago

I didn't use Canboot. I just used Klipper make menuconfig...set the STM device to USB bridge mode, and set the pins for can, make and copied to a microsd after changing klipper.bin to firmware.bin and booting the machine.

Do you use an EBB tool head? I setup the MCU for canbus but could not see the ebb42 I have. I could see the Manta no problem. And seemed quite easy to setup

I followed this guide https://www.youtube.com/watch?v=EA-oBfenxAE&t=160s

rclarke250 commented 11 months ago

Yes, I actually have 2 EZ boards, one on an Ender 3 pro with CAN to an EBB42, and another in an Artist-D pro running 2 EBB42 in Idex with BTT H2's.

On Sun, Aug 13, 2023, 7:05 AM Decapper @.***> wrote:

I didn't use Canboot. I just used Klipper make menuconfig...set the STM device to USB bridge mode, and set the pins for can, make and copied to a microsd after changing klipper.bin to firmware.bin and booting the machine.

Do you use an EBB tool head? I setup the MCU for canbus but could not see the ebb42 I have.

I followed this guide https://www.youtube.com/watch?v=EA-oBfenxAE&t=160s

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/Manta-E3EZ/issues/1#issuecomment-1676322176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AORZE7EVRQRU53WL5H2GICLXVCYJLANCNFSM6AAAAAAT5HJGA4 . You are receiving this because you were mentioned.Message ID: @.***>

Deapper commented 11 months ago

So do you use the following under make menuconfig? USB bridge - CANBUS - PB12 PB13? Both Manta and EBB42 usb to (CAN bus (on PB0/PB1)?

Also what baudrate do you use? 1000000?

And do you have the 120omh pin shorted on both Manta and EBB42?

thanks

rclarke250 commented 11 months ago

The Manta yes, USB-Canbus-PB12,PB13. The EBB Canbus PB0,PB1 I used Baud rate 500000. Doesn't seem to be an issue. And yes, 120 Ohm jumper on each. cable has to be twisted, with High to High, Low to Low. Doesn't need to have a lot of twist, I also twisted my Power cables with it, and is working okay.

Deapper commented 11 months ago

Thank you.