- 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: 548
- Thank you received: 347
31 May 2025 13:27 #329447
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
another option would be shiftregisters,
this works great for DC-PWM signals and also for not too fast encoders, but you should test it first.
my favorite at the moment is the Devantech iceWerx iCE40-HX8K, which has many IO's and can also be soldered well by hand
www.youtube.com/shorts/BiJppd6_cA4
github.com/multigcs/rio-motoman
this works great for DC-PWM signals and also for not too fast encoders, but you should test it first.
my favorite at the moment is the Devantech iceWerx iCE40-HX8K, which has many IO's and can also be soldered well by hand
www.youtube.com/shorts/BiJppd6_cA4
github.com/multigcs/rio-motoman
The following user(s) said Thank You: epineh
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 548
- Thank you received: 347
31 May 2025 20:32 #329469
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- epineh
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 17
01 Jun 2025 00:20 - 01 Jun 2025 00:22 #329480
by epineh
Replied by epineh on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
The ICE40 module is very nice, unfortunately for us living in Australia the $34 module has an $86 shipping fee, then converted to AUD it will be close to $190 AUD...the ECP5 kit will land here for about $100, and has a lot more IO.
When you say programming the ECP5 is slow, is that via USB within Riocore and are we talking minutes or half an hour ? I can stock extra coffee !
Cheers.
Russell.
When you say programming the ECP5 is slow, is that via USB within Riocore and are we talking minutes or half an hour ? I can stock extra coffee !
Cheers.
Russell.
Last edit: 01 Jun 2025 00:22 by epineh.
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 548
- Thank you received: 347
01 Jun 2025 10:32 #329502
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
don't really remember, maybe 1 minute, but a USB blaster for 5USD is worth it
The following user(s) said Thank You: epineh
Please Log in or Create an account to join the conversation.
- epineh
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 17
01 Jun 2025 11:38 - 01 Jun 2025 11:38 #329505
by epineh
Replied by epineh on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Last edit: 01 Jun 2025 11:38 by epineh.
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 548
- Thank you received: 347
04 Jun 2025 05:56 #329664
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
The following user(s) said Thank You: besriworld
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 548
- Thank you received: 347
05 Jun 2025 16:45 #329754
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
3 BLDC on one TangNano9k
youtube.com/shorts/vBrvq76CJBk
youtube.com/shorts/vBrvq76CJBk
The following user(s) said Thank You: tommylight, besriworld, kzali
Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
-
Less
More
- Posts: 548
- Thank you received: 347
06 Jun 2025 20:41 #329829
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
thanks Russell for the inspiration 
github.com/multigcs/riocore/tree/dev/riocore/plugins/riosub
but it will be a long time before it works properly.

github.com/multigcs/riocore/tree/dev/riocore/plugins/riosub
but it will be a long time before it works properly.
The following user(s) said Thank You: besriworld
Please Log in or Create an account to join the conversation.
- epineh
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 17
07 Jun 2025 03:42 #329860
by epineh
Replied by epineh on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Hmm I am usually more of a bad influence than inspiring but I'll take it haha.
That sounds awesome, are you aiming at using this for faster inputs/outputs that aren't suitable for shift registers/modbus/I2C ?
So theoretically if someone had a 6 axis closed loop to the controller milling machine the second FPGA could be used for the encoder feedback and maybe some extra IO?
That sounds awesome, are you aiming at using this for faster inputs/outputs that aren't suitable for shift registers/modbus/I2C ?
So theoretically if someone had a 6 axis closed loop to the controller milling machine the second FPGA could be used for the encoder feedback and maybe some extra IO?
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: 548
- Thank you received: 347
10 Jun 2025 07:36 #330068
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
yes, the advantage over shiftreg is that the evaluation of e.g. encoders is already carried out on the external fpga and only the finished values are transferred
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.167 seconds