LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

More
27 Dec 2024 21:11 #317508 by meister

Do you see, that there's an issue with RealtimeIO and EtherCAT in parallel? (For EtherCAT I'll use the NIC of the PC chipset. For RIO I wanted to use the W5500 Ethernet module with an USB-Ethernet adapter to the PC.

Thanks for your support!
 

never tested, sorry
 

Please Log in or Create an account to join the conversation.

More
27 Dec 2024 21:15 #317509 by meister
I'm currently rewriting the i2c stuff from scratch,
until now, each device needed its own bus with its own pins.
now i can configure several per bus and also separate them again via multiplexer chip

 

was a lot of work, but this is only the config of one i2c-master, you can also create several, on different pins with different speeds.

I'm still testing and not all the types I've created are working properly yet, but I'm hopeful :)
 
Attachments:
The following user(s) said Thank You: Zayoo

Please Log in or Create an account to join the conversation.

More
29 Dec 2024 09:34 #317596 by epineh
That is really cool, once I have my existing machine fully tested I intend to start playing around with all the extra stuff you've implemented. When you say several devices per bus, is that now as per the standard i2c protocol, so 128 devices ? I understand that lots of i2c devices only have a couple of address options so that doesn't help.

Please Log in or Create an account to join the conversation.

More
30 Dec 2024 20:45 #317686 by Ehsan_R
Has anyone worked with Rio and Colorlight 5A-75E?
Can I work with this board?

Please Log in or Create an account to join the conversation.

More
30 Dec 2024 21:18 #317687 by mBender
In my early days with RIO I bought one of the Colorlight 5A-75E. They work, but I believe they don't have any inputs and the ethernet port is not supported. I never followed up with it and switched to the Tang Nano 9k.

Please Log in or Create an account to join the conversation.

  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
More
30 Dec 2024 23:27 #317694 by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
They require a lot of rework to get inputs. Swapping out chips, add jumpers, messing with power supply voltages, can be done but fiddly.

Best starting with one of the more common boards discussed on this thread.

Just keep this is mind that it may end up costing close to the cost of original Mesa board (less postage if you are outside the locality of a local supplier). Most of these projects turn out that way.

BTW Linuxcnc-RIO is a great project, well supported and actively developed.
The following user(s) said Thank You: meister

Please Log in or Create an account to join the conversation.

More
31 Dec 2024 13:15 #317714 by meister

That is really cool, once I have my existing machine fully tested I intend to start playing around with all the extra stuff you've implemented. When you say several devices per bus, is that now as per the standard i2c protocol, so 128 devices ? I understand that lots of i2c devices only have a couple of address options so that doesn't help.
 

if you have multiple devices that have the same address, you can still use multiple busses on different pins.

but there is also easy support for i2c multiplexer (PCA9548A/TCA9548A) now.



 

Please Log in or Create an account to join the conversation.

More
31 Dec 2024 13:21 #317715 by meister
now, the i2c-bus is merge into the dev branch

many thanks to 'Schoch' , for the quadencoder(z) fixes and the much better rps/rpm calculations.

and many thanks to all other people that helps here, in github and in the discord chat.
The following user(s) said Thank You: digiex_chris

Please Log in or Create an account to join the conversation.

More
01 Jan 2025 06:41 #317763 by epineh
Very cool, will check that out.
For now I have a very weird issue, I'm not convinced its a riocore issue and not a general linuxcnc issue but here we go..

I cannot set G54 offsets, I've included a screenshot of the problem, as you can see the cutter is within the machine soft limits, and there are values in the G54 in the DRO but the toolpath preview is outside the machine limits. I've copied all machine specific parameters from the MESA config it was running previously, machine homes, enables etc and it is all working as it should. No matter what I do the toolpath remains outside of the bounding box.

Its like the machine is in absolute mode and ignoring the G54, so the origin of the gcode is at machine home and G54 has no effect.

I ran the default Sim (mm) config shipped with the live install and the issue doesn't happen, the toolpath jumps to the relative position to the cutter as normal.

Only thing I've done after the GUI riocore configuration is to add a linuxcnc.var file to the Output/TangNano9K/LinuxCNC folder as it wasn't generated. I copied one from the Sim folder after it generated one.

Other than that its a clean install that I ran docker on to program the FPGA and run Linuxcnc.
Attachments:

Please Log in or Create an account to join the conversation.

More
01 Jan 2025 21:38 - 01 Jan 2025 21:41 #317802 by kzali
"many thanks to 'Schoch' , for the quadencoder(z) fixes and the much better rps/rpm calculations.

and many thanks to all other people that helps here, in github and in the discord chat."


Is the discord chat related to RIO? and if so what is the link to the channel?

Thanks
Last edit: 01 Jan 2025 21:41 by kzali.

Please Log in or Create an account to join the conversation.

Time to create page: 0.165 seconds
Powered by Kunena Forum