7i92 setup help
31 Oct 2016 22:23 #82291
by PCW
Its possible for the 7I92 to emulate any parallel port configuration, but if you have MX4660 hardware,
you would want to use the a MX4660 config and the hardware step generators and PWM generator
which will already be assigned to the proper I/O pins.
This makes the hal file different from a parallel port hal file since different components are used and the way
the hardware components connect to the I/O pins is determined by the FPGA configuration, not in software
Replied by PCW on topic 7i92 setup help
I have two parallel ports coming from my MosChip 9815. Is there any firmware for the 7i92 that sets the pins/ports to match a generic parallel ports; is this even possible? I currently have the 7i92_MX4660x2D.bit firmware loaded.
Its possible for the 7I92 to emulate any parallel port configuration, but if you have MX4660 hardware,
you would want to use the a MX4660 config and the hardware step generators and PWM generator
which will already be assigned to the proper I/O pins.
This makes the hal file different from a parallel port hal file since different components are used and the way
the hardware components connect to the I/O pins is determined by the FPGA configuration, not in software
Please Log in or Create an account to join the conversation.
01 Nov 2016 10:23 #82302
by andypugh
Assuming you have the software package for the 7i92
www.mesanet.com/software/parallel/7i92.zip
If you look in configs/hostmot2 you will find a bunch of .bit files. Your most likely one is
7i92_MX3660x2D
You can find how the pins are allocated in that bitfile by extracting configs/hostmot2/source/hostmot2 to find the PIN_MX3660x2D_34.vhd file, which determines the pinout of the firmware:
The relevant section looks like this:
If you wire the BoB to look like that, then the 7i92 with that firmware should slot straight in. (with HAL changes, you need to redirect nets like "x-position axis.0.motor-pos-cmd stepgen.0.position-cmd" into "x-position axis.0.motor-pos-cmd hm2_7i92.0.stepgen.00.position-cmd"
Replied by andypugh on topic 7i92 setup help
I have two parallel ports coming from my MosChip 9815. Is there any firmware for the 7i92 that sets the pins/ports to match a generic parallel ports; is this even possible?
Assuming you have the software package for the 7i92
www.mesanet.com/software/parallel/7i92.zip
If you look in configs/hostmot2 you will find a bunch of .bit files. Your most likely one is
7i92_MX3660x2D
You can find how the pins are allocated in that bitfile by extracting configs/hostmot2/source/hostmot2 to find the PIN_MX3660x2D_34.vhd file, which determines the pinout of the firmware:
The relevant section looks like this:
-- Base func sec unit sec func sec pin -- external DB25
IOPortTag & x"00" & NullTag & NullPin, -- I/O 00 PIN 1 Output 2
IOPortTag & x"00" & PWMTag & PWMAOutPin, -- I/O 01 PIN 14 Spindle DAC PWM
IOPortTag & x"00" & StepGenTag & StepGenStepPin, -- I/O 02 PIN 2 X Step
IOPortTag & x"00" & NullTag & NullPin, -- I/O 03 PIN 15 Fault in
IOPortTag & x"00" & StepGenTag & StepGenDirPin, -- I/O 04 PIN 3 X Dir
IOPortTag & x"03" & StepGenTag & StepGenStepPin, -- I/O 05 PIN 16 Charge pump stepgen
IOPortTag & x"01" & StepGenTag & StepGenStepPin, -- I/O 06 PIN 4 Y Step
IOPortTag & x"00" & NullTag & NullPin, -- I/O 07 PIN 17 Output 1
IOPortTag & x"01" & StepGenTag & StepGenDirPin, -- I/O 08 PIN 5 Y Dir
IOPortTag & x"02" & StepGenTag & StepGenStepPin, -- I/O 09 PIN 6 Z Step
IOPortTag & x"02" & StepGenTag & StepGenDirPin, -- I/O 10 PIN 7 Z Dir
IOPortTag & x"00" & NullTag & NullPin, -- I/O 11 PIN 8 Output 3
IOPortTag & x"00" & NullTag & NullPin, -- I/O 12 PIN 9 Output 4
IOPortTag & x"00" & QCountTag & QCountQAPin, -- I/O 13 PIN 10 Input 1 / Quadrature A
IOPortTag & x"00" & QCountTag & QCountQBPin, -- I/O 14 PIN 11 Input 2 / Quadrature B
IOPortTag & x"00" & QCountTag & QCountIDXPin, -- I/O 15 PIN 12 Input 3 / Quadrature Index
IOPortTag & x"00" & NullTag & NullPin, -- I/O 16 PIN 13 Input 4
If you wire the BoB to look like that, then the 7i92 with that firmware should slot straight in. (with HAL changes, you need to redirect nets like "x-position axis.0.motor-pos-cmd stepgen.0.position-cmd" into "x-position axis.0.motor-pos-cmd hm2_7i92.0.stepgen.00.position-cmd"
Please Log in or Create an account to join the conversation.
- unlessou32
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
28 Oct 2019 07:37 #148963
by unlessou32
Replied by unlessou32 on topic 7i92 setup help
I have similar question about your topic, i just get 2 nema 23 stepper motor,
www.oyostepper.com/goods-65-Nema-23-Step...57x41mm-4-Wires.html
Today i have start my cnc project.
www.oyostepper.com/goods-65-Nema-23-Step...57x41mm-4-Wires.html
Today i have start my cnc project.
Please Log in or Create an account to join the conversation.
Time to create page: 0.109 seconds