bigtreetech / Manta-M4P

46 stars 13 forks source link

M4P / M8P CAN support with EBB42 #4

Open cstrachan88 opened 1 year ago

cstrachan88 commented 1 year ago

I would like to use the M4P (with a Raspberry Pi CM4) and the EBB42 tool board. Is this combination possible? I will be running Klipper on the raspberry pi which supports CAN, but there are no shown outputs to connect to the EBB42 board. Would using the U2C as an intermediary suffice?

If not, are there any plans for future M4P style boards with CAN capabilities? If the M4P had the EZ style motor controllers, CAN-FD, and an CM4 socket, it would be perfect.

TURNERO commented 1 year ago

I've not tried yet, since my board hasn't arrived but I'm planning on using one of the UART ports on the board to drive an SN65HVD230 canbus tranceiver. These instructions are confirmed to work for other MCUs, not just the PICO: https://github.com/rootiest/zippy-klipper_config/blob/master/guides/Guide-pico_can.md.

I'll let you know at the weekend if it works. If my board doesn't arrive soon, I'll try it with my SKR 1.3.

It's frustrating they didn't add the CAN chip and port to the board. I think it's where things are going.

tnap1979 commented 1 year ago

You can use the u2c with ebb42 just fine, as the u2c acts as a USB mcu with can support

dury10 commented 1 year ago

I've not tried yet, since my board hasn't arrived but I'm planning on using one of the UART ports on the board to drive an SN65HVD230 canbus tranceiver. These instructions are confirmed to work for other MCUs, not just the PICO: https://github.com/rootiest/zippy-klipper_config/blob/master/guides/Guide-pico_can.md.

I'll let you know at the weekend if it works. If my board doesn't arrive soon, I'll try it with my SKR 1.3.

It's frustrating they didn't add the CAN chip and port to the board. I think it's where things are going.

did you manage to make it run on can?

Coolbobjoe commented 8 months ago

You can use the u2c with ebb42 just fine, as the u2c acts as a USB mcu with can support

Have you figured out how to do this? I cannot for the life of me get a usable uuid off the device and have semi-confirmed I dont have a bad chip by flashing within STM32.