- Hardware & Machines
- Computers and Hardware
- LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
- meister
- Offline
- Platinum Member
Less
More
- Posts: 486
- Thank you received: 307
18 May 2023 13:30 - 12 Aug 2024 13:29 #271608
by meister
LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5) was created by meister
LinuxCNC-RIO is a code generator for using FPGA boards as Realtime-IO for LinuxCNC.
Furthermore, the complete configuration and hal is generated.
a json configuration file serves as the basis
github.com/multigcs/riocore
youtube.com/shorts/G5V5OM_ORsk?feature=share
Furthermore, the complete configuration and hal is generated.
a json configuration file serves as the basis
- no Soft-Core / logic only
- no jitter
- fast and small
- communication via SPI (with Raspberry PI 4) or Ethernet
- generated verilog-code / setup via json files (free pin-selection)
- using free FPGA-Toolchain or commercial (depends on the FPGA)
- runs on many FPGA's (like ICE40, ECP5, MAX10, Artix7, Gowin, CycloneIV, ...)
- supports Open and Closed-Loop
- multiple and mixed joint types (like Stepper, DC-Servo, RC-Servo)
github.com/multigcs/riocore
youtube.com/shorts/G5V5OM_ORsk?feature=share
Last edit: 12 Aug 2024 13:29 by meister. Reason: updated info
The following user(s) said Thank You: tommylight, itai, aparecido, besriworld, MaxEkb77, cakeslob, Aciera, rounyworks, DHeineck
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
Less
More
- Posts: 486
- Thank you received: 307
20 May 2023 13:54 #271745
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
new demo video
The following user(s) said Thank You: tommylight, 0x2102, rounyworks
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
Less
More
- Posts: 486
- Thank you received: 307
24 May 2023 18:47 #272095
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
No comments ? really ?
Features-List:
* Digital Input
* Digital Output
* Expansion to add I/O's via shiftregister's
* PWM Joint Output with DIR-Pin
* RCSERVO Joint Output
* Stepper Joint Output with STEP/DIR/ENABLE(optional) pins
* Variable-Input for frequency measurement
* Variable-Input for pulse counting with up to 3 pins (all optional)
* Variable-Input for pulse width measurement
* Variable-Input for Quad-Encoder (int32_t)
* Variable-Input for distance measurement via ultrasonic sonar sensor (HC-SR04)
* Variable-Output for frequencys
* Variable-Output for PWM-Signals with optional DIR pin
* Variable-Output for RC-Servos
* Variable-Output for Sine-Waves via PWM-Signal (multi. phase)
* Variable-Output using digital poti with UpDown/Incr. Interface (like X9C104)
no mesa alternativ (yet) but close
Features-List:
* Digital Input
* Digital Output
* Expansion to add I/O's via shiftregister's
* PWM Joint Output with DIR-Pin
* RCSERVO Joint Output
* Stepper Joint Output with STEP/DIR/ENABLE(optional) pins
* Variable-Input for frequency measurement
* Variable-Input for pulse counting with up to 3 pins (all optional)
* Variable-Input for pulse width measurement
* Variable-Input for Quad-Encoder (int32_t)
* Variable-Input for distance measurement via ultrasonic sonar sensor (HC-SR04)
* Variable-Output for frequencys
* Variable-Output for PWM-Signals with optional DIR pin
* Variable-Output for RC-Servos
* Variable-Output for Sine-Waves via PWM-Signal (multi. phase)
* Variable-Output using digital poti with UpDown/Incr. Interface (like X9C104)
no mesa alternativ (yet) but close
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
Less
More
- Posts: 1813
- Thank you received: 733
24 May 2023 20:24 #272106
by spumco
You guys who are working on the cutting-edge alternative micro controllers are doing some really nice work. I think - I'm not in a position to evaluate.
But there is, I suspect, a not-insignificant population of LCNC users who have no clue about the microcontroller world, or coding computers, or other non-machining topics. Python is a mystery, as is C or other machine programming.
I'm one of them.
I'm able to digest about 5-10% of the forum threads discussing the Remora, OPi5, and similar edge-case ports of LCNC to non-Mesa microcontrollers. But most of the time I'm watching from the sidelines, fatally confused, and simply waiting for one of you big-brains to declare:
"It does the following, it costs this much and here's where to buy it, and here's the idiot-proof instructions on how to use it without the standard horrible Linux-hardware insanity"
When you throw that one out there, you'll get more comments from a broader segment of the LCNC community.
Replied by spumco on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
No comments ? really ?
no mesa alternativ (yet) but close
You guys who are working on the cutting-edge alternative micro controllers are doing some really nice work. I think - I'm not in a position to evaluate.
But there is, I suspect, a not-insignificant population of LCNC users who have no clue about the microcontroller world, or coding computers, or other non-machining topics. Python is a mystery, as is C or other machine programming.
I'm one of them.
I'm able to digest about 5-10% of the forum threads discussing the Remora, OPi5, and similar edge-case ports of LCNC to non-Mesa microcontrollers. But most of the time I'm watching from the sidelines, fatally confused, and simply waiting for one of you big-brains to declare:
"It does the following, it costs this much and here's where to buy it, and here's the idiot-proof instructions on how to use it without the standard horrible Linux-hardware insanity"
When you throw that one out there, you'll get more comments from a broader segment of the LCNC community.
The following user(s) said Thank You: meister, timo
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19408
- Thank you received: 6507
24 May 2023 20:41 #272110
by tommylight
Great job, thank you.
Replied by tommylight on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
I did use the "thank you" button as i was (and still am) pressed for time, a bit more than usual.No comments ? really ?
Great job, thank you.
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
Less
More
- Posts: 486
- Thank you received: 307
24 May 2023 22:07 #272119
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
ok, that's what i wanted to hear,
I'm trying to put my focus on the hardware and build a usable board.
And try to write the documentation for users, not for developers.
thank you !
I'm trying to put my focus on the hardware and build a usable board.
And try to write the documentation for users, not for developers.
thank you !
The following user(s) said Thank You: phillc54, tommylight, 0x2102, besriworld, spumco
Please Log in or Create an account to join the conversation.
- drewnabobber
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 27
24 May 2023 23:53 - 24 May 2023 23:55 #272123
by drewnabobber
Replied by drewnabobber on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Replying to spumco:
Really don't want to clutter up this thread with a digression as meister's project is some really fantastic work, but this is exactly what the RPI4 image for Remora and FlexiHAL is addressing.
Really don't want to clutter up this thread with a digression as meister's project is some really fantastic work, but this is exactly what the RPI4 image for Remora and FlexiHAL is addressing.
Last edit: 24 May 2023 23:55 by drewnabobber.
The following user(s) said Thank You: meister, cakeslob, spumco
Please Log in or Create an account to join the conversation.
- drewnabobber
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 27
24 May 2023 23:58 #272124
by drewnabobber
Replied by drewnabobber on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
While I am sure you have your own ideas for hardware design, you may find the FlexiHAL an interesting starting point, the design is open and everything is posted. It would not be hard to adapt it to the ICE40 instead of STM32.
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
Less
More
- Posts: 1813
- Thank you received: 733
25 May 2023 01:11 #272127
by spumco
Genuinely appreciate all the efforts to make LCNC more accessible to us Luddites.
Replied by spumco on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
No, thank you. And all the other hardware/software gurus here, too.And try to write the documentation for users, not for developers.
Genuinely appreciate all the efforts to make LCNC more accessible to us Luddites.
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
- pippin88
- Offline
- Elite Member
Less
More
- Posts: 260
- Thank you received: 45
25 May 2023 06:05 #272139
by pippin88
Replied by pippin88 on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Nice work. I'm very happy to see more options.
I have some Mesa boards and they are great, but cost of postage from US is a killer.
Not being that Linux savvy, I haven't yet tried an ARM board (RPI4/Orange Pi). These boards have SPI / i2c / feasible ways of interfacing between LinuxCNC and a hardware realtime board.
To me there is still a gap in realtime options for use with x86/standard PCs.
These days ethernet is the only consistent feasible port option, and currently that means Mesa or Pico only I believe.
I have some Mesa boards and they are great, but cost of postage from US is a killer.
Not being that Linux savvy, I haven't yet tried an ARM board (RPI4/Orange Pi). These boards have SPI / i2c / feasible ways of interfacing between LinuxCNC and a hardware realtime board.
To me there is still a gap in realtime options for use with x86/standard PCs.
These days ethernet is the only consistent feasible port option, and currently that means Mesa or Pico only I believe.
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Time to create page: 0.142 seconds