- Posts: 447
- Thank you received: 0
LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
2 years 2 months ago #307766
by Mecanix
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Please Log in to join the conversation.
2 years 2 months ago #307767
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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
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
Please Log in to join the conversation.
2 years 2 months ago #307768
by rthorntn
Replied by rthorntn on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
Great stuff, on the 5AX outputs, how many mA do you get at the outputs connector?
Please Log in to join the conversation.
2 years 2 months ago #307770
by Mecanix
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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).Great stuff, on the 5AX outputs, how many mA do you get at the outputs connector?
Please Log in to join the conversation.
2 years 2 months ago #307771
by Mecanix
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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.
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 to join the conversation.
2 years 2 months ago #307773
by rthorntn
Replied by rthorntn on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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 to join the conversation.
2 years 2 months ago #307774
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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 ????
Attachment not found
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 ????
Please Log in to join the conversation.
2 years 2 months ago #307775
by Mecanix
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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.
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.
Please Log in to join the conversation.
2 years 2 months ago #307776
by Mecanix

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
Replied by Mecanix on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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 yetinitial config's for your new board:
Attachment not found
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 ????
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
Please Log in to join the conversation.
2 years 2 months ago #307777
by meister
Replied by meister on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)
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
github.com/multigcs/riocore/blob/dev/rio...ecanix5ax/board.json
the only thing missing there are the fpga pins
Code:
“pin": ‘0’,
Please Log in to join the conversation.
Time to create page: 1.036 seconds
