Mesa 7i96+7i85+7i84

More
29 Dec 2021 17:17 #230258 by ikkuh
Replied by ikkuh on topic Mesa 7i96+7i85+7i84

Possibly a cable error of some kind

Ok, will renew the rj45 cable, thanks

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

More
29 Dec 2021 18:56 #230266 by tommylight
Replied by tommylight on topic Mesa 7i96+7i85+7i84
Also check the
loadrt
line wher ethe card is loaded for sserial addresses, might not be enabled there, so if it is something like
000xxxxx
change to
00000000
Something similar.
Sorry for being vague but no way to check right now.
The following user(s) said Thank You: ikkuh

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

More
29 Dec 2021 19:10 #230268 by ikkuh
Replied by ikkuh on topic Mesa 7i96+7i85+7i84

Also check the
loadrt
line wher ethe card is loaded for sserial addresses, might not be enabled there, so if it is something like
000xxxxx
change to
00000000
Something similar.
Sorry for being vague but no way to check right now.


I already had changed it to 100xxxxx, I read somewhere that there are 3 modes. I want the board to do 32 and 16 in ouputs, but also 4 8 bit analog inputs.
Will try without all the X's, thanks!

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

More
29 Dec 2021 20:22 #230273 by chris@cnc
Replied by chris@cnc on topic Mesa 7i96+7i85+7i84
Hi 
I have noticed that CR6 is red. Mean your Field I/O is fault.
I connect my 7i84 W1+W2 left-hand position and TB1 Pin1 +24V, Pin3 +24V Top Pin8 GND.
only 3 cable.
And hal file "loadrt hm2_eth board" line "sserial_port_0=22xxxx" -> 7i76 in mode 2 and 7I84 in mode 2 
I guess in your case, "sserial_port_0=01xxxx" ->7i96 mode 0 and 7i84 mode 1
 
The following user(s) said Thank You: ikkuh

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

More
29 Dec 2021 20:50 #230276 by PCW
Replied by PCW on topic Mesa 7i96+7i85+7i84
0xxx
1xxxx
2xxxx
0000
2000
etc
Should all be OK
The 7I84 mode is the leftmost digit since the SSerial expansion
is port 0 channel 0 on a 7I96

The red LED is for any fault (so is on when communications are not established=watchdog fault)
The following user(s) said Thank You: tommylight, ikkuh

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

More
02 Jan 2022 13:22 #230547 by ikkuh
Replied by ikkuh on topic Mesa 7i96+7i85+7i84

0xxx
1xxxx
2xxxx
0000
2000
etc
Should all be OK
The 7I84 mode is the leftmost digit since the SSerial expansion
is port 0 channel 0 on a 7I96

The red LED is for any fault (so is on when communications are not established=watchdog fault)

At the machine again right now. Will try all the suggestions, thanks everyone who was willing to help!
Will let you know if it works.

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

More
02 Jan 2022 13:54 - 02 Jan 2022 14:00 #230551 by ikkuh
Replied by ikkuh on topic Mesa 7i96+7i85+7i84
 When I do a metaflash readhmid I get just two 'wires' for the sserial. I thought there should be 4?

 

File Attachment:

File Name: 7i96_2022-01-02.txt
File Size:5 KB


 
 
Attachments:
Last edit: 02 Jan 2022 14:00 by ikkuh.

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

More
02 Jan 2022 21:12 #230573 by PCW
Replied by PCW on topic Mesa 7i96+7i85+7i84
That's correct because the FPGA has only one pin for sserial TX and RX
These are converted to differential signals by the RS-485 transciever on the 7I96 card
The following user(s) said Thank You: ikkuh

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

More
03 Jan 2022 08:32 - 03 Jan 2022 08:38 #230632 by ikkuh
Replied by ikkuh on topic Mesa 7i96+7i85+7i84

That's correct because the FPGA has only one pin for sserial TX and RX
These are converted to differential signals by the RS-485 transciever on the 7I96 card
 

I read and reread your reply. I do not understand it all.

The documentation says to connect a rj45 cable to TB2 on the 7i96 pin 15-20. I did that and nothing happened (I showed you the lights on the board, two yellow and one red).
Adjusted the loadrt line with all the suggestions here on the forum, none worked. But I can understand that it doesn't work when I connected the wrong physical pins to the rj45 connector.

When I look at the output of the mesaflash --readhmid command I just see the two SSERIAL pins, on TB1/TB2 pin 10 and 11. How can it be then that the rj45 cable should be connected to TB2 pins 15-20? Is there some magic involved?

The readhmid from mesaflash reports different pins and number of pins. I can follow your explanation for the two pins from the FPGA, but you lost me on how two become four wires and on totally different pins.

Could you please open up the 7i96_2022-01-02.txt file and confirm that I am using the correct firmware?
(and thanks, these cards are wonderful when they work, good value for money, but sometimes it's hard to get them configured)

IO Connections for TB1/TB2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
<snip>
10 30 IOPort SSerial 0 RXData0 (In)
11 31 IOPort SSerial 0 TXData0 (Out)
12 32 IOPort SSerial 0 TXEn0 (Out)

IO Connections for P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir
<snip>
7 44 IOPort SSerial 0 TXData1 (Out)
8 45 IOPort SSerial 0 RXData1 (In)
9 46 IOPort SSerial 0 TXData2 (Out)
10 47 IOPort SSerial 0 RXData2 (In)

Looks like I have three SSERIAL ports on the 7i96. But how to connect to them?
Last edit: 03 Jan 2022 08:38 by ikkuh.

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

More
03 Jan 2022 11:30 #230645 by ikkuh
Replied by ikkuh on topic Mesa 7i96+7i85+7i84
It works!

Thanks PCW and Chris and Tommy!



In the end I just followed the instructions, didn't overthink it anymore, and it worked straight away.
Very happy now, thanks once again to all that helped me to get this working, much appreciated.
Attachments:
The following user(s) said Thank You: tommylight

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

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