- Posts: 617
- Thank you received: 75
Spinx1 to 7i85
- OT-CNC
- Topic Author
- Offline
- Platinum Member
-
I need help with my final connections on the Spinx to 7i85.
I have TB-1 differential out 6+7 available on the 7i85 for connecting the 3 wires from the spinx ( PWM, Enable and Dir.) What goes where??
TB-1 pins 9 and 10 are ground, 11 is TX6, 12 is /TX6, 13 TX7, 14 /TX7, 15 and 16 are +.
All the jumpers are in the down position for the encoders that are connected to the 7i85 in case that info matters for the outputs.
Once connected, how do I assign the proper pwm on the pwm pin? 5i25, 7i85s and field i/o boards are used.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
- Posts: 17533
- Thank you received: 5334
assuming you dont use DIR for now
you could wire
PWM to TX6- and /ENA to TX7-
To get hardware PWM on those pins requires the proper firmware
what firmware are you using?
Please Log in or Create an account to join the conversation.
- OT-CNC
- Topic Author
- Offline
- Platinum Member
-
- Posts: 617
- Thank you received: 75
I have configuration: 7i85Sx2.BIT according to the sticker in the back of the 5i25 board.
Other output pins that are available are on my 7i84. Would that be easier to implement? Actually I'm running these on 24v so probably not.
Actually I do have an additional differential out 2 and 3 on tb2 that are available. Can I wire direction to TX-2?
Please Log in or Create an account to join the conversation.
- OT-CNC
- Topic Author
- Offline
- Platinum Member
-
- Posts: 617
- Thank you received: 75
What firmware do I need?
If I need something custom, can you help me with getting the proper configuration based on the pins I listed? And a link to how to flash the board?
Thank you very much in advance.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19311
- Thank you received: 4655
OT-CNC wrote: What firmware do I need?
git.linuxcnc.org/gitweb?p=hostmot2-firmw...0a04b7f5d9df;hb=HEAD
Shows that there are no pwmgens on 7i85Sx2
7i85SPx2 _does_ have PWMgens, but no stepgens.
git.linuxcnc.org/gitweb?p=hostmot2-firmw...97adc0d8ccbd;hb=HEAD
In theory you could combine those two files to create a firmware with a mixture of stepgens and pwmgens. There are instruction in the README file at the top level:
git.linuxcnc.org/gitweb?p=hostmot2-firmware.git;a=tree
In practice it is probably easier to ask PCW nicely for a custom firmware, unless he has already made one.
To get going quickly you could use a software pwmgen, with a 1000Hz servo thread you will only get about 10 discrete PWM values even at 50Hz PWM frequency, but it will at least allow you to check out the system.
Please Log in or Create an account to join the conversation.
- OT-CNC
- Topic Author
- Offline
- Platinum Member
-
- Posts: 617
- Thank you received: 75
Thank you for the links.
My preference would be to have PCW make a custom firmware.
Please Log in or Create an account to join the conversation.
- OT-CNC
- Topic Author
- Offline
- Platinum Member
-
- Posts: 617
- Thank you received: 75
Can I get the required pwm out on that connector without firmware change?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19311
- Thank you received: 4655
OT-CNC wrote: Can I get the required pwm out on that connector without firmware change?
No, you still need a firmware change. At the moment the internal connector is configured for a second 7i85S with Step/Dir.
To wire neatly to that internal connector you need: store.mesanet.com/index.php?route=produc...74_79&product_id=235 or from a non-mesa source: www.amazon.com/CableWholesale-Motherboar...ds=parallel+port+idc
Please Log in or Create an account to join the conversation.
- OT-CNC
- Topic Author
- Offline
- Platinum Member
-
- Posts: 617
- Thank you received: 75
Thanks for the clarification on that. I was about to start wiring lol...
Okay, so in that case I will need a new configuration and will wire to the 7i85 as originally intended.
The 5i25 manual shows a JTAG connection for programming. Do I need to get that connector for updating the firmware???
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19311
- Thank you received: 4655
OT-CNC wrote: The 5i25 manual shows a JTAG connection for programming. Do I need to get that connector for updating the firmware???
No, you can re-program in the PC with the "mesaflash" utility.
Instructions are in the 5i25 manual, Page 12: www.mesanet.com/pdf/parallel/5i25man.pdf
Please Log in or Create an account to join the conversation.