- Posts: 3
- Thank you received: 0
LinuxCNC + Orange Pi (allwincnc)
- fb
- Offline
- New Member
-
Less
More
6 years 5 months ago - 6 years 5 months ago #168348
by fb
Replied by fb on topic LinuxCNC + Orange Pi
Oh my, this looks amazing!
I've just been getting into linuxcnc and having trouble finding/choosing modern hardware that will actually be affordable and provide decent latency.
I almost can't believe that the H2/H3 chips have a separate RISC chip so suitable for pulse generation - kind of a dream come true (particularly because I already own a bunch of these).
If it works as well as I hope, I can't help but think that this post should possibly be getting more attention.
Big thanks to MX_Master for his work on this - can't wait to test it out and see how I go! (will be sure to report back here).
Exciting stuff.
I've just been getting into linuxcnc and having trouble finding/choosing modern hardware that will actually be affordable and provide decent latency.
I almost can't believe that the H2/H3 chips have a separate RISC chip so suitable for pulse generation - kind of a dream come true (particularly because I already own a bunch of these).
If it works as well as I hope, I can't help but think that this post should possibly be getting more attention.
Big thanks to MX_Master for his work on this - can't wait to test it out and see how I go! (will be sure to report back here).
Exciting stuff.
Last edit: 6 years 5 months ago by fb.
Please Log in or Create an account to join the conversation.
- MX_Master
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 48
6 years 5 months ago #168400
by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
Added support of H5 boards (arm64/aarch64).
H6 support is coming...
H6 support is coming...
Please Log in or Create an account to join the conversation.
- Blake_Volpex
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
6 years 5 months ago #168464
by Blake_Volpex
Replied by Blake_Volpex on topic LinuxCNC + Orange Pi
I haven't had a ton of time to work on the board but it's coming along.
I'm using the trinamic drivers common with 3d printers (though the TMC5160 I'm using is much more powerful).
Among other things they support stall detection (though that requires some tuning).
What about supporting spi for controlling the stepper drivers?
That adds a ton of possible features.
blog.trinamic.com/2018/04/09/realtime-mo...thout-a-realtime-os/
I'm using the trinamic drivers common with 3d printers (though the TMC5160 I'm using is much more powerful).
Among other things they support stall detection (though that requires some tuning).
What about supporting spi for controlling the stepper drivers?
That adds a ton of possible features.
blog.trinamic.com/2018/04/09/realtime-mo...thout-a-realtime-os/
Please Log in or Create an account to join the conversation.
- MX_Master
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 48
6 years 5 months ago #168471
by MX_Master
Replied by MX_Master on topic LinuxCNC + Orange Pi
Stepper drivers with SPI interface are not general in use
There are some other drivers with SPI interface at the market right now. And each device has a very own method of usage. STEP/PWM/DIR are more general.
But if you have some time, you can make an SPI driver for the TMC5160 by yourself. There is an example SPI driver for the Raspberry Pi here:
github.com/machinekit/machinekit-hal/blo...al/drivers/hal_spi.h
github.com/machinekit/machinekit-hal/blo...al/drivers/hal_spi.c
But if you have some time, you can make an SPI driver for the TMC5160 by yourself. There is an example SPI driver for the Raspberry Pi here:
github.com/machinekit/machinekit-hal/blo...al/drivers/hal_spi.h
github.com/machinekit/machinekit-hal/blo...al/drivers/hal_spi.c
Please Log in or Create an account to join the conversation.
- Bari
- Offline
- Platinum Member
-
Less
More
- Posts: 639
- Thank you received: 234
6 years 5 months ago #168501
by Bari
Replied by Bari on topic LinuxCNC + Orange Pi
Why would you want to use SPI for controlling motion with the TMC5160 when you have Step and Dir? SPI is not a long distance bus.
Please Log in or Create an account to join the conversation.
- Blake_Volpex
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
6 years 5 months ago #168511
by Blake_Volpex
Replied by Blake_Volpex on topic LinuxCNC + Orange Pi
SPI is faster, lower overhead, uses fewer pins, and exposes a ton of tuning features.
Why would it need to be long distance?
Why would it need to be long distance?
Please Log in or Create an account to join the conversation.
Time to create page: 0.355 seconds