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

More
02 Jan 2025 08:25 #317863 by meister

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

More
02 Jan 2025 10:06 #317866 by epineh
OK so to answer my own previous question basically I'm stupid, I hadn't set ownership to my user account, so Linuxcnc couldn't write to the var file, and most likely create it in the first place, which is why it was missing.
I had thought I'd done it but obviously I hadn't or maybe did a typo at the time. I followed the Docker install instructions as per the wiki instructions if anybody else is having the same issue.
Big thanks to Meister for creating this and thanks to everybody else supporting.
Russell.
The following user(s) said Thank You: meister

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

More
23 Jan 2025 22:49 #319737 by kzali

 
Can't recommend this set-up enough. For those who aren't particularly interested in engineering hardware and want a Snap-On Ready Kit, it just won't get any better than that. That'll do 50meg, prolly capable of more. Oliver did it all for grab  github.com/multigcs/rio-tangbob

Flash the bitstream over, plug-in a shielded 100mb cat6, and be done!!

This maybe a silly question bit is there a wiring diagram for the ribbon connector of the DB25's   
 
Attachments:

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
24 Jan 2025 04:19 #319745 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)
It's a one to one connection. Pin 1 to Pin 1 etc. The wire with the red tracer is pin 1.
The following user(s) said Thank You: meister

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

More
24 Jan 2025 06:40 #319750 by kzali

It's a one to one connection. Pin 1 to Pin 1 etc. The wire with the red tracer is pin 1.

I have a 26 Way IDC Line Socket from jaycar here in Sydney image is below but it has no pin numbers marked.  Searched like mad but no luck.  Your help will be much appreciated. The D25 IDC has numberings marked!
Attachments:

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
24 Jan 2025 08:33 #319751 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)
Plug it into the male header on the board.
Where it aligns with Pin 1 on the board, that will be Pin 1.
The following user(s) said Thank You: kzali

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

More
24 Jan 2025 14:46 #319757 by cakeslob
The following user(s) said Thank You: kzali, Cant do this anymore bye all

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

More
25 Jan 2025 08:49 #319807 by Tim Bee
Dear meister:

When I tested RIO, I was a little confused。

1. I set spi clk is 10Mhz, but 6.4Mhz actually
 
 
2. and I set shiftreg clk 1Mhz, but 323Khz actually
 
 

FPGA is ice40up5k

Is that correct?Thank you.

Tim
Attachments:
The following user(s) said Thank You: meister

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

More
25 Jan 2025 15:50 #319823 by meister
Hi Tim,
your measurements are correct,
the code is wrong :(

I have fixed the shiftreg plugin,
but the 6.4Mhz of the w5500 are correct,
more is not possible with the ice40up5k on 30Mhz clock.

Thanks !
The following user(s) said Thank You: Tim Bee

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

More
26 Jan 2025 14:50 #319890 by Tim Bee
HI meister:

Thanks for your reply.

I will test that later.thank you very much

and I have a promblem about w5500 spi clk:
I tested the joint.n.f-error seem biger than mesa card,
my PID is: P=1000 I=0 D=0,when i jog x axis,the joint.0.f-error is about 0.05mm
if i set P=0,I=0,D=0,when i jog x axis Exceed about 800mm,the "joint 0 following error" pop up(I set FERROR=3)
The difference between the feedback value and the command value is getting bigger and bigger
I know when i used a low speed run the axis,the f-error is good for me, I'm just a little curious, it's related to the spi clock?

Thanks

Tim
 

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

Time to create page: 0.347 seconds
Powered by Kunena Forum