- 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)
18 May 2023 13:30 - 12 Aug 2024 13:29 #271608
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, Bongo
Please Log in or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.
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
The following user(s) said Thank You: Bongo
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
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.
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 !
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.
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.
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.
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.271 seconds