The FPGA pin functions depend on which FPGA bitfile you load when loading the hm2 driver. The driver will spit out a list of all the functions it finds, but you can also refer to the configuration files for each FPGA "flavor" in the source. The VHDL file defining the pins has comments with the internal MESA I/O pin number, the Physical DE0-Nano-SoC I/O connector pin, and the DB-25 pin (when used with my DB25 daughter card). Here's the configuration for one 7i76, one 7i85s, and two plain GPIO connectors. I've highlighted the 7i76 pins:
https://github.com/machinekit/mksocfpga/blob/master/HW/hm2/config/DE0_Nano_SoC_DB25/PIN_7I76_7I85S_GPIO_GPIO.vhd#L111-L129 On 3/18/2017 2:32 AM, [email protected] wrote: > The output pins of the DB25 board are the same as the Mesa 5i25 > > There are no step and dir software pins because the steps are produced in > hardware, you just need to connect your stepper > > driver to the appropriate DB25 pins and use the software params to set the > timing etc. > > Same applies to encoder, A, B and Index are physical pins > > On 18/03/2017 03:10, Chen Cheng Xi wrote: >> Hi, >> >> I am trying to looking for pins such as Dir/Step, unfortunately I can't find >> them at all. >> Inline image 1Inline image 2 >> >> On Fri, Mar 17, 2017 at 10:19 PM, Chen Cheng Xi <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> Thanks schooner, this is exactly what I want to know. >> Since I used beaglebone PRU GPIO to connect A4498 stepper motor driver >> before, If I am not wrong, I just use GPIO 0 and 1 to connect with A4498. >> >> I will try it soon. >> -chengxi >> >> On Fri, Mar 17, 2017 at 12:06 AM, [email protected] >> <mailto:[email protected]> <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> On 16/03/17 14:07, euerka wrote: >>> Recently I got an email >>> /_<http://mail.terasic.com.tw/epaper/2017/Products/en/de0-nano-eof/ >>> >>> <http://mail.terasic.com.tw/epaper/2017/Products/en/de0-nano-eof/>_/> >>> >>> DE0-Nano-SoC was end of life. >>> >>> By the way, now my board is work with Schooner's img. >>> As he mentioned in previous post, 7i76 board was used as interface >>> board? >>> >>> Does it work only with GPIO in board? If so, may I know the hardware >>> configuration the same as Beaglebone P8,P9? >> >> This is the GPIO pinout >> >> https://github.com/machinekit/mksocfpga/blob/master/HW/QuartusProjects/DE0_Nano_SoC_DB25/DE0_Nano_SoC_DB25.vhd#L376-L450 >> >> <https://github.com/machinekit/mksocfpga/blob/master/HW/QuartusProjects/DE0_Nano_SoC_DB25/DE0_Nano_SoC_DB25.vhd#L376-L450> >> >> I have one machine running with stepgens and an encoder off the P2 >> header and just using GPIO off the P3 header on one of Charles's >> interface boards for all the limits, home, estop etc >> >> Attached is the GPIO pinout to physical DB25 pins >>> >>> Thanks! >>> >> >> -- >> website: http://www.machinekit.io blog: http://blog.machinekit.io >> github: https://github.com/machinekit >> --- >> You received this message because you are subscribed to a topic in >> the >> Google Groups "Machinekit" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/machinekit/wqH_V52qdQY/unsubscribe >> >> <https://groups.google.com/d/topic/machinekit/wqH_V52qdQY/unsubscribe>. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] >> <mailto:[email protected]>. >> Visit this group at https://groups.google.com/group/machinekit >> <https://groups.google.com/group/machinekit>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> >> >> >> -- >> Best regards! >> 陈成细 >> R&D Engineer >> (\__/) >> (='.'=) This is Bunny. Copy and paste bunny into your >> (")_(") signature to help him gain world domination. >> >> >> >> >> -- >> Best regards! >> 陈成细 >> R&D Engineer >> (\__/) >> (='.'=) This is Bunny. Copy and paste bunny into your >> (")_(") signature to help him gain world domination. >> -- >> 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] >> <mailto:[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] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. > -- Charles Steinkuehler [email protected] -- 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.
