7i96s with 7i76 & sserial device

More
06 Jan 2023 08:51 #261068 by scda
Hi all.

I'm trying to test and setup my mesa cards for linuxcnc.
My setup:

7i96s (due to chip shortage)
7i76 connected to Mesa 7i96s via 25pin connector
7i73 & 7i84 sserial cards

The problem is: at the moment I don't see the 7i76 card. I flashed the bitfile (7i96s_7i76d) to the Mesa 7i96s. Maybe this is not the correct bitfile?
The 7i96s side is working via linuxcnc, I get connection, the card also detects my sserial device (7i73). But nothing happens with the 7i76.

I don't even know if the combo (7i96s+7i76) is possible to run? Maybe someone has done this before and give me a hint.

Thanks and cheers,
David

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

More
06 Jan 2023 11:23 #261076 by tommylight
What does readhmid return?
Did you power cycle or do a reload after flashing the firmware?

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

More
06 Jan 2023 15:56 #261092 by scda
Thanks for the help. Yes I did powercycle the board after upload (multiple times).
Below is the readhmid response:

Not sure if the 7i76 is visible. Don't think so..

Configuration Name: HOSTMOT2

General configuration information:

BoardName : MESA7I96
FPGA Size: 20 KGates
FPGA Pins: 256
Number of IO Ports: 3
Width of one I/O port: 17
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 3 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

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

Module: PWM
There are 1 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 10 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: QCount
There are 2 of QCount in configuration
Version: 2
Registers: 5
BaseAddress: 3000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: SSerial
There are 1 of SSerial in configuration
Version: 0
Registers: 6
BaseAddress: 5B00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 64 bytes

Module: SSR
There are 1 of SSR in configuration
Version: 0
Registers: 2
BaseAddress: 7D00
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: InM
There are 1 of InM in configuration
Version: 0
Registers: 5
BaseAddress: 8500
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 TB3 -> 7I96_0
Pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir

TB3-1 0 IOPort InM 0 Input0 (In)
TB3-2 1 IOPort InM 0 Input1 (In)
TB3-3 2 IOPort InM 0 Input2 (In)
TB3-4 3 IOPort InM 0 Input3 (In)
TB3-5 4 IOPort InM 0 Input4 (In)
TB3-6 5 IOPort InM 0 Input5 (In)
TB3-7 6 IOPort InM 0 Input6 (In)
TB3-8 7 IOPort InM 0 Input7 (In)
TB3-9 8 IOPort InM 0 Input8 (In)
TB3-10 9 IOPort InM 0 Input9 (In)
TB3-11 10 IOPort InM 0 Input10 (In)
TB3-13,14 11 IOPort SSR 0 Out-00 (Out)
TB3-15,16 12 IOPort SSR 0 Out-01 (Out)
TB3-17,18 13 IOPort SSR 0 Out-02 (Out)
TB3-19,20 14 IOPort SSR 0 Out-03 (Out)
TB3-21,22 15 IOPort OutM 0 Output4 (Out)
TB3-23,24 16 IOPort OutM 0 Output5 (Out)

IO Connections for TB1/TB2 -> 7I96_1
Pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir

TB1-2,3 17 IOPort StepGen 0 Step/Table1 (Out)
TB1-4,5 18 IOPort StepGen 0 Dir/Table2 (Out)
TB1-8,9 19 IOPort StepGen 1 Step/Table1 (Out)
TB1-10,11 20 IOPort StepGen 1 Dir/Table2 (Out)
TB1-14,15 21 IOPort StepGen 2 Step/Table1 (Out)
TB1-16,17 22 IOPort StepGen 2 Dir/Table2 (Out)
TB1-20,21 23 IOPort StepGen 3 Step/Table1 (Out)
TB1-22,23 24 IOPort StepGen 3 Dir/Table2 (Out)
TB2-2,3 25 IOPort StepGen 4 Step/Table1 (Out)
TB2-4,5 26 IOPort StepGen 4 Dir/Table2 (Out)
TB2-7,8 27 IOPort QCount 0 Quad-A (In)
TB2-10,11 28 IOPort QCount 0 Quad-B (In)
TB2-13,14 29 IOPort QCount 0 Quad-IDX (In)
TB2-16,17 30 IOPort SSerial 0 RXData0 (In)
TB2-18,19 31 IOPort SSerial 0 TXData0 (Out)
Internal-TXEn 32 IOPort SSerial 0 TXEn0 (Out)
Internal 33 IOPort SSR 0 AC Ref (Out)

