Converting a 7i76e config to 7c81/7i76 pair
20 Aug 2024 15:18 #308218
by PCW
Replied by PCW on topic Converting a 7i76e config to 7c81/7i76 pair
Typo?
it should be hm2_rpspi
it should be hm2_rpspi
Please Log in or Create an account to join the conversation.
20 Aug 2024 15:36 #308222
by acondit
Replied by acondit on topic Converting a 7i76e config to 7c81/7i76 pair
No, just incorrect reading of the name of the driver.
I guess the correct load line should read:
loadrt hm2_rpspi config="num_encoders=0 num_pwmgens=0 num_stepgens=3 sserial_port_0=0xxxxx"
Thanks.
I guess the correct load line should read:
loadrt hm2_rpspi config="num_encoders=0 num_pwmgens=0 num_stepgens=3 sserial_port_0=0xxxxx"
Thanks.
Please Log in or Create an account to join the conversation.
20 Aug 2024 19:55 #308240
by acondit
Replied by acondit on topic Converting a 7i76e config to 7c81/7i76 pair
Now I get an error message on "hm2_7c81.0.7i76.0.0.output-00" that this pin doesn't exist.
it works on the 5i25 board and the 7i76e board.
hm2_5i25.0.7i76.0.0.output-00
hm2_7i76e.0.7i76.0.0.output-00
Any suggestions?
it works on the 5i25 board and the 7i76e board.
hm2_5i25.0.7i76.0.0.output-00
hm2_7i76e.0.7i76.0.0.output-00
Any suggestions?
Please Log in or Create an account to join the conversation.
20 Aug 2024 20:17 #308243
by PCW
Replied by PCW on topic Converting a 7i76e config to 7c81/7i76 pair
1. does the 7I76 have both 5V and field power?
2. Is the 7I76 connected to the 7C81 with the proper flat cable
1--> 1
2 -->14
3 --> 2
(what you get with standard IDC connectors)
3. Does the 7C81 cable power jumper match the 7I76
(that is both can be jumpered for 5V cable power or not but must match)
2. Is the 7I76 connected to the 7C81 with the proper flat cable
1--> 1
2 -->14
3 --> 2
(what you get with standard IDC connectors)
3. Does the 7C81 cable power jumper match the 7I76
(that is both can be jumpered for 5V cable power or not but must match)
Please Log in or Create an account to join the conversation.
22 Aug 2024 01:50 #308359
by acondit
Replied by acondit on topic Converting a 7i76e config to 7c81/7i76 pair
1, Yes, the 7i76 has both 5V and field power
2. I believe that the flat cable is correct
3. The 7i76 is jumpered for power from the fpga card, however,
I am not certain of the 7c81 jumper w3. Is it supposed to be closer to the ribbon cable or farther from the ribbon cable.
The manual for the 7c81 says,
"Hardware setup jumper positions assume that the 7I98 card is oriented in an upright position, that is, with the Ethernet connector towards the left and the I/O connectors towards the right."
2. I believe that the flat cable is correct
3. The 7i76 is jumpered for power from the fpga card, however,
I am not certain of the 7c81 jumper w3. Is it supposed to be closer to the ribbon cable or farther from the ribbon cable.
The manual for the 7c81 says,
"Hardware setup jumper positions assume that the 7I98 card is oriented in an upright position, that is, with the Ethernet connector towards the left and the I/O connectors towards the right."
Attachments:
Please Log in or Create an account to join the conversation.
22 Aug 2024 02:11 #308362
by PCW
Replied by PCW on topic Converting a 7i76e config to 7c81/7i76 pair
You have W3 down (you picture is upside down)
so not supplying 5V to the 7I76 You need W3 up
if the 7I76 is Jumpered to get cable 5V (7I76 W2 left)
W3 is one of the group of 3 jumpers under P1 but closest to
P2
so not supplying 5V to the 7I76 You need W3 up
if the 7I76 is Jumpered to get cable 5V (7I76 W2 left)
W3 is one of the group of 3 jumpers under P1 but closest to
P2
Please Log in or Create an account to join the conversation.
25 Aug 2024 00:32 - 25 Aug 2024 00:40 #308566
by acondit
Replied by acondit on topic Converting a 7i76e config to 7c81/7i76 pair
In setting up the 5i25 uses the line:
loadrt hm2_pci config="num_encoders=1 num_pwmgens=0 num_stepgens=3 sserial_port_0=0xxxxxxx"
For setting up the 7c81 Is the line:
loadrt hm2_rpspi config="num_encoders=0 num_pwmgens=0 num_stepgens=3 sserial_port_0=0xxxxx"
Or is there something missing?
loadrt hm2_pci config="num_encoders=1 num_pwmgens=0 num_stepgens=3 sserial_port_0=0xxxxxxx"
For setting up the 7c81 Is the line:
loadrt hm2_rpspi config="num_encoders=0 num_pwmgens=0 num_stepgens=3 sserial_port_0=0xxxxx"
Or is there something missing?
Last edit: 25 Aug 2024 00:40 by acondit. Reason: Corrected line about load_rt for 5i25
Please Log in or Create an account to join the conversation.
25 Aug 2024 01:13 #308567
by PCW
Replied by PCW on topic Converting a 7i76e config to 7c81/7i76 pair
loadrt hm2_rpspi config="num_encoders=0 num_pwmgens=0 num_stepgens=3 sserial_port_0=0xxxxx"
I would have probably set num_encoders=1 to support the 7I76 encoder input.
num_pwmgens=0 doesn't do anything because the configuration has no pwmgens.
I would have probably set num_encoders=1 to support the 7I76 encoder input.
num_pwmgens=0 doesn't do anything because the configuration has no pwmgens.
Please Log in or Create an account to join the conversation.
25 Aug 2024 18:46 #308623
by acondit
Replied by acondit on topic Converting a 7i76e config to 7c81/7i76 pair
I edited num_encoder to be 1.
I just used pncconfig to create a new 5i25 file set and then made the changes for the 7c81.
I am still getting the error message on "hm2_7c81.0.7i76.0.0.output-00" that this pin doesn't exist.
I think I will order a new 40 pin cable to see if that fixes the problem.
Is it possible that the 7i76 could have been damaged when the power jumper was misconfigured?
The other thing that I could try would be to take the 5i25 files over to my machine that actually has a 5i25/7i76 pair and see if it will load there.
If I sent you the .ini file and the .hal file could you see if there is anything obviously wrong?
I just used pncconfig to create a new 5i25 file set and then made the changes for the 7c81.
I am still getting the error message on "hm2_7c81.0.7i76.0.0.output-00" that this pin doesn't exist.
I think I will order a new 40 pin cable to see if that fixes the problem.
Is it possible that the 7i76 could have been damaged when the power jumper was misconfigured?
The other thing that I could try would be to take the 5i25 files over to my machine that actually has a 5i25/7i76 pair and see if it will load there.
If I sent you the .ini file and the .hal file could you see if there is anything obviously wrong?
Please Log in or Create an account to join the conversation.
25 Aug 2024 18:54 - 25 Aug 2024 18:55 #308625
by PCW
Replied by PCW on topic Converting a 7i76e config to 7c81/7i76 pair
A bad 40 pin cable would cause different types of errors
(the 7C81 itself would cause errors)
Might be bad 7C81, bad 7I76, or bad 26 pin cable.
mis-jumpering is unlikely to cause damage.
Do the 7I76 step/dir outputs work? That would be a quick test
of the firmware, cable, 7C81 and 7I76
(the 7C81 itself would cause errors)
Might be bad 7C81, bad 7I76, or bad 26 pin cable.
mis-jumpering is unlikely to cause damage.
Do the 7I76 step/dir outputs work? That would be a quick test
of the firmware, cable, 7C81 and 7I76
Last edit: 25 Aug 2024 18:55 by PCW.
Please Log in or Create an account to join the conversation.
Time to create page: 0.107 seconds