If you use Charles's DB25 breakout (which is the sanest and easiest way to interface), you can use the P2 header for steppers and an encoder with the same pinout as a Mesa 5i25
and the P3 for GPIO

There are already threads on this forum about it

This one has details including an image I made of the GPIO pinout on the P3 header, plus links from Charles to the schematics etc
https://groups.google.com/forum/#!msg/machinekit/wqH_V52qdQY/GxaGaD7cBgAJ;context-place=forum/machinekit

On 07/07/17 14:21, Sebastian wrote:
Ok thanks a lot, yes than is the question for us how to access the existing GPIO using the pre-built image we have burned. Do you know where we can get these information? 

Am Freitag, 7. Juli 2017 13:04:08 UTC+2 schrieb Schooner:
If you want to know how to access the existing GPIO using the pre-built image you have burned, that is a completely different question.
It is a matter of asking the right one.

I have 2 machines using DE0-NANO + 7i76 boards providing multiple axes and full GPIO from the 7i76,
and one XYZ milling machine just using the DE0-NANO to provide 3 axis hardware stepping and encoder on one header
and using the GPIO bank through a breakout board on another.

On 07/07/17 11:17, [email protected] wrote:
The image is made with the FPGA programmed to emulate a Mesa 5i25 / 7i76 - 7i77 FPGA combo

If you want to experiment addressing GPIO in some other way, using another.rbf file, use one of the Altera images

On 07/07/17 10:02, Sebastian wrote:

Hello,


our task is to build a CNC milling machine with X,Y,Z-axis on the DE0-NANO board form Altera with machinekit. We use this Image: http://deb.machinekit.io/uploads/de0-nano/debian-8.5-console-armhf-2017-02-14/. Our main problem is that every time we try access to the GPIO's over a C-program we get the same Error “Bus Error“.Our question is, is there a Demon who don't let us access to the GPIO's or what kind of mistake we made. On the fpga is a .rbf file that we have generate with Quartus where we can access to the GPIO's over PIO's. We have test that with a C-Program on the from Altera provided Console Image: http://www.terasic.com/downloads/cd-rom/de0-nano-soc/linux_BSP/

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to