mesa daughter cards config (hopefully)
- M4MazakUser
- Offline
- Elite Member
Less
More
- Posts: 173
- Thank you received: 5
04 Feb 2023 01:10 #263641
by M4MazakUser
mesa daughter cards config (hopefully) was created by M4MazakUser
i have a 7i37ta, and a 7i37-com daughter card connected to a 5i22-1.5 fpga card
i also have a 7i44, and several other sserial cards connected, as well as a 7i47 used for interfacing to servo encoders.
its an odd setup, but i had to make do with what was available -covid/chip shortages etc.
now, the two 7i37 cards dont seem to respond, they could be doa's, ive used several 50pin working cables, they are powered from the same 5v line that powers the other 2 cards(that are working) do i have to initialize them in hal? is there something im missing.
theres no lights on either of the 7i37 cards lit up. and yes, the jumpers are set for external power.
i believe the 24v wiring is right, but unfortunatly cant take a picture till monday. i havent done any testing with the 7i37ta only the -com card. using the machine config display -yellow/red led setting pins etc.
i also have a 7i44, and several other sserial cards connected, as well as a 7i47 used for interfacing to servo encoders.
its an odd setup, but i had to make do with what was available -covid/chip shortages etc.
now, the two 7i37 cards dont seem to respond, they could be doa's, ive used several 50pin working cables, they are powered from the same 5v line that powers the other 2 cards(that are working) do i have to initialize them in hal? is there something im missing.
theres no lights on either of the 7i37 cards lit up. and yes, the jumpers are set for external power.
i believe the 24v wiring is right, but unfortunatly cant take a picture till monday. i havent done any testing with the 7i37ta only the -com card. using the machine config display -yellow/red led setting pins etc.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17945
- Thank you received: 4814
04 Feb 2023 01:23 - 04 Feb 2023 01:24 #263643
by PCW
Replied by PCW on topic mesa daughter cards config (hopefully)
The 7I37s have no LEDs (except red LEDs that indicate reversed inputs)
You do have to set the top 8 GPIOs of each 7I37 I/O connector or to
output mode and inverted
You do have to set the top 8 GPIOs of each 7I37 I/O connector or to
output mode and inverted
Last edit: 04 Feb 2023 01:24 by PCW.
Please Log in or Create an account to join the conversation.
- M4MazakUser
- Offline
- Elite Member
Less
More
- Posts: 173
- Thank you received: 5
04 Feb 2023 11:42 #263664
by M4MazakUser
Replied by M4MazakUser on topic mesa daughter cards config (hopefully)
I've been searching for this, what do I put in hal for any of these 8 outputs to work? Just a simple one line example is all I need.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23162
- Thank you received: 4860
04 Feb 2023 12:16 #263666
by andypugh
linuxcnc.org/docs/stable/html/man/man9/h...eral%20Purpose%20I/O
If you open a terminal window and run "halcmd show param *gpio*" you should get a list of all of them.
Replied by andypugh on topic mesa daughter cards config (hopefully)
setp hm2_5i22.0.gpio.000.is_output 1
setp hm2_5i22.0.gpio.000.invert_output 1
linuxcnc.org/docs/stable/html/man/man9/h...eral%20Purpose%20I/O
If you open a terminal window and run "halcmd show param *gpio*" you should get a list of all of them.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17945
- Thank you received: 4814
04 Feb 2023 18:11 - 04 Feb 2023 18:13 #263680
by PCW
Replied by PCW on topic mesa daughter cards config (hopefully)
Note that for a 7I37 on the first connector, it would be:
setp hm2_5i22.0.gpio.016.is_output 1
setp hm2_5i22.0.gpio.016.invert_output 1
setp hm2_5i22.0.gpio.017.is_output 1
setp hm2_5i22.0.gpio.017.invert_output 1
setp hm2_5i22.0.gpio.018.is_output 1
setp hm2_5i22.0.gpio.018.invert_output 1
setp hm2_5i22.0.gpio.019.is_output 1
setp hm2_5i22.0.gpio.019.invert_output 1
setp hm2_5i22.0.gpio.020.is_output 1
setp hm2_5i22.0.gpio.020.invert_output 1
setp hm2_5i22.0.gpio.021.is_output 1
setp hm2_5i22.0.gpio.021.invert_output 1
setp hm2_5i22.0.gpio.022.is_output 1
setp hm2_5i22.0.gpio.022.invert_output 1
setp hm2_5i22.0.gpio.023.is_output 1
setp hm2_5i22.0.gpio.023.invert_output 1
For 7I37s on other connectors, same except GPIO bits:
40..47 on the second
64..71 on the third
88..95 on the forth
setp hm2_5i22.0.gpio.016.is_output 1
setp hm2_5i22.0.gpio.016.invert_output 1
setp hm2_5i22.0.gpio.017.is_output 1
setp hm2_5i22.0.gpio.017.invert_output 1
setp hm2_5i22.0.gpio.018.is_output 1
setp hm2_5i22.0.gpio.018.invert_output 1
setp hm2_5i22.0.gpio.019.is_output 1
setp hm2_5i22.0.gpio.019.invert_output 1
setp hm2_5i22.0.gpio.020.is_output 1
setp hm2_5i22.0.gpio.020.invert_output 1
setp hm2_5i22.0.gpio.021.is_output 1
setp hm2_5i22.0.gpio.021.invert_output 1
setp hm2_5i22.0.gpio.022.is_output 1
setp hm2_5i22.0.gpio.022.invert_output 1
setp hm2_5i22.0.gpio.023.is_output 1
setp hm2_5i22.0.gpio.023.invert_output 1
For 7I37s on other connectors, same except GPIO bits:
40..47 on the second
64..71 on the third
88..95 on the forth
Last edit: 04 Feb 2023 18:13 by PCW.
The following user(s) said Thank You: M4MazakUser
Please Log in or Create an account to join the conversation.
- M4MazakUser
- Offline
- Elite Member
Less
More
- Posts: 173
- Thank you received: 5
12 Feb 2023 05:52 #264344
by M4MazakUser
Replied by M4MazakUser on topic mesa daughter cards config (hopefully)
Thanks heaps for the info. All working good now. I remembered something about this, but it was over 13years ago when I last worked with a 5i25 card. Also I geuss most people now use serial or Ethernet cards so searches don't return much on the 50pin daughter cards.
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds