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

More
15 Aug 2024 04:11 #307766 by Mecanix
Gotta luv the folks at GOWIN SEMI, straight out of the manufacturer's jewelry box. Top silicon guys, highly recommend.
Official, we have our FPGAs secured, what will eventually power this LinuxCNC-RIO awesomeness!! We have 3 parts (for now). And I want one :)

Cool visuals ritual;



The following user(s) said Thank You: rthorntn, meister

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

More
15 Aug 2024 05:54 - 15 Aug 2024 06:16 #307767 by meister
Hi,
i can not download the board-images (TOP-View), can you upload it directly in the forum ? i will start adding it to the rio-setup

EDIT: I managed to download the image
Last edit: 15 Aug 2024 06:16 by meister.
The following user(s) said Thank You: Mecanix

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

More
15 Aug 2024 06:03 #307768 by rthorntn
Great stuff, on the 5AX outputs, how many mA do you get at the outputs connector?

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

More
15 Aug 2024 06:38 #307770 by Mecanix

Great stuff, on the 5AX outputs, how many mA do you get at the outputs connector?

Not much I would guess, granted you only use the GND, Step and Dir pins (common drive set-up). Fwiw the 5V supply of the board is 2A. Using a MPS part (MP4560). Side note; strangely enough my datasheet rev claims MAX 60V where the MPS' revised/latest one claims 55V. Guess we can assume it's good enough up to 48Vdc psus. (Board's 5V switcher schematic attached).

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

More
15 Aug 2024 06:53 #307771 by Mecanix
My set-up, powered straight out of the board itself: 

4 relays = 120mA each
1 spindle rotary encoder = 90mA
1 MPG = 65mA
1 PROBE = 45mA
Total = 680mA

If other sensors are required (eg. several linear scales, anything power hungry) then I'd recommend them to be powered externally via 5V and common ground. 

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

More
15 Aug 2024 07:09 #307773 by rthorntn
Thanks, on a STEP pin, I assume it can it push enough mA to drive an opto-coupler inside the "generic" stepper driver that you get for say a NEMA34 size?

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

More
15 Aug 2024 07:09 - 15 Aug 2024 07:11 #307774 by meister
initial config's for your new board:
 

but only image and pin-locations, need to add the real FPGA-Pin names and the board needs a name,
i think you wrote a name somewhere but i haven't found it yet

EDIT: is there an LED Pin ????
Attachments:
Last edit: 15 Aug 2024 07:11 by meister.
The following user(s) said Thank You: Mecanix

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

More
15 Aug 2024 07:16 - 15 Aug 2024 07:17 #307775 by Mecanix
rthorntn post=307773 userid=3434
Thanks, on a STEP pin, I assume it can it push enough mA to drive an opto-coupler inside the "generic" stepper driver that you get for say a NEMA34 size?

Yes of course. One pin of the 7760 can put up with up to 10mA.
Last edit: 15 Aug 2024 07:17 by Mecanix.
The following user(s) said Thank You: rthorntn

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

More
15 Aug 2024 07:21 #307776 by Mecanix

initial config's for your new board:
 

but only image and pin-locations, need to add the real FPGA-Pin names and the board needs a name,
i think you wrote a name somewhere but i haven't found it yet

EDIT: is there an LED Pin ????

Ahhhhhh sweet, thank you so much!!!! That'll make things so much easier. Geez I need to learn how those pinouts are done, haven't got to the rio-setup part much yet :(

Only LED atm is the FPGA "Done" pin. You told me to add one and I forgot. The art of doing stuff in a rush on display... my bad. Let's add one for Rev 1.1
The following user(s) said Thank You: meister

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

More
15 Aug 2024 07:26 #307777 by meister
the board files are actually quite simple:
github.com/multigcs/riocore/blob/dev/rio...ecanix5ax/board.json

the only thing missing there are the fpga pins
“pin": ‘0’,
The following user(s) said Thank You: Mecanix

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

Time to create page: 2.377 seconds
Powered by Kunena Forum