- Hardware & Machines
- Computers and Hardware
- LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
08 Jul 2024 00:01 #304614
by cornholio
Replied by cornholio on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
It’s a shame that the various Ethernet modules about that use the same PHY as the arty, DP84xxx, only bring out one tx & one rx signal.
I’ve been slowly looking the W5500 code to see if I could see anything that jumps out that points to connection loss.
I’ve tried using a simple board similar to I’ve used when experimenting with a 7c81 copy, no dupont jumpers acting like antennas and reducing the divider to reduce the spi clock speed all to no avail. I’ve got 2 of the waveshare type boards and one of the Wiznet ones that are basically just the size of the RJ45 connector. Same results with both.
I don’t know why I’m so intrigued in getting it working, the UDP to SPI bridge works fine with my RPi 5 but not so with the RPi4.
I’ve been slowly looking the W5500 code to see if I could see anything that jumps out that points to connection loss.
I’ve tried using a simple board similar to I’ve used when experimenting with a 7c81 copy, no dupont jumpers acting like antennas and reducing the divider to reduce the spi clock speed all to no avail. I’ve got 2 of the waveshare type boards and one of the Wiznet ones that are basically just the size of the RJ45 connector. Same results with both.
I don’t know why I’m so intrigued in getting it working, the UDP to SPI bridge works fine with my RPi 5 but not so with the RPi4.
Please Log in or Create an account to join the conversation.
08 Jul 2024 05:18 - 08 Jul 2024 06:27 #304636
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
the only thing i could find is that the error rate depends on the SPI speed, maybe try using 'pullup' resistors to 'stretch/stabilize' the signal lines
Last edit: 08 Jul 2024 06:27 by meister.
Please Log in or Create an account to join the conversation.
08 Jul 2024 18:30 #304686
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Attachments:
Please Log in or Create an account to join the conversation.
08 Jul 2024 20:03 #304691
by cornholio
Replied by cornholio on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
You don’t waste anytime getting things done.
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
08 Jul 2024 20:05 #304692
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
and the icebreaker driver-board (or other FPGA's with fitting PMOD)
The following user(s) said Thank You: samueldutradasilva
Please Log in or Create an account to join the conversation.
10 Jul 2024 19:19 #304841
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
No Comments ?
Ok, how about this:
Ok, how about this:
Please Log in or Create an account to join the conversation.
11 Jul 2024 12:24 #304899
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Parol6 + Octobot-Board
youtube.com/shorts/uLwIUsQQyCQ
youtube.com/shorts/uLwIUsQQyCQ
The following user(s) said Thank You: tommylight, Bongo
Please Log in or Create an account to join the conversation.
11 Jul 2024 12:49 #304902
by cornholio
Replied by cornholio on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Well done mate.
There is a lot of consumers here, unless it relates directly to themselves, it's like meh. Don't take it to heart. Unless you come up with a "pretty gui" then it's all different.
There is a lot of consumers here, unless it relates directly to themselves, it's like meh. Don't take it to heart. Unless you come up with a "pretty gui" then it's all different.
Please Log in or Create an account to join the conversation.
11 Jul 2024 14:03 #304917
by jimmyrig
Replied by jimmyrig on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
That board looks sweet!
If you have analog ports that could be broken out I would buy one. Have a few projects in mind that need a analog port (thinking a height control for a CNC CO2 laser that follows the warped wood..yes a thcad would work but a few more projects need 10+ analog input). 4-20ma is preferred over 0-10v due to noise issues.
I like the plug in design for stepper motors as can probably find cables so we don't have to wire them by hand.
Personally prefer Ethernet cables for everything as they are much easier/faster to crimp by hand than those white connectors and I can wire directly to a machine 20 foot from my control panel. Wire and connectors are cheap and abundant
What makes projects like this succeed and become interesting is good setup instructions and documentation. Bonus points if you can make a pnf config style config generator. Time is much more expensive than the boards themselves, I'll pick a $250 mesa board over an unknown one with no documentation because it's going to save me $1k+ in time.
Hope you keep developing it. Looks awesome!
If you have analog ports that could be broken out I would buy one. Have a few projects in mind that need a analog port (thinking a height control for a CNC CO2 laser that follows the warped wood..yes a thcad would work but a few more projects need 10+ analog input). 4-20ma is preferred over 0-10v due to noise issues.
I like the plug in design for stepper motors as can probably find cables so we don't have to wire them by hand.
Personally prefer Ethernet cables for everything as they are much easier/faster to crimp by hand than those white connectors and I can wire directly to a machine 20 foot from my control panel. Wire and connectors are cheap and abundant
What makes projects like this succeed and become interesting is good setup instructions and documentation. Bonus points if you can make a pnf config style config generator. Time is much more expensive than the boards themselves, I'll pick a $250 mesa board over an unknown one with no documentation because it's going to save me $1k+ in time.
Hope you keep developing it. Looks awesome!
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
11 Jul 2024 15:53 #304923
by cornholio
Replied by cornholio on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
riogui is a pretty good way to config the board modules, and it also spits out a pretty good working config. Like all of the config utilities there is an amount of hand config editing required.
Checkout the this github page, shows the riogui.
github.com/multigcs/riocore
Checkout the this github page, shows the riogui.
github.com/multigcs/riocore
The following user(s) said Thank You: meister
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Time to create page: 0.209 seconds