LinuxCNC + Orange Pi (allwincnc)

More
6 years 5 months ago #168512 by Bari
Replied by Bari on topic LinuxCNC + Orange Pi
SPI can be used for tuning. That is not a problem since the Allwinners have a working SPI interface.

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

More
6 years 5 months ago #168517 by Blake_Volpex
Replied by Blake_Volpex on topic LinuxCNC + Orange Pi
I'm not sure that's possible on the trinamic drivers, they are in step/direction mode or SPI.
Besides it ignores all the other advantages.
I will make my first prototype board to allow switching (with jumpers) and see about the software side.

Also I'm still curios what you meant by "long distance"
The drivers would be in the same enclosure as the orange pi, and I think spi is good to several feet.

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

More
6 years 5 months ago #169198 by fb
Replied by fb on topic LinuxCNC + Orange Pi
Hi MX_Master,

So I've got linuxcnc up and running on my orange pi (installer script works extremely well, thank you for all your work on that) - I haven't actually connected it to driver/motors quite yet, but I ran the latency test and note that jitter/latency is still quite high.

Is this something I should be concerned about, or does the jitter/normal latency not matter so much given that stepgen can now run on the separate RISC core (ie: not shared with the main CPU/kernel)?

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

More
6 years 5 months ago #169199 by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
Latency values for these boards are all about 50-100 us. Old kernel and OS versions has a bit better values. But when we using a separated CPU core, these latency values can be ignored.

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

More
6 years 5 months ago #169378 by fb
Replied by fb on topic LinuxCNC + Orange Pi

MX_Master wrote: ... But when we using a separated CPU core, these latency values can be ignored.


This is amazing news. I'm going to try things out properly with actual hardware very soon.

Is it just me, or does this make the orangepi's (or rather, the Allwinner H3/5/6 CPUs) kind of the ultimate platform in terms of cost vs performance for linuxcnc/machinekit?

I feel like this should be getting more attention :)

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

More
6 years 5 months ago - 6 years 5 months ago #169387 by gello0
Replied by gello0 on topic LinuxCNC + Orange Pi
I am trying to install this on my orange pi zero (allwinner H2+) with latest armbian bionic but i keep getting these errors

install.log

Thank you.
Last edit: 6 years 5 months ago by gello0.

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

Time to create page: 0.466 seconds
Powered by Kunena Forum