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

More
1 year 9 months ago #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!

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

More
1 year 9 months ago #319751 by Cant do this anymore bye all
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
1 year 9 months ago #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
1 year 9 months ago #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
The following user(s) said Thank You: meister

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

More
1 year 9 months ago #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
1 year 9 months ago #319890 by Tim Bee
HI meister:

Thanks for your reply.

I will test that later.thank you very muchimage missing /media/kunena/emoticons/laughing.png

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?image missing /media/kunena/emoticons/tongue.png

Thanks

Tim
 

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

Time to create page: 1.041 seconds
Powered by Kunena Forum