7i43 + 7i76? And where is 7i76E up to?

More
07 Feb 2015 20:24 #55775 by pippin88
pippin88 created the topic: 7i43 + 7i76? And where is 7i76E up to?
Hi all,

I picked up a second hand 7i43 a while ago. I haven't actually put it in to use yet. I was going to wire it up to a G540 and another breakout board fairly soon.
That was until I tried my new Leadshine DM556 and loved it - I'm now looking at replacing my G540 with digital drivers (EM506, AM882 possibly). I need 5 drivers (4 axis machine, gantry has dual drive).

Is it possible to drive a 7i76 from a 7i43?
If not, where is support for the 7i76E up to?

Help is appreciated.
More
07 Feb 2015 22:32 #55783 by PCW
PCW replied the topic: 7i43 + 7i76? And where is 7i76E up to?
You can drive a 7I76 (or any 25 pin daughterboard) from a 7I43 but it requires
a cable adapter from the 50 pin header to DB25.
Mesa makes such an adapter (HDDB-ADPT) or you can wire it yourself.

The 7I76E is supported by LinuxCNC 2.7 or master
More
08 Feb 2015 06:02 #55797 by pippin88
pippin88 replied the topic: 7i43 + 7i76? And where is 7i76E up to?
Thanks PCW.

Is the wiring as simple as 7i43 IO0 to IO16 wired straight to 7i76 IO0 to IO16?

Is there any particular advantage to the newer FPGA cards (5i25, 7i76E) compared to 7i43? I'm just running a straightforward stepper system, may do a servo setup in the future.
More
08 Feb 2015 06:19 #55798 by PCW
PCW replied the topic: 7i43 + 7i76? And where is 7i76E up to?
Yeah its straight through

if you use the daughterboard 5V power option you need to
connect the 50 HDR pin 49 to DB25 pins 22,23,24 and 25

Theres no real advantage of the newer FPGAs, they are just
bigger and faster, none of which matter much for LinuxCNC use
More
08 Feb 2015 06:53 #55800 by pippin88
pippin88 replied the topic: 7i43 + 7i76? And where is 7i76E up to?
Great, thanks for the quick replies. I've ordered a 7i76.
More
11 Mar 2015 18:53 #56668 by pippin88
pippin88 replied the topic: 7i43 + 7i76? And where is 7i76E up to?
Well I received my 7i76 and wired it all up along with my 7i43.

Not having much luck getting it going as yet.
I've wired the 50pin out on the 7i43 to the DB25 based on IO00 to IO16 as per the 7i76 manual.

I believe the problem is the pin out from the 7i43.
The 7i43 has all 3 LEDs on at boot, then INIT and Done go out when LinuxCNC loads. The 7i76 has both power LEDs lit.
I've tried a PNCCONF config and the sample configs. Both load but no physical motion happens.

