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

More
3 months 44 minutes ago #348284 by viewsat
The JSON file has been uploaded.

Please Log in to join the conversation.

More
2 months 4 weeks ago #348289 by meister
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

Please Log in to join the conversation.

More
2 months 4 weeks ago #348295 by viewsat
Thank you for your help. The spindle PWM pin is now working.

 

Attachment not found

 

Attachment not found

 

Attachment not found

 

Attachment not found

 

Please Log in to join the conversation.

More
2 months 4 weeks ago #348297 by tuxcnc
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.

Please Log in to join the conversation.

More
2 months 4 weeks ago #348300 by meister
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:

Attachment not found



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.

Please Log in to join the conversation.

More
2 months 4 weeks ago #348364 by babinda01
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

Please Log in to join the conversation.

More
2 months 4 weeks ago #348366 by tuxcnc

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.
 
I'm sorry I'm not kindly to you, but your very hard work will be useless, if you have important things in secret.
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 to join the conversation.

More
2 months 4 weeks ago #348378 by meister
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.

Please Log in to join the conversation.

More
2 months 4 weeks ago #348380 by tuxcnc

Sorry, but I can’t exactly create a sample for each of the 100,000 possibilities.
 
I don't ask you for all possibilities, but only for share configs you used for your tests.

Please Log in to join the conversation.

More
2 months 3 weeks ago #348476 by viewsat
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.

 

Attachment not found


 

Attachment not found


 

Attachment not found


 

Please Log in to join the conversation.

Time to create page: 0.215 seconds
Powered by Kunena Forum