5i25 + 7i73
I have a 5i25 with an individual bitfile, that should drive three 7i73 slaves.
I created an xml-file as firmware-input for pncconf, which already works.
What does not work as expected is the handling of the 7i73 ...
I'd like to use the 7i73 in 8x8 keypad mode wih analog inputs.
So I have to change direction of some pins
... the analog inputs should be interpreted as override controls. But override options allow switches or mpg only. No support for analog input. But I know, that linuxcnc supports analog inputs as override-controls.
So is there any guide on how to patch pncconf to bring those features into play?
Please Log in or Create an account to join the conversation.
(and a working hal file this would be useful as model if you wanted add
an analog feed rate override option to pncconf )
Please Log in or Create an account to join the conversation.
bad luck!I suspect it would be easier to just add the needed connections to your hal file
I don't know hal and xml-tweaking for pncconf was pretty easy, so I thought, may be I can patch pncconf to get it create a working hal for me
Please Log in or Create an account to join the conversation.
that would need to be added to pncconfs feed override page and hal net /setp / generation
Please Log in or Create an account to join the conversation.
In the generated hal-file there's a config line like this:
loadrt hm2_pci config=" num_encoders=5 num_pwmgens=1 num_stepgens=5 sserial_port_0=1110xx"
Application claims on start, that there is no "hm2_pci" device.
How do I create that device?
Through testing I found this line:
net spindle-cw hm2_5i25.0.7i73.0.2.output-02
The 7i73 has 2 ports - but they are not distinguished?
The pin numbering is a bit hard to get in sync with the docs from mesanet.
Please Log in or Create an account to join the conversation.
you can check this with
sudo mesaflash --device [cardname] --readhmid
(for PCI cards) or
mesaflash --device [cardname] --addr [ipaddress] --readhmid
( for Ethernet cards )
or lookin at the existing .pin or xml file for the FPGA configuration you are using
If you have a 5i25 card install and the loadrt hm2_pci fails with a "no such device" error
this indicates a hardware failure of some kind.
Serial device pin names have this format
hm2_[FCard].[FNumb].[SName].[SPort].[SChan].[SPin]
where:
FCard is the FPGA card name
Fnumb is the FPGA card number (just 0 unless you have multiple FPGA cards)
SName is the Sserial remote device name
SPort is the Sserial port (0..3 just 0 if you have only 1 port)
SChan is the Sserial device channel ( 0..7 )
The 7I73 does not have ports, OUT2 is on P1 pin 33 (manual page 5)
Please Log in or Create an account to join the conversation.
thank you for your patience and support.
I do have the manual, but may be I don't understand enuf ...
Page 5:
and page 7
I don't see any information, that the connectors are the same port?!?
Output from mesaflash looks like this:
So I have TXData1/RXData1, TXData2/RXData2 and TXData3/RXData3
are the postfix number of the pins [SPort] or [SChan]?
Attachments:
Please Log in or Create an account to join the conversation.
On the FPGA pinout list , the sserial "Chan" field is the port (all 0 here)
and the RX/TX pin suffix is the sserial channel
Please Log in or Create an account to join the conversation.
So to use the Pin10 of the second connector of the third 7i73 the pin-notation would beOn the FPGA pinout list , the sserial "Chan" field is the port (all 0 here)
and the RX/TX pin suffix is the sserial channel
hm2_5i25.0.7i73.0.2.input-15
pncconf does not allow the use of analag pins. What would be the right notation?
Manual says, that only Input pins 0-4 could be used as analog input.
If I understand numbering scheme right, than IN0 would be .Input-08
That pin as analog input is then .Analog-00 ?
right?
Please Log in or Create an account to join the conversation.
No, that would be input-07 (7I73 manual page 7)
So to use the Pin10 of the second connector of the third 7i73 the pin-notation would beOn the FPGA pinout list , the sserial "Chan" field is the port (all 0 here)
and the RX/TX pin suffix is the sserial channelright?hm2_5i25.0.7i73.0.2.input-15
pncconf does not allow the use of analag pins. What would be the right notation?
Manual says, that only Input pins 0-4 could be used as analog input.
If I understand numbering scheme right, than IN0 would be .Input-08
That pin as analog input is then .Analog-00 ?
right?
hm2_5i25.0.7i73.0.2.analogin0
To list the available 7I73 pins, run:
halcmd show pin *7i73*
When LinuxCNC is running
Please Log in or Create an account to join the conversation.