MESA 5i25 + 7i85S

More
13 years 8 months ago #30293 by cmorley
Replied by cmorley on topic MESA 5i25 + 7i85S
Yes there is a combination that PNCconf handles already, with this problem. I'm sure I added a work around in PNCconf to handle it.
I will probably have to add this one too. I can't remember what I did. :) I think I convert them in PNCconf to muxed encoders and hide one.

What I did for 7i77x1 (which is not a real firmware it's 7i77x2) I told PNCconf to automatically deselect the second card when that firmware name shows.
While that works it means I have to put logic into PNCconf for every firmware I want to do that with. So I just choose the firmware that would seem common.

When I get a little time I will confirm and add your XML's to the others.
Thanks for posting them!
The following user(s) said Thank You: shayloco

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

More
13 years 8 months ago #30298 by shayloco
Replied by shayloco on topic MESA 5i25 + 7i85S

PCW wrote: There is currently a limitation in the HostMot2 driver that prevents mixing normal and muxed encoders on one board, so a configuration that has muxed encoders must use them everywhere. So if you change the 7I78 encoder info in the XML file to indicate that the 7I78 has a muxed encoder (which matches the firmware) LinuxCNC should be happy with it. You will also have to add 2 encoders to the module portion of the XML file.


That appears to have solved the problem for using 7i85S + 7i78. Linuxcnc will now load the configuration. Dmesg shows what I would expect for pinouts.

Time to do some wiring and see if it works!

Thank you!
Larry

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

More
13 years 8 months ago #30299 by shayloco
Replied by shayloco on topic MESA 5i25 + 7i85S

cmorley wrote:
When I get a little time I will confirm and add your XML's to the others.
Thanks for posting them!


Chris-

I will report back on the 7i85S_7i78.xml configuration after I do some hardware testing.

Thank you,
Larry

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

More
13 years 7 months ago #30979 by shayloco
Replied by shayloco on topic MESA 5i25 + 7i85S
Chris-

After some testing and head scratching it seems that Pncconf, when used with the 5i25 card, should start the IO Connector 2 GPIO pins with 17, not 24 (assuming using GPIO on the 2nd card, not built in modules).

Finding which TB1/TB2 pins on the 7i78 card correspond to the GPIO pins from IO Connector 2 also appears not so intuitive. I seem to have GPIO 17 - 20 located, but 21 - 24 I am not sure of.

However, I could be all wrong, it may be my XML files that are creating issues.

I am using the 5i25 + 7i85S + 7i78.

-Larry

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

More
13 years 7 months ago - 13 years 7 months ago #30981 by PCW
Replied by PCW on topic MESA 5i25 + 7i85S
<?xml version="1.0"?>
<hostmot2>
<boardname>5i25</boardname>
<ioports>2</ioports>
<iowidth>34</iowidth>
<portwidth>17</portwidth>

pncconf should use portwidth for its connector N calculations

You can deduce the 7i78 pinout from the dmesg:
GPIO 17 though 24 are stepgens
GPIO 25 = PWM-OUT
GPIO 26 = PWM-ENA
GPIO 27 = PWM-DIR
GPIO 28 = SSERIAL TX
GPIO 29 = SSERIALTXEN
GPIO 30 = SSERIAL RX
GPIO 31 = QCOUNT IDX
GPIO 32 = QCOUNT B
GPIO 33 = QCOUNT A
Last edit: 13 years 7 months ago by PCW.

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

More
13 years 7 months ago #30983 by shayloco
Replied by shayloco on topic MESA 5i25 + 7i85S
Peter-

Which TB1 pins are GPIO17 - 24 ?

So far, it looks like:
1-Gnd
2,3 - GPIO 18
4,5 - GPIO 17
6- +5
7-Gnd
8,9 GPIO 20
10,11 GPIO 19
12- +5
ETC up to pin 24.

Does that make sense? Is it possible to get a schematic for the 7i78?

-Larry

PCW wrote: pncconf should use portwidth for its connector N calculations

You can deduce the 7i78 pinout from the dmesg:
GPIO 17 though 24 are stepgens
GPIO 25 = PWM-OUT
GPIO 26 = PWM-ENA
GPIO 27 = PWM-DIR
GPIO 28 = SSERIAL TX
GPIO 29 = SSERIALTXEN
GPIO 30 = SSERIAL RX
GPIO 31 = QCOUNT IDX
GPIO 32 = QCOUNT B
GPIO 33 = QCOUNT A

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

Moderators: cmorley
Time to create page: 0.061 seconds
Powered by Kunena Forum