When i do dmesg I get:
[  788.122094] hm2: loading Mesa HostMot2 driver version 0.15
[  788.127378] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
[  788.545294] hm2/hm2_7i43.0: 48 I/O Pins used:
[  788.545306] hm2/hm2_7i43.0:     IO Pin 000 (P4-01): Encoder #1, pin B (Input)
[  788.545314] hm2/hm2_7i43.0:     IO Pin 001 (P4-03): Encoder #1, pin A (Input)
[  788.545321] hm2/hm2_7i43.0:     IO Pin 002 (P4-05): Encoder #0, pin B (Input)
[  788.545328] hm2/hm2_7i43.0:     IO Pin 003 (P4-07): Encoder #0, pin A (Input)
[  788.545336] hm2/hm2_7i43.0:     IO Pin 004 (P4-09): Encoder #1, pin Index (Input)
[  788.545343] hm2/hm2_7i43.0:     IO Pin 005 (P4-11): Encoder #0, pin Index (Input)
[  788.545351] hm2/hm2_7i43.0:     IO Pin 006 (P4-13): PWMGen #1, pin Out0 (PWM or Up) (Output)
[  788.545359] hm2/hm2_7i43.0:     IO Pin 007 (P4-15): PWMGen #0, pin Out0 (PWM or Up) (Output)
[  788.545366] hm2/hm2_7i43.0:     IO Pin 008 (P4-17): PWMGen #1, pin Out1 (Dir or Down) (Output)
[  788.545374] hm2/hm2_7i43.0:     IO Pin 009 (P4-19): PWMGen #0, pin Out1 (Dir or Down) (Output)
[  788.545382] hm2/hm2_7i43.0:     IO Pin 010 (P4-21): PWMGen #1, pin Not-Enable (Output)
[  788.545390] hm2/hm2_7i43.0:     IO Pin 011 (P4-23): PWMGen #0, pin Not-Enable (Output)
[  788.545397] hm2/hm2_7i43.0:     IO Pin 012 (P4-25): Encoder #3, pin B (Input)
[  788.545404] hm2/hm2_7i43.0:     IO Pin 013 (P4-27): Encoder #3, pin A (Input)
[  788.545412] hm2/hm2_7i43.0:     IO Pin 014 (P4-29): Encoder #2, pin B (Input)
[  788.545419] hm2/hm2_7i43.0:     IO Pin 015 (P4-31): Encoder #2, pin A (Input)
[  788.545426] hm2/hm2_7i43.0:     IO Pin 016 (P4-33): Encoder #3, pin Index (Input)
[  788.545434] hm2/hm2_7i43.0:     IO Pin 017 (P4-35): Encoder #2, pin Index (Input)
[  788.545441] hm2/hm2_7i43.0:     IO Pin 018 (P4-37): PWMGen #3, pin Out0 (PWM or Up) (Output)
[  788.545449] hm2/hm2_7i43.0:     IO Pin 019 (P4-39): PWMGen #2, pin Out0 (PWM or Up) (Output)
[  788.545457] hm2/hm2_7i43.0:     IO Pin 020 (P4-41): PWMGen #3, pin Out1 (Dir or Down) (Output)
[  788.545465] hm2/hm2_7i43.0:     IO Pin 021 (P4-43): PWMGen #2, pin Out1 (Dir or Down) (Output)
[  788.545473] hm2/hm2_7i43.0:     IO Pin 022 (P4-45): PWMGen #3, pin Not-Enable (Output)
[  788.545480] hm2/hm2_7i43.0:     IO Pin 023 (P4-47): PWMGen #2, pin Not-Enable (Output)
[  788.545488] hm2/hm2_7i43.0:     IO Pin 024 (P3-01): StepGen #0, pin Step (Output)
[  788.545496] hm2/hm2_7i43.0:     IO Pin 025 (P3-03): StepGen #0, pin Direction (Output)
[  788.545503] hm2/hm2_7i43.0:     IO Pin 026 (P3-05): IOPort
[  788.545509] hm2/hm2_7i43.0:     IO Pin 027 (P3-07): IOPort
[  788.545516] hm2/hm2_7i43.0:     IO Pin 028 (P3-09): StepGen #1, pin Step (Output)
[  788.545523] hm2/hm2_7i43.0:     IO Pin 029 (P3-11): StepGen #1, pin Direction (Output)
[  788.545530] hm2/hm2_7i43.0:     IO Pin 030 (P3-13): IOPort
[  788.545537] hm2/hm2_7i43.0:     IO Pin 031 (P3-15): IOPort
[  788.545544] hm2/hm2_7i43.0:     IO Pin 032 (P3-17): StepGen #2, pin Step (Output)
[  788.545551] hm2/hm2_7i43.0:     IO Pin 033 (P3-19): StepGen #2, pin Direction (Output)
[  788.545558] hm2/hm2_7i43.0:     IO Pin 034 (P3-21): IOPort
[  788.545564] hm2/hm2_7i43.0:     IO Pin 035 (P3-23): IOPort
[  788.545571] hm2/hm2_7i43.0:     IO Pin 036 (P3-25): StepGen #3, pin Step (Output)
[  788.545579] hm2/hm2_7i43.0:     IO Pin 037 (P3-27): StepGen #3, pin Direction (Output)
[  788.545585] hm2/hm2_7i43.0:     IO Pin 038 (P3-29): IOPort
[  788.545592] hm2/hm2_7i43.0:     IO Pin 039 (P3-31): IOPort
[  788.545599] hm2/hm2_7i43.0:     IO Pin 040 (P3-33): StepGen #4, pin Step (Output)
[  788.545606] hm2/hm2_7i43.0:     IO Pin 041 (P3-35): StepGen #4, pin Direction (Output)
[  788.545613] hm2/hm2_7i43.0:     IO Pin 042 (P3-37): IOPort
[  788.545619] hm2/hm2_7i43.0:     IO Pin 043 (P3-39): IOPort
[  788.545626] hm2/hm2_7i43.0:     IO Pin 044 (P3-41): StepGen #5, pin Step (Output)
[  788.545634] hm2/hm2_7i43.0:     IO Pin 045 (P3-43): StepGen #5, pin Direction (Output)
[  788.545640] hm2/hm2_7i43.0:     IO Pin 046 (P3-45): IOPort
[  788.545647] hm2/hm2_7i43.0:     IO Pin 047 (P3-47): IOPort
[  788.545734] hm2/hm2_7i43.0: registered
[  788.545741] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) found
[  820.438234] hm2_7i43.0: releasing board
[  820.438267] hm2/hm2_7i43.0: unregistered
[  820.438342] hm2_7i43: driver unloaded
[  820.442473] hm2: unloading

