7i92 configuration with two daughter card

More
07 Jun 2024 07:57 #302514 by rajsekhar
I am trying to configure 7i92 +7i76(+7i84) on P2 of 7i92 + 7i78 on P1 of 7i92.

HAL and INI attached.

I have 5 stepgen (on 7i76)+ 4stepgen (on 7i78)= total 9 stepgen and total 2 encoder (one on each daughter card). But while starting LCNC, error occurs (only 5 stepgen and one encoder shows), report attached.

I used "7i92-internal data" and "7i76x2" configuration in PNCconfig.

It seems 7i78 is not included in actual configuration. How to rectify??
Attachments:

Please Log in or Create an account to join the conversation.

More
07 Jun 2024 08:39 - 07 Jun 2024 08:45 #302519 by cornholio
You'll have to fix this

Debug file information:
Note: Using POSIX realtime
hm2/hm2_7i92.0: config.num_encoders=2, but only 1 are available, not loading driver

Which would be related to the actual firmware.
The 7i78 is more like a regular parallel port breakout card, and does not have a MCU or FPGA that would announce it's config.
Last edit: 07 Jun 2024 08:45 by cornholio.

Please Log in or Create an account to join the conversation.

More
07 Jun 2024 09:14 #302523 by rajsekhar
Not understood at all, how can I configure the 7i78?

Please Log in or Create an account to join the conversation.

More
07 Jun 2024 10:48 - 07 Jun 2024 13:08 #302527 by cornholio
You will need new firmware for your 7i92. I'm not to sure whether the 7i92 can support 9 stepgens, 2 Spindle encoders with index and 2 smart serial ports. I might be wrong about this, but I think I've heard Pete mention that there is some limitations with the 7i92. This bit struck out in red is incorrect see Pete's post below for correction.

Something that configures the 7i92 that has a 7i76 on one port and a config that matches the 7i78. (possible a Bob type config)

The 7i78 is just a card that conditions the electrical signals from the 7i92, it has no "smarts" it is passive. The FPGA on the port it is connected to provides all the signals.

The 7i76 has 1 encoder with index that is suitable for a spindle and 2 encoders that are suitable for a low speed encoder, eg a MPG. These are enabled by setting the smart serial to mode 2.

It can be a little confusing.
The 7i76 stepper connections and encoder with index & analog spindle controller are controlled directly by the FPGA on the 7i92. The other functions 48 bits of I\O, low speed MPG inputs and analog in are controlled via a MCU on the 7i76 that connects via a smart serial interface that is routed on the PCB. It also has a second smart serial port that is exposed via the connectors.
The 7i78 stepper connections and encoder with index & analog spindle controller are controlled directly by the FPGA on the 7i92. Similar to the 7i76.
And of course the 7i84 is connected via the smart serial interface and has a MCU on the board that controls the I\O.
It took me a while to figure this out and it really kicked in when I started playing with the FPGA firmwares.
Last edit: 07 Jun 2024 13:08 by cornholio. Reason: Struck out incorrect information

Please Log in or Create an account to join the conversation.

More
07 Jun 2024 13:01 #302532 by PCW
7i92_7i76_7i78D.bit firmware is needed for a 7I92 (not 7I92T)
with a 7I76 on 7I92 P2 and 7I78 on 7I92 P1.

This does have both encoders and all 9 stepgens.
The following user(s) said Thank You: cornholio

Please Log in or Create an account to join the conversation.

More
07 Jun 2024 17:30 #302542 by rajsekhar
Now, I am new to firmware.

From where I may get it? 
Any guide to installation will be of great help.

Please Log in or Create an account to join the conversation.

More
07 Jun 2024 17:46 #302545 by PCW
You can download the firmware (and card manuals) from the specifications section of Mesa's web store
 

Please Log in or Create an account to join the conversation.

More
07 Jun 2024 23:14 #302573 by cornholio

Now, I am new to firmware.

From where I may get it? 
Any guide to installation will be of great help.


This thread will help in it's use.Whilst it is specific to another card the process is the same, just use 7i92 instead of the card mentioned.
www.forum.linuxcnc.org/27-driver-boards/...7i96e-and-7i8#148115
The following user(s) said Thank You: tommylight, rajsekhar

Please Log in or Create an account to join the conversation.

More
14 Jun 2024 08:51 #302991 by rajsekhar
Firm wire uploaded. 9 stepgen working.
The following user(s) said Thank You: cornholio

Please Log in or Create an account to join the conversation.

Time to create page: 0.128 seconds
Powered by Kunena Forum