5i25 board confusion with pins directions
28 Oct 2017 13:22 #100921
by andypugh
Replied by andypugh on topic 5i25 board confusion with pins directions
It's an input.
But the HAL pin is an OUT HAL pin, because it supplies a value to HAL.
But the HAL pin is an OUT HAL pin, because it supplies a value to HAL.
Please Log in or Create an account to join the conversation.
28 Oct 2017 13:34 #100922
by juanjor
Replied by juanjor on topic 5i25 board confusion with pins directions
Yes Andy, but i see the electrical side of this. and the pin goes output when the linuxcnc running, I put the scope in the pin,
and read 5V when linuxcnc running tis goes low 0V, and the 5i25 have the pull-ups enabled, also try to put external pull-ups
and the logical state is in 0V.
why? if declared fine in the hal, the pin goes low?
thanks
and read 5V when linuxcnc running tis goes low 0V, and the 5i25 have the pull-ups enabled, also try to put external pull-ups
and the logical state is in 0V.
why? if declared fine in the hal, the pin goes low?
thanks
Please Log in or Create an account to join the conversation.
28 Oct 2017 13:43 #100923
by andypugh
Replied by andypugh on topic 5i25 board confusion with pins directions
Quick test.
With LinuxCNC running open a terminal.
halcmd show param hm2_5i25.0.gpio.nn.is-output
Maybe even try
halcmd setp hm2_5i25.0.gpio.nn.is-output 0
With LinuxCNC running open a terminal.
halcmd show param hm2_5i25.0.gpio.nn.is-output
Maybe even try
halcmd setp hm2_5i25.0.gpio.nn.is-output 0
Please Log in or Create an account to join the conversation.
28 Oct 2017 14:36 - 28 Oct 2017 14:49 #100928
by PCW
Replied by PCW on topic 5i25 board confusion with pins directions
Can you post this information:
1. the result of:
sudo mesaflash --device 5i25 --readhmid > pinout.txt
(post the pinout.txt file here)
2. your current hal file
3. What pin are you are referring to? (Note that header, DB25 and GPIO numbers are all different)
1. the result of:
sudo mesaflash --device 5i25 --readhmid > pinout.txt
(post the pinout.txt file here)
2. your current hal file
3. What pin are you are referring to? (Note that header, DB25 and GPIO numbers are all different)
Last edit: 28 Oct 2017 14:49 by PCW.
Please Log in or Create an account to join the conversation.
30 Oct 2017 12:36 #101013
by juanjor
Replied by juanjor on topic 5i25 board confusion with pins directions
Good morning folks!
I attach the requested files.
with respect :
"3. What pin are you are referring to? (Note that header, DB25 and GPIO numbers are all different)"
is pin 1 of db25 (P3). or gpio.017 (is true?)
thanks for the help
attachment=12538]pinout.txt[/attachment]
I attach the requested files.
with respect :
"3. What pin are you are referring to? (Note that header, DB25 and GPIO numbers are all different)"
is pin 1 of db25 (P3). or gpio.017 (is true?)
thanks for the help
attachment=12538]pinout.txt[/attachment]
Please Log in or Create an account to join the conversation.
30 Oct 2017 15:09 #101019
by PCW
Replied by PCW on topic 5i25 board confusion with pins directions
No, as I said before, GPIO17 is on P2 (pin 1) not P3
Please Log in or Create an account to join the conversation.
31 Oct 2017 13:45 #101061
by juanjor
Replied by juanjor on topic 5i25 board confusion with pins directions
Hello Folks!.
Well today i solve the problem, due we recheck all and not found errors in wires (sorry Peter by the confusion of P2 and P3, as you say
is as we connect, the "machine" was hooked to 5i25 P3 and working fine the mpg is hooked to P2), we install the linux again, and the linuxcnc and now working fine, the "machine" and the mpg. I don't understand where is the error. for now, is working.
Thanks, Andy & Peter by the support!
now I try to command the speed of spindle with the linuxcnc.
Well today i solve the problem, due we recheck all and not found errors in wires (sorry Peter by the confusion of P2 and P3, as you say
is as we connect, the "machine" was hooked to 5i25 P3 and working fine the mpg is hooked to P2), we install the linux again, and the linuxcnc and now working fine, the "machine" and the mpg. I don't understand where is the error. for now, is working.
Thanks, Andy & Peter by the support!
now I try to command the speed of spindle with the linuxcnc.
Please Log in or Create an account to join the conversation.
Time to create page: 0.084 seconds