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

More
26 Oct 2024 17:14 #313261 by mBender
Hey, great work!

I got my Tang Nano 9k with a W5500 and some TXS0108E Logic Level Shifter Bi-Directional Module for the I/O.

For whatever reason my first W5500 smoked...

Some Question:
Wiring of the W5500, I can't really find a lot support online.
Do all ground lines need to be connected?
Same question for the 3.3V lines?
How much mA can the 3.3V and 5V line of the Tang support?

Last question is CS the same as SEL in LinuxCNC Rio?

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

More
26 Oct 2024 19:02 #313262 by meister
@gitano
QSlider is fixed, but have other problems with the qt gui's,
better using axis at the moment.

@mBender
you need only connect one of the 5V/GND lines, and it's better to use only the 5V not the 3.3V input

CS = Chip-Select
SEL = Select
it's the same
The following user(s) said Thank You: gitano

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

More
26 Oct 2024 22:59 #313270 by mBender
Well, I don't have 5V on my W5500. This is the only schematic I found online.
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
26 Oct 2024 23:23 #313272 by tommylight
That is W5500 mini, and from your attached picture it does not have 5V, while the normal longer W5500 has 5V and 3.3V power.

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

More
27 Oct 2024 02:14 #313280 by mBender
Ok, so do I have the wrong W5500? I was planning to use it like in the attached picture.
Attachments:

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

More
27 Oct 2024 02:30 - 03 Nov 2024 12:05 #313282 by mBender
EDIT Nov. 3 2024. THERE IS A WIRING ERROR IN THE PICTURE BELOW. THE OE LINE NEEDS TO BE CONNECTED TO 3.3V OR AN OUTPUT. WILL CORRECT THE DRAWING AND UPLOAD AGAIN ONCE TESTED.
This one is actually how I want to connect the joints. I have a total of 4 joints (dual Y axis motor), but only draw joint 1 and 2 for the moment.

 
Attachments:
Last edit: 03 Nov 2024 12:05 by mBender.

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

More
27 Oct 2024 12:14 - 03 Nov 2024 12:05 #313294 by mBender
EDIT Nov. 3 2024. THERE IS A WIRING ERROR IN THE PICTURE BELOW. THE OE LINE NEEDS TO BE CONNECTED TO 3.3V OR AN OUTPUT. WILL CORRECT THE DRAWING AND UPLOAD AGAIN ONCE TESTED.
This would be the schematics for Raspbery PI and SPI. In all examples, the Tang is powered by the USB C cable.  
Attachments:
Last edit: 03 Nov 2024 12:05 by mBender.

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

More
28 Oct 2024 07:28 #313360 by meister
was my mistake, the mini W5500 only have 3v3.
i can't tell you exactly how much the tang can take, but so far it has always been enough in all constellations without anything getting warm.

RST and INT signals are not needed

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

More
28 Oct 2024 13:01 #313365 by meister
little install script fir riocore on debian-12 systems:

github.com/multigcs/riocore/blob/dev/rio...files/rio-install.sh
 wget -q -O- https://raw.githubusercontent.com/multigcs/riocore/refs/heads/dev/riocore/files/rio-install.sh | bash

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

More
28 Oct 2024 15:36 #313376 by mBender
Awesome, do RST and INT bring any benefits ? I saw they were marked as optional.

Could you integrate a tooltip on the GUI? That way I could add some more text and documentation. Really phenomenal. New W5500 arrived yesterday, hope I get around testing them soon.

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

Time to create page: 0.180 seconds
Powered by Kunena Forum