Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
5 years 2 months ago - 5 years 2 months ago #217363 by Zuo99

巴里帖子=217360 用户ID=1324请张贴您的接线和您控制的机器的图片。

Below is my picture.
Figure 1 is my wiring diagram, according to the REMORA document, DuPont line.
Figure 2 is my drive. I used a switched external drive DM542, like the following:
www.cncrouter.gr/3d-printers-cnc/cnc-3d/...230-converter-cable/
Figure 3 is my workbench, driven by a 57 stepper motor. In fact, this is the reason why I use DM542.

I think the problem may not be the latter two, because there will be errors when the drive is not connected (just simply connect the Raspberry Pi and SKR).
Last edit: 5 years 2 months ago by Zuo99. Reason: something wrong

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #217365 by Bari
www.forum.linuxcnc.org/media/kunena/attachments/29932/01.jpg the SPI signals are too high a clock rate for wiring of this type.

You want the wires as short as possible and run in parallel with really good grounds. take a look at this previous post of a working cable www.forum.linuxcnc.org/media/kunena/atta...54/remoraadapter.PNG

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #217366 by Zuo99

巴里帖子=217365 用户ID=1324https://www.forum.linuxcnc.org/media/kunena/attachments/29932/01.jpg SPI 信号的时钟频率对于这种类型的接线来说太高了。

您希望电线尽可能短,并与非常好的接地平行。看看这个工作电缆的前一篇文章 www.forum.linuxcnc.org/media/kunena/atta...54/remoraadapter.PNG

This is also a possible reason, thank you for your reply, I will try to change the way of wiring. thank you very much for your help.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #217479 by gtt38
Did someone try SPI1 on the RPI ? (second SPI port)

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #217616 by Cncninja
Hey Scotta, could you look at the 4 axis mill files I posted I'm not having luck with it working I used the config app for the i/o and added the 4th to the existing but something seems to be missing.

Thank you

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #217653 by Aaroncnc
I am on mobile and looked at the zip.
Your Hal file is lacking any linking of the io
Take a look at the remora docs I added some Hal examples for the io.

Let me know if anything is unclear and I will help and try to add more to the docs

Please Log in or Create an account to join the conversation.

Time to create page: 0.270 seconds
Powered by Kunena Forum