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

More
29 Oct 2024 06:36 #313411 by meister
at the moment, INT/RST is not used, maybe in the future.

> tooltip on the GUI:
it depends on where exactly you want the tooltip

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

More
29 Oct 2024 15:01 #313436 by digiex_chris

 

do you already have your layout on github ? then i would create a new board in rio so that you have the pins in the right place.
 

Not yet, I still need to confirm the outputs work correctly. Hopefully I have more time to work on it this weekend. When I do I'll generate a pinout diagram, some instructions for ordering and assembly, and upload it. It should be 100% pin compatible with the iceshield, your example iceshield config works perfectly so far. 
 

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

More
29 Oct 2024 19:03 #313451 by tuxcnc

 with a W5500
 

I tried W5500 without success.
This module is not programmable and always requires initiation after the power turned on.
You need a programmable module that remembers the settings.
I suggest WT32-ETH01 (tested, and cheapest on Aliexpress).

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

More
29 Oct 2024 22:55 #313462 by mBender
What does that exactly mean? How do you initiate the w5500?

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

More
29 Oct 2024 23:53 #313463 by cornholio
No the W5500 works, initiating (ip addrr and other such stuff) is done via the FPGA via the SPI interface.
You'll have to setup your config to use the W5500 so that the correct bitfile is generated.

Examples and docs are supplied on the github project page.

Remember "it doesn't" work isn't very helpful when trying to get help. Config files and such help. Remember this is not a trip to the dentist, we are not dentists and don't want to have to pull teeth to get information to help.
The following user(s) said Thank You: meister

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

More
30 Oct 2024 14:36 #313488 by mBender

No the W5500 works, initiating (ip addrr and other such stuff) is done via the FPGA via the SPI interface.
You'll have to setup your config to use the W5500 so that the correct bitfile is generated.

Examples and docs are supplied on the github project page.

Thanks for confirming. I hope I get around it soon to test it. New W5500 are at home.

> tooltip on the GUI:
it depends on where exactly you want the tooltip

 

Everywhere, where acronyms are used. For Example in the binin Plugin. LVTTL, LVCMOS33,... I have no clue what that means... LVTTL = Low Voltage Transistor Transistor Logic?
 

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

More
31 Oct 2024 00:20 #313514 by cornholio
There's this thing called google, you can look up acronyms and find out what they mean. Or you can read the data sheet applicable to your FPGA.

The ones you mentioned are the easy ones, there's a whole raft of others if you want to start messing around with FPGAs. Which is what you are doing, everytime I start on a project I'll have a look at he datasheets of the components involved.

You really need to have a curious mind once you start going down that rabbit hole.
The following user(s) said Thank You: meister

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

More
31 Oct 2024 07:30 - 31 Oct 2024 07:39 #313528 by meister
the fields you don't know are best left on default :)

perhaps you should organize a
simple/expert option to hide various fields


if someone wants to work on the tooltips, they are a bit scattered in the code.

The setup-gui is generally only in the bin/rio-setup file for now
and a few of the widgets in riocore/widgets.py

You can pass a tooltip to the 'edit_item' function via 'help_text="blaa text"' or the 'var_setup' dictionary contains a 'description' field, in which case this is used.



 
Last edit: 31 Oct 2024 07:39 by meister.

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

More
31 Oct 2024 14:23 #313535 by digiex_chris
I have the gpio config added to my start.sh, should we maybe have this generated when a iceshield (or iceshield derivative) is selected?
#!/bin/sh

set -e
set -x

DIRNAME=`dirname "$0"`

gpio mode 7 clock
gpio clock 7 5000000

linuxcnc "$DIRNAME/rio.ini" $@
The following user(s) said Thank You: meister

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

More
Time to create page: 0.123 seconds
Powered by Kunena Forum