Mesa 7i80HD-16 + 7i52S + 7i37 config.bit

More
10 Feb 2016 15:42 #69928 by fjgesser
I need a configuration file (.bit) to work with:
7i80HD-16 (P1, P2 and P3 connectors)
7i52S (6 stepgen + 6 encoders)
7i37TA (GPIO: limits, home, buttons, relays, Estop ... on 8 outputs and 16 inputs)

The starting point is the "7i80HD_16_svst6_6_7i52s.bit" configuration for 7i80HD-16 plus 7i52S.
What is the possibility of generating one configuration for adding a 7i37?

7i52S (connected to P1)
7i37TA (connected to P2 or P3)

Best regards
Gesser

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

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
10 Feb 2016 15:58 #69931 by andypugh
Replied by andypugh on topic Mesa 7i80HD-16 + 7i52S + 7i37 config.bit
7i37 is just a GPIO card. Any features you disable become GPIO so typically you switch off surplus features and put the GPIO cards on the higher-numbered ports

Looking at git.linuxcnc.org/gitweb?p=hostmot2-firmw...f8568c80b728818b9a8b

the current pinout appears to be perfectly suited for 7i52 on P1 and and 2 x 7i37TA on P2 and P3. What is it about that pinout that appears to be wrong?

You need to set the GPIO directions to suit the 7i37TA.

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

More
10 Feb 2016 18:30 #69944 by fjgesser
Replied by fjgesser on topic Mesa 7i80HD-16 + 7i52S + 7i37 config.bit
Please, I apologize for the trivial question.

When I update the firmware of 7i80HD-16:
mesaflash --device 7i80 --write 7i80hd_16svst6_6_7i52s.bit
... --reload
... --readhmid> Pin.txt
I get the attached file.

I expected a definition of output pins and input to P2 and P3.

IO Connections for P2
Pin # I / O Pri. func Sec. func func Chan Pin Pin Dir

  1 24 ioport None
  3 25 ioport None
  5 26 ioport None
  7 27 ioport None
......

How do I define which pin is input or output?
My intention is to use them as GPIO and configure the function in .HAL
Attachments:

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

More
10 Feb 2016 18:38 #69946 by PCW
The next step is to read the hostmot2 manual page (specifically the GPIO section)
The following user(s) said Thank You: fjgesser

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

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
10 Feb 2016 19:18 #69951 by andypugh
Replied by andypugh on topic Mesa 7i80HD-16 + 7i52S + 7i37 config.bit

How do I define which pin is input or output?


I rather expect that PNCConf can do that for you. It might not know about the 7i80 yet, but you can create a 5i23 config and then just change the card name in the INI file.
Some other changes will need to be made, but that would get you close.
The following user(s) said Thank You: fjgesser

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

Moderators: PCWjmelson
Time to create page: 0.057 seconds
Powered by Kunena Forum