5i20 + 7i52s + 7i37TA -> change the IO Pins

01 Oct 2012 22:04 - 01 Oct 2012 22:04 #24838 by trilobyte
i received the ordered 7i52s today. it's runnning! i connected an encoder and a few led's (step gens) for the first test.
now i have to connect the boards with the machine. this is another big step ,-)


Last edit: 01 Oct 2012 22:04 by trilobyte.
24 Dec 2012 07:31 #27991 by trilobyte
how can i set these two outputs low? can i configure something with the pncconf wizard?

the machine ist running in y and z axis!


24 Dec 2012 11:02 #27996 by PCW
Not sure about pncconf but you can set these low by
adding the following to the hal file:

setp hm2_5i20.0.gpio.000.is_output true
setp hm2_5i20.0.gpio.023.is_output true
setp hm2_5i20.0.gpio.000.out 0
setp hm2_5i20.0.gpio.023.out 0
The following user(s) said Thank You: trilobyte
24 Dec 2012 15:31 #27997 by trilobyte
i don't know which files i can edit and which one are controlled by the pncconf wizard? if i modify the wrong files, pncconf will overwrite these changes every time i start the wizard!?

24 Dec 2012 23:31 #28005 by PCW
Probably (which may be OK if you transition to hand editing the HAL files)

you may be able to just set the GPIO 000 and 023 pins to outputs in pncconf
(since the default output value would be low)
12 Sep 2017 19:18 #98895 by neodym
Hello everybody,

I use exactly the same hardware (Mesa 5i20+7i52) as Peter. Unfortunately I can not find the right file for my project.
For my cnc-lathing machine I need 3-Encoder, 3-Step/Dir, 2-PWM/Dir and 2-Sserial (1x7i73, 1xreserve)
When trying to create your own file I failed. After this tutorial it did not work.
Missing files and error messages are syntax check. Unfortunately, I am not a programmer and can not correct these errors. That is why I am dependent on your help.
13 Sep 2017 01:15 #98907 by PCW
A 7I52 will give you 6 encoder and 6 sserial channels,
You would need another daughter card for the stepgen and PWM/DIr outputs
13 Sep 2017 07:21 #98914 by neodym
I have however this combination already with this firmware used.
.(loadrt hm2_pci config="firmware=hm2/5i20/SVST2_4_7I47.BIT num_encoders=3 num_pwmgens=1 num_stepgens=3")
Actually I only need the additional Sserial for 7i73. According to this manual on page 10, this should be possible.
Unfortunately, not with this firmware.
13 Sep 2017 13:20 #98920 by PCW
Which daughtercards do you have?

A 7I52 has 6 encoders and 6 sserial interfaces
A 7I52S has 6 encoders and 6 STEP/DIR or PWM/DIR output pairs
Neither has the combination of step/dir and sserial that you need
13 Sep 2017 15:15 - 13 Sep 2017 15:25 #98924 by neodym
I have only 7i52, not the one with the "s" at the end. :o( I believe to understand where the problem is.
I have only 6 TX ports and each step/dir (or pwm/dir) requires 2 of them. With 2x step/dir and 1x pwm/dir I have no more port for Sserial free.

PS: Can change by the IC the 7i52 to the 7i52s? I have the necessary equipment for this.
Last edit: 13 Sep 2017 15:25 by neodym.
Moderators: cmorley
Time to create page: 0.096 seconds
Powered by Kunena Forum