Correct bit file for 7i93 + 7i33TA
12 Sep 2022 19:14 #251758
by Ronniecnc
Correct bit file for 7i93 + 7i33TA was created by Ronniecnc
Hello, newbie here, I need to know what is the correct bit file for a 7i93 and 7i33TA card. I think it has 7i93_svst4_4d.bit file. I am doing a retrofit for a Hurco km3p milling machine the machine has 3 brushed dc servo motors and the drivers are electrocraft max-400. I have another question about the encoders, they are incremental encoders 5 volt model BEI MX21-592 I don't have the datasheet don't know the pinout. Please could someone help me find information about the encoders I don't want to fry the mesa card
laser@debian:~$ mesaflash --device 7i93 --addr 10.10.10.10 --readhmid
Configuration Name: HOSTMOT2
General configuration information:
BoardName : MESA7I93
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 2
Width of one I/O port: 24
Clock Low frequency: 100.0000 MHz
Clock High frequency: 200.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256
Modules in configuration:
Module: DPLL
There are 1 of DPLL in configuration
Version: 0
Registers: 7
BaseAddress: 7000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: WatchDog
There are 1 of WatchDog in configuration
Version: 0
Registers: 3
BaseAddress: 0C00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: IOPort
There are 2 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: QCount
There are 4 of QCount in configuration
Version: 2
Registers: 5
BaseAddress: 3000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: PWM
There are 4 of PWM in configuration
Version: 0
Registers: 5
BaseAddress: 4100
ClockFrequency: 200.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: StepGen
There are 12 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: LED
There are 1 of LED in configuration
Version: 0
Registers: 1
BaseAddress: 0200
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Configuration pin-out:
IO Connections for P2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 0 IOPort QCount 1 Quad-B (In)
3 1 IOPort QCount 1 Quad-A (In)
5 2 IOPort QCount 0 Quad-B (In)
7 3 IOPort QCount 0 Quad-A (In)
9 4 IOPort QCount 1 Quad-IDX (In)
11 5 IOPort QCount 0 Quad-IDX (In)
13 6 IOPort PWM 1 PWM (Out)
15 7 IOPort PWM 0 PWM (Out)
17 8 IOPort PWM 1 Dir (Out)
19 9 IOPort PWM 0 Dir (Out)
21 10 IOPort PWM 1 /Enable (Out)
23 11 IOPort PWM 0 /Enable (Out)
25 12 IOPort QCount 3 Quad-B (In)
27 13 IOPort QCount 3 Quad-A (In)
29 14 IOPort QCount 2 Quad-B (In)
31 15 IOPort QCount 2 Quad-A (In)
33 16 IOPort QCount 3 Quad-IDX (In)
35 17 IOPort QCount 2 Quad-IDX (In)
37 18 IOPort PWM 3 PWM (Out)
39 19 IOPort PWM 2 PWM (Out)
41 20 IOPort PWM 3 Dir (Out)
43 21 IOPort PWM 2 Dir (Out)
45 22 IOPort PWM 3 /Enable (Out)
47 23 IOPort PWM 2 /Enable (Out)
IO Connections for P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 24 IOPort StepGen 0 Step/Table1 (Out)
3 25 IOPort StepGen 0 Dir/Table2 (Out)
5 26 IOPort StepGen 1 Step/Table1 (Out)
7 27 IOPort StepGen 1 Dir/Table2 (Out)
9 28 IOPort StepGen 2 Step/Table1 (Out)
11 29 IOPort StepGen 2 Dir/Table2 (Out)
13 30 IOPort StepGen 3 Step/Table1 (Out)
15 31 IOPort StepGen 3 Dir/Table2 (Out)
17 32 IOPort StepGen 4 Step/Table1 (Out)
19 33 IOPort StepGen 4 Dir/Table2 (Out)
21 34 IOPort StepGen 5 Step/Table1 (Out)
23 35 IOPort StepGen 5 Dir/Table2 (Out)
25 36 IOPort StepGen 6 Step/Table1 (Out)
27 37 IOPort StepGen 6 Dir/Table2 (Out)
29 38 IOPort StepGen 7 Step/Table1 (Out)
31 39 IOPort StepGen 7 Dir/Table2 (Out)
33 40 IOPort StepGen 8 Step/Table1 (Out)
35 41 IOPort StepGen 8 Dir/Table2 (Out)
37 42 IOPort StepGen 9 Step/Table1 (Out)
39 43 IOPort StepGen 9 Dir/Table2 (Out)
41 44 IOPort StepGen 10 Step/Table1 (Out)
43 45 IOPort StepGen 10 Dir/Table2 (Out)
45 46 IOPort StepGen 11 Step/Table1 (Out)
47 47 IOPort StepGen 11 Dir/Table2 (Out)
laser@debian:~$ mesaflash --device 7i93 --addr 10.10.10.10 --readhmid
Configuration Name: HOSTMOT2
General configuration information:
BoardName : MESA7I93
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 2
Width of one I/O port: 24
Clock Low frequency: 100.0000 MHz
Clock High frequency: 200.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256
Modules in configuration:
Module: DPLL
There are 1 of DPLL in configuration
Version: 0
Registers: 7
BaseAddress: 7000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: WatchDog
There are 1 of WatchDog in configuration
Version: 0
Registers: 3
BaseAddress: 0C00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: IOPort
There are 2 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: QCount
There are 4 of QCount in configuration
Version: 2
Registers: 5
BaseAddress: 3000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: PWM
There are 4 of PWM in configuration
Version: 0
Registers: 5
BaseAddress: 4100
ClockFrequency: 200.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: StepGen
There are 12 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Module: LED
There are 1 of LED in configuration
Version: 0
Registers: 1
BaseAddress: 0200
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes
Configuration pin-out:
IO Connections for P2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 0 IOPort QCount 1 Quad-B (In)
3 1 IOPort QCount 1 Quad-A (In)
5 2 IOPort QCount 0 Quad-B (In)
7 3 IOPort QCount 0 Quad-A (In)
9 4 IOPort QCount 1 Quad-IDX (In)
11 5 IOPort QCount 0 Quad-IDX (In)
13 6 IOPort PWM 1 PWM (Out)
15 7 IOPort PWM 0 PWM (Out)
17 8 IOPort PWM 1 Dir (Out)
19 9 IOPort PWM 0 Dir (Out)
21 10 IOPort PWM 1 /Enable (Out)
23 11 IOPort PWM 0 /Enable (Out)
25 12 IOPort QCount 3 Quad-B (In)
27 13 IOPort QCount 3 Quad-A (In)
29 14 IOPort QCount 2 Quad-B (In)
31 15 IOPort QCount 2 Quad-A (In)
33 16 IOPort QCount 3 Quad-IDX (In)
35 17 IOPort QCount 2 Quad-IDX (In)
37 18 IOPort PWM 3 PWM (Out)
39 19 IOPort PWM 2 PWM (Out)
41 20 IOPort PWM 3 Dir (Out)
43 21 IOPort PWM 2 Dir (Out)
45 22 IOPort PWM 3 /Enable (Out)
47 23 IOPort PWM 2 /Enable (Out)
IO Connections for P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
1 24 IOPort StepGen 0 Step/Table1 (Out)
3 25 IOPort StepGen 0 Dir/Table2 (Out)
5 26 IOPort StepGen 1 Step/Table1 (Out)
7 27 IOPort StepGen 1 Dir/Table2 (Out)
9 28 IOPort StepGen 2 Step/Table1 (Out)
11 29 IOPort StepGen 2 Dir/Table2 (Out)
13 30 IOPort StepGen 3 Step/Table1 (Out)
15 31 IOPort StepGen 3 Dir/Table2 (Out)
17 32 IOPort StepGen 4 Step/Table1 (Out)
19 33 IOPort StepGen 4 Dir/Table2 (Out)
21 34 IOPort StepGen 5 Step/Table1 (Out)
23 35 IOPort StepGen 5 Dir/Table2 (Out)
25 36 IOPort StepGen 6 Step/Table1 (Out)
27 37 IOPort StepGen 6 Dir/Table2 (Out)
29 38 IOPort StepGen 7 Step/Table1 (Out)
31 39 IOPort StepGen 7 Dir/Table2 (Out)
33 40 IOPort StepGen 8 Step/Table1 (Out)
35 41 IOPort StepGen 8 Dir/Table2 (Out)
37 42 IOPort StepGen 9 Step/Table1 (Out)
39 43 IOPort StepGen 9 Dir/Table2 (Out)
41 44 IOPort StepGen 10 Step/Table1 (Out)
43 45 IOPort StepGen 10 Dir/Table2 (Out)
45 46 IOPort StepGen 11 Step/Table1 (Out)
47 47 IOPort StepGen 11 Dir/Table2 (Out)
Please Log in or Create an account to join the conversation.
12 Sep 2022 19:42 #251760
by PCW
Replied by PCW on topic Correct bit file for 7i93 + 7i33TA
That looks like svst4_12d firmware (which should work fine with a 7I33TA)
Make sure to disable the stepgens in the hal file if you want to use the other connector as GPIO
Make sure to disable the stepgens in the hal file if you want to use the other connector as GPIO
Please Log in or Create an account to join the conversation.
12 Sep 2022 20:22 #251767
by Ronniecnc
Replied by Ronniecnc on topic Correct bit file for 7i93 + 7i33TA
Thanks for your quick response, Do you think it is a good idea to place optocouplers in 7i33 enable output/input since the logic voltage of the driver is +15 volt?. I thought to deactivate the 12 stepgens in the Pncconf to use the other connector as GPIO as you mentioned before.
Please Log in or Create an account to join the conversation.
12 Sep 2022 20:27 #251768
by PCW
Replied by PCW on topic Correct bit file for 7i93 + 7i33TA
Yes, the 7I33 just has logic level enable outputs so Optopcouplers
are a good way t do 15V interfacing
are a good way t do 15V interfacing
Please Log in or Create an account to join the conversation.
Time to create page: 0.069 seconds