- Posts: 17533
- Thank you received: 5334
MESA 5i25 + 7i85S
In this case it might have been easier to just start with a sample HAL file rather than trying to make pncconf support hardware that will still require a lot of direct hal file editing.
Please Log in or Create an account to join the conversation.
I found that Pncconf helped me a lot to get the initial setup on the 5i25. A lot faster than starting from scratch. Once the functioning of Pncconf was understood it was easy enough to put in custom hal commands to do what I wished. My comment about Pncconf's GPIO pin numbering should start at GPIO 17 on the 2nd I/O connector of the 5i25 is to help others out.
I agree that my daughterboard choices may not appear to be the most appropriate. However, I intend to hook up a lathe and a mill to this combination (not to run at the same time!), so I wanted more step/gens than one would normally need. I could have used one of the daughterboards and a 7i75 with some logic to switch between machines.
I see the 7i75 has 17 pins of I/O. Can each pin be used as input or output?
Thanks for your help.
-Larry
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The 7I75 is just a I/O protector so allows all pins to be input/ output or bi-directional
Please Log in or Create an account to join the conversation.
PCW wrote: Just saying that you dont really have to start from scratch with hal files. For example if you started with the hm2-stepper example files you would have a running config in a few minutes, and a halcmd show pins would list all available hardware for cutting and pasting into a custom hal file
Having a running basic config and knowing what to cut and paste to make it do what you want is two different things.
It's easy to do once you understand everything about HAL, INI options, gladeVCP and Mesa options.....
I do find it miss leading when people say just edit a basic sample file to get the config running.
It ignores the knowledge required to make it do anything beyond simply running.
Obviously for some people that is all they need and they will get there (and probably enjoy the experience getting there).
Chris M
Please Log in or Create an account to join the conversation.
shayloco wrote: 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
This is a bug in PNCconf. Pncconf was built when the boards only had groups of 24 pins.
Now I have to make adjustments for cards with less then 24 pins.
I guess I missed the GPIO numbering of deselected components.
Chris M
Please Log in or Create an account to join the conversation.