makerbase-mks / MKS-SKIPR

MKS SKIPR is an all-in-one board launched by Makerbase for running Klipper. It integrates the RK3328 SOC running the Klipper host and the STM32F407VET6 MCU responsible for executing specific machine actions. It meets the use of most 3D printers.
GNU General Public License v3.0
91 stars 15 forks source link

CANBUS #12

Open Crockett230 opened 1 year ago

Crockett230 commented 1 year ago

How can I activate and use the CANBUS, otherwise the MKS Skipr is not usable for me?

G4Cab commented 1 year ago

Good question, how do we activate CAN ?

Some more documentation / WIKI would be nice.

Johnnyyr commented 1 year ago

I would also be interested in that and are all common pcb supported or do you have a special solution? Before I order the part from Ali, that would be interesting.

Crockett230 commented 1 year ago

I use U2C ModulJ+M GebauerAm 06.12.2022 um 07:23 schrieb Johnny @.***>: I would also be interested in that and are all common pcb supported or do you have a special solution? Before I order the part from Ali, that would be interesting.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Johnnyyr commented 1 year ago

I would have just because you actually do not need u2c this board, but whether that is now really so, somehow no one can say. otherwise the board makes no sense to me. adapter, adpater......... we are here but not at apple :-)

Crockett230 commented 1 year ago

sorry for my bad english …J+M GebauerAm 06.12.2022 um 09:20 schrieb Johnny @.***>: I would have just because you actually do not need u2c this board, but whether that is now really so, somehow no one can say. otherwise the board makes no sense to me. adapter, adpater......... we are here but not at apple :-)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

opiswahn commented 1 year ago

It somewhat works, i could flash my Fly SB2040 Toolhead board in USB2CAN mode, but i am required to use both CAN and USB cable to work. I can send commands to the toolhead board, but only if both cables are connected. Is either one is not connected it won't work... I don't really understand how CAN is supposed to work on this board, it does not make sense...

bmasencup commented 1 year ago

I also bought this board because of built in canbus. I cannot get it working. I followed the instructions in the wiki on using the THR42, but for one I am pretty sure the can interface setup document has some mis information (can vs can0), and I still cannot get it to recognize the canbus adapter.

G4Cab commented 1 year ago

https://klipper.discourse.group/t/mks-skipr-can-bus/5377

Radulfus commented 1 year ago

If you follow G4Cabs link to klipper.discourse you'll see our progress in the issue analysis. I have measured the CAN-bus with an oszilloskop and a logic analyzer. We have no CAN-bus traffic, no signals from the MCU on pins PB12/13 to the transceiver. So, IMHO the MCU (STM32F407) is not proper initalized for CAN-bus communication. The BTT Octopus Board has a similar CAN-bus hardware implementation and CAN-bus works flawless. The only difference between MKS SKIPR and BTT Octopus is the MCU Type (STM32F446). I suppose somthing between this two MCU is differnt related to the CAN-bus configuration. That could be the fault. So IMHO it is up to the Klipper developers to help.

G4Cab commented 1 year ago

Just for Info, big process on discourse. https://klipper.discourse.group/t/mks-skipr-can-bus/5377/80

we realized that mks used the second can interface on the skipr. Kevin o'Connor had found a little problem on the stm32 First tests are promising, and i have a connection via the onboard can connector to my toolhead 😎

Radulfus commented 1 year ago

Issue is solved! https://klipper.discourse.group/t/mks-skipr-can-bus/5377/90?u=cosmicos