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

More
2 years 3 months ago #306628 by Mecanix
Comparison added for the sake of having something to compare too. Nothing scientific ofc, however goes to show. Here's me brutalizing the gateway the same way, yet here we are talking, lket alone streaming 4k vids, dwloading gigabytes of data from int'l servers. 

I'm not an network expert but, this W5500-over-RIO seems to be bullet proof!! Fairly impressed already. 

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

More
2 years 3 months ago - 2 years 3 months ago #306629 by meister
the rmii code is not mine, unfortunately my knowledge of verilog is not sufficient for that, i have only adapted it to rio

github.com/sipeed/TangPrimer-20K-example...Ethernet/verilog_UDP

you can run the rio-test tool to see the timeouts:
Code:
PYTHONPATH=. bin/rio-test riocore/configs/MecanixDev/config-test.json 192.168.10.194:2390

all in all, it works quite well with the w5500, but with the esp32 I get no timeouts at all

EDIT: the ping is completely handled inside the W5500, so it's not a good test
Last edit: 2 years 3 months ago by meister.
The following user(s) said Thank You: Mecanix

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

More
2 years 3 months ago #306632 by Mecanix
hmm, ok fair enough. I'm no expert and so glad you are. I'm quite grateful I can actually get step pulses out to the oscope and comm with Lcnc already. Pretty cool. Guess fine-tuning this comm reliably will require some significant effort (knowledge?). I'll have a look at the RMII and Esp32 solutions when time allows, and see what comes out. Expect stupid/clueless questions coming your way soon enough though!!

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

More
2 years 3 months ago #306642 by Mecanix
@meister

Late on and I got it to work. However and as you've pointed out, the comm needs fine tuning! Can I bother you once more and ask for a detailed hardware desc for the ESP32 you've mentioned? Is there a UDP module in particular you'd like us to use and dev around? I'm also happy to get a RMII breakerboard as a second option. Both would be ideal though. All-in-all it's working well. Congrats!!

Visual of the w5500 output:

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

More
2 years 3 months ago #306644 by Mecanix

At the moment a UDP2SPI bridge (esp32) is still the best solution.
 
This one?
WT32-ETH01 ESP32 Ethernet Development Board 

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

More
2 years 3 months ago #306647 by meister
i tryed RMII with the tangnano9k, bitfile generation works, but get no connection :(
better go with esp32:

github.com/multigcs/LinuxCNC-RIO/tree/main/UDP2SPI-Bridge

i prefer the WT32-ETH01, cheap and available
The following user(s) said Thank You: Mecanix

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

Time to create page: 2.532 seconds
Powered by Kunena Forum