IO Connections for P1 -> 7I96_2
Pin# I/O Pri. func Sec. func Chan Sec. Pin func Sec. Pin Dir

P1-01/DB25-01 34 IOPort StepGen 5 Dir/Table2 (Out)
P1-02/DB25-14 35 IOPort StepGen 5 Step/Table1 (Out)
P1-03/DB25-02 36 IOPort StepGen 6 Dir/Table2 (Out)
P1-04/DB25-15 37 IOPort StepGen 6 Step/Table1 (Out)
P1-05/DB25-03 38 IOPort StepGen 7 Dir/Table2 (Out)
P1-06/DB25-16 39 IOPort StepGen 7 Step/Table1 (Out)
P1-07/DB25-04 40 IOPort StepGen 8 Dir/Table2 (Out)
P1-08/DB25-17 41 IOPort StepGen 8 Step/Table1 (Out)
P1-09/DB25-05 42 IOPort StepGen 9 Dir/Table2 (Out)
P1-11/DB25-06 43 IOPort StepGen 9 Step/Table1 (Out)
P1-13/DB25-07 44 IOPort SSerial 0 TXData1 (Out)
P1-15/DB25-08 45 IOPort SSerial 0 RXData1 (In)
P1-17/DB25-09 46 IOPort SSerial 0 TXData2 (Out)
P1-19/DB25-10 47 IOPort SSerial 0 RXData2 (In)
P1-21/DB25-11 48 IOPort QCount 1 Quad-IDX (In)
P1-23/DB25-12 49 IOPort QCount 1 Quad-B (In)
P1-25/DB25-13 50 IOPort QCount 1

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

More
06 Jan 2023 15:58 - 06 Jan 2023 16:02 #261093 by PCW
That's the correct firmware.

Does the 7I76 have both 5V and field power? (both Yellow LEDS illuminated)
Last edit: 06 Jan 2023 16:02 by PCW.

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

More
06 Jan 2023 16:23 #261096 by scda
Good to know that the firmware is correct. So the issue is on my side somewhere... Yes both 5V and field power are connected but the second LED is not illuminated. I might have a damaged PSU. I will check on that.

Cheers,
David

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

More
06 Jan 2023 22:31 - 06 Jan 2023 22:35 #261135 by scda
So I replaced the power supply. It was bad. Both LEDs are now on on the 7i76 but still nothing visible in the HAL.There is the 7i96s and the 7i73 available in HAL.
Next thing to do: checking the ribbon cable.
Any other suggestions?

Is it possible (in theory) to use the 7i76 sserial port to connect another smartserial device? So one sserial device at the 7i96s and one at the 7i76?

 

 
Attachments:
Last edit: 06 Jan 2023 22:35 by scda.

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

More
06 Jan 2023 22:46 #261140 by tommylight


Is it possible (in theory) to use the 7i76 sserial port to connect another smartserial device? So one sserial device at the 7i96s and one at the 7i76?

 

Yes, it should be possible, but better wait for PCW to reply, to be sure.

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

More
06 Jan 2023 22:55 - 06 Jan 2023 23:10 #261142 by PCW
Yes, you have one sserial expansion channel on the 7I96s, and one on the 7I76, and both are usable.

Here is a list of pins from test run of a 7I96S with 7i96s_7i76d.bin firmware and attached 7I76:

 

File Attachment:

File Name: 7i96_7i76.txt
File Size:49 KB
Attachments:
Last edit: 06 Jan 2023 23:10 by PCW. Reason: clarify

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

More
06 Jan 2023 23:53 - 06 Jan 2023 23:54 #261146 by scda
Thanks for the clarification. I replaced the ribbon cable. Now everthing seems to be working. I can now see all the I/Os of both cards.

I can confirm that the sserial device works on both cards (7i76 or 7i96s) no matter where I plug it in...

Thanks again for the help.
These MESA cards together with linuxcnc are just an awesome piece of kit! :-).
Last edit: 06 Jan 2023 23:54 by scda.
The following user(s) said Thank You: tommylight

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

More
07 Jan 2023 00:27 #261147 by tommylight

These MESA cards together with linuxcnc are just an awesome piece of kit! :-).

Yes they are! :)

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

Moderators: PCWjmelson
Time to create page: 0.097 seconds
Powered by Kunena Forum