- 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)
- viewsat
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 9
31 Jul 2026 12:29 #348284
by viewsat
Replied by viewsat on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
The JSON file has been uploaded.
Please Log in or Create an account to join the conversation.
- meister
- Away
- Platinum Member
-
Less
More
- Posts: 778
- Thank you received: 490
31 Jul 2026 13:51 - 31 Jul 2026 13:52 #348289
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
ahh, sorry, you need to set the scale (signals/dty)
if your spindle max speed is 20000rpm, you need to set it to 0.005
# 100 / 20000 = 0.005
EDIT: will try to add a little helper-tool for easy setup
if your spindle max speed is 20000rpm, you need to set it to 0.005
# 100 / 20000 = 0.005
EDIT: will try to add a little helper-tool for easy setup
Last edit: 31 Jul 2026 13:52 by meister.
The following user(s) said Thank You: viewsat
Please Log in or Create an account to join the conversation.
- viewsat
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 9
31 Jul 2026 15:34 - 31 Jul 2026 16:03 #348295
by viewsat
Replied by viewsat on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Attachments:
Last edit: 31 Jul 2026 16:03 by viewsat.
The following user(s) said Thank You: tommylight, meister
Please Log in or Create an account to join the conversation.
- tuxcnc
- Offline
- Elite Member
-
Less
More
- Posts: 212
- Thank you received: 38
31 Jul 2026 16:41 #348297
by tuxcnc
Replied by tuxcnc on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
I have a question.
At github.com/multigcs/riocore/blob/main/ri...ugins/fpga/BOARDS.md TangNano1K is marked as supported.
I know 1k gates is few, but is supported.
But I can't find any stuff for this board at repository.
I wonder is it possible to use this as one axis controller.
For example in situation when somebody have got working machine and could not make any changes to it, but needs to add 4/5th axis, rotary table, tools magazine or something similar.
At github.com/multigcs/riocore/blob/main/ri...ugins/fpga/BOARDS.md TangNano1K is marked as supported.
I know 1k gates is few, but is supported.
But I can't find any stuff for this board at repository.
I wonder is it possible to use this as one axis controller.
For example in situation when somebody have got working machine and could not make any changes to it, but needs to add 4/5th axis, rotary table, tools magazine or something similar.
Please Log in or Create an account to join the conversation.
- meister
- Away
- Platinum Member
-
Less
More
- Posts: 778
- Thank you received: 490
31 Jul 2026 17:36 - 31 Jul 2026 18:49 #348300
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
You’re right, it’s actually too small for a full setup.
But you could use it, for example, as a satellite, as an extension or for a distributed setup.
www.youtube.com/shorts/2vjq0Kd5WOE
In principle, a single-axis setup would also work, though it’s always a bit tricky to have mixed setups.
I’ve done a test compile:
Resources | Usage | Utilization
Logic | 956/1152 | 83%
and it fits
with USB/Serial it's to slow.
EDIT: BTW, the boards in the list are just the ones that have pre-defined pin assignments and can therefore be used easily in the Flow frontend. However, it’s also quite easy to add new boards, or you can let me know which ones you’d like to see included – as long as the FPGA supports them, it’s no problem.
But you could use it, for example, as a satellite, as an extension or for a distributed setup.
www.youtube.com/shorts/2vjq0Kd5WOE
In principle, a single-axis setup would also work, though it’s always a bit tricky to have mixed setups.
I’ve done a test compile:
Resources | Usage | Utilization
Logic | 956/1152 | 83%
and it fits
with USB/Serial it's to slow.
EDIT: BTW, the boards in the list are just the ones that have pre-defined pin assignments and can therefore be used easily in the Flow frontend. However, it’s also quite easy to add new boards, or you can let me know which ones you’d like to see included – as long as the FPGA supports them, it’s no problem.
Attachments:
Last edit: 31 Jul 2026 18:49 by meister.
Please Log in or Create an account to join the conversation.
- babinda01
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 2
02 Aug 2026 05:55 #348364
by babinda01
Replied by babinda01 on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Thanks, heaps, for the info. I have a working config for Ethercat on my raspberry pi 5, So I will play around with connecting a tang 9k to the spi on the pi and see how I go. I will post more info if/when i get it working.
Thanks again.
Andrew
Thanks again.
Andrew
Please Log in or Create an account to join the conversation.
- tuxcnc
- Offline
- Elite Member
-
Less
More
- Posts: 212
- Thank you received: 38
02 Aug 2026 06:33 #348366
by tuxcnc
For example you adviced in github md "than copy a config file that is near to your setup", but there are no tangnano1k setups in github, but I see you have some setups for this board , because you show about it on YouTube...
Share your configs, please.
Replied by tuxcnc on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
I'm sorry I'm not kindly to you, but your very hard work will be useless, if you have important things in secret.or you can let me know which ones you’d like to see included – as long as the FPGA supports them, it’s no problem.
For example you adviced in github md "than copy a config file that is near to your setup", but there are no tangnano1k setups in github, but I see you have some setups for this board , because you show about it on YouTube...
Share your configs, please.
Please Log in or Create an account to join the conversation.
- meister
- Away
- Platinum Member
-
Less
More
- Posts: 778
- Thank you received: 490
02 Aug 2026 08:18 #348378
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Sorry, but I can’t exactly create a sample for each of the 100,000 possibilities.
But it’s not difficult to create a configuration from scratch.
But it’s not difficult to create a configuration from scratch.
The following user(s) said Thank You: kzali
Please Log in or Create an account to join the conversation.
- tuxcnc
- Offline
- Elite Member
-
Less
More
- Posts: 212
- Thank you received: 38
02 Aug 2026 08:47 #348380
by tuxcnc
Replied by tuxcnc on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
I don't ask you for all possibilities, but only for share configs you used for your tests.Sorry, but I can’t exactly create a sample for each of the 100,000 possibilities.
Please Log in or Create an account to join the conversation.
- viewsat
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 9
06 Aug 2026 01:21 - 19 Aug 2026 07:40 #348476
by viewsat
Replied by viewsat on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
DIR/PULSE is working fine, problem solved, thank you!!
I'm using the DM542 Microstep Driver shown in the photo, with a Tango Nano 9k FPGA. After executing a set of gcode in Linux CNC, there's an error in returning to the zero-point position. However, I can correctly return to the zero-point position using a Mesa7i92.
I'm using the DM542 Microstep Driver shown in the photo, with a Tango Nano 9k FPGA. After executing a set of gcode in Linux CNC, there's an error in returning to the zero-point position. However, I can correctly return to the zero-point position using a Mesa7i92.
Attachment not found
Attachment not found
Attachment not found
Last edit: 19 Aug 2026 07:40 by viewsat.
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: 1.104 seconds