- Posts: 133
- Thank you received: 0
LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
1 year 11 months ago #313546
by mBender
Believe it or not, I have used Google before
My intention is just to make it easier for a broader group of people and have less questions to the developer. Since the tooltip option was provided i will play around with it and see if I can make a meaningful contribution.
Replied by mBender on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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.
Believe it or not, I have used Google before
My intention is just to make it easier for a broader group of people and have less questions to the developer. Since the tooltip option was provided i will play around with it and see if I can make a meaningful contribution. Please Log in to join the conversation.
1 year 11 months ago #313639
by mBender
Replied by mBender on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Had some time to play around with the FPGA again. The new W5500 arrived last week, but I had not enough time to wire it up. I was really surprised. Once I flashed it with the right IP, I was able to ping the board. Started LinuxCNC and it worked! Magic! Used the wiring from the example before. Will need to change a few things as it seems the logic is inverted and continue to wire up the level shifter and connect to my stepper driver.
Can this error message now being ignored?
Can this error message now being ignored?
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
Please Log in to join the conversation.
- digiex_chris
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
1 year 11 months ago #313727
by digiex_chris
Replied by digiex_chris on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
The riocore generator seems to be generating a linuxcnc config and hal file entries for servo drives when I'm using steppers in my config. I've got PID params and other things specific to servos appearing in my rio.ini. Is this intended? I'm just using the default config for the IceShield for now.
Please Log in to join the conversation.
- tommylight
-
- Online
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
1 year 11 months ago #313734
by tommylight
Replied by tommylight on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
It is for Mesa hardware, so might also be for this.The riocore generator seems to be generating a linuxcnc config and hal file entries for servo drives when I'm using steppers in my config. I've got PID params and other things specific to servos appearing in my rio.ini. Is this intended?
Please Log in to join the conversation.
1 year 11 months ago #313739
by mBender
Replied by mBender on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
I kind of have the same issue. I can't get my stepper to work. Regular in and outputs work and I have double checked my wiring.
I don't see any stepgen parameters in the hal file. But I am also not sure if that would be in the hal, since the FPGA is doing the step generation ?!?
Also is there a way to adjust the timing linuxcnc.org/docs/html/man/man9/stepgen.9.html#TIMING ?
I don't see any stepgen parameters in the hal file. But I am also not sure if that would be in the hal, since the FPGA is doing the step generation ?!?
Also is there a way to adjust the timing linuxcnc.org/docs/html/man/man9/stepgen.9.html#TIMING ?
Please Log in to join the conversation.
1 year 11 months ago #313744
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
please add your config if something is not working.
if you add an step/dir plugin, you need to verify that the 'is_joint' option is set to true
if you add an step/dir plugin, you need to verify that the 'is_joint' option is set to true
Please Log in to join the conversation.
1 year 11 months ago #313747
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
if i have overlooked any open questions, please ask again, i was a bit busy at the weekend and lost the thread
here is my excuse:mitsubishi rv-e2
without controller and one harmonic drive is broken
here is my excuse:mitsubishi rv-e2
Attachment not found
without controller and one harmonic drive is broken
Please Log in to join the conversation.
1 year 11 months ago #313751
by mBender
I have the joint option set to true. Config file (json) attached, had to zip it due to json files not being allowed as attachments.
Replied by mBender on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
please add your config if something is not working.if you add an step/dir plugin, you need to verify that the 'is_joint' option is set to true
I have the joint option set to true. Config file (json) attached, had to zip it due to json files not being allowed as attachments.
Please Log in to join the conversation.
1 year 11 months ago #313752
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
generally it looks good, i'll test it at home with real hardware, but i don't see why it shouldn't work at the moment.
Please Log in to join the conversation.
1 year 11 months ago #313754
by mBender
Replied by mBender on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Awesome. I will test it with my oscilloscope. I wonder if I need something like a pull down resistor after/before the level shifter.
I noticed that the one of my outputs is not always switching. It's tied to the "machine on" but when I toggle the machine on an off, sometimes it's not reacting. I also get some error messages in the Terminal.
This is my current wiring.
I noticed that the one of my outputs is not always switching. It's tied to the "machine on" but when I toggle the machine on an off, sometimes it's not reacting. I also get some error messages in the Terminal.
This is my current wiring.
Please Log in to join the conversation.
Time to create page: 0.229 seconds