I downloaded the 7i43 archive from www.mesanet.com/software/parallel/
The pin out file looked more suitable, so I did:
sudo cp /home/lathe/Downloads/7i43/CONFIGS/HOSTMOT2/EPPHM2/svst4_6b.bit /lib/firmware/hm2/7i43-4/SVST4_6.BIT
but it doesn't seem to have changed anything.

In summary:
7i43
7i76
5 stepper drivers (Leadshine DM856) for X, Y (with 2 steppers driving gantry), Z and A axis.

Help is appreciated.
More
11 Mar 2015 19:25 #56672 by pippin88
pippin88 replied the topic: 7i43 + 7i76? And where is 7i76E up to?
I'n using a breakout board for the 7i43 made by the previous owner. I had wired to it based on the IO numbers, but realised I was on the wrong port (P3) for the firmware (using IO00 on 7i43 for DIR0), so I've swapped to the other 50 pin port (P4). However, looking at the dmesg output, the firmware expects the first pin to be step, where as the 7i76 expects the first pin to be DIR.

Is there any way to easily change these pin outs, rather than spend ages moving round 25 small wires and hoping I don't make a mistake?
More
12 Mar 2015 00:05 #56707 by PCW
PCW replied the topic: 7i43 + 7i76? And where is 7i76E up to?
If you want to run a 7I76 on a 7I43, you will need a 7I43 bitfile with a custom pinout
(sserial ports and encoder pins in the proper places)

BTW the step/dir swap is not harmful, it just means the step/dir outputs on the 7i76 pins are swapped
the main issue is that config does not have sserial at all so all the digital I/O on the 7I76 is inaccessable

The 7I76E is supported in linxcnc 2.7
More
12 Mar 2015 03:49 #56712 by pippin88
pippin88 replied the topic: 7i43 + 7i76? And where is 7i76E up to?
PCW, thanks for the reply. I realised that was probably the case after posting last night.

Is a custom pinout something I can generate? I don't have much programming experience and haven't used a FPGA before.

My 7i43 is wired:
By DB pins
1 IO0 DIR0 
2 IO2 DIR1 
3 IO4 DIR2 
4 IO6 DIR3 
5 IO8 DIR4 
6 IO9 STEP4 
7 IO10 SS0TX 
8 IO11 SS0RX 
9 IO12 SS1TX 
10 IO13 SS1RX 
11 IO14 ENCI
12 IO15 ENCB
13 IO16 ENCA
14 IO1 STEP0 OUT
15 IO3 STEP1 OUT
16 IO5 STEP2 OUT
17 IO7 STEP3 OUT
18 GND
19 GND
20 GND
21 GND
22 GND
23 GND
24 GND
25 GND

Or viewed in IO order
IO0 DIR0 
IO1 STEP0
IO2 DIR1
IO3 STEP1
IO4 DIR2 
IO5 STEP2
IO6 DIR3 
IO7 STEP3 OUT
IO8 DIR4 
IO9 STEP4 
IO10 SS0TX 
IO11 SS0RX 
IO12 SS1TX 
IO13 SS1RX 
IO14 ENCI
IO15 ENCB
IO16 ENCA
More
13 Mar 2015 00:22 #56755 by PCW
PCW replied the topic: 7i43 + 7i76? And where is 7i76E up to?
I can make a custom bitfile for this pinout when I get a chance
What size 7I43 do you have?
Moderators: PCWjmelson
Time to create page: 0.078 seconds
Powered by Kunena Forum