7i80HD-25 configuration

More
08 Dec 2016 17:18 #83785 by mikikg
Hello everybody,

I'm new member of this forum and new user of Mesa cards.

I have 7i80HD-25 card and would like to configure it to work for 6 axis step/dir generator which will drive servo motors with own drivers, so in this phase I need just basic example how to configure and run this card trough LinuxCNC.

At a moment I do not have servos with me, I have scope which I will use to check generated pulses.

Any advice where to start, or how to configure this card with PnCconfig as I don't see this card model in drop-down list, is there any alternative firmware for other cards which can be used just for this kind of tests?

Tnx in advance.

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

More
08 Dec 2016 17:37 #83787 by andypugh
Replied by andypugh on topic 7i80HD-25 configuration
Are you intending to use it with any particular daughter cards, or are you going to connect directly to the headers?

You might have to pretend that the card is something else, and then edit the config files (the files are human-readable and are intended for hand-editing, PnCConf is only a tool to make putting together a basic configuration easier)

Do you know which firmware is on the card at the moment?

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

More
08 Dec 2016 17:57 #83789 by mikikg
Replied by mikikg on topic 7i80HD-25 configuration
At a moment I will connect directly to headers, later (temporary) will use custom interface in between servo drivers and lastly will probably switch to Mesa's daughter interface card.

Card currently have default firmware, didn't change that yet, don't know what is default.

My goal in this phase is just to see some electrical pulses on output pins on headers so looking for quite simple procedure to get that.

Of course I need to look and explore many more details on this matter, just looking for some firs step.

I have long-term experience in electronic and programming (mostly industrial) but I'm working with Mesa for first time.

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

More
08 Dec 2016 18:17 #83790 by andypugh
Replied by andypugh on topic 7i80HD-25 configuration

Card currently have default firmware, didn't change that yet, don't know what is default.


I think it depends on what you ordered.

There may be a sticker on the board that tells you.

Otherwise you need to use the mesaflash tool and the --redhmid switch to see what is on there.

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

More
08 Dec 2016 18:55 #83793 by mikikg
Replied by mikikg on topic 7i80HD-25 configuration
With following command:

mesaflash --readhmid --addr 192.168.1.121 --device 7i80

I got this response:

Configuration Name: HOSTMOT2

General configuration information:

BoardName : MESA7I80
FPGA Size: 25 KGates
FPGA Pins: 256
Number of IO Ports: 3
Width of one I/O port: 24
...

Anyway can I use current HOSTMOT2 firmware for testing?

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

More
08 Dec 2016 19:25 #83794 by andypugh
Replied by andypugh on topic 7i80HD-25 configuration
Was that everything?
No sticker?

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

More
08 Dec 2016 19:33 #83795 by mikikg
Replied by mikikg on topic 7i80HD-25 configuration
Those command return lots more information, I just paste first several lines, do you want me to paste whole info?

There are few stickers on PCB, only shows model "7i80HD-25", MAC address, lot number and some bar-codes.

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

More
08 Dec 2016 19:48 #83797 by andypugh
Replied by andypugh on topic 7i80HD-25 configuration
The extra information will indicate whether the board is programmed for stepper, servos or a mix.

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

More
08 Dec 2016 19:58 #83799 by mikikg
Replied by mikikg on topic 7i80HD-25 configuration
Here is whole output of command:

Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I80
  FPGA Size: 25 KGates
  FPGA Pins: 256
  Number of IO Ports: 3
  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: 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 3 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: MuxedQCount
  There are 6 of MuxedQCount in configuration
  Version: 3
  Registers: 5
  BaseAddress: 3500
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: MuxedQCountSel
  There are 1 of MuxedQCountSel in configuration
  Version: 0
  Registers: 0
  BaseAddress: 0000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: PWM
  There are 6 of PWM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 4000
  ClockFrequency: 200.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: SSerial
  There are 1 of SSerial in configuration
  Version: 0
  Registers: 6
  BaseAddress: 5A00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 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 P1
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1      0   IOPort       PWM              0        /Enable         (Out)
 3      1   IOPort       MuxedQCount      0        MuxQ-A          (In)
 5      2   IOPort       MuxedQCount      0        MuxQ-B          (In)
 7      3   IOPort       MuxedQCount      0        MuxQ-IDX        (In)
 9      4   IOPort       MuxedQCount      1        MuxQ-A          (In)
