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

More
1 year 5 months ago #327977 by meister
no is not normal, should only take a few seconds, try a different cable

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

More
1 year 5 months ago #328605 by epineh
Hey Ollie, with Riocore I've got 4 axis closed loop to the controller going on my mill, well only one axis for now but I've tested the other 3 will work, so thanks heaps for that !

The only issue is that if you use line reciever ic's (26LS32) and RJ45 sockets it all takes up a lot of PCB real estate. I'm thinking of utilizing an off board encoder solution. The LS7366 chip looks like a good candidate, its a 32 bit quadrature counter that will decode at 20 MHz at 3 volts. (40MHz at 5V)

This chip uses SPI, which I honestly know nothing about, my question is if I was to make a seperate 8 axis encoder board to cover all the axis's MPG, spindle etc, would that work with your existing SPI plugin ? And I'm not sure if the LS7366 will daisy chain or if there needs to be an additional IO pin per device, in which case it may not be worth the overhead.

Cheers.
Russell.

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

More
1 year 5 months ago #328624 by meister
Hi Russell,
the LS7366 are no longer manufactured and you would have to write a new plugin. The ones you can still get are also quite expensive.

can't you just make a plug-in board (on the top) and route all the encoder pins to the top via pin headers?

Cheers, Olli

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

More
1 year 5 months ago #328625 by epineh
Hmm so I had checked the datasheet earlier, never actually looked at price and availability, I see what you mean.

The main idea was to save pins, they run out quickly on the tang nano. I guess the simplest solution is to step up to the spartan 6.
There is OctoQuad by DigitalChickenLabs for the pi pico that will do a similar thing for 8 encoders via I2C but as you say it would also require a new plugin.

Cheers.
Russell.

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

More
1 year 5 months ago #328684 by meister
I prefer the ice40 when I need more pins, e.g. the Devantech iceWerx iCE40-HX8K.
it has the advantage that it can be used with the opensource toolchain.

otherwise the tomverbeure.github.io/2021/01/22/The-Col...velopment-board.html is also pretty cool

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

More
1 year 5 months ago #329394 by epineh
That ECP5/i5 board is VERY cool.

On your Git page you mention the network interfaces are not supported, do you mean we can't use a Wiznet module or are you referring to the 30pin ethernet connector on the dev board ?

Having over 100 IO pins available is definitely the dream, is programming as easy as the tang nano? Will it program via the USB-C connector within Riocore like the Tang?

Would there be any advantage in getting the i9 module over the i5 for our purposes ? It works out more expensive but not too much.

Cheers.
Russell.
 

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

Time to create page: 0.459 seconds
Powered by Kunena Forum