11      5   IOPort       MuxedQCount      1        MuxQ-B          (In)
13      6   IOPort       MuxedQCount      1        MuxQ-IDX        (In)
15      7   IOPort       MuxedQCount      2        MuxQ-A          (In)
17      8   IOPort       MuxedQCount      2        MuxQ-B          (In)
19      9   IOPort       MuxedQCount      2        MuxQ-IDX        (In)
21     10   IOPort       MuxedQCountSel   0        MuxSel0         (Out)
23     11   IOPort       PWM              0        PWM             (Out)
25     12   IOPort       PWM              0        Dir             (Out)
27     13   IOPort       PWM              1        PWM             (Out)
29     14   IOPort       PWM              1        Dir             (Out)
31     15   IOPort       PWM              2        PWM             (Out)
33     16   IOPort       PWM              2        Dir             (Out)
35     17   IOPort       PWM              3        PWM             (Out)
37     18   IOPort       PWM              3        Dir             (Out)
39     19   IOPort       PWM              4        PWM             (Out)
41     20   IOPort       PWM              4        Dir             (Out)
43     21   IOPort       PWM              5        PWM             (Out)
45     22   IOPort       PWM              5        Dir             (Out)
47     23   IOPort       PWM              0        /Enable         (Out)

IO Connections for P2
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1     24   IOPort       None           
 3     25   IOPort       None           
 5     26   IOPort       None           
 7     27   IOPort       None           
 9     28   IOPort       None           
11     29   IOPort       None           
13     30   IOPort       None           
15     31   IOPort       None           
17     32   IOPort       None           
19     33   IOPort       None           
21     34   IOPort       None           
23     35   IOPort       None           
25     36   IOPort       None           
27     37   IOPort       None           
29     38   IOPort       None           
31     39   IOPort       None           
33     40   IOPort       None           
35     41   IOPort       None           
37     42   IOPort       None           
39     43   IOPort       None           
41     44   IOPort       None           
43     45   IOPort       None           
45     46   IOPort       None           
47     47   IOPort       None           

IO Connections for P3
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1     48   IOPort       SSerial          0        RXData1         (In)
 3     49   IOPort       SSerial          0        RXData2         (In)
 5     50   IOPort       SSerial          0        RXData3         (In)
 7     51   IOPort       SSerial          0        RXData4         (In)
 9     52   IOPort       SSerial          0        TXData1         (Out)
11     53   IOPort       SSerial          0        TXEn1           (Out)
13     54   IOPort       SSerial          0        TXData2         (Out)
15     55   IOPort       SSerial          0        TXEn2           (Out)
17     56   IOPort       SSerial          0        TXData3         (Out)
19     57   IOPort       SSerial          0        TXEn3           (Out)
21     58   IOPort       SSerial          0        TXData4         (Out)
23     59   IOPort       SSerial          0        TXEn4           (Out)
25     60   IOPort       SSerial          0        RXData5         (In)
27     61   IOPort       SSerial          0        RXData6         (In)
29     62   IOPort       SSerial          0        RXData7         (In)
31     63   IOPort       SSerial          0        RXData8         (In)
33     64   IOPort       SSerial          0        TXData5         (Out)
35     65   IOPort       SSerial          0        TXEn5           (Out)
37     66   IOPort       SSerial          0        TXData6         (Out)
39     67   IOPort       SSerial          0        TXEn6           (Out)
41     68   IOPort       SSerial          0        TXData7         (Out)
43     69   IOPort       SSerial          0        TXEn7           (Out)
45     70   IOPort       SSerial          0        TXData8         (Out)
47     71   IOPort       SSerial          0        TXEn8           (Out)

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

More
08 Dec 2016 20:11 #83804 by PCW
Replied by PCW on topic 7i80HD-25 configuration
That config has no step generators

7i80hd_25_st18.bit

is a good 7I80HD25 config to test stepgens with

it has 18 step generators wired to P1 and 1/2 of P2

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

Moderators: cmorley
Time to create page: 0.296 seconds
Powered by Kunena Forum